From 56ab0def902940d6eee7b8eb668f974e78f3dcbb Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 24 Oct 2008 18:46:44 +0000 Subject: [PATCH] Fix a pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58102 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PreAllocSplitting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index 37d0df1139d..18cac075d88 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;