| Index: src/IceRegAlloc.h
|
| diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h
|
| index fb1a0d86560ab858920049679573a89b3e57a19b..e9f8752c1dc41472ded1a96a5deba5fb81001de8 100644
|
| --- a/src/IceRegAlloc.h
|
| +++ b/src/IceRegAlloc.h
|
| @@ -32,7 +32,7 @@ class LinearScan {
|
|
|
| public:
|
| explicit LinearScan(Cfg *Func);
|
| - void init(RegAllocKind Kind);
|
| + void init(RegAllocKind Kind, CfgSet<Variable *> ExcludeVars = {});
|
| void scan(const SmallBitVector &RegMask, bool Randomized);
|
| // Returns the number of times some variable has been assigned a register but
|
| // later evicted because of a higher-priority allocation. The idea is that we
|
| @@ -131,9 +131,9 @@ private:
|
| llvm::SmallVector<const SmallBitVector *, REGS_SIZE> RegAliases;
|
| bool FindPreference = false;
|
| bool FindOverlap = false;
|
| -
|
| const bool Verbose;
|
| const bool UseReserve;
|
| + CfgVector<Variable *> Vars;
|
| };
|
|
|
| } // end of namespace Ice
|
|
|