diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-22 22:48:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-22 22:48:32 +0000 |
commit | 8e4fc2598dbadd7e3c7c22367d6b7ffae3107851 (patch) | |
tree | 5e48c0ae90c4b4777fec4463c15d048fc772cfe4 /lib/Transforms/Instrumentation/TraceValues.cpp | |
parent | f150b9d984c7a8e3cf7c77bb676731e7abf8359f (diff) |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 4156199aa0..714bf7637d 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/lib/Transforms/Instrumentation/TraceValues.cpp @@ -366,8 +366,8 @@ static void TraceValuesAtBBExit(BasicBlock *BB, if (StoreInst *SI = dyn_cast<StoreInst>(&*II)) { assert(valuesStoredInFunction && "Should not be printing a store instruction at function exit"); - LoadInst *LI = new LoadInst(SI->getPointerOperand(), SI->copyIndices(), - "reload."+SI->getPointerOperand()->getName()); + LoadInst *LI = new LoadInst(SI->getPointerOperand(), "reload." + + SI->getPointerOperand()->getName()); InsertPos = ++BB->getInstList().insert(InsertPos, LI); valuesStoredInFunction->push_back(LI); } |