Changes between Version 30 and Version 31 of Commentary/Compiler/NewCodeGenPipeline


Ignore:
Timestamp:
Oct 15, 2009 1:38:12 PM (5 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGenPipeline

    v30 v31  
    9191                      call do_gc_p returns to L } 
    9292}}} 
    93  
     93Now we can coalesce the uniquely-used block M into L, thus: 
     94{{{ 
     95    ...put params in R1 R2 etc... 
     96    call foo returns to L 
     97 L: r = R1 
     98    Hp = Hp + 20 
     99    if (Hp > HpLim) { R1 = r 
     100                      call do_gc_p returns to L } 
     101}}} 
    94102(A call followed by a {{{goto}}} thus gets optimized down to just the call.) 
    95103