TR for clause specialization: More detailed message.

original commit: 456f32b77f10f807a31388fae951fa66755fd9b4
This commit is contained in:
Vincent St-Amour 2013-10-08 16:14:23 -04:00
parent e1c1f270a5
commit 5b36f34fe4

View File

@ -27,7 +27,13 @@
(typed-expr (disjoin Vector? HeterogeneousVector?)))
(define-syntax-rule (log-seq-opt opt-label stx)
(log-optimization opt-label "Sequence type specialization." stx))
(log-optimization
opt-label
(format
"~a\n~a~a~a"
"Sequence type specialization."
"(You may get better performance by using `" opt-label "' directly.)")
stx))
(define-syntax-class make-sequence
(pattern op:id