Explorar o código

* fixed evaluation stack height count for OP_NEG and non-64 bit opertions

git-svn-id: branches/jvmbackend@18511 -
Jonas Maebe %!s(int64=14) %!d(string=hai) anos
pai
achega
f764a72d85
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/jvm/hlcgcpu.pas

+ 2 - 1
compiler/jvm/hlcgcpu.pas

@@ -430,7 +430,8 @@ implementation
               internalerror(2010120533);
             list.concat(taicpu.op_none(TOpCG2LAsmOp[op]));
             case op of
-              OP_NOT:
+              OP_NOT,
+              OP_NEG:
                 ;
               { the second argument here is an int rather than a long }
               OP_SHL,OP_SHR,OP_SAR: