From 2a245e3b78890e5d1b65492e51d9fe509ec35b3c Mon Sep 17 00:00:00 2001 From: mlugg Date: Tue, 26 Mar 2024 05:51:34 +0000 Subject: compiler: eliminate TypedValue The only logic which remained in this file was the Value printing logic. This has been moved into a new `print_value.zig`. --- src/codegen/spirv.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen/spirv.zig') diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig index 3e560b0918..6b13f2623a 100644 --- a/src/codegen/spirv.zig +++ b/src/codegen/spirv.zig @@ -860,7 +860,7 @@ const DeclGen = struct { const val = arg_val; - log.debug("constant: ty = {}, val = {}", .{ ty.fmt(mod), val.fmtValue(ty, mod) }); + log.debug("constant: ty = {}, val = {}", .{ ty.fmt(mod), val.fmtValue(mod) }); if (val.isUndefDeep(mod)) { return self.spv.constUndef(result_ty_ref); } -- cgit v1.2.3