summaryrefslogtreecommitdiff
path: root/chapter06/src/main
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-11-09 13:47:37 -0800
committerCliff Click <cliffc@acm.org>2024-11-23 09:03:20 -0800
commite386e6323e34f2a3d4e5b5779cdefd12c9552bd6 (patch)
tree3ed7fa23321abfc8b988862799f5bfdc7aaea7e5 /chapter06/src/main
parentbaa84f5eb99cd21f6704e71515b6ec7bbd78624f (diff)
downloadSimple-e386e6323e34f2a3d4e5b5779cdefd12c9552bd6.tar.gz
Simple-e386e6323e34f2a3d4e5b5779cdefd12c9552bd6.zip
Change field mutability
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.
Diffstat (limited to 'chapter06/src/main')
0 files changed, 0 insertions, 0 deletions