Index: src/codegen-ia32.cc |
=================================================================== |
--- src/codegen-ia32.cc (revision 1431) |
+++ src/codegen-ia32.cc (working copy) |
@@ -3432,7 +3432,10 @@ |
for (int i = 0; i < node->properties()->length(); i++) { |
ObjectLiteral::Property* property = node->properties()->at(i); |
switch (property->kind()) { |
- case ObjectLiteral::Property::CONSTANT: break; |
+ case ObjectLiteral::Property::CONSTANT: |
+ break; |
+ case ObjectLiteral::Property::OBJECT_LITERAL: |
+ if (property->value()->AsObjectLiteral()->is_simple()) break; |
case ObjectLiteral::Property::COMPUTED: { |
Handle<Object> key(property->key()->handle()); |
Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Initialize)); |