mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
- removed spurious decstack/incstack in thlcgwasm.resize_stack_int_val
git-svn-id: branches/wasm@47972 -
This commit is contained in:
parent
0e23b9288c
commit
189c4025c2
@ -2240,7 +2240,6 @@ implementation
|
||||
begin
|
||||
{ truncate }
|
||||
list.concat(taicpu.op_none(a_i32_wrap_i64));
|
||||
decstack(list,1);
|
||||
end;
|
||||
end
|
||||
else if tocgsize in [OS_S64,OS_64] then
|
||||
@ -2250,7 +2249,6 @@ implementation
|
||||
list.concat(taicpu.op_none(a_i64_extend_s_i32))
|
||||
else
|
||||
list.concat(taicpu.op_none(a_i64_extend_u_i32));
|
||||
incstack(list,1);
|
||||
{ if it was an unsigned 32 bit value, remove sign extension }
|
||||
if fromcgsize=OS_32 then
|
||||
a_op_const_stack(list,OP_AND,s64inttype,cardinal($ffffffff));
|
||||
|
Loading…
Reference in New Issue
Block a user