Index: src/globals.h |
=================================================================== |
--- src/globals.h (revision 5700) |
+++ src/globals.h (working copy) |
@@ -94,12 +94,16 @@ |
#endif |
// Determine whether we are running in a simulated environment. |
+// Setting USE_SIMULATOR explicitly from the build script will force |
+// the use of a simulated environment. |
+#if !defined(USE_SIMULATOR) |
#if (defined(V8_TARGET_ARCH_ARM) && !defined(V8_HOST_ARCH_ARM)) |
#define USE_SIMULATOR 1 |
#endif |
#if (defined(V8_TARGET_ARCH_MIPS) && !defined(V8_HOST_ARCH_MIPS)) |
#define USE_SIMULATOR 1 |
#endif |
+#endif |
// Define unaligned read for the target architectures supporting it. |
#if defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_IA32) |