Changeset 12308 in project for chicken


Ignore:
Timestamp:
10/29/08 16:34:08 (11 years ago)
Author:
felix winkelmann
Message:

-inline-global implies -inline; -inline-global is not required for -emit-inline-file to work

Location:
chicken/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/batch-driver.scm

    r12301 r12308  
    238238      (set! local-definitions #t))
    239239    (when (memq 'inline-global options)
     240      (set! inline-locally #t)
    240241      (set! inline-globally #t))
    241242    (set! disabled-warnings (map string->symbol (collect-options 'disable-warning)))
     
    602603                            (print-node "optimized" '|7| node2)
    603604
    604                             (when (and inline-globally inline-output-file)
     605                            (when inline-output-file
    605606                              (let ((f inline-output-file))
    606607                                (when verbose
  • chicken/trunk/manual/Using the compiler

    r12301 r12308  
    122122; -inline : Enable procedure inlining for known procedures of a size below the threshold (which can be set through the {{-inline-limit}} option).
    123123
    124 ; -inline-global : Enable cross-module inlining.
     124; -inline-global : Enable cross-module inlining (in addition to local inlining).
    125125
    126126; -inline-limit THRESHOLD : Sets the maximum size of a potentially inlinable procedure. The default threshold is {{20}}.
Note: See TracChangeset for help on using the changeset viewer.