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
This commit is contained in:
parent
d46a9900ee
commit
3d9c24c8a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user