diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-19 00:38:53 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-19 00:38:53 -0700 |
| commit | 30a824cb9e148adb0799a0a81721160c0d474b50 (patch) | |
| tree | afdfb0a3e19fb956c66ade7b190b7ca4566ba7f7 /src/stage1 | |
| parent | 7e56028bc7c00b884c92e2948728cbc47e5a8a09 (diff) | |
| download | zig-30a824cb9e148adb0799a0a81721160c0d474b50.tar.gz zig-30a824cb9e148adb0799a0a81721160c0d474b50.zip | |
astgen: eliminate rlWrapPtr and all its callsites
The following AST avoids unnecessary derefs now:
* error set decl
* field access
* array access
* for loops: replace ensure_indexable and deref on the len_ptr with a
special purpose ZIR instruction called indexable_ptr_len.
Added an error note when for loop operand is the wrong type.
I also accidentally implemented `@field`.
Diffstat (limited to 'src/stage1')
0 files changed, 0 insertions, 0 deletions
