From: sivarv Date: Mon, 24 Oct 2016 18:42:03 +0000 (-0700) Subject: Fix the condition to dump a basic block stats. X-Git-Tag: accepted/tizen/base/20180629.140029~3262^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dadc45fdf8fe0a61b0f020046ebfa62485d960f2;p=platform%2Fupstream%2Fcoreclr.git Fix the condition to dump a basic block stats. --- diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 9fdf9c5..d2fbd38 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -9857,7 +9857,7 @@ void LinearScan::dumpLsraStats(FILE* file) unsigned resolutionMovCount = blockInfo[block->bbNum].resolutionMovCount; unsigned splitEdgeCount = blockInfo[block->bbNum].splitEdgeCount; - if (spillCount != 0 || copyRegCount != 0 || resolutionMovCount != 0) + if (spillCount != 0 || copyRegCount != 0 || resolutionMovCount != 0 || splitEdgeCount != 0) { fprintf(file, "BB%02u [%8d]: ", block->bbNum, block->bbWeight); fprintf(file, "SpillCount = %d, ResolutionMovs = %d, SplitEdges = %d, CopyReg = %d\n", spillCount,