Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Rather than emitting macros such asDISPATCH,POKE,TARGET etc, it would be useful if the code generator emitted something closer to plain C. Some macros will still be needed for portability.
Doing so would make the overhead in dispatch explicit and expose redundancies that can be eliminated.
For example, not all instructions need to saveframe->prev_instr, but all do because the assignment is hidden in a macro.