Changes between Version 1 and Version 2 of Commentary/Compiler/NewCodeGenStupidity
- Timestamp:
- 03/22/11 08:25:44 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/NewCodeGenStupidity
v1 v2 69 69 70 70 We see `Hp - 4` being allocated to a temp, and then consequently being spilled to the stack even though `newCAF` definitely will not change `Hp`, so we could have floated the expression down. 71 72 == Up and Down == 73 74 A frequent pattern is the stack pointer being bumped up and then back down again, for no particular reason. 75 76 {{{ 77 Sp = Sp + 4; 78 Sp = Sp - 4; 79 jump block_c7xh_entry (); 80 }}} 81 82 This is mentioned at the very top of `cmm-notes`.
