Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index cc072875aa484a8a5120c3c03086e3e179c45aad..370cb02a36363346795643f23252d225c34bb7e6 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -201,8 +201,7 @@ void RelocInfo::PatchCode(byte* instructions, int instruction_count) { |
// ----------------------------------------------------------------------------- |
// Register constants. |
-const int |
- Register::kRegisterCodeByAllocationIndex[kMaxNumAllocatableRegisters] = { |
+const int Register::kRegisterCodeByAllocationIndex[kNumAllocatableRegisters] = { |
// rax, rbx, rdx, rcx, rdi, r8, r9, r11, r14, r15 |
0, 3, 2, 1, 7, 8, 9, 11, 14, 15 |
}; |