Skip to content
Merged
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
4 changes: 4 additions & 0 deletions src/coreclr/vm/reflectioninvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ extern "C" void QCALLTYPE RuntimeMethodHandle_InvokeMethod(
callDescrData.dwRegTypeMap = 0;
#endif
callDescrData.fpReturnSize = argit.GetFPReturnSize();
#ifdef TARGET_WASM
// WASM-TODO: this is now called from the interpreter, so the arguments layout is OK. reconsider with codegen
callDescrData.nArgsSize = nStackBytes;
#endif // TARGET_WASM

// This is duplicated logic from MethodDesc::GetCallTarget
PCODE pTarget;
Expand Down