summaryrefslogtreecommitdiff
path: root/chapter17/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
* Stronger requirement on new type nameCliff Click2024-11-231-6/+2
|
* Straighten out nested forward ref type errorsCliff Click2024-11-231-2/+21
|
* Error on ambiguous -- parseCliff Click2024-11-232-5/+5
| | | | `i -- i` now errors instead of (sometimes) parsing as `i - -i`
* Fix 2 small bugsCliff Click2024-11-231-0/+24
|
* Allow oper-assign, += -= etcCliff Click2024-11-231-7/+15
|
* Minor inf loop fixCliff Click2024-11-232-12/+2
|
* Final? pass of finalsCliff Click2024-11-2311-88/+209
| | | | | | | Add a least-upper-bound to set Phis to their respective Top while preserving final fields. Requires a ReadOnly node to "cast-away-writable". Series of isFinal/makeRO in all Types. Changes tests to match r/w intent.
* commentsCliff Click2024-11-231-1/+2
|
* Allow pre-inc/dec on variablesCliff Click2024-11-234-6/+16
|
* Allow C-style for loopsCliff Click2024-11-232-28/+83
|
* Much more robust guarded expression upcastingCliff Click2024-11-2312-59/+58
| | | | | Region does not print id, making all test cases much more stable (and slightly weaker). NotNode gets more precise compute
* Change field mutabilityCliff Click2024-11-236-21/+148
| | | | | | | | Fields & locals with an initializer are immutable by default; those without are mutable. Make mutable with `!`. Fields are always mutable in a constructor. Add a trinary `pred ? then : else` syntax. SubNode retains as much precision as AddNode. Sharpen some asserts and error cases. Limit Load node cloning if the ptr is not obvious.
* some docsCliff Click2024-11-231-1/+1
|
* var/valCliff Click2024-11-233-27/+76
|
* Support post ++ on arrays and structsCliff Click2024-11-232-6/+41
|
* Missed oneCliff Click2024-11-231-1/+1
|
* Allow post ++, --Cliff Click2024-11-2312-40/+88
| | | | | | | | | | Fix eval auto-string result. Fix tests hacked because of this. Turn on BrainFuck in ch15,16,17, also disabled because of this. Use new features in BrainFuck. Fix bug not lifting forward refs; add a toString to Vars. Fix some missing addDeps. Remove large complex not-productive peep. Upcast after "while" tests. Improves a bunch of tests. Remove dead getBlockStart.
* Initial pushCliff Click2024-11-2327-0/+6354