Fix build break in Linux arm release build
authorJan Kotas <jkotas@microsoft.com>
Tue, 2 Feb 2016 19:51:10 +0000 (11:51 -0800)
committerJan Kotas <jkotas@microsoft.com>
Tue, 2 Feb 2016 19:51:10 +0000 (11:51 -0800)
src/jit/codegenlegacy.cpp

index a2711e2..f775613 100644 (file)
@@ -5117,11 +5117,11 @@ void                CodeGen::genCodeForTreeLeaf(GenTreePtr tree,
         reg = REG_STK;
         break;
 
-#ifdef  DEBUG
     default:
+#ifdef DEBUG
         compiler->gtDispTree(tree);
-        noway_assert(!"unexpected leaf");
 #endif
+        noway_assert(!"unexpected leaf");
     }
 
     noway_assert(reg != DUMMY_INIT(REG_CORRUPT));
@@ -10430,11 +10430,11 @@ LockBinOpCommon:
             NYI("Handle GT_LDOBJ, or eliminate them earlier.");
             unreached();
 
-#ifdef  DEBUG
         default:
+#ifdef DEBUG
             compiler->gtDispTree(tree);
-            noway_assert(!"unexpected unary/binary operator");
 #endif
+            noway_assert(!"unexpected unary/binary operator");
     } // end switch (oper)
 
     unreached();