diff options
author | Andy Wingo <wingo@pobox.com> | 2015-10-22 17:44:17 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-10-22 17:44:17 +0000 |
commit | f169be9fc8c0b8c9a27476b59e683c8dfeea8aa6 (patch) | |
tree | 51e0f4eae000d9a32bf7d82f666d2d7d9e8d3695 /meta | |
parent | 2d4da30fdefbcdb065d4b1f48f2a77d06f69e3c3 (diff) |
Wire up `guild compile -O0 foo.scm'
* module/scripts/compile.scm (%options): Resurrect -O option and make it
follow GCC, more or less. The default is equivalent to -O2.
* module/language/cps/compile-bytecode.scm (lower-cps):
* module/language/cps/optimize.scm (optimize-higher-order-cps): Move
split-rec to run unconditionally for now, as closure conversion fails
without it.
(define-optimizer): Only verify the result if we are debugging, to
save time.
(cps-default-optimization-options): New exported procedure.
* module/language/tree-il/optimize.scm
(tree-il-default-optimization-options): New exported procedure.
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions