mirror of
https://github.com/ziglang/zig.git
synced 2026-01-10 17:35:12 +00:00
stage2: rework C backend for new AIR memory layout
This commit is contained in:
parent
a804de13c8
commit
761f36ff93
@ -200,6 +200,8 @@ pub const Inst = struct {
|
||||
ret,
|
||||
/// Returns a pointer to a global variable.
|
||||
/// Uses the `ty_pl` field. Index is into the `variables` array.
|
||||
/// TODO this can be modeled simply as a constant with a decl ref and then
|
||||
/// the variables array can be removed from Air.
|
||||
varptr,
|
||||
/// Write a value to a pointer. LHS is pointer, RHS is value.
|
||||
/// Result type is always void.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user