Skip to content

Commit

Permalink
Typo in TARGET_LOONGARCH64
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeksowi committed Jun 25, 2024
1 parent 89cc148 commit c2984a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/vm/callhelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ void MethodDescCallSite::CallTargetWorker(const ARG_SLOT *pArguments, ARG_SLOT *
#ifdef CALLDESCR_REGTYPEMAP
callDescrData.dwRegTypeMap = dwRegTypeMap;
#endif
#if defined(TARGET_RISCV64) || defined(TARGET_LOONGARCH)
#if defined(TARGET_RISCV64) || defined(TARGET_LOONGARCH64)
// Temporary conversion to old flags, CallDescrWorker needs to be overhauled anyway
// to work with arbitrary field offsets and sizes, and support struct size > 16 on RISC-V.
callDescrData.fpReturnSize = FpStructInRegistersInfo{FpStruct::Flags(fpReturnSize)}.ToOldFlags();
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/reflectioninvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ FCIMPL4(Object*, RuntimeMethodHandle::InvokeMethod,
#ifdef CALLDESCR_REGTYPEMAP
callDescrData.dwRegTypeMap = 0;
#endif
#if defined(TARGET_RISCV64) || defined(TARGET_LOONGARCH)
#if defined(TARGET_RISCV64) || defined(TARGET_LOONGARCH64)
// Temporary conversion to old flags, CallDescrWorker needs to be overhauled anyway
// to work with arbitrary field offsets and sizes, and support struct size > 16 on RISC-V.
callDescrData.fpReturnSize = FpStructInRegistersInfo{FpStruct::Flags(argit.GetFPReturnSize())}.ToOldFlags();
Expand Down

0 comments on commit c2984a2

Please sign in to comment.