summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jit/compiler.h42
-rw-r--r--src/jit/compiler.hpp1
-rw-r--r--src/jit/gentree.cpp1
-rw-r--r--src/jit/lclvars.cpp3
-rw-r--r--src/jit/rationalize.cpp6
5 files changed, 26 insertions, 27 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h
index 785fc8717c..de2d99e0d7 100644
--- a/src/jit/compiler.h
+++ b/src/jit/compiler.h
@@ -9451,18 +9451,17 @@ protected:
enum
{
- ComputeStack = false,
- DoPreOrder = false,
- DoPostOrder = false,
- DoLclVarsOnly = false,
+ ComputeStack = false,
+ DoPreOrder = false,
+ DoPostOrder = false,
+ DoLclVarsOnly = false,
UseExecutionOrder = false,
};
Compiler* m_compiler;
ArrayStack<GenTree*> m_ancestors;
- GenTreeVisitor(Compiler* compiler)
- : m_compiler(compiler), m_ancestors(compiler)
+ GenTreeVisitor(Compiler* compiler) : m_compiler(compiler), m_ancestors(compiler)
{
assert(compiler != nullptr);
@@ -9541,13 +9540,13 @@ public:
case GT_NO_OP:
case GT_START_NONGC:
case GT_PROF_HOOK:
- #if !FEATURE_EH_FUNCLETS
+#if !FEATURE_EH_FUNCLETS
case GT_END_LFIN:
- #endif // !FEATURE_EH_FUNCLETS
+#endif // !FEATURE_EH_FUNCLETS
case GT_PHI_ARG:
- #ifndef LEGACY_BACKEND
+#ifndef LEGACY_BACKEND
case GT_JMPTABLE:
- #endif // LEGACY_BACKEND
+#endif // LEGACY_BACKEND
case GT_REG_VAR:
case GT_CLS_VAR:
case GT_CLS_VAR_ADDR:
@@ -9636,9 +9635,9 @@ public:
}
case GT_ARR_BOUNDS_CHECK:
- #ifdef FEATURE_SIMD
+#ifdef FEATURE_SIMD
case GT_SIMD_CHK:
- #endif // FEATURE_SIMD
+#endif // FEATURE_SIMD
{
GenTreeBoundsChk* const boundsChk = node->AsBoundsChk();
@@ -9892,15 +9891,16 @@ public:
};
template <bool computeStack, bool doPreOrder, bool doPostOrder, bool doLclVarsOnly, bool useExecutionOrder>
-class GenericTreeWalker final : public GenTreeVisitor<GenericTreeWalker<computeStack, doPreOrder, doPostOrder, doLclVarsOnly, useExecutionOrder>>
+class GenericTreeWalker final
+ : public GenTreeVisitor<GenericTreeWalker<computeStack, doPreOrder, doPostOrder, doLclVarsOnly, useExecutionOrder>>
{
public:
enum
{
- ComputeStack = computeStack,
- DoPreOrder = doPreOrder,
- DoPostOrder = doPostOrder,
- DoLclVarsOnly = doLclVarsOnly,
+ ComputeStack = computeStack,
+ DoPreOrder = doPreOrder,
+ DoPostOrder = doPostOrder,
+ DoLclVarsOnly = doLclVarsOnly,
UseExecutionOrder = useExecutionOrder,
};
@@ -9909,7 +9909,9 @@ private:
public:
GenericTreeWalker(Compiler::fgWalkData* walkData)
- : GenTreeVisitor<GenericTreeWalker<computeStack, doPreOrder, doPostOrder, doLclVarsOnly, useExecutionOrder>>(walkData->compiler), m_walkData(walkData)
+ : GenTreeVisitor<GenericTreeWalker<computeStack, doPreOrder, doPostOrder, doLclVarsOnly, useExecutionOrder>>(
+ walkData->compiler)
+ , m_walkData(walkData)
{
assert(walkData != nullptr);
@@ -9937,7 +9939,7 @@ class IncLclVarRefCountsVisitor final : public GenTreeVisitor<IncLclVarRefCounts
public:
enum
{
- DoPreOrder = true,
+ DoPreOrder = true,
DoLclVarsOnly = true
};
@@ -9952,7 +9954,7 @@ class DecLclVarRefCountsVisitor final : public GenTreeVisitor<DecLclVarRefCounts
public:
enum
{
- DoPreOrder = true,
+ DoPreOrder = true,
DoLclVarsOnly = true
};
diff --git a/src/jit/compiler.hpp b/src/jit/compiler.hpp
index b841c62755..445e815206 100644
--- a/src/jit/compiler.hpp
+++ b/src/jit/compiler.hpp
@@ -2909,7 +2909,6 @@ inline Compiler::fgWalkResult Compiler::fgWalkTree(GenTreePtr* pTree,
return result;
}
-
/*****************************************************************************
*
* Has this block been added to throw an inlined exception
diff --git a/src/jit/gentree.cpp b/src/jit/gentree.cpp
index c1f5f20ee6..0c1ca62239 100644
--- a/src/jit/gentree.cpp
+++ b/src/jit/gentree.cpp
@@ -580,7 +580,6 @@ void GenTree::DumpNodeSizes(FILE* fp)
}
#endif // MEASURE_NODE_SIZE
-/*****************************************************************************/
/*****************************************************************************
*
diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp
index 34621ad5e4..7169b62470 100644
--- a/src/jit/lclvars.cpp
+++ b/src/jit/lclvars.cpp
@@ -3805,8 +3805,7 @@ void Compiler::lvaMarkLocalVars(BasicBlock* block)
DoPreOrder = true,
};
- MarkLocalVarsVisitor(Compiler* compiler)
- : GenTreeVisitor<MarkLocalVarsVisitor>(compiler)
+ MarkLocalVarsVisitor(Compiler* compiler) : GenTreeVisitor<MarkLocalVarsVisitor>(compiler)
{
}
diff --git a/src/jit/rationalize.cpp b/src/jit/rationalize.cpp
index c9cd3282f0..7d39af9d66 100644
--- a/src/jit/rationalize.cpp
+++ b/src/jit/rationalize.cpp
@@ -978,9 +978,9 @@ void Rationalizer::DoPhase()
public:
enum
{
- ComputeStack = true,
- DoPreOrder = true,
- DoPostOrder = true,
+ ComputeStack = true,
+ DoPreOrder = true,
+ DoPostOrder = true,
UseExecutionOrder = true,
};