summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CriticalAntiDepBreaker.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-19 23:11:58 +0000
committerDan Gohman <gohman@apple.com>2010-04-19 23:11:58 +0000
commit66db3a0f10e96ae190c8a46a1a8d5242928d068c (patch)
treeed0cb94f527c9417644391b37ce7c7615a1b1070 /lib/CodeGen/CriticalAntiDepBreaker.h
parentd0f3c46d166b5d0ab4573987011cab7bd1ec28e0 (diff)
downloadllvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.tar.gz
llvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.tar.bz2
llvm-66db3a0f10e96ae190c8a46a1a8d5242928d068c.tar.xz
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CriticalAntiDepBreaker.h b/lib/CodeGen/CriticalAntiDepBreaker.h
index 9e8db02262..cc42dd2b8e 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