Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 7284c778cb67dcec5b14dd5de40f2e85ad97086d..ae338d0c0ed30b62395edff54304bae6bdb1a028 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -32,6 +32,8 @@ |
#include "arm/regexp-macro-assembler-arm.h" |
#elif V8_TARGET_ARCH_MIPS |
#include "mips/regexp-macro-assembler-mips.h" |
+#elif V8_TARGET_ARCH_X87 |
+#include "x87/regexp-macro-assembler-x87.h" |
#else |
#error Unsupported target architecture. |
#endif |
@@ -6075,6 +6077,9 @@ RegExpEngine::CompilationResult RegExpEngine::Compile( |
#elif V8_TARGET_ARCH_MIPS |
RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2, |
zone); |
+#elif V8_TARGET_ARCH_X87 |
+ RegExpMacroAssemblerX87 macro_assembler(mode, (data->capture_count + 1) * 2, |
+ zone); |
#else |
#error "Unsupported architecture" |
#endif |