mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 07:48:46 -05:00
glasm: Throw when there are register leaks
This commit is contained in:
@ -271,6 +271,9 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!ctx.reg_alloc.IsEmpty()) {
|
||||
throw LogicError("Register allocator is not empty");
|
||||
}
|
||||
}
|
||||
|
||||
void SetupOptions(const IR::Program& program, const Profile& profile,
|
||||
|
Reference in New Issue
Block a user