Fixed breakage caused by r11051 on non-ia32 platforms.

TBR=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9703056

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11052 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c644c4e8
...@@ -1504,10 +1504,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { ...@@ -1504,10 +1504,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
} }
break; break;
case ObjectLiteral::Property::GETTER: case ObjectLiteral::Property::GETTER:
accessor_table.find(key)->second->getter = value; accessor_table.lookup(key)->second->getter = value;
break; break;
case ObjectLiteral::Property::SETTER: case ObjectLiteral::Property::SETTER:
accessor_table.find(key)->second->setter = value; accessor_table.lookup(key)->second->setter = value;
break; break;
} }
} }
......
...@@ -1516,10 +1516,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { ...@@ -1516,10 +1516,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
} }
break; break;
case ObjectLiteral::Property::GETTER: case ObjectLiteral::Property::GETTER:
accessor_table.find(key)->second->getter = value; accessor_table.lookup(key)->second->getter = value;
break; break;
case ObjectLiteral::Property::SETTER: case ObjectLiteral::Property::SETTER:
accessor_table.find(key)->second->setter = value; accessor_table.lookup(key)->second->setter = value;
break; break;
} }
} }
......
...@@ -1466,10 +1466,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { ...@@ -1466,10 +1466,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
} }
break; break;
case ObjectLiteral::Property::GETTER: case ObjectLiteral::Property::GETTER:
accessor_table.find(key)->second->getter = value; accessor_table.lookup(key)->second->getter = value;
break; break;
case ObjectLiteral::Property::SETTER: case ObjectLiteral::Property::SETTER:
accessor_table.find(key)->second->setter = value; accessor_table.lookup(key)->second->setter = value;
break; break;
} }
} }
......
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