Skip to content

Commit dff675d

Browse files
committed
comp: remove CBE guards for aro
1 parent 7a8becd commit dff675d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/Compilation.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4038,7 +4038,6 @@ pub fn cImport(comp: *Compilation, c_src: []const u8) !CImportResult {
40384038
}
40394039
var tree = switch (comp.c_frontend) {
40404040
.aro => tree: {
4041-
if (builtin.zig_backend == .stage2_c) @panic("the CBE cannot compile Aro yet!");
40424041
const translate_c = @import("aro_translate_c.zig");
40434042
_ = translate_c;
40444043
if (true) @panic("TODO");

src/main.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4282,7 +4282,6 @@ fn cmdTranslateC(comp: *Compilation, arena: Allocator, fancy_output: ?*Compilati
42824282

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

0 commit comments

Comments
 (0)