summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-04-28 00:37:05 +0000
committerMatthias Braun <matze@braunis.de>2015-04-28 00:37:05 +0000
commiteec4efcca5cda5aa48cb42bb2afd61d47686f32e (patch)
treeabe88ff23c6e051720bd0ad274bb6f2bd756f395 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent177c14852bcd98eb48122268f46aad1323a57c13 (diff)
downloadbcm5719-llvm-eec4efcca5cda5aa48cb42bb2afd61d47686f32e.tar.gz
bcm5719-llvm-eec4efcca5cda5aa48cb42bb2afd61d47686f32e.zip
Cleanup, remove unused return value
llvm-svn: 235952
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 72afd2c76aa..2d3ea84287f 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -6481,8 +6481,8 @@ SetupEntryBlockForSjLj(MachineInstr *MI, MachineBasicBlock *MBB,
}
}
-MachineBasicBlock *ARMTargetLowering::
-EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
+void ARMTargetLowering::EmitSjLjDispatchBlock(MachineInstr *MI,
+ MachineBasicBlock *MBB) const {
const TargetInstrInfo *TII = Subtarget->getInstrInfo();
DebugLoc dl = MI->getDebugLoc();
MachineFunction *MF = MBB->getParent();
@@ -6878,8 +6878,6 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
// The instruction is gone now.
MI->eraseFromParent();
-
- return MBB;
}
static
OpenPOWER on IntegriCloud