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