Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 17deb6db42d1ca085cf121cca55c0e6e0e257996..d4147039e0b114221d2c1d5aad58f3959a49fe91 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()); |
} |
} |