diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2013-02-28 22:18:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-01 13:53:33 +0100 |
commit | 7bba72a901e600be7335a8903ffa4c0e08b1c99a (patch) | |
tree | bfa8c76d0e699e5deef39228777425b124e65107 /src/3rdparty/v8/src/arm/constants-arm.h | |
parent | 09004dbcb93f197a88b2f7ba386b4a3e8ace8c1f (diff) | |
download | qtjsbackend-7bba72a901e600be7335a8903ffa4c0e08b1c99a.tar.gz |
[V8]Port to Windows Embedded Compact 7
Change-Id: I98524d2d6d255197f706e0aae60858dd2d0b283b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/v8/src/arm/constants-arm.h')
-rw-r--r-- | src/3rdparty/v8/src/arm/constants-arm.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/3rdparty/v8/src/arm/constants-arm.h b/src/3rdparty/v8/src/arm/constants-arm.h index a569383..03876f9 100644 --- a/src/3rdparty/v8/src/arm/constants-arm.h +++ b/src/3rdparty/v8/src/arm/constants-arm.h @@ -29,14 +29,14 @@ #define V8_ARM_CONSTANTS_ARM_H_ // ARM EABI is required. -#if defined(__arm__) && !defined(__ARM_EABI__) +#if defined(__arm__) && !defined(__ARM_EABI__) && !defined(_WIN32_WCE) #error ARM EABI support is required. #endif // This means that interwork-compatible jump instructions are generated. We // want to generate them on the simulator too so it makes snapshots that can // be used on real hardware. -#if defined(__THUMB_INTERWORK__) || !defined(__arm__) +#if defined(__THUMB_INTERWORK__) || !defined(__arm__) || defined(_WIN32_WCE) # define USE_THUMB_INTERWORK 1 #endif @@ -65,8 +65,10 @@ #endif // Simulator should support ARM5 instructions and unaligned access by default. -#if !defined(__arm__) -# define CAN_USE_ARMV5_INSTRUCTIONS 1 +#if !defined(__arm__) || defined(_WIN32_WCE) +# if !defined(_WIN32_WCE) +# define CAN_USE_ARMV5_INSTRUCTIONS 1 +# endif # define CAN_USE_THUMB_INSTRUCTIONS 1 # ifndef CAN_USE_UNALIGNED_ACCESSES |