Make unary float optimizations less restrictive.

original commit: cc129adb39f15f01c19ebf43270e03fde99acffd
This commit is contained in:
Vincent St-Amour 2011-06-02 17:18:29 -04:00
parent 289457fa27
commit c333078bae

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)