improve code generation for black hole as an immediate
original commit: 2e15df8a992d1c634f04bf4e162f40026a4f0840
This commit is contained in:
parent
d13e5898c8
commit
fd1745c628
|
@ -2812,6 +2812,7 @@
|
||||||
[(eof-object? x) (constant seof)]
|
[(eof-object? x) (constant seof)]
|
||||||
[($unbound-object? x) (constant sunbound)]
|
[($unbound-object? x) (constant sunbound)]
|
||||||
[(bwp-object? x) (constant sbwp)]
|
[(bwp-object? x) (constant sbwp)]
|
||||||
|
[(eq? x '#1=#1#) (constant black-hole)]
|
||||||
[(target-fixnum? x) (fix x)]
|
[(target-fixnum? x) (fix x)]
|
||||||
[(char? x) (+ (* (constant char-factor) (char->integer x)) (constant type-char))]
|
[(char? x) (+ (* (constant char-factor) (char->integer x)) (constant type-char))]
|
||||||
[else #f])))
|
[else #f])))
|
||||||
|
@ -6257,6 +6258,7 @@
|
||||||
(eqv? obj "")
|
(eqv? obj "")
|
||||||
(eqv? obj '#())
|
(eqv? obj '#())
|
||||||
(eqv? obj '#vu8())
|
(eqv? obj '#vu8())
|
||||||
|
(eqv? obj '#0=#0#)
|
||||||
(eq? obj (void))
|
(eq? obj (void))
|
||||||
(eof-object? obj)
|
(eof-object? obj)
|
||||||
(bwp-object? obj)
|
(bwp-object? obj)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user