瀏覽代碼

[PATCH 67/83] restoring the stack value of address load

From 5012bfb6f77fd90d39c1293317253d8267985e9b Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 15 Oct 2019 14:09:58 -0400

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

+ 1 - 0
compiler/wasm/hlcgcpu.pas

@@ -1142,6 +1142,7 @@ implementation
         // todo: index?
         list.Concat(taicpu.op_none(a_i32_add));
         incstack(list, 1);
+        a_load_stack_reg(list, tosize, r);
       end else
         a_load_ref_reg(list,ptruinttype,ptruinttype,ref,r);
     end;