Changes between Version 27 and Version 28 of Commentary/Compiler/NewCodeGenPipeline
- Timestamp:
- 10/15/09 06:32:43 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/NewCodeGenPipeline
v27 v28 57 57 However the natural code: 58 58 {{{ 59 r = foo(1, 2) returns to L 59 ...put params in R1 R2 etc... 60 call foo returns to L 60 61 L: r = R1 -- get return value 61 62 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; 63 65 K: goto M; } 64 66 }}}
