Skip to content

Commit c4ea81d

Browse files
authored
Revert "Consolidate importer spilling code V2 (#72744)" (#73146)
This reverts commit cea17b2.
1 parent 2201016 commit c4ea81d

File tree

4 files changed

+159
-511
lines changed

4 files changed

+159
-511
lines changed

src/coreclr/jit/compiler.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3799,8 +3799,11 @@ class Compiler
37993799
Statement* impLastStmt; // The last statement for the current BB.
38003800

38013801
public:
3802-
static const unsigned CHECK_SPILL_ALL = static_cast<unsigned>(-1);
3803-
static const unsigned CHECK_SPILL_NONE = static_cast<unsigned>(-2);
3802+
enum
3803+
{
3804+
CHECK_SPILL_ALL = -1,
3805+
CHECK_SPILL_NONE = -2
3806+
};
38043807

38053808
void impBeginTreeList();
38063809
void impEndTreeList(BasicBlock* block, Statement* firstStmt, Statement* lastStmt);
@@ -4000,7 +4003,7 @@ class Compiler
40004003
void impSpillSpecialSideEff();
40014004
void impSpillSideEffect(bool spillGlobEffects, unsigned chkLevel DEBUGARG(const char* reason));
40024005
void impSpillSideEffects(bool spillGlobEffects, unsigned chkLevel DEBUGARG(const char* reason));
4003-
void impSpillLclRefs(unsigned lclNum, unsigned chkLevel);
4006+
void impSpillLclRefs(unsigned lclNum);
40044007

40054008
BasicBlock* impPushCatchArgOnStack(BasicBlock* hndBlk, CORINFO_CLASS_HANDLE clsHnd, bool isSingleBlockFilter);
40064009

0 commit comments

Comments
 (0)