Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index d9b609a854c39f744c1e0dadfed773689ecedac7..8c48c6064653c562eba7582049568f1c748a8b39 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -843,8 +843,10 @@ enum ScopeType { |
// Use mips sNaN which is a not used qNaN in x87 port as sNaN to workaround this |
// issue |
// for some test cases. |
-#if (V8_TARGET_ARCH_MIPS && !defined(_MIPS_ARCH_MIPS32R6)) || \ |
- (V8_TARGET_ARCH_MIPS64 && !defined(_MIPS_ARCH_MIPS64R6)) || \ |
+#if (V8_TARGET_ARCH_MIPS && !defined(_MIPS_ARCH_MIPS32R6) && \ |
+ (!defined(USE_SIMULATOR) || !defined(_MIPS_TARGET_SIMULATOR))) || \ |
+ (V8_TARGET_ARCH_MIPS64 && !defined(_MIPS_ARCH_MIPS64R6) && \ |
+ (!defined(USE_SIMULATOR) || !defined(_MIPS_TARGET_SIMULATOR))) || \ |
(V8_TARGET_ARCH_X87) |
const uint32_t kHoleNanUpper32 = 0xFFFF7FFF; |
const uint32_t kHoleNanLower32 = 0xFFFF7FFF; |