diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-07-09 18:48:37 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-07-10 11:10:49 -0400 |
| commit | 667b4f9054cd0d4c8e9912bddc18049d09107678 (patch) | |
| tree | 8049d0f1dab34e4bf5994bd4aeacbd1ba7aa804d /src/InternPool.zig | |
| parent | 95d9292a7a09ed883e65510ec054619747315c48 (diff) | |
| download | zig-667b4f9054cd0d4c8e9912bddc18049d09107678.tar.gz zig-667b4f9054cd0d4c8e9912bddc18049d09107678.zip | |
Zcu: cache fully qualified name on Decl
This avoids needing to mutate the intern pool from backends.
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 6f7bb17b14..f1b7cbd7a5 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -7955,6 +7955,7 @@ fn finishFuncInstance( const fn_owner_decl = ip.declPtr(ip.funcDeclOwner(generic_owner)); const decl_index = try ip.createDecl(gpa, tid, .{ .name = undefined, + .fqn = undefined, .src_namespace = fn_owner_decl.src_namespace, .has_tv = true, .owns_tv = true, |
