Chromium Code Reviews| Index: src/x64/assembler-x64.cc |
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
| index 370cb02a36363346795643f23252d225c34bb7e6..6b1afa131a3fe1a134bbce0f8bfd11a233e39769 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] = { |
|
Jakob Kummerow
2012/11/28 16:28:22
nit: indentation please
danno
2012/11/30 16:23:24
Done.
|
| // rax, rbx, rdx, rcx, rdi, r8, r9, r11, r14, r15 |
| 0, 3, 2, 1, 7, 8, 9, 11, 14, 15 |
| }; |