Index: src/codegen-arm.cc |
=================================================================== |
--- src/codegen-arm.cc (revision 1431) |
+++ src/codegen-arm.cc (working copy) |
@@ -2688,6 +2688,8 @@ |
Expression* value = property->value(); |
switch (property->kind()) { |
case ObjectLiteral::Property::CONSTANT: break; |
+ case ObjectLiteral::Property::OBJECT_LITERAL: |
+ if (property->value()->AsObjectLiteral()->is_simple()) break; |
case ObjectLiteral::Property::COMPUTED: // fall through |
case ObjectLiteral::Property::PROTOTYPE: { |
frame_->EmitPush(r0); // dup the result |