aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu/PerThread.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-02-04 12:00:34 +0000
committermlugg <mlugg@mlugg.co.uk>2025-02-04 16:20:29 +0000
commit0907432fffd2d9f5319022332a60fc88d3aacf4e (patch)
tree2f7972c6df3344599e01d99c72b82e75e1a990aa /src/Zcu/PerThread.zig
parenta8e53801d0bfe2132831b8286c4a237788aea8fa (diff)
downloadzig-0907432fffd2d9f5319022332a60fc88d3aacf4e.tar.gz
zig-0907432fffd2d9f5319022332a60fc88d3aacf4e.zip
compiler: a few renames
This is mainly in preparation for integrating ZonGen into the pipeline properly, although these names are better because `astGenFile` isn't *necessarily* running AstGen; it may determine that the current ZIR is up-to-date, or load cached ZIR.
Diffstat (limited to 'src/Zcu/PerThread.zig')
-rw-r--r--src/Zcu/PerThread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig
index cc323c4ac0..d45092ad7d 100644
--- a/src/Zcu/PerThread.zig
+++ b/src/Zcu/PerThread.zig
@@ -73,7 +73,7 @@ pub fn destroyFile(pt: Zcu.PerThread, file_index: Zcu.File.Index) void {
if (!is_builtin) gpa.destroy(file);
}
-pub fn astGenFile(
+pub fn updateFile(
pt: Zcu.PerThread,
file: *Zcu.File,
path_digest: Cache.BinDigest,