HostLoc: R15 is a GPR
This commit is contained in:
parent
14eb70d7e4
commit
5f11b4f50e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ enum class HostLoc {
|
||||||
constexpr size_t HostLocCount = static_cast<size_t>(HostLoc::FirstSpill) + SpillCount;
|
constexpr size_t HostLocCount = static_cast<size_t>(HostLoc::FirstSpill) + SpillCount;
|
||||||
|
|
||||||
inline bool HostLocIsGPR(HostLoc reg) {
|
inline bool HostLocIsGPR(HostLoc reg) {
|
||||||
return reg >= HostLoc::RAX && reg <= HostLoc::R14;
|
return reg >= HostLoc::RAX && reg <= HostLoc::R15;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool HostLocIsXMM(HostLoc reg) {
|
inline bool HostLocIsXMM(HostLoc reg) {
|
||||||
|
|
Loading…
Reference in a new issue