Changes between Version 29 and Version 30 of Commentary/Compiler/NewCodeGenPipeline
- Timestamp:
- 10/15/09 06:36:52 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/NewCodeGenPipeline
v29 v30 81 81 82 82 Now the {{{do_gc_p}}} call has the same return signature as {{{foo}}} 83 and can use the same continuation. 83 and can use the same continuation, thus: 84 {{{ 85 ...put params in R1 R2 etc... 86 call foo returns to L 87 L: r = R1 88 goto M 89 M: Hp = Hp + 20 90 if (Hp > HpLim) { R1 = r 91 call do_gc_p returns to L } 92 }}} 93 84 94 (A call followed by a {{{goto}}} thus gets optimized down to just the call.) 85 95
