Fixed macro condition.
authorLang Hames <lhames@gmail.com>
Wed, 18 Jan 2012 19:48:31 +0000 (19:48 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 18 Jan 2012 19:48:31 +0000 (19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148408 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 99ba0ecf499a5f631461fc5d6101ce6b4d96d1fa..f1f566771af7d3e485c977cae0aa6ac1a077b250 100644 (file)
@@ -823,7 +823,7 @@ unsigned LiveIntervals::getReMatImplicitUse(const LiveInterval &li,
     assert(!RegOp &&
            "Can't rematerialize instruction with multiple register operand!");
     RegOp = MO.getReg();
-#ifndef NDEBUG
+#ifdef NDEBUG
     break;
 #endif
   }