| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 7d752a81eb7162069ba5cd4be29315853e3e1ea6..d72313e23baf3460a3dae9599d2a71195a74fd74 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1760,7 +1760,7 @@ void AstGraphBuilder::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()) {
|
| VisitForValue(property->value());
|
| Node* value = environment()->Pop();
|
|
|