Browse Source

* a_grow_memory asm op renamed a_memory_grow

git-svn-id: branches/wasm@48319 -
nickysn 4 years ago
parent
commit
699626ee5c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/wasm32/cpubase.pas
  2. 1 1
      compiler/wasm32/nwasminl.pas

+ 1 - 1
compiler/wasm32/cpubase.pas

@@ -83,7 +83,7 @@ uses
       a_i32_load8_u, a_i32_load16_u, a_i64_load8_u, a_i64_load16_u, a_i64_load32_u,
       a_i32_store8, a_i32_store16, a_i64_store8, a_i64_store16, a_i64_store32,
       // additional memory
-      a_grow_memory, a_memory_size
+      a_memory_grow, a_memory_size
       );
 
       TWasmBasicType = (wbt_i32, wbt_i64, wbt_f32, wbt_f64);

+ 1 - 1
compiler/wasm32/nwasminl.pas

@@ -76,7 +76,7 @@ implementation
         hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,left.resultdef,false);
         thlcgwasm(hlcg).a_load_reg_stack(current_asmdata.CurrAsmList,left.resultdef,left.location.register);
 
-        current_asmdata.CurrAsmList.Concat(taicpu.op_none(a_grow_memory));
+        current_asmdata.CurrAsmList.Concat(taicpu.op_none(a_memory_grow));
 
         location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
         location.register:=hlcg.getregisterfordef(current_asmdata.CurrAsmList,resultdef);