# frontend: replace field_val and field_val_named · gitcafe/zig

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

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

Visibility: public

Requested revision: 354c17869a4fb1053d472d6562f4987fbaca143e

Requested commit: 354c17869a4fb1053d472d6562f4987fbaca143e

Commit: 354c17869a4fb1053d472d6562f4987fbaca143e

Tree: 93c7d156a0a3b23842e19b6f7fec7bf3a129d3f8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
frontend: replace field_val and field_val_named

with field_ptr_load and field_ptr_named_load.

These avoid doing by-val load operations for structs that are
runtime-known while keeping the previous semantics for comptime-known
values.

```

## Parents

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

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