compiler.cfg.*: help-lint and test case fixes

db4
Björn Lindqvist 2014-12-11 15:02:40 +01:00
parent 08e9f18c3b
commit 33500db79f
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ HELP: needs-dominance
{ $values { "cfg" cfg } }
{ $description "Recalculates predecessor and dominance info for the given cfg." } ;
ARTICLE: "compiler.cfg.dominance" "A Simple, Fast Dominance Algorithm" $nl
ARTICLE: "compiler.cfg.dominance" "A Simple, Fast Dominance Algorithm"
"A Simple, Fast Dominance Algorithm" $nl
"Keith D. Cooper, Timothy J. Harvey, and Ken Kennedy" $nl
"http://www.cs.rice.edu/~keith/EMBED/dom.pdf"

View File

@ -2904,7 +2904,7 @@ V{
[ ] [
0 get block>cfg
value-numbering eliminate-dead-code drop
value-numbering eliminate-dead-code
] unit-test
[ f ] [ 1 get instructions>> [ ##peek? ] any? ] unit-test
@ -3238,7 +3238,7 @@ V{ T{ ##epilogue } T{ ##return } } 5 test-bb
3 2 edge
4 5 edge
[ ] [ 0 get block>cfg value-numbering eliminate-dead-code drop ] unit-test
[ ] [ 0 get block>cfg value-numbering eliminate-dead-code ] unit-test
[ 1 ] [ 1 get instructions>> [ ##load-integer? ] count ] unit-test
[ 1 ] [ 2 get instructions>> [ ##phi? ] count ] unit-test