瀏覽代碼

* fixed stack tracking for 64-bit operations in thlcgwasm.a_op_stack

git-svn-id: branches/wasm@48048 -
nickysn 4 年之前
父節點
當前提交
450883ea2b
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      compiler/wasm32/hlcgcpu.pas

+ 1 - 4
compiler/wasm32/hlcgcpu.pas

@@ -529,11 +529,8 @@ implementation
               OP_NOT,
               OP_NEG:
                 ;
-              { the second argument here is an int rather than a long }
-              OP_SHL,OP_SHR,OP_SAR:
-                decstack(list,1);
               else
-                decstack(list,2);
+                decstack(list,1);
             end;
           end;
         else