mirror of https://git.suyu.dev/suyu/suyu
glasm: Reduce reg allocation leaks from an exception to a log
This commit is contained in:
parent
56d4a9ebde
commit
b6c087496b
|
@ -253,7 +253,7 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!ctx.reg_alloc.IsEmpty()) {
|
if (!ctx.reg_alloc.IsEmpty()) {
|
||||||
throw LogicError("Register allocator is not empty");
|
// LOG_WARNING ...;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue