diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 18:50:24 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 18:50:24 +0000 |
commit | 79e838b0a80829611936b0a36213f4cd20240ecf (patch) | |
tree | cecad9f02f05cd76215bdcbc4441e05ceb474bb6 /llvm/lib/CodeGen/LiveInterval.cpp | |
parent | 64e03f2d29b62fe1bbc396e3ea4e95923865b901 (diff) | |
download | bcm5719-llvm-79e838b0a80829611936b0a36213f4cd20240ecf.tar.gz bcm5719-llvm-79e838b0a80829611936b0a36213f4cd20240ecf.zip |
Remove dead code.
llvm-svn: 113386
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 21b0bc00196..03d8e95798d 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/lib/CodeGen/LiveInterval.cpp @@ -443,17 +443,6 @@ VNInfo *LiveInterval::findDefinedVNInfoForRegInt(SlotIndex Idx) const { return 0; } -/// findDefinedVNInfo - Find the VNInfo defined by the specified -/// register (stack inteval). -VNInfo *LiveInterval::findDefinedVNInfoForStackInt(unsigned reg) const { - for (LiveInterval::const_vni_iterator i = vni_begin(), e = vni_end(); - i != e; ++i) { - if ((*i)->getReg() == reg) - return *i; - } - return 0; -} - /// 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. |