Chromium Code Reviews| 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 |