summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2018-07-19 12:11:20 -0700
committerCarol Eidt <carol.eidt@microsoft.com>2018-07-19 12:11:20 -0700
commitc9930680ea01fe86ce8815f51530b6a0ab810b5b (patch)
tree45882f598cd6348969cb8f7bb5fe6792602f21e6 /src/jit
parent5b230860900aab1c4023e729c33006b1b09107f8 (diff)
downloadcoreclr-c9930680ea01fe86ce8815f51530b6a0ab810b5b.tar.gz
coreclr-c9930680ea01fe86ce8815f51530b6a0ab810b5b.tar.bz2
coreclr-c9930680ea01fe86ce8815f51530b6a0ab810b5b.zip
JitDump improvements
- Reduce the size of "diffable" values (I've been encountering a number of diffs on x86; 2 bits seems to take care of it) - Dump a note when we start morphing args for a call.
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/emitxarch.cpp4
-rw-r--r--src/jit/morph.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/jit/emitxarch.cpp b/src/jit/emitxarch.cpp
index 1211256b12..ba6635d901 100644
--- a/src/jit/emitxarch.cpp
+++ b/src/jit/emitxarch.cpp
@@ -8304,8 +8304,8 @@ void emitter::emitDispIns(
// Munge any pointers if we want diff-able disassembly
if (emitComp->opts.disDiffable)
{
- ssize_t top12bits = (val >> 20);
- if ((top12bits != 0) && (top12bits != -1))
+ ssize_t top14bits = (val >> 18);
+ if ((top14bits != 0) && (top14bits != -1))
{
val = 0xD1FFAB1E;
}
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp
index 94b176eae3..6f29f13544 100644
--- a/src/jit/morph.cpp
+++ b/src/jit/morph.cpp
@@ -2759,6 +2759,8 @@ GenTreeCall* Compiler::fgMorphArgs(GenTreeCall* call)
bool callHasRetBuffArg = call->HasRetBufArg();
bool callIsVararg = call->IsVarargs();
+ JITDUMP("%sMorphing args for %d.%s:\n", (reMorphing) ? "Re" : "", call->gtTreeID, GenTree::OpName(call->gtOper));
+
#ifdef _TARGET_UNIX_
if (callIsVararg)
{