| Index: src/x64/assembler-x64.h
|
| diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
|
| index 24c8df368f477dede5e10b2fef1059ca9dcb3edd..cbf1c6acf1c97a0a82599f23dbabfb820e00246a 100644
|
| --- a/src/x64/assembler-x64.h
|
| +++ b/src/x64/assembler-x64.h
|
| @@ -202,6 +202,8 @@ struct XMMRegister {
|
| static const int kNumRegisters = 16;
|
| static const int kNumAllocatableRegisters = 15;
|
|
|
| + static int NumAllocatableRegisters() { return kNumAllocatableRegisters; }
|
| +
|
| static int ToAllocationIndex(XMMRegister reg) {
|
| ASSERT(reg.code() != 0);
|
| return reg.code() - 1;
|
|
|