Skip to content

Commit

Permalink
Revert "Consolidate importer spilling code V2 (#72744)" (#73146)
Browse files Browse the repository at this point in the history
This reverts commit cea17b2.
  • Loading branch information
jakobbotsch authored Aug 1, 2022
1 parent 2201016 commit c4ea81d
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 511 deletions.
9 changes: 6 additions & 3 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -3799,8 +3799,11 @@ class Compiler
Statement* impLastStmt; // The last statement for the current BB.

public:
static const unsigned CHECK_SPILL_ALL = static_cast<unsigned>(-1);
static const unsigned CHECK_SPILL_NONE = static_cast<unsigned>(-2);
enum
{
CHECK_SPILL_ALL = -1,
CHECK_SPILL_NONE = -2
};

void impBeginTreeList();
void impEndTreeList(BasicBlock* block, Statement* firstStmt, Statement* lastStmt);
Expand Down Expand Up @@ -4000,7 +4003,7 @@ class Compiler
void impSpillSpecialSideEff();
void impSpillSideEffect(bool spillGlobEffects, unsigned chkLevel DEBUGARG(const char* reason));
void impSpillSideEffects(bool spillGlobEffects, unsigned chkLevel DEBUGARG(const char* reason));
void impSpillLclRefs(unsigned lclNum, unsigned chkLevel);
void impSpillLclRefs(unsigned lclNum);

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

Expand Down
Loading

0 comments on commit c4ea81d

Please sign in to comment.