aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-05-31 15:00:48 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:58 -0700
commitbb526426e75ed456a7db6afa32447e5a76ac7ca1 (patch)
tree8bfdcc7aac33275554b0216ade8cde0b80b2e698 /src/codegen/spirv.zig
parent870e3843c5736def21234ca8b7159b179985505c (diff)
downloadzig-bb526426e75ed456a7db6afa32447e5a76ac7ca1.tar.gz
zig-bb526426e75ed456a7db6afa32447e5a76ac7ca1.zip
InternPool: remove memoized_decl
This is neither a type nor a value. Simplifies `addStrLit` as well as the many places that switch on `InternPool.Key`. This is a partial revert of bec29b9e498e08202679aa29a45dab2a06a69a1e.
Diffstat (limited to 'src/codegen/spirv.zig')
-rw-r--r--src/codegen/spirv.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig
index c7bea80eb6..85caec9490 100644
--- a/src/codegen/spirv.zig
+++ b/src/codegen/spirv.zig
@@ -831,9 +831,7 @@ pub const DeclGen = struct {
try self.addUndef(layout.padding);
},
- .memoized_decl,
- .memoized_call,
- => unreachable,
+ .memoized_call => unreachable,
}
}
};