Browse Source

[PATCH 68/83] update a_loadaddr_ref_reg conversion from registry to registry

From 82fc441f11b4833346893d8966c9728882877175 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 15 Oct 2019 14:33:47 -0400

git-svn-id: branches/wasm@45945 -
nickysn 5 years ago
parent
commit
67f35d33c2
1 changed files with 4 additions and 2 deletions
  1. 4 2
      compiler/wasm/hlcgcpu.pas

+ 4 - 2
compiler/wasm/hlcgcpu.pas

@@ -1143,8 +1143,10 @@ implementation
         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 else begin
+        //todo:
+        //a_load_ref_reg(list,ptruinttype,ptruinttype,ref,r);
+      end;
     end;
 
   procedure thlcgwasm.a_op_const_reg(list: TAsmList; Op: TOpCG; size: tdef; a: tcgint; reg: TRegister);