diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-28 00:19:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-28 00:19:10 +0000 |
commit | ab21db79ef1d2530880ad11f21f0b87ffca02dd4 (patch) | |
tree | 48dc361e1986e6e489f48619e73e609adb7c716a /lib/Analysis/InlineCost.cpp | |
parent | 2ee11eccdde14c95c78773be76b02bb5fd09d7ee (diff) |
rename indbr -> indirectbr to appease the residents of #llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InlineCost.cpp')
-rw-r--r-- | lib/Analysis/InlineCost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InlineCost.cpp b/lib/Analysis/InlineCost.cpp index 559f468bd6..ee8370ec9c 100644 --- a/lib/Analysis/InlineCost.cpp +++ b/lib/Analysis/InlineCost.cpp @@ -31,7 +31,7 @@ unsigned InlineCostAnalyzer::FunctionInfo:: // Eliminating a switch is a big win, proportional to the number of edges // deleted. Reduction += (SI->getNumSuccessors()-1) * 40; - else if (isa<IndBrInst>(*UI)) + else if (isa<IndirectBrInst>(*UI)) // Eliminating an indirect branch is a big win. Reduction += 200; else if (CallInst *CI = dyn_cast<CallInst>(*UI)) { |