Changes between Version 27 and Version 28 of Commentary/Compiler/NewCodeGenPipeline


Ignore:
Timestamp:
Oct 15, 2009 1:32:43 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGenPipeline

    v27 v28  
    5757However the natural code:
    5858{{{
    59     r = foo(1, 2) returns to L
     59    ...put params in R1 R2 etc...
     60    call foo returns to L
    6061 L: r = R1   -- get return value
    6162    goto M
    62  M: if (Hp < HpLim) { do_gc() returns to K;
     63 M: Hp = Hp + 20
     64    if (Hp > HpLim) { do_gc() returns to K;
    6365                   K: goto M; }
    6466}}}