Explorar el Código

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

git-svn-id: branches/jvmbackend@18511 -
Jonas Maebe hace 14 años
padre
commit
f764a72d85
Se han modificado 1 ficheros con 2 adiciones y 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: