Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 2b32cdfa91ff7bd4ff7b194f3529670e1c474975..b56205f9a6779cb9703a82c1ca5c7a4779d8a4c4 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1775,7 +1775,7 @@ class RegExpTree: public ZoneObject { |
// expression. |
virtual Interval CaptureRegisters() { return Interval::Empty(); } |
virtual void AppendToText(RegExpText* text); |
- SmartPointer<const char> ToString(); |
+ SmartArrayPointer<const char> ToString(); |
#define MAKE_ASTYPE(Name) \ |
virtual RegExp##Name* As##Name(); \ |
virtual bool Is##Name(); |