diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2017-02-13 17:56:48 -0800 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2017-02-13 17:56:48 -0800 |
commit | 52aead3ac5f282621336644b0ade2748dd7d8ad4 (patch) | |
tree | 935c2b6019327d0ffbccc31643a80459ceda870d /src | |
parent | a274b5af4bdc6af0919a28708b3085a59da32cd1 (diff) | |
download | coreclr-52aead3ac5f282621336644b0ade2748dd7d8ad4.tar.gz coreclr-52aead3ac5f282621336644b0ade2748dd7d8ad4.tar.bz2 coreclr-52aead3ac5f282621336644b0ade2748dd7d8ad4.zip |
Format code.
Diffstat (limited to 'src')
-rw-r--r-- | src/jit/compphases.h | 3 | ||||
-rw-r--r-- | src/jit/flowgraph.cpp | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/jit/compphases.h b/src/jit/compphases.h index d86b4c8c34..33a4f9cd9c 100644 --- a/src/jit/compphases.h +++ b/src/jit/compphases.h @@ -18,7 +18,8 @@ // "hasChildren" is true if this phase is broken out into subphases. // (We should never do EndPhase on a phase that has children, only on 'leaf phases.') // "parent" is -1 for leaf phases, otherwise it is the "enumName" of the parent phase. -// "measureIR" is true for phases that generate a count of IR nodes during EndPhase when JitConfig.MeasureIR is true. +// "measureIR" is true for phases that generate a count of IR nodes during EndPhase when JitConfig.MeasureIR is +// true. // clang-format off CompPhaseNameMacro(PHASE_PRE_IMPORT, "Pre-import", "PRE-IMP", false, -1, false) diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp index 95a4611b17..7db15916e1 100644 --- a/src/jit/flowgraph.cpp +++ b/src/jit/flowgraph.cpp @@ -24270,10 +24270,12 @@ unsigned Compiler::fgMeasureIR() { for (GenTreeStmt* stmt = block->firstStmt(); stmt != nullptr; stmt = stmt->getNextStmt()) { - fgWalkTreePre(&stmt->gtStmtExpr, [](GenTree** slot, fgWalkData* data) -> Compiler::fgWalkResult { - (*reinterpret_cast<unsigned*>(data->pCallbackData))++; - return Compiler::WALK_CONTINUE; - }, &nodeCount); + fgWalkTreePre(&stmt->gtStmtExpr, + [](GenTree** slot, fgWalkData* data) -> Compiler::fgWalkResult { + (*reinterpret_cast<unsigned*>(data->pCallbackData))++; + return Compiler::WALK_CONTINUE; + }, + &nodeCount); } } else |