Skip to content

Commit

Permalink
Display the real offset after branch tightening (#43469)
Browse files Browse the repository at this point in the history
* display the real offset after branch tightening

* emit offset for cold codeblock

* move isColdBlock inside #DEBUG

* fix formatting

* Revert "fix formatting"

This reverts commit 0744e1e.

* Revert "move isColdBlock inside #DEBUG"

This reverts commit 60e511b.

* Revert "emit offset for cold codeblock"

This reverts commit e760beb.

* Use emitCurCodeOffs() to display correct offset
  • Loading branch information
kunalspathak committed Oct 20, 2020
1 parent 7b19ce2 commit b3b0b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/emit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5097,7 +5097,7 @@ unsigned emitter::emitEndCodeGen(Compiler* comp,
printf("\nG_M%03u_IG%02u:", emitComp->compMethodID, ig->igNum);
if (!emitComp->opts.disDiffable)
{
printf(" ;; offset=%04XH", ig->igOffs);
printf(" ;; offset=%04XH", emitCurCodeOffs(cp));
}
printf("\n");
}
Expand Down

0 comments on commit b3b0b58

Please sign in to comment.