diff options
author | Eric Christopher <echristo@apple.com> | 2011-02-03 06:18:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-02-03 06:18:29 +0000 |
commit | 0f43811903f10394f7088f4634c0b4f9668cbac0 (patch) | |
tree | 42f024f3dbf3c36402a81d4e067d982b331e54fa /include/llvm/CodeGen/LiveInterval.h | |
parent | 463a2977b1d9e6679f859db9f32e9e783b075c10 (diff) |
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.h | 2 |
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 |