diff options
Diffstat (limited to 'compiler/optimizing/parallel_move_resolver.h')
-rw-r--r-- | compiler/optimizing/parallel_move_resolver.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/optimizing/parallel_move_resolver.h b/compiler/optimizing/parallel_move_resolver.h index e1189d8520..fcc1de6dc9 100644 --- a/compiler/optimizing/parallel_move_resolver.h +++ b/compiler/optimizing/parallel_move_resolver.h @@ -42,7 +42,10 @@ class ParallelMoveResolver : public ValueObject { protected: class ScratchRegisterScope : public ValueObject { public: - ScratchRegisterScope(ParallelMoveResolver* resolver, int blocked, int number_of_registers); + ScratchRegisterScope(ParallelMoveResolver* resolver, + int blocked, + int if_scratch, + int number_of_registers); ~ScratchRegisterScope(); int GetRegister() const { return reg_; } @@ -55,7 +58,7 @@ class ParallelMoveResolver : public ValueObject { }; bool IsScratchLocation(Location loc); - int AllocateScratchRegister(int blocked, int register_count, bool* spilled); + int AllocateScratchRegister(int blocked, int if_scratch, int register_count, bool* spilled); // Emit a move. virtual void EmitMove(size_t index) = 0; |