瀏覽代碼

- removed spurious load of global symbols in thlcgwasm.prepare_stack_for_ref

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

+ 1 - 1
compiler/wasm32/hlcgcpu.pas

@@ -1034,7 +1034,7 @@ implementation
 
 
       // setting up memory offset
       // setting up memory offset
       if assigned(ref.symbol) then begin
       if assigned(ref.symbol) then begin
-        list.Concat(taicpu.op_sym(a_get_global, ref.symbol));
+        //list.Concat(taicpu.op_sym(a_get_global, ref.symbol));
       end else if ref.index <> NR_NO then // array access
       end else if ref.index <> NR_NO then // array access
       begin
       begin
         // it's just faster to sum two of those together
         // it's just faster to sum two of those together