mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:48:12 +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:
|
||||
case tfloatdef(resdef).floattype of
|
||||
s32real:
|
||||
list.concat(taicpu.op_none(a_fconst_0));
|
||||
begin
|
||||
list.concat(taicpu.op_none(a_fconst_0));
|
||||
incstack(list,1);
|
||||
end;
|
||||
s64real:
|
||||
list.concat(taicpu.op_none(a_dconst_0));
|
||||
begin
|
||||
list.concat(taicpu.op_none(a_dconst_0));
|
||||
incstack(list,2);
|
||||
end;
|
||||
else
|
||||
internalerror(2011010302);
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user