issue #358: code-blocks -> get-code-blocks

db4
Doug Coleman 2012-06-21 00:00:51 -07:00
parent 1c3deddf61
commit 9275e88eff
1 changed files with 3 additions and 3 deletions

View File

@ -247,12 +247,12 @@ M: code-blocks nth-unsafe
INSTANCE: code-blocks immutable-sequence
: code-blocks ( -- blocks )
: get-code-blocks ( -- blocks )
(code-blocks) <code-blocks> ;
: with-code-blocks ( quot -- )
[
code-blocks
get-code-blocks
[ \ code-blocks set ]
[ first entry-point>> code-heap-start set ]
[ last [ entry-point>> ] [ size>> ] bi + code-heap-end set ] tri
@ -294,7 +294,7 @@ PRIVATE>
: code-room. ( -- )
"== Code heap ==" print nl
code-room mark-sweep-table. nl
code-blocks code-block-stats code-block-table. ;
get-code-blocks code-block-stats code-block-table. ;
: room. ( -- )
data-room. nl code-room. ;