Skip to content

Commit

Permalink
Fix instruction hex display (dotnet#54675)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Jun 24, 2021
1 parent 8ecdf98 commit 5dbbae5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/coreclr/jit/emitxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8676,8 +8676,10 @@ void emitter::emitDispIns(
if (code != nullptr)
{
/* Display the instruction hex code */
assert(((code >= emitCodeBlock) && (code < emitCodeBlock + emitTotalHotCodeSize)) ||
((code >= emitColdCodeBlock) && (code < emitColdCodeBlock + emitTotalColdCodeSize)));

emitDispInsHex(id, code, sz);
emitDispInsHex(id, code + writeableOffset, sz);
}

/* Display the instruction name */
Expand Down

0 comments on commit 5dbbae5

Please sign in to comment.