Remove an unnecessary (and misspelled) typedef. Tweak whitespace.
authorBob Wilson <bob.wilson@apple.com>
Wed, 17 Mar 2010 18:43:25 +0000 (18:43 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 17 Mar 2010 18:43:25 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98753 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index b19c20af346f256359144abd7574c169347f9dec..da0f68606c6f8914076a126ec275a37e1d562f7d 100644 (file)
@@ -307,7 +307,7 @@ public:
   /// 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 @@ public:
     bool         vol;         // is volatile?
     bool         readMem;     // reads memory?
     bool         writeMem;    // writes memory?
-  } IntrinisicInfo;
+  };
 
-  virtual bool getTgtMemIntrinsic(IntrinsicInfoInfo,
+  virtual bool getTgtMemIntrinsic(IntrinsicInfo &Info,
                                   CallInst &I, unsigned Intrinsic) {
     return false;
   }