Fix optimizer fix

Fixed spurious syntax quoting and a test
This commit is contained in:
Asumu Takikawa 2016-06-21 23:54:18 -04:00
parent 34ff91b3ca
commit ca26d22d1c
2 changed files with 1 additions and 2 deletions

View File

@ -79,7 +79,7 @@
#`(when (immutable? new-v)
(op new-v i.opt new.opt ...)) ; produces the correct error message
#'(begin))
#'(op.unsafe v.opt i.opt new.opt ...)))
(op.unsafe v.opt i.opt new.opt ...)))
;; we can do the bounds checking separately, to eliminate some of the checks
(pattern (#%plain-app op:vector-op v:opt-expr i:fixnum-expr new:opt-expr ...)

View File

@ -1,7 +1,6 @@
#;#;
#<<END
TR opt: box.rkt 4:0 (unbox x) -- box
TR opt: box.rkt 5:0 (set-box! x 2) -- box
TR opt: box.rkt 6:0 (unbox x) -- box
END
#<<END