aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-20 00:35:09 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-20 00:36:44 -0700
commit0576086395774389a9f38d960f9ed5102a813bdb (patch)
tree43558a9b825a3312865ec76d2da7f6980d0b1a70 /src/value.zig
parent3ef34feaeb3a18926bead1981e5ce577382da38e (diff)
downloadzig-0576086395774389a9f38d960f9ed5102a813bdb.tar.gz
zig-0576086395774389a9f38d960f9ed5102a813bdb.zip
stage2: remove Value.Tag.abi_align_default
and make Decl alignment & linksection, and struct & union field alignment be scalar values, not Value values. YAGNI
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/value.zig b/src/value.zig
index 8e6afccb60..269b13b099 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -98,7 +98,6 @@ pub const Value = extern union {
bool_false,
generic_poison,
- abi_align_default,
empty_struct_value,
empty_array, // See last_no_payload_tag below.
// After this, the tag requires a payload.
@@ -241,7 +240,6 @@ pub const Value = extern union {
.null_value,
.bool_true,
.bool_false,
- .abi_align_default,
.manyptr_u8_type,
.manyptr_const_u8_type,
.manyptr_const_u8_sentinel_0_type,
@@ -437,7 +435,6 @@ pub const Value = extern union {
.bool_true,
.bool_false,
.empty_struct_value,
- .abi_align_default,
.manyptr_u8_type,
.manyptr_const_u8_type,
.manyptr_const_u8_sentinel_0_type,
@@ -677,7 +674,6 @@ pub const Value = extern union {
.export_options_type => return out_stream.writeAll("std.builtin.ExportOptions"),
.extern_options_type => return out_stream.writeAll("std.builtin.ExternOptions"),
.type_info_type => return out_stream.writeAll("std.builtin.Type"),
- .abi_align_default => return out_stream.writeAll("(default ABI alignment)"),
.empty_struct_value => return out_stream.writeAll("struct {}{}"),
.aggregate => {