Skip to content

Commit

Permalink
comp: remove CBE guards for aro
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaas committed Nov 3, 2023
1 parent b6507fb commit 7b260f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Compilation.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4038,7 +4038,6 @@ pub fn cImport(comp: *Compilation, c_src: []const u8) !CImportResult {
}
var tree = switch (comp.c_frontend) {
.aro => tree: {
if (builtin.zig_backend == .stage2_c) @panic("the CBE cannot compile Aro yet!");
const translate_c = @import("aro_translate_c.zig");
_ = translate_c;
if (true) @panic("TODO");
Expand Down
1 change: 0 additions & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4282,7 +4282,6 @@ fn cmdTranslateC(comp: *Compilation, arena: Allocator, fancy_output: ?*Compilati

var tree = switch (comp.c_frontend) {
.aro => tree: {
if (builtin.zig_backend == .stage2_c) @panic("the CBE cannot compile Aro yet!");
const translate_c = @import("aro_translate_c.zig");
var aro_comp = translate_c.Compilation.init(comp.gpa);
defer aro_comp.deinit();
Expand Down

0 comments on commit 7b260f0

Please sign in to comment.