From 5f11b4f50e285a7f6c4504e1966abeddff61b7a1 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 30 Nov 2016 18:38:03 +0000 Subject: [PATCH] HostLoc: R15 is a GPR --- src/backend_x64/hostloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend_x64/hostloc.h b/src/backend_x64/hostloc.h index 26aeed75..97e09f52 100644 --- a/src/backend_x64/hostloc.h +++ b/src/backend_x64/hostloc.h @@ -26,7 +26,7 @@ enum class HostLoc { constexpr size_t HostLocCount = static_cast(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) {