소스 검색

* make use_fixed_stack for i386 more generic (any target with more than
4 byte stack alignment needs a fixed stack)

git-svn-id: trunk@23043 -

Jonas Maebe 12 년 전
부모
커밋
3eb527b532
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/paramgr.pas

+ 1 - 1
compiler/paramgr.pas

@@ -498,7 +498,7 @@ implementation
     function tparamanager.use_fixed_stack: boolean;
       begin
 {$ifdef i386}
-        result := (target_info.system in [system_i386_darwin,system_i386_iphonesim]);
+        result := target_info.stackalign > 4;
 {$else i386}
 {$ifdef cputargethasfixedstack}
         result := true;