Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7b9a6c31e3c80c5de9a6b4e3c8367abe3882a85d..c0b3d395bb345f5542be53db9db43ed76e47a87a 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5633,12 +5633,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()) { |
@@ -5664,7 +5661,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. |