Zcu: pass PerThread to intern pool string functions
This commit is contained in:
@@ -71,7 +71,7 @@ pub const MutableValue = union(enum) {
|
||||
} }),
|
||||
.bytes => |b| try pt.intern(.{ .aggregate = .{
|
||||
.ty = b.ty,
|
||||
.storage = .{ .bytes = try pt.zcu.intern_pool.getOrPutString(pt.zcu.gpa, b.data, .maybe_embedded_nulls) },
|
||||
.storage = .{ .bytes = try pt.zcu.intern_pool.getOrPutString(pt.zcu.gpa, pt.tid, b.data, .maybe_embedded_nulls) },
|
||||
} }),
|
||||
.aggregate => |a| {
|
||||
const elems = try arena.alloc(InternPool.Index, a.elems.len);
|
||||
|
||||
Reference in New Issue
Block a user