aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorjacob gw <jacoblevgw@gmail.com>2021-03-01 09:21:51 -0500
committerAndrew Kelley <andrew@ziglang.org>2021-03-03 11:49:54 -0800
commit2ebeb0dbf30751cec6fd7cc8578a7aac4cb068ce (patch)
treeefe4ab8d109e68b8863b77119f31fbba260eea3a /src/value.zig
parent904f774563c69feae9f73a8ee9637e3b760ecd3a (diff)
downloadzig-2ebeb0dbf30751cec6fd7cc8578a7aac4cb068ce.tar.gz
zig-2ebeb0dbf30751cec6fd7cc8578a7aac4cb068ce.zip
stage2: remove error number from error set map
This saves memory since it is already stored in module as well as allowing for better threading. Part 2 of what is outlined in #8079.
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.zig b/src/value.zig
index ae94e4b424..3fd2889fc8 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -2144,7 +2144,7 @@ pub const Value = extern union {
base: Payload = .{ .tag = base_tag },
data: struct {
/// TODO revisit this when we have the concept of the error tag type
- fields: std.StringHashMapUnmanaged(u16),
+ fields: std.StringHashMapUnmanaged(void),
decl: *Module.Decl,
},
};