Index: src/jsregexp.h |
diff --git a/src/jsregexp.h b/src/jsregexp.h |
index c0d50a3088da11b439f83797fbf3b76f199cf100..9fa0ecef0f716ee88aed1af24447b431a116793b 100644 |
--- a/src/jsregexp.h |
+++ b/src/jsregexp.h |
@@ -37,14 +37,10 @@ class RegExpMacroAssembler; |
class RegExpImpl { |
public: |
static inline bool UseNativeRegexp() { |
-#ifdef V8_ARCH_ARM |
- return false; |
-#endif |
-#ifdef V8_ARCH_X64 |
- return false; |
-#endif |
-#ifdef V8_ARCH_IA32 |
+#ifdef V8_TARGET_ARCH_IA32 |
return FLAG_regexp_native; |
+#else |
+ return false; |
#endif |
} |
// Creates a regular expression literal in the old space. |