mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-03 05:04:41 +01:00
reg_alloc: Correct OpArg::setBit for Reg
This commit is contained in:
parent
065c53ebfc
commit
59a8e14d1c
3 changed files with 26 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue