From 0907432fffd2d9f5319022332a60fc88d3aacf4e Mon Sep 17 00:00:00 2001 From: mlugg Date: Tue, 4 Feb 2025 12:00:34 +0000 Subject: 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. --- src/Zcu/PerThread.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Zcu/PerThread.zig') 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, -- cgit v1.2.3