Skip to content

Commit 2a51ee3

Browse files
authored
JIT: Don't show code bytes for loongarch64 disasm unless it was told to do so (#112486)
* Use the correct knob * Add disDiffable check before printing disasm
1 parent e8a1e2d commit 2a51ee3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/coreclr/jit/emitloongarch64.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3988,10 +3988,14 @@ void emitter::emitDisInsName(code_t code, const BYTE* addr, instrDesc* id)
39883988

39893989
printf(" ");
39903990

3991-
if (!emitComp->opts.disDiffable)
3991+
if (emitComp->opts.disCodeBytes && !emitComp->opts.disDiffable)
39923992
{
39933993
printf("%08X ", code);
39943994
}
3995+
else
3996+
{
3997+
printf(" ");
3998+
}
39953999
#else
39964000
printf(" ");
39974001
#endif

0 commit comments

Comments
 (0)