소스 검색

* proper fix for 9056ab80257b71fb8bcdf90be2f71e2fbbf912b9

florian 1 년 전
부모
커밋
7c609ee7c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/x86/hlcgx86.pas

+ 1 - 1
compiler/x86/hlcgx86.pas

@@ -109,7 +109,7 @@ implementation
     begin
 {$ifdef I8086}
       { BTR/BTS is only supportd by 80386 CPU or later }
-      if current_settings.cputype < cpu_386 then
+      if not(CPUX86_HAS_BTX in cpu_capabilities[current_settings.optimizecputype]) then
 	inherited
       else
 {$endif I8086}