stage2: rework AIR memory layout
This commit changes the AIR file and the documentation of the memory layout. The actual work of modifying the surrounding code (in Sema and codegen) is not yet done.
This commit is contained in:
@@ -6,8 +6,7 @@ const log = std.log.scoped(.c);
|
||||
const link = @import("../link.zig");
|
||||
const Module = @import("../Module.zig");
|
||||
const Compilation = @import("../Compilation.zig");
|
||||
const ir = @import("../air.zig");
|
||||
const Inst = ir.Inst;
|
||||
const Air = @import("../Air.zig");
|
||||
const Value = @import("../value.zig").Value;
|
||||
const Type = @import("../type.zig").Type;
|
||||
const TypedValue = @import("../TypedValue.zig");
|
||||
|
||||
@@ -9,7 +9,7 @@ const math = std.math;
|
||||
|
||||
const Module = @import("../Module.zig");
|
||||
const TypedValue = @import("../TypedValue.zig");
|
||||
const ir = @import("../air.zig");
|
||||
const Air = @import("../Air.zig");
|
||||
const Inst = ir.Inst;
|
||||
|
||||
const Value = @import("../value.zig").Value;
|
||||
|
||||
@@ -12,8 +12,7 @@ const Decl = Module.Decl;
|
||||
const Type = @import("../type.zig").Type;
|
||||
const Value = @import("../value.zig").Value;
|
||||
const LazySrcLoc = Module.LazySrcLoc;
|
||||
const ir = @import("../air.zig");
|
||||
const Inst = ir.Inst;
|
||||
const Air = @import("../Air.zig");
|
||||
|
||||
pub const Word = u32;
|
||||
pub const ResultId = u32;
|
||||
|
||||
@@ -9,8 +9,7 @@ const wasm = std.wasm;
|
||||
|
||||
const Module = @import("../Module.zig");
|
||||
const Decl = Module.Decl;
|
||||
const ir = @import("../air.zig");
|
||||
const Inst = ir.Inst;
|
||||
const Air = @import("../Air.zig");
|
||||
const Type = @import("../type.zig").Type;
|
||||
const Value = @import("../value.zig").Value;
|
||||
const Compilation = @import("../Compilation.zig");
|
||||
|
||||
Reference in New Issue
Block a user