Browse Source

* 64-bit constants take a single stack slot in WebAssembly. Don't incstack a
second time for 64-bit consts in thlcgwasm.a_load_const_stack

git-svn-id: branches/wasm@47194 -

nickysn 4 years ago
parent
commit
c0bbe6d8c0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      compiler/wasm32/hlcgcpu.pas

+ 0 - 1
compiler/wasm32/hlcgcpu.pas

@@ -431,7 +431,6 @@ implementation
               OS_64,OS_S64:
               OS_64,OS_S64:
                 begin
                 begin
                   list.concat(taicpu.op_const(a_i64_const, a));
                   list.concat(taicpu.op_const(a_i64_const, a));
-                  incstack(list,1); // why?
                 end;
                 end;
               else
               else
                 internalerror(2010110702);
                 internalerror(2010110702);