Commit 3d9c24c8 authored by olehougaard's avatar olehougaard

Fixed ARM build by remembering to apply object literal optimazation to ARM code.

Review URL: http://codereview.chromium.org/40214

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1433 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d46a9900
......@@ -2688,6 +2688,8 @@ void CodeGenerator::VisitObjectLiteral(ObjectLiteral* node) {
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment