aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-10-24 18:46:44 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-10-24 18:46:44 +0000
commit158c68b641d14333ea0854c9f695035e5bf2cd7a (patch)
tree45c25692f2f29cfe8a49e583e8bbcb692bac4905
parentc2a0462c3c578eebb1376bf9f8a0d1b7880d18f0 (diff)
downloadexternal_llvm-158c68b641d14333ea0854c9f695035e5bf2cd7a.zip
external_llvm-158c68b641d14333ea0854c9f695035e5bf2cd7a.tar.gz
external_llvm-158c68b641d14333ea0854c9f695035e5bf2cd7a.tar.bz2
Fix a pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58102 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/PreAllocSplitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp
index 37d0df1..18cac07 100644
--- a/lib/CodeGen/PreAllocSplitting.cpp
+++ b/lib/CodeGen/PreAllocSplitting.cpp
@@ -214,7 +214,7 @@ PreAllocSplitting::findRestorePoint(MachineBasicBlock *MBB, MachineInstr *MI,
do {
--MII;
unsigned Index = LIs->getInstructionIndex(MII);
- unsigned Gap = LIs->hasGapBeforeInstr(Index);
+ unsigned Gap = LIs->findGapBeforeInstr(Index);
if (Gap) {
Pt = MII;
RestoreIndex = Gap;