summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-25 06:23:01 +0000
committerChris Lattner <sabre@nondot.org>2004-07-25 06:23:01 +0000
commitd3a205eab5761298ccfb320834b5f0ea0184ab27 (patch)
treeff2c1f52ec78f87878b8882ee2d18f4fc7df3342 /include/llvm/CodeGen
parent1d6dc974631a8920a4e5a801a6c7cd4753ae8a8e (diff)
downloadllvm-d3a205eab5761298ccfb320834b5f0ea0184ab27.tar.gz
llvm-d3a205eab5761298ccfb320834b5f0ea0184ab27.tar.bz2
llvm-d3a205eab5761298ccfb320834b5f0ea0184ab27.tar.xz
Make a method const, no functionality changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-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 673dc7f443..d23e4131f6 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -112,7 +112,7 @@ namespace llvm {
/// getLiveRangeContaining - Return the live range that contains the
/// specified index, or null if there is none.
- LiveRange *getLiveRangeContaining(unsigned Idx);
+ const LiveRange *getLiveRangeContaining(unsigned Idx) const;
/// joinable - Two intervals are joinable if the either don't overlap at all