fix(cpu): respond to latest changes to comptime semantics

This commit is contained in:
2023-04-13 22:14:47 -05:00
parent df005d7fb6
commit 53fb1d163b

View File

@@ -39,7 +39,7 @@ pub const arm = struct {
}
fn populate() [0x1000]InstrFn {
comptime {
return comptime comptime_blk: {
@setEvalBranchQuota(0xE000);
var table = [_]InstrFn{und} ** 0x1000;
@@ -106,8 +106,8 @@ pub const arm = struct {
};
}
return table;
}
break :comptime_blk table;
};
}
};
@@ -135,7 +135,7 @@ pub const thumb = struct {
}
fn populate() [0x400]InstrFn {
comptime {
return comptime comptime_blk: {
@setEvalBranchQuota(5025); // This is exact
var table = [_]InstrFn{und} ** 0x400;
@@ -228,8 +228,8 @@ pub const thumb = struct {
};
}
return table;
}
break :comptime_blk table;
};
}
};