diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-13 15:45:08 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-20 12:19:16 -0700 |
| commit | c09b973ec25f328f5e15e9e6eed4da7f5e4634af (patch) | |
| tree | 3e6d262995f7c4b1760d154078875681082b4110 /src/Compilation.zig | |
| parent | 0f38f686964664f68e013ec3c63cfe655001f165 (diff) | |
| download | zig-c09b973ec25f328f5e15e9e6eed4da7f5e4634af.tar.gz zig-c09b973ec25f328f5e15e9e6eed4da7f5e4634af.zip | |
stage2: compile error fixes for AIR memory layout branch
Now the branch is compiling again, provided that one uses
`-Dskip-non-native`, but many code paths are disabled. The code paths
can now be re-enabled one at a time and updated to conform to the new
AIR memory layout.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 90224a77d1..4a442a8b67 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -2023,7 +2023,7 @@ pub fn performAllTheWork(self: *Compilation) error{ TimerUnsupported, OutOfMemor defer air.deinit(gpa); log.debug("analyze liveness of {s}", .{decl.name}); - var liveness = try Liveness.analyze(gpa, air); + var liveness = try Liveness.analyze(gpa, air, decl.namespace.file_scope.zir); defer liveness.deinit(gpa); if (std.builtin.mode == .Debug and self.verbose_air) { |
