* fixed stack tracking in thlcgwasm.resizestackfpuval

git-svn-id: branches/wasm@48052 -
This commit is contained in:
nickysn 2021-01-04 14:59:10 +00:00
parent c6aecf184b
commit b84bb3e9c4

View File

@ -2500,13 +2500,11 @@ implementation
(tosize=OS_F64) then (tosize=OS_F64) then
begin begin
list.concat(taicpu.op_none(a_f64_promote_f32)); list.concat(taicpu.op_none(a_f64_promote_f32));
incstack(list,1);
end end
else if (fromsize=OS_F64) and else if (fromsize=OS_F64) and
(tosize=OS_F32) then (tosize=OS_F32) then
begin begin
list.concat(taicpu.op_none(a_f32_demote_f64)); list.concat(taicpu.op_none(a_f32_demote_f64));
decstack(list,1);
end; end;
end; end;