Skip to content

Commit

Permalink
[RISC-V] Fixed printing jump destinations in disassembler on release (#…
Browse files Browse the repository at this point in the history
…100967)

* [RISC-V] Fixed printing jump destinations in release mode in disasm

* [RISC-V] Fixed cast type
  • Loading branch information
Bajtazar authored Apr 15, 2024
1 parent b7c3446 commit 3a78480
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/coreclr/jit/emitriscv64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1448,11 +1448,14 @@ void emitter::emitIns_Call(EmitCallType callType,
VarSetOps::ToString(emitComp, ((instrDescCGCA*)id)->idcGCvars));
}
}

id->idDebugOnlyInfo()->idMemCookie = (size_t)methHnd; // method token
id->idDebugOnlyInfo()->idCallSig = sigInfo;
#endif // DEBUG

if (m_debugInfoSize > 0)
{
INDEBUG(id->idDebugOnlyInfo()->idCallSig = sigInfo);
id->idDebugOnlyInfo()->idMemCookie = reinterpret_cast<size_t>(methHnd); // method token
}

#ifdef LATE_DISASM
if (addr != nullptr)
{
Expand Down

0 comments on commit 3a78480

Please sign in to comment.