| Index: src/interpreter/bytecode-array-builder.cc
|
| diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
|
| index 6d8bed57a6b3cac4084769e284b221acc1e271a6..e42d3925dfabe7f9d90b7ee6cab88ac571e20bcf 100644
|
| --- a/src/interpreter/bytecode-array-builder.cc
|
| +++ b/src/interpreter/bytecode-array-builder.cc
|
| @@ -1005,26 +1005,9 @@
|
| if (tail_call_mode == TailCallMode::kDisallow) {
|
| if (call_type == Call::NAMED_PROPERTY_CALL ||
|
| call_type == Call::KEYED_PROPERTY_CALL) {
|
| - if (args.register_count() == 1) {
|
| - OutputCallProperty0(callable, args[0], feedback_slot);
|
| - } else if (args.register_count() == 2) {
|
| - OutputCallProperty1(callable, args[0], args[1], feedback_slot);
|
| - } else if (args.register_count() == 3) {
|
| - OutputCallProperty2(callable, args[0], args[1], args[2], feedback_slot);
|
| - } else {
|
| - OutputCallProperty(callable, args, args.register_count(),
|
| - feedback_slot);
|
| - }
|
| + OutputCallProperty(callable, args, args.register_count(), feedback_slot);
|
| } else {
|
| - if (args.register_count() == 1) {
|
| - OutputCall0(callable, args[0], feedback_slot);
|
| - } else if (args.register_count() == 2) {
|
| - OutputCall1(callable, args[0], args[1], feedback_slot);
|
| - } else if (args.register_count() == 3) {
|
| - OutputCall2(callable, args[0], args[1], args[2], feedback_slot);
|
| - } else {
|
| - OutputCall(callable, args, args.register_count(), feedback_slot);
|
| - }
|
| + OutputCall(callable, args, args.register_count(), feedback_slot);
|
| }
|
| } else {
|
| DCHECK(tail_call_mode == TailCallMode::kAllow);
|
|
|