summaryrefslogtreecommitdiff
path: root/src/jit/assertionprop.cpp
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2018-08-20 17:32:13 -0700
committerBrian Sullivan <briansul@microsoft.com>2018-08-21 11:04:01 -0700
commit904ac5f6484831b94ca01d195e2e68bd0c435a8a (patch)
treee3de9cc99bdba9ebcf9fe934fe8651017839caaa /src/jit/assertionprop.cpp
parent4d9c822c062b3a97ab16ef0f9c7a33be79819fe9 (diff)
downloadcoreclr-904ac5f6484831b94ca01d195e2e68bd0c435a8a.tar.gz
coreclr-904ac5f6484831b94ca01d195e2e68bd0c435a8a.tar.bz2
coreclr-904ac5f6484831b94ca01d195e2e68bd0c435a8a.zip
Define FMT_VN as "$%x" and use it uniformly in the codebase
We use a unique prefix character when printing value numbers in dumps: i.e. $1c0 This define is used with string concatenation to put this in printf format strings
Diffstat (limited to 'src/jit/assertionprop.cpp')
-rw-r--r--src/jit/assertionprop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/assertionprop.cpp b/src/jit/assertionprop.cpp
index 0cc35a9ceb..c573ffac58 100644
--- a/src/jit/assertionprop.cpp
+++ b/src/jit/assertionprop.cpp
@@ -598,7 +598,7 @@ void Compiler::optPrintAssertion(AssertionDsc* curAssertion, AssertionIndex asse
if (!optLocalAssertionProp)
{
- printf("(" STR_VN "%x," STR_VN "%x) ", curAssertion->op1.vn, curAssertion->op2.vn);
+ printf("(" FMT_VN "," FMT_VN ") ", curAssertion->op1.vn, curAssertion->op2.vn);
}
if ((curAssertion->op1.kind == O1K_LCLVAR) || (curAssertion->op1.kind == O1K_EXACT_TYPE) ||