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

Unified Diff: src/jsregexp.cc

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Created 8 years, 1 month 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.cc
diff --git a/src/jsregexp.cc b/src/jsregexp.cc
index e59170d5a315caa6feda341b6d6bb28103e152fe..984c2602167d9bdef7ab77e0566c9a933109041e 100644
--- a/src/jsregexp.cc
+++ b/src/jsregexp.cc
@@ -52,6 +52,8 @@
#include "arm/regexp-macro-assembler-arm.h"
#elif V8_TARGET_ARCH_MIPS
#include "mips/regexp-macro-assembler-mips.h"
+#elif V8_TARGET_ARCH_SH4
+#include "sh4/regexp-macro-assembler-sh4.h"
#else
#error Unsupported target architecture.
#endif
@@ -6132,8 +6134,10 @@ RegExpEngine::CompilationResult RegExpEngine::Compile(
RegExpMacroAssemblerARM macro_assembler(mode, (data->capture_count + 1) * 2,
zone);
#elif V8_TARGET_ARCH_MIPS
- RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2,
- zone);
+ RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2);
+#elif V8_TARGET_ARCH_SH4
Jakob Kummerow 2012/11/07 11:18:24 nit: let's keep the whitespace consistent
remi.duraffort 2012/11/07 11:59:26 Typo. Fixed in the next version of the patch
+ RegExpMacroAssemblerSH4 macro_assembler(mode, (data->capture_count + 1) * 2,
+ zone);
#endif
#else // V8_INTERPRETED_REGEXP

Powered by Google App Engine
This is Rietveld 408576698