Make unary float optimizations less restrictive.

This commit is contained in:
Vincent St-Amour 2011-06-02 17:18:29 -04:00
parent 484fb029f1
commit cc129adb39

View File

@ -76,7 +76,7 @@
(define-syntax-class float-opt-expr
#:commit
(pattern (#%plain-app (~var op (float-op unary-float-ops)) f:float-expr)
(pattern (#%plain-app (~var op (float-op unary-float-ops)) f:float-arg-expr)
#:when (subtypeof? this-syntax -Flonum)
#:with opt
(begin (log-optimization "unary float" #'op)