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
6 changes: 6 additions & 0 deletions src/coreclr/jit/instr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2101,6 +2101,9 @@ instruction CodeGenInterface::ins_Load(var_types srcType, bool aligned /*=false*
#if defined(TARGET_WASM)
switch (srcType)
{
case TYP_REF:
case TYP_BYREF:
return ins_Load(TYP_I_IMPL, aligned);
case TYP_INT:
return INS_i32_load;
case TYP_LONG:
Expand Down Expand Up @@ -2501,6 +2504,9 @@ instruction CodeGenInterface::ins_Store(var_types dstType, bool aligned /*=false
#if defined(TARGET_WASM)
switch (dstType)
{
case TYP_REF:
case TYP_BYREF:
return ins_Store(TYP_I_IMPL, aligned);
case TYP_INT:
return INS_i32_store;
case TYP_LONG:
Expand Down
Loading