diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-14 11:27:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-14 11:27:58 +0000 |
commit | 65ea171409e8c25db20806fb09e820f46e3d11a2 (patch) | |
tree | 081a79420f9555f0962134e7cd6d1fd2696c93db /lib/Transforms/Instrumentation/TraceValues.cpp | |
parent | c2ae4f6d3b72d153272b244fc1c8701ee89cbddb (diff) |
Remove much cruft from the MemAccessInst instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 06c8438f26..e8598b9d85 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/lib/Transforms/Instrumentation/TraceValues.cpp @@ -310,7 +310,7 @@ InsertLoadInst(StoreInst* storeInst, BasicBlock *bb, BasicBlock::iterator &BBI) { - LoadInst* loadInst = new LoadInst(storeInst->getPtrOperand(), + LoadInst* loadInst = new LoadInst(storeInst->getPointerOperand(), storeInst->getIndices()); BBI = bb->getInstList().insert(BBI, loadInst) + 1; return loadInst; |