add a utility word vreg>constant

db4
Doug Coleman 2009-07-02 11:32:23 -05:00
parent 3a4916462b
commit 826464724e
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