Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index d5f59eaa3ee03681e05f1102b9ea7662e09e3a4a..06aae352e7a4d6a451447412194c1f194fe6ef39 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -50,6 +50,8 @@ |
#include "x64/regexp-macro-assembler-x64.h" |
#elif V8_TARGET_ARCH_ARM |
#include "arm/regexp-macro-assembler-arm.h" |
+#elif V8_TARGET_ARCH_MIPS |
+#include "mips/regexp-macro-assembler-mips.h" |
#else |
#error Unsupported target architecture. |
#endif |
@@ -5340,6 +5342,8 @@ RegExpEngine::CompilationResult RegExpEngine::Compile(RegExpCompileData* data, |
RegExpMacroAssemblerX64 macro_assembler(mode, (data->capture_count + 1) * 2); |
#elif V8_TARGET_ARCH_ARM |
RegExpMacroAssemblerARM macro_assembler(mode, (data->capture_count + 1) * 2); |
+#elif V8_TARGET_ARCH_MIPS |
+ RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2); |
#endif |
#else // V8_INTERPRETED_REGEXP |