mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 23:59:10 +02:00
* keep maximum used evaluation stack size up-to-date when putting a
default return value on the stack for fpu routines git-svn-id: branches/jvmbackend@18744 -
This commit is contained in:
parent
27c004807f
commit
f4690f90ad
@ -824,9 +824,15 @@ implementation
|
|||||||
R_FPUREGISTER:
|
R_FPUREGISTER:
|
||||||
case tfloatdef(resdef).floattype of
|
case tfloatdef(resdef).floattype of
|
||||||
s32real:
|
s32real:
|
||||||
list.concat(taicpu.op_none(a_fconst_0));
|
begin
|
||||||
|
list.concat(taicpu.op_none(a_fconst_0));
|
||||||
|
incstack(list,1);
|
||||||
|
end;
|
||||||
s64real:
|
s64real:
|
||||||
list.concat(taicpu.op_none(a_dconst_0));
|
begin
|
||||||
|
list.concat(taicpu.op_none(a_dconst_0));
|
||||||
|
incstack(list,2);
|
||||||
|
end;
|
||||||
else
|
else
|
||||||
internalerror(2011010302);
|
internalerror(2011010302);
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user