# stage2: more progress towards mutable local variables · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5ccee4c986aa9ed73d3deab3145f43689aa58ee4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5ccee4c986aa9ed73d3deab3145f43689aa58ee4

Requested commit: 5ccee4c986aa9ed73d3deab3145f43689aa58ee4

Commit: 5ccee4c986aa9ed73d3deab3145f43689aa58ee4

Tree: c62c9ccc4bf34780d03f9925cb6a7c07c39790d4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: more progress towards mutable local variables

 * implement sema for runtime deref, store pointer, coerce_to_ptr_elem,
   and store
 * identifiers support being lvalues, except for decls is still TODO
 * codegen supports load, store, ref, alloc
 * introduce more MCValue union tags to support pointers
 * add load, ref, store typed IR instructions
 * add Type.isVolatilePtr

```

## Parents

- [11d38a7e520f485206b7b010f64127d864194e4c](https://git.cafe/gitcafe/zig/commit/11d38a7e520f485206b7b010f64127d864194e4c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5ccee4c986aa9ed73d3deab3145f43689aa58ee4?format=markdown)
