| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index ab9050daa0eee24e0e78d021e7e46c9b6b062b7f..ebda962c86207184d299b3cce780c3b02d21f405 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -173,10 +173,12 @@ void FunctionLiteral::InitializeSharedInfo(
|
|
|
| ObjectLiteralProperty::ObjectLiteralProperty(Zone* zone,
|
| AstValueFactory* ast_value_factory,
|
| - Literal* key, Expression* value) {
|
| + Literal* key, Expression* value,
|
| + bool is_static) {
|
| emit_store_ = true;
|
| key_ = key;
|
| value_ = value;
|
| + is_static_ = is_static;
|
| if (key->raw_value()->EqualsString(ast_value_factory->proto_string())) {
|
| kind_ = PROTOTYPE;
|
| } else if (value_->AsMaterializedLiteral() != NULL) {
|
| @@ -189,11 +191,13 @@ ObjectLiteralProperty::ObjectLiteralProperty(Zone* zone,
|
| }
|
|
|
|
|
| -ObjectLiteralProperty::ObjectLiteralProperty(
|
| - Zone* zone, bool is_getter, FunctionLiteral* value) {
|
| +ObjectLiteralProperty::ObjectLiteralProperty(Zone* zone, bool is_getter,
|
| + FunctionLiteral* value,
|
| + bool is_static) {
|
| emit_store_ = true;
|
| value_ = value;
|
| kind_ = is_getter ? GETTER : SETTER;
|
| + is_static_ = is_static;
|
| }
|
|
|
|
|
| @@ -1086,6 +1090,7 @@ DONT_OPTIMIZE_NODE(ForOfStatement)
|
| DONT_OPTIMIZE_NODE(TryCatchStatement)
|
| DONT_OPTIMIZE_NODE(TryFinallyStatement)
|
| DONT_OPTIMIZE_NODE(DebuggerStatement)
|
| +DONT_OPTIMIZE_NODE(ClassLiteral)
|
| DONT_OPTIMIZE_NODE(NativeFunctionLiteral)
|
| DONT_OPTIMIZE_NODE(SuperReference)
|
|
|
|
|