Load & Store Inst now no longer derive from MemAccessInst
authorChris Lattner <sabre@nondot.org>
Thu, 22 Aug 2002 22:54:10 +0000 (22:54 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Aug 2002 22:54:10 +0000 (22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3486 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/InstVisitor.h

index 0d35aab6890fb3252d44cc045ef3cd241a0bb18d..c48f155d99748850b9795903f3456344adda3297 100644 (file)
@@ -164,8 +164,8 @@ struct InstVisitor {
   RetTy visitMallocInst(MallocInst &I)              { DELEGATE(AllocationInst);}
   RetTy visitAllocaInst(AllocaInst &I)              { DELEGATE(AllocationInst);}
   RetTy visitFreeInst(FreeInst   &I)                { DELEGATE(Instruction); }
-  RetTy visitLoadInst(LoadInst   &I)                { DELEGATE(MemAccessInst); }
-  RetTy visitStoreInst(StoreInst  &I)               { DELEGATE(MemAccessInst); }
+  RetTy visitLoadInst(LoadInst   &I)                { DELEGATE(Instruction); }
+  RetTy visitStoreInst(StoreInst  &I)               { DELEGATE(Instruction); }
   RetTy visitGetElementPtrInst(GetElementPtrInst &I){ DELEGATE(MemAccessInst); }
   RetTy visitPHINode(PHINode    &I)                 { DELEGATE(Instruction); }
   RetTy visitCastInst(CastInst   &I)                { DELEGATE(Instruction); }