Skip to content
Snippets Groups Projects
Commit da308164 authored by ram's avatar ram
Browse files

In TN-VALUE, flushed the assertion that the TN is not in the CONSTANT SC.

It is admittedly somewhat bogus to allocate a indirect constant and then
access it as an immediate, but less bogus than indirecting for recreational
value.
parent 86be1dd9
No related branches found
No related tags found
No related merge requests found
......@@ -446,7 +446,6 @@
(defun tn-value (tn)
(declare (type tn tn))
(assert (member (tn-kind tn) '(:constant :cached-constant)))
(assert (/= (sc-number (tn-sc tn)) (sc-number-or-lose 'constant)))
(constant-value (tn-leaf tn)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment