summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commitcd160f9859a39f838c50fb9985b7a324f21b66df (patch)
tree71c357c2f53cb6add20c83e94bb841448f6d0110 /llvm/lib/CodeGen
parenta8aa7a08b840bdcd16dc1dc30c9de68ee2c0fc53 (diff)
downloadbcm5719-llvm-cd160f9859a39f838c50fb9985b7a324f21b66df.tar.gz
bcm5719-llvm-cd160f9859a39f838c50fb9985b7a324f21b66df.zip
Fix a pasto.
llvm-svn: 58102
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PreAllocSplitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp
index 37d0df1139d..18cac075d88 100644
--- a/llvm/lib/CodeGen/PreAllocSplitting.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud