|
@@ -1136,9 +1136,8 @@ implementation
|
|
|
{ parasize must be really zero, this means also that no result may be returned
|
|
|
in a parameter }
|
|
|
and not((current_procinfo.procdef.proccalloption in clearstack_pocalls) and
|
|
|
- not(current_procinfo.procdef.generate_safecall_wrapper) and
|
|
|
- paramanager.ret_in_param(current_procinfo.procdef.returndef,current_procinfo.procdef))
|
|
|
- {and (para_stack_size=0)} then
|
|
|
+ not(current_procinfo.procdef.generate_safecall_wrapper) and
|
|
|
+ paramanager.ret_in_param(current_procinfo.procdef.returndef,current_procinfo.procdef)) then
|
|
|
begin
|
|
|
{ Only need to set the framepointer }
|
|
|
framepointer:=NR_STACK_POINTER_REG;
|