[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
Zhou Sheng
zhousheng00 at gmail.com
Thu Jan 11 04:25:01 PST 2007
Changes in directory llvm/lib/Transforms/Instrumentation:
RSProfiling.cpp updated: 1.15 -> 1.16
---
Log message:
For PR1043: http://llvm.org/PR1043 :
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
---
Diffs of the changes: (+2 -2)
RSProfiling.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
diff -u llvm/lib/Transforms/Instrumentation/RSProfiling.cpp:1.15 llvm/lib/Transforms/Instrumentation/RSProfiling.cpp:1.16
--- llvm/lib/Transforms/Instrumentation/RSProfiling.cpp:1.15 Sun Jan 7 01:22:20 2007
+++ llvm/lib/Transforms/Instrumentation/RSProfiling.cpp Thu Jan 11 06:24:14 2007
@@ -460,7 +460,7 @@
//b:
new BranchInst(cast<BasicBlock>(Translate(dst)), bbC);
new BranchInst(dst, cast<BasicBlock>(Translate(dst)),
- ConstantBool::get(true), bbCp);
+ ConstantInt::get(true), bbCp);
//c:
{
TerminatorInst* iB = src->getTerminator();
@@ -516,7 +516,7 @@
TerminatorInst* T = F.getEntryBlock().getTerminator();
ReplaceInstWithInst(T, new BranchInst(T->getSuccessor(0),
cast<BasicBlock>(Translate(T->getSuccessor(0))),
- ConstantBool::get(true)));
+ ConstantInt::get(true)));
//do whatever is needed now that the function is duplicated
c->PrepFunction(&F);
More information about the llvm-commits
mailing list