Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 0bfe3af997d023779078bdb5a6d4451af9a80d82..feae7e12dba996631390c10a160cb390eaa2f818 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -408,7 +408,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()); |
} |
} |