Dump GT_IL_OFFSET value in hex
authorCarol Eidt <carol.eidt@microsoft.com>
Wed, 3 May 2017 21:01:44 +0000 (14:01 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Wed, 3 May 2017 21:01:44 +0000 (14:01 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/7409f38936dd332d4b5c08752fc961b2827cf758

src/coreclr/src/jit/gentree.cpp

index a2156d0..5063f68 100644 (file)
@@ -11162,7 +11162,7 @@ void Compiler::gtDispLeaf(GenTree* tree, IndentStack* indentStack)
             }
             else
             {
-                printf("%d", jitGetILoffs(tree->gtStmt.gtStmtILoffsx));
+                printf("0x%x", jitGetILoffs(tree->gtStmt.gtStmtILoffsx));
             }
             break;