diff options
| author | Cliff Click <cliffc@acm.org> | 2024-12-25 22:24:58 -0800 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2025-01-15 15:07:30 -0800 |
| commit | 9814de0f115704c58c1ccbc0ebfa1fa98338f656 (patch) | |
| tree | a31c2ea288bb4f8f618a67b1caa45c3a436acd42 /chapter12 | |
| parent | fcd6dcf5265b4b23fd69af761316c064b8f9f7ce (diff) | |
| download | Simple-9814de0f115704c58c1ccbc0ebfa1fa98338f656.tar.gz Simple-9814de0f115704c58c1ccbc0ebfa1fa98338f656.zip | |
Cleanup compile driver
Top level makes a "main" function and calls it. Opto() pass inlines main into top-level and removes the function call. If peeps are off, the function call remains; this breaks many tests.
Add a FunNode function header; Return is its end. Return no long used at the top level; only a single return per-function, merging all returns (breaks many tests).
Add a Call & CallEnd nodes.
Fix many tests to pass again.
Fix a bunch of minor bugs.
Diffstat (limited to 'chapter12')
0 files changed, 0 insertions, 0 deletions
