Updates based on PR review.
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 10 Jan 2017 22:19:46 +0000 (14:19 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Tue, 10 Jan 2017 22:19:46 +0000 (14:19 -0800)
src/jit/codegenxarch.cpp
src/jit/gtlist.h

index 45995cc..9928506 100644 (file)
@@ -7779,7 +7779,7 @@ void CodeGen::genPutArgStk(GenTreePutArgStk* putArgStk)
 
     // On a 32-bit target, all of the long arguments are handled with GT_FIELD_LIST,
     // and the type of the putArgStk is TYP_VOID.
-    noway_assert(targetType != TYP_LONG);
+    assert(targetType != TYP_LONG);
 
     const unsigned argSize = putArgStk->getArgSize();
     assert((argSize % TARGET_POINTER_SIZE) == 0);
index d0837c1..707ae61 100644 (file)
@@ -46,7 +46,7 @@ GTNODE(CNS_STR          , "sconst"       ,GenTreeStrCon      ,0,GTK_LEAF|GTK_CON
 //-----------------------------------------------------------------------------
 
 GTNODE(NOT              , "~"            ,GenTreeOp          ,0,GTK_UNOP)
-GTNODE(NOP              , "nop"          ,GenTree            ,0,GTK_UNOP|GTK_NOVALUE)
+GTNODE(NOP              , "nop"          ,GenTree            ,0,GTK_UNOP)
 GTNODE(NEG              , "unary -"      ,GenTreeOp          ,0,GTK_UNOP)
 GTNODE(COPY             , "copy"         ,GenTreeCopyOrReload,0,GTK_UNOP)               // Copies a variable from its current location to a register that satisfies
                                                                                         // code generation constraints.  The child is the actual lclVar node.