aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveInterval.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2007-09-06 19:46:46 +0000
committerDavid Greene <greened@obbligato.org>2007-09-06 19:46:46 +0000
commitaf992f782fb2cac8d00b352c3dd73f6e782b5758 (patch)
tree9143b6b9bff14c6380085f142b9e3fdf72b5507f /include/llvm/CodeGen/LiveInterval.h
parent43421b3dd70af5b70e71816521f37502c397cc65 (diff)
Constify to catch bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index 8b32a5a0c6..50ac158590 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -310,8 +310,9 @@ namespace llvm {
/// 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 join(LiveInterval &Other, int *ValNoAssignments,
- int *RHSValNoAssignments, SmallVector<VNInfo*, 16> &NewVNInfo);
+ void join(LiveInterval &Other, const int *ValNoAssignments,
+ const int *RHSValNoAssignments,
+ SmallVector<VNInfo*, 16> &NewVNInfo);
/// removeRange - Remove the specified range from this interval. Note that
/// the range must already be in this interval in its entirety.