diff options
| author | mparadinha <miguel.p.paradinha@gmail.com> | 2022-03-18 03:33:18 +0000 |
|---|---|---|
| committer | mparadinha <miguel.p.paradinha@gmail.com> | 2022-03-21 19:32:46 +0000 |
| commit | 6d7808e647e6d244e53a18139c22bce8cd38a3ca (patch) | |
| tree | 5cf473b372fff7177a6f91b00459de74dc006aa9 /test/behavior/basic.zig | |
| parent | 18a43b61f92ae937e39fc5dbc3de581e26709151 (diff) | |
| download | zig-6d7808e647e6d244e53a18139c22bce8cd38a3ca.tar.gz zig-6d7808e647e6d244e53a18139c22bce8cd38a3ca.zip | |
stage2: x86_64: implement `ptr_elem_val`
The codegen for this is almost identical to `ptr_elem_ptr` except
there's an extra `mov` at the end to replace the pointer with the
value it points to, "in-place" (which can be done in a single
instruction without any extra registers).
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions
