Function loweringFailed [src]
Prototype
pub fn loweringFailed(code: Zir) bool
Parameters
code: Zir
Source
pub fn loweringFailed(code: Zir) bool {
if (code.instructions.len == 0) {
assert(code.hasCompileErrors());
return true;
} else {
return false;
}
}