Revert r68073. It's causing a failure in the Apple-style builds.
[oota-llvm.git] / lib / Target / X86 / AsmPrinter / X86ATTAsmPrinter.cpp
index d8a33957d5cf998c498e3382da465b70453e4c15..3bdcf88365f9bde8a67edca807ee6f879e4b3352 100644 (file)
@@ -238,12 +238,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
   for (MachineFunction::const_iterator I = MF.begin(), E = MF.end();
        I != E; ++I) {
     // Print a label for the basic block.
-    if (!VerboseAsm && (I->pred_empty() || I->isOnlyReachableByFallthrough())) {
-      // This is an entry block or a block that's only reachable via a
-      // fallthrough edge. In non-VerboseAsm mode, don't print the label.
-      assert((I->pred_empty() || (*I->pred_begin())->isLayoutSuccessor(I)) &&
-             "Fall-through predecessor not adjacent to its successor!");
-    } else {
+    if (!I->pred_empty()) {
       printBasicBlockLabel(I, true, true, VerboseAsm);
       O << '\n';
     }