Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index af6053e9ab8074f3acc9706554a154800120654d..b09dc0a6de7a5c3ec3513a27130e9dfe3d19d732 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -846,6 +846,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { |
// Load arguments descriptor array into R4, which is passed to Dart code. |
__ ldr(R4, Address(R1, VMHandles::kOffsetOfRawPtrInHandle)); |
+ // No need to check for type args, disallowed by DartEntry::InvokeFunction. |
// Load number of arguments into R9. |
__ ldr(R9, FieldAddress(R4, ArgumentsDescriptor::count_offset())); |
__ SmiUntag(R9); |