diff options
author | David Greene <greened@obbligato.org> | 2007-09-06 19:46:46 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2007-09-06 19:46:46 +0000 |
commit | 517d5d8ebe06e9d55f10edde3c23a0355f481982 (patch) | |
tree | 7126ca493a6cd4ac955d84853806144231473e59 /llvm/lib/CodeGen/LiveInterval.cpp | |
parent | bed9dc423ceadd08500869cf03e4c0819145d48b (diff) | |
download | bcm5719-llvm-517d5d8ebe06e9d55f10edde3c23a0355f481982.tar.gz bcm5719-llvm-517d5d8ebe06e9d55f10edde3c23a0355f481982.zip |
Constify to catch bugs.
llvm-svn: 41751
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 9b4872d8308..f205d0c5e28 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/lib/CodeGen/LiveInterval.cpp @@ -285,8 +285,8 @@ LiveInterval::FindLiveRangeContaining(unsigned Idx) { /// join - Join two live intervals (this, and other) together. This applies /// mappings to the value numbers in the LHS/RHS intervals as specified. If /// the intervals are not joinable, this aborts. -void LiveInterval::join(LiveInterval &Other, int *LHSValNoAssignments, - int *RHSValNoAssignments, +void LiveInterval::join(LiveInterval &Other, const int *LHSValNoAssignments, + const int *RHSValNoAssignments, SmallVector<VNInfo*, 16> &NewVNInfo) { // Determine if any of our live range values are mapped. This is uncommon, so // we want to avoid the interval scan if not. |