commit | 6776064d190701c5bae4d5403939eed2e480d1cd | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sun Sep 27 07:38:41 2009 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sun Sep 27 07:38:41 2009 +0000 |
tree | 4c1c1178faea69663c9960feb71cf5c5e5e39ff4 | |
parent | 975f5917a28321017b7ecd1f102efb1ede4ff7a5 [diff] [blame] |
Instruction::clone does not need to take an LLVMContext&. Remove that and update all the callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82889 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp index 9997d9d..3b72260 100644 --- a/lib/Transforms/Instrumentation/RSProfiling.cpp +++ b/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -397,7 +397,7 @@ return i; } else { //translate this - Instruction* i2 = i->clone(v->getContext()); + Instruction* i2 = i->clone(); if (i->hasName()) i2->setName("dup_" + i->getName()); TransCache[i] = i2;