rename indbr -> indirectbr to appease the residents of #llvm.
[oota-llvm.git] / lib / Analysis / InlineCost.cpp
index 559f468bd64a7786d88bb22eec2f29a32c46d664..ee8370ec9ca29de1ed96ca4fcfdd330b5cf5d330 100644 (file)
@@ -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)) {