| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 773d59a5e20b51e934e18a2e506dfdc68b2481da..1f46fecb6a2e9b759ca248176f7ee8fac5641c7e 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -306,11 +306,13 @@ class RegExpParser {
|
| public:
|
| RegExpParser(FlatStringReader* in,
|
| Handle<String>* error,
|
| - bool multiline_mode);
|
| + bool multiline_mode,
|
| + Zone* zone);
|
|
|
| static bool ParseRegExp(FlatStringReader* input,
|
| bool multiline,
|
| - RegExpCompileData* result);
|
| + RegExpCompileData* result,
|
| + Zone* zone);
|
|
|
| RegExpTree* ParsePattern();
|
| RegExpTree* ParseDisjunction();
|
| @@ -398,7 +400,7 @@ class RegExpParser {
|
| };
|
|
|
| Isolate* isolate() { return isolate_; }
|
| - Zone* zone() const { return isolate_->zone(); }
|
| + Zone* zone() const { return zone_; }
|
|
|
| uc32 current() { return current_; }
|
| bool has_more() { return has_more_; }
|
| @@ -408,6 +410,7 @@ class RegExpParser {
|
| void ScanForCaptures();
|
|
|
| Isolate* isolate_;
|
| + Zone* zone_;
|
| Handle<String>* error_;
|
| ZoneList<RegExpCapture*>* captures_;
|
| FlatStringReader* in_;
|
|
|