| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 867cfa9bc7a26de51e8f17cf32614a9797381bb9..4cc2602306bf3d6694892fbd9bd5dc7d4be9275d 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -59,9 +59,8 @@ bool Expression::IsUndefinedLiteral(Isolate* isolate) const {
|
| }
|
|
|
|
|
| -VariableProxy::VariableProxy(Zone* zone, Variable* var, int position,
|
| - IdGen* id_gen)
|
| - : Expression(zone, position, 0, id_gen),
|
| +VariableProxy::VariableProxy(Zone* zone, Variable* var, int position)
|
| + : Expression(zone, position),
|
| raw_name_(var->raw_name()),
|
| interface_(var->interface()),
|
| variable_feedback_slot_(kInvalidFeedbackSlot),
|
| @@ -73,8 +72,8 @@ VariableProxy::VariableProxy(Zone* zone, Variable* var, int position,
|
|
|
|
|
| VariableProxy::VariableProxy(Zone* zone, const AstRawString* name, bool is_this,
|
| - Interface* interface, int position, IdGen* id_gen)
|
| - : Expression(zone, position, 0, id_gen),
|
| + Interface* interface, int position)
|
| + : Expression(zone, position),
|
| raw_name_(name),
|
| interface_(interface),
|
| variable_feedback_slot_(kInvalidFeedbackSlot),
|
| @@ -98,8 +97,8 @@ void VariableProxy::BindTo(Variable* var) {
|
|
|
|
|
| Assignment::Assignment(Zone* zone, Token::Value op, Expression* target,
|
| - Expression* value, int pos, IdGen* id_gen)
|
| - : Expression(zone, pos, num_ids(), id_gen),
|
| + Expression* value, int pos)
|
| + : Expression(zone, pos),
|
| op_(op),
|
| target_(target),
|
| value_(value),
|
| @@ -987,8 +986,8 @@ RegExpAlternative::RegExpAlternative(ZoneList<RegExpTree*>* nodes)
|
|
|
|
|
| CaseClause::CaseClause(Zone* zone, Expression* label,
|
| - ZoneList<Statement*>* statements, int pos, IdGen* id_gen)
|
| - : Expression(zone, pos, num_ids(), id_gen),
|
| + ZoneList<Statement*>* statements, int pos)
|
| + : Expression(zone, pos),
|
| label_(label),
|
| statements_(statements),
|
| compare_type_(Type::None(zone)) {}
|
|
|