Browse Source

* fixed thlcgwasm.a_op_ref_stack - it was not emitting the actual operation opcode

git-svn-id: branches/wasm@48279 -
nickysn 4 years ago
parent
commit
545c949586
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/wasm32/hlcgcpu.pas

+ 1 - 0
compiler/wasm32/hlcgcpu.pas

@@ -577,6 +577,7 @@ implementation
         internalerror(2010121102);
       tmpref:=ref;
       a_load_ref_stack(list,size,tmpref,prepare_stack_for_ref(list,tmpref,false));
+      a_op_stack(list,op,size);
     end;
 
   procedure thlcgwasm.a_op_loc_stack(list: TAsmList; op: topcg; size: tdef; const loc: tlocation);