projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3f99f
)
Fix cut and paste error spotted by Jakob.
author
Eric Christopher
<echristo@apple.com>
Sat, 5 Feb 2011 02:48:47 +0000
(
02:48
+0000)
committer
Eric Christopher
<echristo@apple.com>
Sat, 5 Feb 2011 02:48:47 +0000
(
02:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124930
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/InlineCost.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/InlineCost.cpp
b/lib/Analysis/InlineCost.cpp
index 98a158ab2690eb7c7433a93928ead47da78e0f8f..58f38afc6e909c5939fbd9dcd981c787dcc76e16 100644
(file)
--- a/
lib/Analysis/InlineCost.cpp
+++ b/
lib/Analysis/InlineCost.cpp
@@
-330,7
+330,7
@@
int InlineCostAnalyzer::CountBonusForConstant(Value *V, Constant *C) {
} else if (InvokeInst *II = dyn_cast<InvokeInst>(U)) {
// Turning an indirect call into a direct call is a BIG win
if (II->getCalledValue() == V)
- Bonus += ConstantFunctionBonus(CallSite(
C
I), C);
+ Bonus += ConstantFunctionBonus(CallSite(
I
I), C);
}
// FIXME: Eliminating conditional branches and switches should
// also yield a per-call performance boost.