aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/value.zig8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/value.zig b/src/value.zig
index 926a52c2b7..c7960741f6 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -2476,15 +2476,9 @@ pub const Value = extern union {
.bool_false,
.bool_true,
.the_only_possible_value,
+ .lazy_align,
=> return hashInt(ptr_val, hasher, target),
- .lazy_align => {
- // Bit weird to have this here but this function is also called
- // on integers.
- const ty = ptr_val.castTag(.lazy_align).?.data;
- ty.hashWithHasher(hasher, target);
- },
-
else => unreachable,
}
}