| Index: src/globals.h | 
| diff --git a/src/globals.h b/src/globals.h | 
| index 41f68b66e29635fc46365e0c13655510f2d98e6e..7ef81afb8d99bbb5cf6a4d608955c21a5052700f 100644 | 
| --- a/src/globals.h | 
| +++ b/src/globals.h | 
| @@ -644,6 +644,15 @@ union IeeeDoubleBigEndianArchType { | 
| } bits; | 
| }; | 
|  | 
| +#if V8_TARGET_LITTLE_ENDIAN | 
| +typedef IeeeDoubleLittleEndianArchType IeeeDoubleArchType; | 
| +const int kIeeeDoubleMantissaWordOffset = 0; | 
| +const int kIeeeDoubleExponentWordOffset = 4; | 
| +#else | 
| +typedef IeeeDoubleBigEndianArchType IeeeDoubleArchType; | 
| +const int kIeeeDoubleMantissaWordOffset = 4; | 
| +const int kIeeeDoubleExponentWordOffset = 0; | 
| +#endif | 
|  | 
| // AccessorCallback | 
| struct AccessorDescriptor { | 
|  |