| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 86fa8c55c25997fc5b4f6df0445753ef9b7d90d7..987d60b334115809200ccec79c35c489da3ffaa6 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -5607,12 +5607,9 @@
|
|
|
| for (int i = 0; i < expr->properties()->length(); i++) {
|
| ObjectLiteral::Property* property = expr->properties()->at(i);
|
| - if (property->is_computed_name()) {
|
| - return Bailout(kComputedPropertyName);
|
| - }
|
| if (property->IsCompileTimeValue()) continue;
|
|
|
| - Literal* key = property->key()->AsLiteral();
|
| + Literal* key = property->key();
|
| Expression* value = property->value();
|
|
|
| switch (property->kind()) {
|
| @@ -5638,7 +5635,7 @@
|
| }
|
|
|
| Handle<Map> map = property->GetReceiverType();
|
| - Handle<String> name = key->AsPropertyName();
|
| + Handle<String> name = property->key()->AsPropertyName();
|
| HInstruction* store;
|
| if (map.is_null()) {
|
| // If we don't know the monomorphic type, do a generic store.
|
|
|