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