summaryrefslogtreecommitdiff
path: root/src/jit/copyprop.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/copyprop.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/copyprop.cpp')
-rw-r--r--src/jit/copyprop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/copyprop.cpp b/src/jit/copyprop.cpp
index 98671c1b32..a83682df97 100644
--- a/src/jit/copyprop.cpp
+++ b/src/jit/copyprop.cpp
@@ -302,7 +302,7 @@ bool Compiler::optIsSsaLocal(GenTree* tree)
void Compiler::optBlockCopyProp(BasicBlock* block, LclNumToGenTreePtrStack* curSsaName)
{
#ifdef DEBUG
- JITDUMP("Copy Assertion for BB%02u\n", block->bbNum);
+ JITDUMP("Copy Assertion for " FMT_BB "\n", block->bbNum);
if (verbose)
{
printf(" curSsaName stack: ");