Make unary float optimizations less restrictive.
This commit is contained in:
parent
484fb029f1
commit
cc129adb39
|
@ -76,7 +76,7 @@
|
||||||
|
|
||||||
(define-syntax-class float-opt-expr
|
(define-syntax-class float-opt-expr
|
||||||
#:commit
|
#: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)
|
#:when (subtypeof? this-syntax -Flonum)
|
||||||
#:with opt
|
#:with opt
|
||||||
(begin (log-optimization "unary float" #'op)
|
(begin (log-optimization "unary float" #'op)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user