diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2021-06-17 11:57:27 -0400 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-06-21 18:45:28 +0300 |
| commit | a95fdb06352a6a1e60d0167bad62f5a46345177a (patch) | |
| tree | db2347ab29797d19c899bf2f6a043a984eb173c2 /src/Module.zig | |
| parent | fc1feebdc0ffd4730c724780265d4ef6a9515dc8 (diff) | |
| download | zig-a95fdb06352a6a1e60d0167bad62f5a46345177a.tar.gz zig-a95fdb06352a6a1e60d0167bad62f5a46345177a.zip | |
stage2: simplify codegen for errorToInt and intToError
We can just use bitcast instead of error_to_int, int_to_error since
errorToInt and intToError do not actually do anything, just change types.
This allows us to remove 2 air ops that were the exact same as bitcast
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
