Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: src/jsregexp.h

Issue 99186: Create build structure for X64. (Closed)
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/jsregexp.h
diff --git a/src/jsregexp.h b/src/jsregexp.h
index 74e01aa61a2571a55b39ddb0ded81a5443ed4f4a..c0d50a3088da11b439f83797fbf3b76f199cf100 100644
--- a/src/jsregexp.h
+++ b/src/jsregexp.h
@@ -37,9 +37,13 @@ class RegExpMacroAssembler;
class RegExpImpl {
public:
static inline bool UseNativeRegexp() {
-#ifdef ARM
+#ifdef V8_ARCH_ARM
return false;
-#else
+#endif
+#ifdef V8_ARCH_X64
+ return false;
+#endif
+#ifdef V8_ARCH_IA32
return FLAG_regexp_native;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698