aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-06 17:40:25 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-01-06 17:40:25 -0700
commit5ee04315272ba19e3d329ad21d38e9e425e21ab5 (patch)
tree09be155b7060745c4a10396cdfd5ecdc3e82a92a /src/Compilation.zig
parent2f58efcc1f0a435846c0909fcde7b080ec4e5d3a (diff)
downloadzig-5ee04315272ba19e3d329ad21d38e9e425e21ab5.tar.gz
zig-5ee04315272ba19e3d329ad21d38e9e425e21ab5.zip
stage2: update to new ArrayListHashMap API
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index e2213954ef..95c9435aa7 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -1564,7 +1564,7 @@ pub fn performAllTheWork(self: *Compilation) error{ TimerUnsupported, OutOfMemor
};
fwd_decl.* = dg.fwd_decl.moveToUnmanaged();
- fwd_decl.shrink(module.gpa, fwd_decl.items.len);
+ fwd_decl.shrinkAndFree(module.gpa, fwd_decl.items.len);
},
},
.analyze_decl => |decl| {