summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2014-02-07 20:12:49 +0000
committerRenato Golin <renato.golin@linaro.org>2014-02-07 20:12:49 +0000
commit703197fc9488e5ef477e0a52e2a52b6472e93d13 (patch)
treea9a67635c9f65a9ac84674437f73166d69f0bf59 /lib/Target/ARM/ARMAsmPrinter.cpp
parent1e75dec97a628422ab09f46a2d61f1893144641a (diff)
downloadllvm-703197fc9488e5ef477e0a52e2a52b6472e93d13.tar.gz
llvm-703197fc9488e5ef477e0a52e2a52b6472e93d13.tar.bz2
llvm-703197fc9488e5ef477e0a52e2a52b6472e93d13.tar.xz
Remove -arm-disable-ehabi option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index 8235506322..68820f4332 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -1104,8 +1104,6 @@ void ARMAsmPrinter::EmitUnwindingInstruction(const MachineInstr *MI) {
}
}
-extern cl::opt<bool> DisableARMEHABI;
-
// Simple pseudo-instructions have their lowering (with expansion to real
// instructions) auto-generated.
#include "ARMGenMCPseudoLowering.inc"
@@ -1120,7 +1118,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
}
// Emit unwinding stuff for frame-related instructions
- if (Subtarget->isTargetEHABICompatible() && !DisableARMEHABI &&
+ if (Subtarget->isTargetEHABICompatible() &&
MI->getFlag(MachineInstr::FrameSetup))
EmitUnwindingInstruction(MI);