Explorar o código

* arm and x86-64 can do exception handling without a framepointer based stack

git-svn-id: trunk@21454 -
florian %!s(int64=13) %!d(string=hai) anos
pai
achega
52372a88ca
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      compiler/psub.pas

+ 5 - 2
compiler/psub.pas

@@ -915,8 +915,11 @@ implementation
            ((cs_opt_stackframe in current_settings.optimizerswitches) and
             not(cs_generate_stackframes in current_settings.localswitches) and
             not(po_assembler in procdef.procoptions) and
-            ((flags*[pi_has_assembler_block,pi_uses_exceptions,pi_is_assembler,
-                    pi_needs_implicit_finally,pi_has_implicit_finally,pi_has_stackparameter,
+            ((flags*[pi_has_assembler_block,pi_is_assembler,
+{$ifdef i386}
+                    pi_uses_exceptions,pi_needs_implicit_finally,pi_has_implicit_finally,
+{$endif i386}
+                    pi_has_stackparameter,
                     pi_needs_stackframe])=[])
            )
         then