mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-26 17:24:57 +01:00
parent
d00ce34432
commit
80c56aa89d
6 changed files with 6 additions and 6 deletions
|
|
@ -388,7 +388,7 @@ HostLoc RegAlloc::SelectARegister(HostLocList desired_locations) const {
|
|||
boost::optional<HostLoc> RegAlloc::ValueLocation(const IR::Inst* value) const {
|
||||
for (size_t i = 0; i < HostLocCount; i++)
|
||||
if (hostloc_info[i].ContainsValue(value))
|
||||
return boost::make_optional<HostLoc>(static_cast<HostLoc>(i));
|
||||
return static_cast<HostLoc>(i);
|
||||
|
||||
return boost::none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue