| Index: src/mips64/assembler-mips64.h
|
| diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h
|
| index 01640723333947555e4c040a9459175272e4cb3c..b342c7c15f838274bf19c02efc40073fd3852f7e 100644
|
| --- a/src/mips64/assembler-mips64.h
|
| +++ b/src/mips64/assembler-mips64.h
|
| @@ -79,6 +79,16 @@ struct Register {
|
| static const int kSizeInBytes = 8;
|
| static const int kCpRegister = 23; // cp (s7) is the 23rd register.
|
|
|
| +#if defined(V8_TARGET_LITTLE_ENDIAN)
|
| + static const int kMantissaOffset = 0;
|
| + static const int kExponentOffset = 4;
|
| +#elif defined(V8_TARGET_BIG_ENDIAN)
|
| + static const int kMantissaOffset = 4;
|
| + static const int kExponentOffset = 0;
|
| +#else
|
| +#error Unknown endianness
|
| +#endif
|
| +
|
| inline static int NumAllocatableRegisters();
|
|
|
| static int ToAllocationIndex(Register reg) {
|
|
|