[llvm-commits] [llvm] r98753 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Bob Wilson bob.wilson at apple.com
Wed Mar 17 11:43:25 PDT 2010


Author: bwilson
Date: Wed Mar 17 13:43:25 2010
New Revision: 98753

URL: http://llvm.org/viewvc/llvm-project?rev=98753&view=rev
Log:
Remove an unnecessary (and misspelled) typedef.  Tweak whitespace.

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=98753&r1=98752&r2=98753&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Wed Mar 17 13:43:25 2010
@@ -307,7 +307,7 @@
   /// intrinsic will need to map to a MemIntrinsicNode (touches memory). If
   /// this is the case, it returns true and store the intrinsic
   /// information into the IntrinsicInfo that was passed to the function.
-  typedef struct IntrinsicInfo { 
+  struct IntrinsicInfo { 
     unsigned     opc;         // target opcode
     EVT          memVT;       // memory VT
     const Value* ptrVal;      // value representing memory location
@@ -316,9 +316,9 @@
     bool         vol;         // is volatile?
     bool         readMem;     // reads memory?
     bool         writeMem;    // writes memory?
-  } IntrinisicInfo;
+  };
 
-  virtual bool getTgtMemIntrinsic(IntrinsicInfo& Info,
+  virtual bool getTgtMemIntrinsic(IntrinsicInfo &Info,
                                   CallInst &I, unsigned Intrinsic) {
     return false;
   }





More information about the llvm-commits mailing list