- removed spurious load of global symbols in thlcgwasm.prepare_stack_for_ref

git-svn-id: branches/wasm@47167 -
This commit is contained in:
nickysn 2020-10-24 12:09:02 +00:00
parent 19519eb3d2
commit bbe5e3d0e7

View File

@ -1034,7 +1034,7 @@ implementation
// setting up memory offset
if assigned(ref.symbol) then begin
list.Concat(taicpu.op_sym(a_get_global, ref.symbol));
//list.Concat(taicpu.op_sym(a_get_global, ref.symbol));
end else if ref.index <> NR_NO then // array access
begin
// it's just faster to sum two of those together