| Index: src/jsregexp.cc
|
| diff --git a/src/jsregexp.cc b/src/jsregexp.cc
|
| index e59170d5a315caa6feda341b6d6bb28103e152fe..2c3aa458128e4558677de4b39d2f53df05c9d687 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
|
| @@ -6134,6 +6136,9 @@ RegExpEngine::CompilationResult RegExpEngine::Compile(
|
| #elif V8_TARGET_ARCH_MIPS
|
| RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2,
|
| zone);
|
| +#elif V8_TARGET_ARCH_SH4
|
| + RegExpMacroAssemblerSH4 macro_assembler(mode, (data->capture_count + 1) * 2,
|
| + zone);
|
| #endif
|
|
|
| #else // V8_INTERPRETED_REGEXP
|
|
|