HostLoc: R15 is a GPR

This commit is contained in:
MerryMage 2016-11-30 18:38:03 +00:00
parent 14eb70d7e4
commit 5f11b4f50e

View file

@ -26,7 +26,7 @@ enum class HostLoc {
constexpr size_t HostLocCount = static_cast<size_t>(HostLoc::FirstSpill) + SpillCount;
inline bool HostLocIsGPR(HostLoc reg) {
return reg >= HostLoc::RAX && reg <= HostLoc::R14;
return reg >= HostLoc::RAX && reg <= HostLoc::R15;
}
inline bool HostLocIsXMM(HostLoc reg) {