summaryrefslogtreecommitdiff
path: root/src/jit/earlyprop.cpp
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2018-08-22 13:37:54 -0700
committerBrian Sullivan <briansul@microsoft.com>2018-08-22 16:17:51 -0700
commit397bc2e7534fcff41c55125e15cdc3b92f2cf217 (patch)
treedd2e43dc84762982536545df0b108f4ee04c5697 /src/jit/earlyprop.cpp
parent2057943a230eb240ead8c297bf04f567e2efac07 (diff)
downloadcoreclr-397bc2e7534fcff41c55125e15cdc3b92f2cf217.tar.gz
coreclr-397bc2e7534fcff41c55125e15cdc3b92f2cf217.tar.bz2
coreclr-397bc2e7534fcff41c55125e15cdc3b92f2cf217.zip
define FMT_BB as "BB%02u" and use it uniformly in the codebase
We use the following format when print the BasicBlock number: bbNum This define is used with string concatenation to put this in printf format strings
Diffstat (limited to 'src/jit/earlyprop.cpp')
-rw-r--r--src/jit/earlyprop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/earlyprop.cpp b/src/jit/earlyprop.cpp
index 325f85df55..787dc84de5 100644
--- a/src/jit/earlyprop.cpp
+++ b/src/jit/earlyprop.cpp
@@ -335,7 +335,7 @@ GenTree* Compiler::optEarlyPropRewriteTree(GenTree* tree)
#ifdef DEBUG
if (verbose)
{
- printf("optEarlyProp Rewriting BB%02u\n", compCurBB->bbNum);
+ printf("optEarlyProp Rewriting " FMT_BB "\n", compCurBB->bbNum);
gtDispTree(compCurStmt);
printf("\n");
}