mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-25 11:52:57 +00:00
reg_alloc: Correct OpArg::setBit for Reg
This commit is contained in:
@@ -191,7 +191,8 @@ HostLoc RegAlloc::UseHostLocReg(IR::Inst* use_inst, HostLocList desired_location
|
||||
|
||||
OpArg RegAlloc::UseOpArg(IR::Value use_value, HostLocList desired_locations) {
|
||||
if (use_value.IsImmediate()) {
|
||||
return Xbyak::Operand(); // return a None
|
||||
ASSERT_MSG(false, "UseOpArg does not support immediates");
|
||||
return {}; // return a None
|
||||
}
|
||||
|
||||
IR::Inst* use_inst = use_value.GetInst();
|
||||
|
||||
Reference in New Issue
Block a user