diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-09-27 07:38:41 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-09-27 07:38:41 +0000 |
commit | c94270c382320cb3fe9c4dc7bf31d56c94e9643d (patch) | |
tree | 4c1c1178faea69663c9960feb71cf5c5e5e39ff4 /lib/Transforms/Instrumentation/RSProfiling.cpp | |
parent | ebb9633af0245a3eaf03d2a9f4ceb6375cc8769e (diff) | |
download | external_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.tar.gz external_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.tar.bz2 external_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.zip |
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
Diffstat (limited to 'lib/Transforms/Instrumentation/RSProfiling.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/RSProfiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp index 9997d9dca9..3b72260db8 100644 --- a/lib/Transforms/Instrumentation/RSProfiling.cpp +++ b/lib/Transforms/Instrumentation/RSProfiling.cpp @@ -397,7 +397,7 @@ Value* ProfilerRS::Translate(Value* v) { 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; |