浏览代码

* fix in r47632 should be enabled for all targets as it is a stack tainting
parameter

git-svn-id: trunk@47680 -

florian 4 年之前
父节点
当前提交
9c6bdcfbb7
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      compiler/psub.pas

+ 0 - 2
compiler/psub.pas

@@ -1128,13 +1128,11 @@ implementation
 
 
                 if not(procdef.stack_tainting_parameter(calleeside)) and
                 if not(procdef.stack_tainting_parameter(calleeside)) and
                    not(has_assembler_child)
                    not(has_assembler_child)
-{$ifdef m68k}
                   { parasize must be really zero, this means also that no result may be returned
                   { parasize must be really zero, this means also that no result may be returned
                     in a parameter }
                     in a parameter }
                   and not((current_procinfo.procdef.proccalloption in clearstack_pocalls) and
                   and not((current_procinfo.procdef.proccalloption in clearstack_pocalls) and
                     not(current_procinfo.procdef.generate_safecall_wrapper) and
                     not(current_procinfo.procdef.generate_safecall_wrapper) and
                     paramanager.ret_in_param(current_procinfo.procdef.returndef,current_procinfo.procdef))
                     paramanager.ret_in_param(current_procinfo.procdef.returndef,current_procinfo.procdef))
-{$endif m68k}
                    {and (para_stack_size=0)} then
                    {and (para_stack_size=0)} then
                   begin
                   begin
                     { Only need to set the framepointer }
                     { Only need to set the framepointer }