compiler.cfg.*: help-lint and test case fixes
							parent
							
								
									08e9f18c3b
								
							
						
					
					
						commit
						33500db79f
					
				| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue