Fix a pasto.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 24 Oct 2008 18:46:44 +0000 (18:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 24 Oct 2008 18:46:44 +0000 (18:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58102 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PreAllocSplitting.cpp

index 37d0df1139d707e879243bf2c87fbc45a2abf844..18cac075d88d9001dd6528e094721fc60d1c1454 100644 (file)
@@ -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;