Index: src/regexp-macro-assembler-irregexp.cc |
diff --git a/src/regexp-macro-assembler-irregexp.cc b/src/regexp-macro-assembler-irregexp.cc |
index 21b622ef052c8ef29102b6814668cc96aad60b8a..f9c7eeee01401e406228a63954faf791512772e6 100644 |
--- a/src/regexp-macro-assembler-irregexp.cc |
+++ b/src/regexp-macro-assembler-irregexp.cc |
@@ -36,6 +36,7 @@ |
namespace v8 { |
namespace internal { |
+#ifndef V8_NATIVE_REGEXP |
RegExpMacroAssemblerIrregexp::RegExpMacroAssemblerIrregexp(Vector<byte> buffer) |
: buffer_(buffer), |
@@ -458,5 +459,6 @@ void RegExpMacroAssemblerIrregexp::Expand() { |
} |
} |
+#endif // !V8_NATIVE_REGEXP |
} } // namespace v8::internal |