Forráskód Böngészése

Do not alloc/dealloc NR_DEFAULTFLAGS for wasm32, as it is NR_NO

Pierre Muller 3 éve
szülő
commit
be969205ad
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      compiler/wasm32/hlcgcpu.pas

+ 0 - 2
compiler/wasm32/hlcgcpu.pas

@@ -2139,12 +2139,10 @@ implementation
       else
         a_load_const_stack(list,maxdef,tcgint(int64(hto-lto)),R_INTREGISTER);
 
-      a_reg_alloc(list, NR_DEFAULTFLAGS);
       a_cmp_stack_stack(list,maxdef,OC_A);
 
       current_asmdata.CurrAsmList.concat(taicpu.op_none(a_if));
       thlcgwasm(hlcg).decstack(current_asmdata.CurrAsmList,1);
-      a_reg_dealloc(list, NR_DEFAULTFLAGS);
 
       g_call_system_proc(list,'fpc_rangeerror',[],nil).resetiftemp;