| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index bc4a7061b8632cb8f22a22aa52cbec519236be3b..62d6037b397681342f9c4d1d173ea129860a14b3 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -2978,23 +2978,18 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| // Call to a lookup slot (dynamically introduced variable).
|
| PushCalleeAndWithBaseObject(expr);
|
| EmitCall(expr);
|
| - } else if (call_type == Call::PROPERTY_CALL) {
|
| + } else if (call_type == Call::NAMED_PROPERTY_CALL) {
|
| Property* property = callee->AsProperty();
|
| - bool is_named_call = property->key()->IsPropertyName();
|
| - if (property->IsSuperAccess()) {
|
| - if (is_named_call) {
|
| - EmitSuperCallWithLoadIC(expr);
|
| - } else {
|
| - EmitKeyedSuperCallWithLoadIC(expr);
|
| - }
|
| - } else {
|
| - VisitForStackValue(property->obj());
|
| - if (is_named_call) {
|
| - EmitCallWithLoadIC(expr);
|
| - } else {
|
| - EmitKeyedCallWithLoadIC(expr, property->key());
|
| - }
|
| - }
|
| + VisitForStackValue(property->obj());
|
| + EmitCallWithLoadIC(expr);
|
| + } else if (call_type == Call::KEYED_PROPERTY_CALL) {
|
| + Property* property = callee->AsProperty();
|
| + VisitForStackValue(property->obj());
|
| + EmitKeyedCallWithLoadIC(expr, property->key());
|
| + } else if (call_type == Call::NAMED_SUPER_PROPERTY_CALL) {
|
| + EmitSuperCallWithLoadIC(expr);
|
| + } else if (call_type == Call::KEYED_SUPER_PROPERTY_CALL) {
|
| + EmitKeyedSuperCallWithLoadIC(expr);
|
| } else if (call_type == Call::SUPER_CALL) {
|
| EmitSuperConstructorCall(expr);
|
| } else {
|
|
|