aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-26 19:00:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-26 19:00:32 +0000
commitfaa510726f4b40aa4495e60e4d341c6467e3fb01 (patch)
treed0a36cbcc5fdad6cb19ee21bef4c126ece184dad /lib/CodeGen/LiveIntervalAnalysis.cpp
parent6bc6333a1059b0ee9b3b7c2685f4daf370ae67bd (diff)
downloadexternal_llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.tar.gz
external_llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.tar.bz2
external_llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.zip
Rename findRegisterUseOperand to findRegisterUseOperandIdx to avoid confusion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index e936158f3e..c542033548 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -887,7 +887,7 @@ bool LiveIntervals::AdjustCopiesBackFrom(LiveInterval &IntA, LiveInterval &IntB,
// If the source instruction was killing the source register before the
// merge, unset the isKill marker given the live range has been extended.
- int UIdx = ValLREndInst->findRegisterUseOperand(IntB.reg, true);
+ int UIdx = ValLREndInst->findRegisterUseOperandIdx(IntB.reg, true);
if (UIdx != -1)
ValLREndInst->getOperand(UIdx).unsetIsKill();