summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AggressiveAntiDepBreaker.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/AggressiveAntiDepBreaker.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/AggressiveAntiDepBreaker.h')
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.h b/lib/CodeGen/AggressiveAntiDepBreaker.h
index a62d68c2a8..506d43e7f3 100644
--- a/lib/CodeGen/AggressiveAntiDepBreaker.h
+++ b/lib/CodeGen/AggressiveAntiDepBreaker.h
@@ -142,9 +142,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