mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 15:49:27 +02:00
* get rid of the internal error in thlcgwasm.a_cmp_ref_reg_stack by using swap_opcmp
git-svn-id: branches/wasm@48332 -
This commit is contained in:
parent
5a84c4db61
commit
9e95895a9b
@ -644,11 +644,8 @@ implementation
|
||||
a_load_reg_stack(list,size,reg);
|
||||
if tmpref.base<>NR_EVAL_STACK_BASE then
|
||||
a_load_ref_stack(list,size,tmpref,prepare_stack_for_ref(list,tmpref,false))
|
||||
else begin
|
||||
// todo: need a swap operation?
|
||||
//list.concat(taicpu.op_none(a_swap));
|
||||
Internalerror(2019083003);
|
||||
end;
|
||||
else
|
||||
cmp_op:=swap_opcmp(cmp_op);
|
||||
a_cmp_stack_stack(list,size,cmp_op);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user