Index: runtime/vm/stub_code_ia32.cc |
diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc |
index 3a40d1e1e65bf2f8130c0c3c40c96eedcfbdbb35..513c07d2637eaa54575e46967438513ab52d8ba9 100644 |
--- a/runtime/vm/stub_code_ia32.cc |
+++ b/runtime/vm/stub_code_ia32.cc |
@@ -767,6 +767,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { |
__ movl(EDX, Address(EBP, kArgumentsDescOffset)); |
__ movl(EDX, Address(EDX, VMHandles::kOffsetOfRawPtrInHandle)); |
+ // No need to check for type args, disallowed by DartEntry::InvokeFunction. |
// Load number of arguments into EBX. |
__ movl(EBX, FieldAddress(EDX, ArgumentsDescriptor::count_offset())); |
__ SmiUntag(EBX); |