Regression: insufficient compiled usage recorded

db4
Slava Pestov 2008-08-29 17:52:43 -05:00
parent 1e69e739bf
commit c674dd9101
1 changed files with 5 additions and 3 deletions

View File

@ -51,9 +51,11 @@ GENERIC: cleanup* ( node -- node/nodes )
tri prefix ;
: cleanup-inlining ( #call -- nodes )
[ dup method>> [ drop ] [ word>> +inlined+ depends-on ] if ]
[ body>> cleanup ]
bi ;
[
dup method>>
[ method>> dup word? [ +called+ depends-on ] [ drop ] if ]
[ word>> +inlined+ depends-on ] if
] [ body>> cleanup ] bi ;
! Removing overflow checks
: no-overflow-variant ( op -- fast-op )