Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 15be52fb6920a07fd0a2cd7d05e4ea9211d283c4..3308fba540a8b2f826be0a08093e7d2f763a45a2 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -15,6 +15,7 @@ |
#include "src/isolate.h" |
#include "src/jsregexp.h" |
#include "src/list-inl.h" |
+#include "src/ostreams.h" |
#include "src/runtime.h" |
#include "src/small-pointer-list.h" |
#include "src/smart-pointers.h" |
@@ -2528,7 +2529,7 @@ class RegExpTree : public ZoneObject { |
// expression. |
virtual Interval CaptureRegisters() { return Interval::Empty(); } |
virtual void AppendToText(RegExpText* text, Zone* zone); |
- SmartArrayPointer<const char> ToString(Zone* zone); |
+ OStream& Print(OStream& os, Zone* zone); // NOLINT |
#define MAKE_ASTYPE(Name) \ |
virtual RegExp##Name* As##Name(); \ |
virtual bool Is##Name(); |