Changes between Version 12 and Version 13 of Commentary/Rts/HeapObjects
- Timestamp:
- 09/12/06 06:51:22 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/HeapObjects
v12 v13 77 77 === {{{TABLES_NEXT_TO_CODE}}} === 78 78 79 Note that the info table is followed immediately by the entry code, rather than the code being at the end of an indirect pointer. This both reduces the size of the info table and eliminates one indirection when jumping to the entry code; however, arranging to generate code like this presents some difficulties when compiling via C, see [wiki:Commentary/ Mangler].79 Note that the info table is followed immediately by the entry code, rather than the code being at the end of an indirect pointer. This both reduces the size of the info table and eliminates one indirection when jumping to the entry code; however, arranging to generate code like this presents some difficulties when compiling via C, see [wiki:Commentary/EvilMangler]. 80 80 81 81 GHC can generate code that uses the indirect pointer instead; the {{{TABLES_NEXT_TO_CODE}}} turns on the optimised layout. Generally {{{TABLES_NEXT_TO_CODE}}} is turned off when compiling unregisterised.
