mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:19:24 +02:00
* fixed bug in thlcgwasm.a_op_ref_stack
git-svn-id: branches/wasm@48078 -
This commit is contained in:
parent
0f3fef31f3
commit
627d5580db
@ -550,12 +550,12 @@ implementation
|
||||
OP_SHL,OP_SHR,OP_SAR:
|
||||
begin
|
||||
if not is_64bitint(size) then
|
||||
a_load_ref_stack(list,size,ref,prepare_stack_for_ref(list,tmpref,false))
|
||||
a_load_ref_stack(list,size,tmpref,prepare_stack_for_ref(list,tmpref,false))
|
||||
else
|
||||
a_load_ref_stack(list,s32inttype,ref,prepare_stack_for_ref(list,tmpref,false));
|
||||
a_load_ref_stack(list,s32inttype,tmpref,prepare_stack_for_ref(list,tmpref,false));
|
||||
end;
|
||||
else
|
||||
a_load_ref_stack(list,size,ref,prepare_stack_for_ref(list,tmpref,false));
|
||||
a_load_ref_stack(list,size,tmpref,prepare_stack_for_ref(list,tmpref,false));
|
||||
end;
|
||||
a_op_stack(list,op,size,trunc32);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user