Jelajahi Sumber

* when auto-inlining is used, do not require that inlining is explicitly turned on

git-svn-id: trunk@45405 -
florian 5 tahun lalu
induk
melakukan
af0ba7be83
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      compiler/psub.pas

+ 0 - 2
compiler/psub.pas

@@ -1812,8 +1812,6 @@ implementation
 
 
         { automatic inlining? }
         { automatic inlining? }
         if (cs_opt_autoinline in current_settings.optimizerswitches) and
         if (cs_opt_autoinline in current_settings.optimizerswitches) and
-           { inlining not turned off? }
-           (cs_do_inline in current_settings.localswitches) and
            not(po_noinline in procdef.procoptions) and
            not(po_noinline in procdef.procoptions) and
            { no inlining yet? }
            { no inlining yet? }
            not(procdef.has_inlininginfo) and not(has_nestedprocs) and
            not(procdef.has_inlininginfo) and not(has_nestedprocs) and