Prechádzať zdrojové kódy

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

git-svn-id: branches/jvmbackend@18511 -
Jonas Maebe 14 rokov pred
rodič
commit
f764a72d85
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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: