Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 7f2ce828e572b956c60bed2c54a78bcfb9ac8a9d..8315a69ccd5de1d258c8860a1d8138a7c9ea20d4 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -5932,7 +5932,7 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
case ObjectLiteral::Property::COMPUTED: |
// It is safe to use [[Put]] here because the boilerplate already |
// contains computed properties with an uninitialized value. |
- if (key->value()->IsInternalizedString()) { |
+ if (key->IsPropertyName()) { |
if (property->emit_store()) { |
CHECK_ALIVE(VisitForValue(value)); |
HValue* value = Pop(); |