Commit 4ddc771c authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Use the USE_ARM_EABI macro consistently rather than the gcc-specific

__ARM_EABI__ macro to determine the ABI on ARM.
Review URL: http://codereview.chromium.org/274016

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3054 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cd3a47b6
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
#include "code-stubs.h" #include "code-stubs.h"
#include "smart-pointer.h" #include "smart-pointer.h"
#include "unicode-inl.h" #include "unicode-inl.h"
#if V8_TARGET_ARCH_ARM
#include "arm/constants-arm.h"
#endif
// //
// All object types in the V8 JavaScript are described in this file. // All object types in the V8 JavaScript are described in this file.
...@@ -1287,7 +1290,7 @@ class HeapNumber: public HeapObject { ...@@ -1287,7 +1290,7 @@ class HeapNumber: public HeapObject {
// is a mixture of sign, exponent and mantissa. Our current platforms are all // is a mixture of sign, exponent and mantissa. Our current platforms are all
// little endian apart from non-EABI arm which is little endian with big // little endian apart from non-EABI arm which is little endian with big
// endian floating point word ordering! // endian floating point word ordering!
#if !defined(V8_HOST_ARCH_ARM) || __ARM_EABI__ #if !defined(V8_HOST_ARCH_ARM) || defined(USE_ARM_EABI)
static const int kMantissaOffset = kValueOffset; static const int kMantissaOffset = kValueOffset;
static const int kExponentOffset = kValueOffset + 4; static const int kExponentOffset = kValueOffset + 4;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment