Have the optimizer ignore struct/exec.

original commit: 99178c70a0dd5add19b13eec4380f357e0e6680c
This commit is contained in:
Vincent St-Amour 2010-10-06 18:43:35 -04:00
parent 220b41c75e
commit ed4294a6f2

View File

@ -86,6 +86,7 @@
[optimize (syntax-parser
[e:expr
#:when (and (not (syntax-property #'e 'typechecker:ignore))
(not (syntax-property #'e 'typechecker:ignore-some))
(not (syntax-property #'e 'typechecker:with-handlers)))
#:with e*:opt-expr #'e
#'e*.opt]