summaryrefslogtreecommitdiff
path: root/chapter14/src
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-12-25 22:24:58 -0800
committerCliff Click <cliffc@acm.org>2025-01-15 15:07:30 -0800
commit9814de0f115704c58c1ccbc0ebfa1fa98338f656 (patch)
treea31c2ea288bb4f8f618a67b1caa45c3a436acd42 /chapter14/src
parentfcd6dcf5265b4b23fd69af761316c064b8f9f7ce (diff)
downloadSimple-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 'chapter14/src')
0 files changed, 0 insertions, 0 deletions