Simplify code, don't or a bool with an uint64_t.
[oota-llvm.git] / lib / CodeGen / MachineLoopInfo.cpp
index b5d5ad9be99fc5e1475d51dba2e9ca23f1e19ccc..27afeec1d9736ddc6f777271a7f310dc31eb8049 100644 (file)
@@ -36,7 +36,7 @@ char &llvm::MachineLoopInfoID = MachineLoopInfo::ID;
 
 bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {
   releaseMemory();
-  LI.Calculate(getAnalysis<MachineDominatorTree>().getBase());    // Update
+  LI.Analyze(getAnalysis<MachineDominatorTree>().getBase());
   return false;
 }
 
@@ -74,6 +74,8 @@ MachineBasicBlock *MachineLoop::getBottomBlock() {
   return BotMBB;
 }
 
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 void MachineLoop::dump() const {
   print(dbgs());
 }
+#endif