| Index: src/IceTargetLoweringX8632Traits.h
|
| diff --git a/src/IceTargetLoweringX8632Traits.h b/src/IceTargetLoweringX8632Traits.h
|
| index 12129c3b1b2030e28da892c8c2079ca44977c51f..554b91659f858088f1b399b9de046999fe695813 100644
|
| --- a/src/IceTargetLoweringX8632Traits.h
|
| +++ b/src/IceTargetLoweringX8632Traits.h
|
| @@ -571,11 +571,9 @@ public:
|
| return Registers;
|
| }
|
|
|
| - static void
|
| - makeRandomRegisterPermutation(GlobalContext *Ctx, Cfg *Func,
|
| - llvm::SmallVectorImpl<RegNumT> &Permutation,
|
| - const SmallBitVector &ExcludeRegisters,
|
| - uint64_t Salt) {
|
| + static void makeRandomRegisterPermutation(
|
| + Cfg *Func, llvm::SmallVectorImpl<RegNumT> &Permutation,
|
| + const SmallBitVector &ExcludeRegisters, uint64_t Salt) {
|
| // TODO(stichnot): Declaring Permutation this way loses type/size
|
| // information. Fix this in conjunction with the caller-side TODO.
|
| assert(Permutation.size() >= RegisterSet::Reg_NUM);
|
| @@ -620,7 +618,7 @@ public:
|
| #undef X
|
|
|
| // Create a random number generator for regalloc randomization.
|
| - RandomNumberGenerator RNG(Ctx->getFlags().getRandomSeed(),
|
| + RandomNumberGenerator RNG(getFlags().getRandomSeed(),
|
| RPE_RegAllocRandomization, Salt);
|
| RandomNumberGeneratorWrapper RNGW(RNG);
|
|
|
|
|