From: Chris Lattner Date: Thu, 22 Aug 2002 22:54:10 +0000 (+0000) Subject: Load & Store Inst now no longer derive from MemAccessInst X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d145c2172fc54160c5edf199a1a96fca492e19bc;p=oota-llvm.git Load & Store Inst now no longer derive from MemAccessInst git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3486 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 0d35aab6890..c48f155d997 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -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); }