diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-25 22:38:50 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-25 22:38:50 -0700 |
| commit | 14d8a1c10da7e98ccfdbfd50473582043e48ca10 (patch) | |
| tree | 0b3e30ce2e327f5019f08f0ba2cc01f79c4f4225 /src/codegen.zig | |
| parent | c3d10dbda1fc133b7ca112787bbf0100b735ca36 (diff) | |
| download | zig-14d8a1c10da7e98ccfdbfd50473582043e48ca10.tar.gz zig-14d8a1c10da7e98ccfdbfd50473582043e48ca10.zip | |
stage2 llvm backend improvements working towards `zig test`
* properly set global variables to const if they are not a global
variable.
* implement global variable initializations.
* initial implementation of llvmType() for structs and functions.
* implement genTypedValue for variable tags
* implement more AIR instructions: varptr, slice_ptr, slice_len,
slice_elem_val, ptr_slice_elem_val, unwrap_errunion_payload,
unwrap_errunion_payload_ptr, unwrap_errunion_err,
unwrap_errunion_err_ptr.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
