Revision: 3054
Author: [email protected]
Date: Tue Oct 13 01:58:24 2009
Log: 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
http://code.google.com/p/v8/source/detail?r=3054
Modified:
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects.h Mon Oct 12 05:42:20 2009
+++ /branches/bleeding_edge/src/objects.h Tue Oct 13 01:58:24 2009
@@ -32,6 +32,9 @@
#include "code-stubs.h"
#include "smart-pointer.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.
@@ -1287,7 +1290,7 @@
// 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
// 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 kExponentOffset = kValueOffset + 4;
#else
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---