Index: runtime/vm/stub_code_arm64.cc |
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc |
index 5e7dc0af6d632508e581eec476fdec3254ee28be..c59e6f217c94c2cd8da978d8bff0de336c9ae48f 100644 |
--- a/runtime/vm/stub_code_arm64.cc |
+++ b/runtime/vm/stub_code_arm64.cc |
@@ -896,6 +896,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { |
// Load arguments descriptor array into R4, which is passed to Dart code. |
__ LoadFromOffset(R4, R1, VMHandles::kOffsetOfRawPtrInHandle); |
+ // No need to check for type args, disallowed by DartEntry::InvokeFunction. |
// Load number of arguments into S5. |
__ LoadFieldFromOffset(R5, R4, ArgumentsDescriptor::count_offset()); |
__ SmiUntag(R5); |