diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-19 23:11:58 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-19 23:11:58 +0000 |
commit | 66db3a0f10e96ae190c8a46a1a8d5242928d068c (patch) | |
tree | ed0cb94f527c9417644391b37ce7c7615a1b1070 /lib/CodeGen/CriticalAntiDepBreaker.h | |
parent | d0f3c46d166b5d0ab4573987011cab7bd1ec28e0 (diff) | |
download | external_llvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.zip external_llvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.tar.gz external_llvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.tar.bz2 |
Make BreakAntiDependencies' SUnits argument const, and make the Begin
and End arguments by-value rather than by-reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CriticalAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/CriticalAntiDepBreaker.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CriticalAntiDepBreaker.h b/lib/CodeGen/CriticalAntiDepBreaker.h index 9e8db02..cc42dd2 100644 --- a/lib/CodeGen/CriticalAntiDepBreaker.h +++ b/lib/CodeGen/CriticalAntiDepBreaker.h @@ -72,9 +72,9 @@ namespace llvm { /// path /// of the ScheduleDAG and break them by renaming registers. /// - unsigned BreakAntiDependencies(std::vector<SUnit>& SUnits, - MachineBasicBlock::iterator& Begin, - MachineBasicBlock::iterator& End, + unsigned BreakAntiDependencies(const std::vector<SUnit>& SUnits, + MachineBasicBlock::iterator Begin, + MachineBasicBlock::iterator End, unsigned InsertPosIndex); /// Observe - Update liveness information to account for the current |