Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index e8b6269648ed394e27dc2af919c4f9db8e49b6fa..dad81d4ee0e1c30c5738aac2d74adfacdf20b208 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -234,26 +234,24 @@ bool FunctionLiteral::NeedsHomeObject(Expression* expr) { |
return expr->AsFunctionLiteral()->scope()->NeedsHomeObject(); |
} |
- |
ObjectLiteralProperty::ObjectLiteralProperty(Expression* key, Expression* value, |
- Kind kind, bool is_static, |
+ Kind kind, MethodKind method_kind, |
bool is_computed_name) |
: key_(key), |
value_(value), |
kind_(kind), |
+ method_kind_(method_kind), |
emit_store_(true), |
- is_static_(is_static), |
is_computed_name_(is_computed_name) {} |
- |
ObjectLiteralProperty::ObjectLiteralProperty(AstValueFactory* ast_value_factory, |
Expression* key, Expression* value, |
- bool is_static, |
+ MethodKind method_kind, |
bool is_computed_name) |
: key_(key), |
value_(value), |
+ method_kind_(method_kind), |
emit_store_(true), |
- is_static_(is_static), |
is_computed_name_(is_computed_name) { |
if (!is_computed_name && |
key->AsLiteral()->raw_value()->EqualsString( |