| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 41f68b66e29635fc46365e0c13655510f2d98e6e..08876da2b30264a3f8f2e6b7e76c2492bd172033 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -631,6 +631,9 @@ union IeeeDoubleLittleEndianArchType {
|
| unsigned int exp :11;
|
| unsigned int sign :1;
|
| } bits;
|
| +
|
| + static const int kMantissaWordOffset = 0;
|
| + static const int kExponentWordOffset = 4;
|
| };
|
|
|
|
|
| @@ -642,8 +645,16 @@ union IeeeDoubleBigEndianArchType {
|
| unsigned int man_high :20;
|
| unsigned int man_low :32;
|
| } bits;
|
| +
|
| + static const int kMantissaWordOffset = 4;
|
| + static const int kExponentWordOffset = 0;
|
| };
|
|
|
| +#if V8_TARGET_LITTLE_ENDIAN
|
| +typedef IeeeDoubleLittleEndianArchType IeeeDoubleArchType;
|
| +#else
|
| +typedef IeeeDoubleBigEndianArchType IeeeDoubleArchType;
|
| +#endif
|
|
|
| // AccessorCallback
|
| struct AccessorDescriptor {
|
|
|