| Index: src/typing.cc
|
| diff --git a/src/typing.cc b/src/typing.cc
|
| index 3f63237596ae116a6882fab950dbc6a214a73cbc..425b82f1e21e7a1fcaa631514c48de6700dd04b5 100644
|
| --- a/src/typing.cc
|
| +++ b/src/typing.cc
|
| @@ -407,7 +407,9 @@ void AstTyper::VisitObjectLiteral(ObjectLiteral* expr) {
|
| if ((prop->kind() == ObjectLiteral::Property::MATERIALIZED_LITERAL &&
|
| !CompileTimeValue::IsCompileTimeValue(prop->value())) ||
|
| prop->kind() == ObjectLiteral::Property::COMPUTED) {
|
| - if (prop->key()->value()->IsInternalizedString() && prop->emit_store()) {
|
| + if (!prop->is_computed_name() &&
|
| + prop->key()->AsLiteral()->value()->IsInternalizedString() &&
|
| + prop->emit_store()) {
|
| prop->RecordTypeFeedback(oracle());
|
| }
|
| }
|
|
|