From bb526426e75ed456a7db6afa32447e5a76ac7ca1 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 31 May 2023 15:00:48 -0700 Subject: 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. --- src/arch/wasm/CodeGen.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/arch') diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig index e92bd8f676..9403223f30 100644 --- a/src/arch/wasm/CodeGen.zig +++ b/src/arch/wasm/CodeGen.zig @@ -3255,9 +3255,7 @@ fn lowerConstant(func: *CodeGen, arg_val: Value, ty: Type) InnerError!WValue { else => unreachable, }, .un => return func.fail("Wasm TODO: LowerConstant for {}", .{ty.fmt(mod)}), - .memoized_decl, - .memoized_call, - => unreachable, + .memoized_call => unreachable, } } -- cgit v1.2.3