浏览代码

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

git-svn-id: branches/jvmbackend@18511 -
Jonas Maebe 14 年之前
父节点
当前提交
f764a72d85
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/jvm/hlcgcpu.pas

+ 2 - 1
compiler/jvm/hlcgcpu.pas

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