From 79dee75b1ccd8f3f595aad0d4150851cff58f691 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 22 May 2021 14:27:56 -0700 Subject: stage2: rename ir.zig to air.zig We've settled on the nomenclature for the artifacts the compiler pipeline produces: 1. Tokens 2. AST (Abstract Syntax Tree) 3. ZIR (Zig Intermediate Representation) 4. AIR (Analyzed Intermediate Representation) 5. Machine Code Renaming `ir` identifiers to `air` will come with the inevitable air-memory-layout branch that I plan to start after the 0.8.0 release. --- src/codegen/spirv.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen/spirv.zig') diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig index 52b2884255..1127cd94d8 100644 --- a/src/codegen/spirv.zig +++ b/src/codegen/spirv.zig @@ -11,7 +11,7 @@ const Decl = Module.Decl; const Type = @import("../type.zig").Type; const Value = @import("../value.zig").Value; const LazySrcLoc = Module.LazySrcLoc; -const ir = @import("../ir.zig"); +const ir = @import("../air.zig"); const Inst = ir.Inst; pub const TypeMap = std.HashMap(Type, u32, Type.hash, Type.eql, std.hash_map.default_max_load_percentage); -- cgit v1.2.3