소스 검색

* do stack page initialization on i386-wince as well

git-svn-id: trunk@4521 -
florian 19 년 전
부모
커밋
6d0a078441
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      compiler/x86/cgx86.pas

+ 5 - 5
compiler/x86/cgx86.pas

@@ -1746,9 +1746,9 @@ unit cgx86;
          begin
 {$ifdef i386}
 {$ifndef NOTARGETWIN}
-           { windows guards only a few pages for stack growing, }
-           { so we have to access every page first              }
-           if (target_info.system=system_i386_win32) and
+           { windows guards only a few pages for stack growing,
+             so we have to access every page first              }
+           if (target_info.system in [system_i386_win32,system_i386_wince]) and
               (localsize>=winstackpagesize) then
              begin
                if localsize div winstackpagesize<=5 then
@@ -1783,8 +1783,8 @@ unit cgx86;
 {$endif i386}
 {$ifdef x86_64}
 {$ifndef NOTARGETWIN}
-           { windows guards only a few pages for stack growing, }
-           { so we have to access every page first              }
+           { windows guards only a few pages for stack growing,
+             so we have to access every page first              }
            if (target_info.system=system_x86_64_win64) and
               (localsize>=winstackpagesize) then
              begin