Format code.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 14 Feb 2017 01:56:48 +0000 (17:56 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 14 Feb 2017 01:56:48 +0000 (17:56 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/52aead3ac5f282621336644b0ade2748dd7d8ad4

src/coreclr/src/jit/compphases.h
src/coreclr/src/jit/flowgraph.cpp

index d86b4c8..33a4f9c 100644 (file)
@@ -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)
index 95a4611..7db1591 100644 (file)
@@ -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