summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveInterval.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-02-03 06:18:29 +0000
committerEric Christopher <echristo@apple.com>2011-02-03 06:18:29 +0000
commit0f43811903f10394f7088f4634c0b4f9668cbac0 (patch)
tree42f024f3dbf3c36402a81d4e067d982b331e54fa /include/llvm/CodeGen/LiveInterval.h
parent463a2977b1d9e6679f859db9f32e9e783b075c10 (diff)
downloadllvm-0f43811903f10394f7088f4634c0b4f9668cbac0.tar.gz
llvm-0f43811903f10394f7088f4634c0b4f9668cbac0.tar.bz2
llvm-0f43811903f10394f7088f4634c0b4f9668cbac0.tar.xz
Reapply this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index b2915cee97..88131fbc40 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -560,7 +560,7 @@ namespace llvm {
/// getEqClass - Classify creates equivalence classes numbered 0..N. Return
/// the equivalence class assigned the VNI.
- unsigned getEqClass(const VNInfo *VNI) { return eqClass_[VNI->id]; }
+ unsigned getEqClass(const VNInfo *VNI) const { return eqClass_[VNI->id]; }
/// Distribute - Distribute values in LIV[0] into a separate LiveInterval
/// for each connected component. LIV must have a LiveInterval for each