diff options
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 8b7c4adee3..eec2ebd694 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -62,7 +62,7 @@ static unsigned CountCodeReductionForConstant(Value *V) { Reduction += CI->getCalledValue() == V ? 500 : 0; } else if (InvokeInst *II = dyn_cast<InvokeInst>(*UI)) { // Turning an indirect call into a direct call is a BIG win - Reduction += CI->getCalledValue() == V ? 500 : 0; + Reduction += II->getCalledValue() == V ? 500 : 0; } else { // Figure out if this instruction will be removed due to simple constant // propagation. |