Browse Source

* more disabling of interrupt code for i386-darwin

git-svn-id: trunk@2862 -
Jonas Maebe 19 years ago
parent
commit
431cead7a2
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/i386/n386cal.pas

+ 5 - 2
compiler/i386/n386cal.pas

@@ -57,8 +57,11 @@ implementation
 
     procedure ti386callnode.extra_interrupt_code;
       begin
-        emit_none(A_PUSHF,S_L);
-        emit_reg(A_PUSH,S_L,NR_CS);
+        if (target_info.system <> system_i386_darwin) then
+          begin
+            emit_none(A_PUSHF,S_L);
+            emit_reg(A_PUSH,S_L,NR_CS);
+          end;
       end;