noway_assert to assert per review
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>
Tue, 12 Sep 2017 15:44:47 +0000 (11:44 -0400)
committerSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>
Tue, 12 Sep 2017 15:44:47 +0000 (11:44 -0400)
src/jit/codegenarm64.cpp

index d7eca41cd41868ea0117c1a3562695835a78ae81..a9f2fc2f30cb8727c169dd145441e0be1ca5c578 100644 (file)
@@ -1518,7 +1518,7 @@ void CodeGen::genCodeForMulHi(GenTreeOp* treeNode)
     assert(!varTypeIsFloating(targetType));
 
     // The arithmetic node must be sitting in a register (since it's not contained)
-    noway_assert(targetReg != REG_NA);
+    assert(targetReg != REG_NA);
 
     if (EA_SIZE(attr) == EA_8BYTE)
     {
@@ -1526,7 +1526,7 @@ void CodeGen::genCodeForMulHi(GenTreeOp* treeNode)
 
         regNumber r = emit->emitInsTernary(ins, attr, treeNode, op1, op2);
 
-        noway_assert(r == targetReg);
+        assert(r == targetReg);
     }
     else
     {
@@ -1559,10 +1559,10 @@ void CodeGen::genCodeForBinary(GenTree* treeNode)
     instruction ins = genGetInsForOper(treeNode->OperGet(), targetType);
 
     // The arithmetic node must be sitting in a register (since it's not contained)
-    noway_assert(targetReg != REG_NA);
+    assert(targetReg != REG_NA);
 
     regNumber r = emit->emitInsTernary(ins, emitTypeSize(treeNode), treeNode, op1, op2);
-    noway_assert(r == targetReg);
+    assert(r == targetReg);
 
     genProduceReg(treeNode);
 }