diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-01-15 16:57:43 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-01-16 12:49:58 +0000 |
| commit | 726c94d5f169d1d9f769f970aa3e53ef03342dc4 (patch) | |
| tree | 16521b64f73035a47582c3ab09f05e74428cdb58 /src/Sema.zig | |
| parent | b6abe1dbf7b5ad14ad1b0a011f109694fd5f36a8 (diff) | |
| download | zig-726c94d5f169d1d9f769f970aa3e53ef03342dc4.tar.gz zig-726c94d5f169d1d9f769f970aa3e53ef03342dc4.zip | |
Sema: prepare for `sentinel` -> `sentinel_ptr` field rename
The commit 2 after this will explain this diff.
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 42c8d32981..8d8f459095 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -21617,7 +21617,7 @@ fn zirReify( ).?); const sentinel_val = try Value.fromInterned(union_val.val).fieldValue(pt, struct_type.nameIndex( ip, - try ip.getOrPutString(gpa, pt.tid, "sentinel", .no_embedded_nulls), + try ip.getOrPutString(gpa, pt.tid, "sentinel_ptr", .no_embedded_nulls), ).?); if (!try sema.intFitsInType(alignment_val, Type.u32, null)) { @@ -21703,7 +21703,7 @@ fn zirReify( ).?); const sentinel_val = try Value.fromInterned(union_val.val).fieldValue(pt, struct_type.nameIndex( ip, - try ip.getOrPutString(gpa, pt.tid, "sentinel", .no_embedded_nulls), + try ip.getOrPutString(gpa, pt.tid, "sentinel_ptr", .no_embedded_nulls), ).?); const len = try len_val.toUnsignedIntSema(pt); |
