| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index c0c18864ca84f6a7012c8a99ffaea52605357436..84b5852cedbd21927d03ced2470377f947f36234 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -926,7 +926,7 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| ObjectLiteral::Property* property = expr->properties()->at(i);
|
| if (property->IsCompileTimeValue()) continue;
|
|
|
| - Literal* key = property->key();
|
| + Literal* key = property->key()->AsLiteral();
|
| switch (property->kind()) {
|
| case ObjectLiteral::Property::CONSTANT:
|
| UNREACHABLE();
|
|
|