浏览代码

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

git-svn-id: trunk@45405 -
florian 5 年之前
父节点
当前提交
af0ba7be83
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      compiler/psub.pas

+ 0 - 2
compiler/psub.pas

@@ -1812,8 +1812,6 @@ implementation
 
         { automatic inlining? }
         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
            { no inlining yet? }
            not(procdef.has_inlininginfo) and not(has_nestedprocs) and