| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index ccab384e8e54acc7b9fce0e447409d3e5a259599..82a8d9c73d0e99a7a3979322354dc120387bd3f9 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -3082,23 +3082,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 {
|
|
|