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 ...;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue