| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index d60227d207974dda81aad9bf566edd88aeef2b17..58520becc4e98a7cd200a1bd7678a2281f7c22d3 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -833,6 +833,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) {
|
| // Push arguments. At this point we only need to preserve kTargetCodeReg.
|
| ASSERT(kTargetCodeReg != RDX);
|
|
|
| + // No need to check for type args, disallowed by DartEntry::InvokeFunction.
|
| // Load number of arguments into RBX.
|
| __ movq(RBX, FieldAddress(R10, ArgumentsDescriptor::count_offset()));
|
| __ SmiUntag(RBX);
|
|
|