mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-19 14:52:57 +00:00
RegAlloc: Define constructors for HostLocInfo to make MSVC happy
This commit is contained in:
@@ -39,7 +39,7 @@ Gen::X64Reg RegAlloc::DefRegister(IR::Inst* def_inst, HostLocList desired_locati
|
||||
}
|
||||
|
||||
// Update state
|
||||
LocInfo(location) = {def_inst, HostLocState::Def};
|
||||
LocInfo(location) = HostLocInfo{def_inst, HostLocState::Def};
|
||||
return HostLocToX64(location);
|
||||
}
|
||||
|
||||
|
||||
@@ -141,6 +141,8 @@ private:
|
||||
Gen::XEmitter* code = nullptr;
|
||||
|
||||
struct HostLocInfo {
|
||||
HostLocInfo() = default;
|
||||
HostLocInfo(IR::Inst* value, HostLocState state) : value(value), state(state) {}
|
||||
IR::Inst* value = nullptr;
|
||||
HostLocState state = HostLocState::Idle;
|
||||
IR::Type GetType() const {
|
||||
|
||||
Reference in New Issue
Block a user