add a utility word vreg>constant

Doug Coleman 2009-07-02 11:32:23 -05:00
parent 9605ffc0dc
commit c3f190daff
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ SYMBOL: vregs>vns
: vn>constant ( vn -- constant ) vn>expr value>> ; inline
: vreg>constant ( vreg -- constant ) vreg>vn vn>constant ; inline
: init-value-graph ( -- )
0 vn-counter set
<bihash> exprs>vns set