| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index f28299698a9d6000b42804001f57f5e9dd069967..77b28a9a87ccb0434f5c9a054ee5cb1b04d2da58 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1225,15 +1225,16 @@ class RegExpTree: public ZoneObject {
|
|
|
| class RegExpDisjunction: public RegExpTree {
|
| public:
|
| - explicit RegExpDisjunction(ZoneList<RegExpTree*>* nodes) : nodes_(nodes) { }
|
| + explicit RegExpDisjunction(ZoneList<RegExpTree*>* alternatives)
|
| + : alternatives_(alternatives) { }
|
| virtual void* Accept(RegExpVisitor* visitor, void* data);
|
| virtual RegExpNode* ToNode(RegExpCompiler* compiler,
|
| RegExpNode* on_success,
|
| RegExpNode* on_failure);
|
| virtual RegExpDisjunction* AsDisjunction();
|
| - ZoneList<RegExpTree*>* nodes() { return nodes_; }
|
| + ZoneList<RegExpTree*>* alternatives() { return alternatives_; }
|
| private:
|
| - ZoneList<RegExpTree*>* nodes_;
|
| + ZoneList<RegExpTree*>* alternatives_;
|
| };
|
|
|
|
|
|
|