Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,10 @@ private void getCallInfo(ref CORINFO_RESOLVED_TOKEN pResolvedToken, CORINFO_RESO
ComputeMethodWithToken(targetMethod, ref pResolvedToken, constrainedType: null, unboxing: false),
useInstantiatingStub));

Debug.Assert(!pResult->sig.hasTypeArg());
// Wasm routes all virtual calls through LDVIRTFTN (stub dispatch is unsupported),
// so the call sig may carry a type arg (e.g., MD-array intrinsics); instParamLookup
// is set up by the post-switch block below.
Debug.Assert(!pResult->sig.hasTypeArg() || _compilation.NodeFactory.Target.IsWasm);
}
break;

Expand Down
Loading