Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index d61655cadbc3a894b4fdba59304b82f1eb8890f6..3f9431dfa613c8c1c6d58d4a6d573faa08965a9c 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1392,7 +1392,7 @@ void FullCodeGenerator::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()) { |
VisitForAccumulatorValue(value); |
DCHECK(StoreDescriptor::ValueRegister().is(r3)); |