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
7 changes: 5 additions & 2 deletions src/coreclr/jit/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1596,9 +1596,12 @@ void HelperCallProperties::init()
break;

// GETREFANY is pure up to the value of the struct argument. We
// only support that when it is not an implicit byref.
// only support that when it is not an implicit byref. The
// TypedReference struct (two pointers) is passed by implicit
// byref on win-x64 and on wasm (the wasm ABI passes any struct
// without a single scalar lowering by reference).
case CORINFO_HELP_GETREFANY:
#ifndef WINDOWS_AMD64_ABI
#if !defined(WINDOWS_AMD64_ABI) && !defined(TARGET_WASM)
isPure = true;
#endif
break;
Expand Down
Loading