mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
ARMAsmPrinter.cpp: Try to fix up r148686. EnableARMEHABI was also here.
llvm-svn: 148694
This commit is contained in:
parent
7cf6171afa
commit
7a14d1dab9
@ -1192,7 +1192,7 @@ void ARMAsmPrinter::EmitUnwindingInstruction(const MachineInstr *MI) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern cl::opt<bool> EnableARMEHABI;
|
extern cl::opt<ExceptionHandling::ARMEHABIMode> EnableARMEHABI;
|
||||||
|
|
||||||
// Simple pseudo-instructions have their lowering (with expansion to real
|
// Simple pseudo-instructions have their lowering (with expansion to real
|
||||||
// instructions) auto-generated.
|
// instructions) auto-generated.
|
||||||
@ -1203,7 +1203,8 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
|||||||
OutStreamer.EmitCodeRegion();
|
OutStreamer.EmitCodeRegion();
|
||||||
|
|
||||||
// Emit unwinding stuff for frame-related instructions
|
// Emit unwinding stuff for frame-related instructions
|
||||||
if (EnableARMEHABI && MI->getFlag(MachineInstr::FrameSetup))
|
if (EnableARMEHABI != ExceptionHandling::ARMEHABIDisabled &&
|
||||||
|
MI->getFlag(MachineInstr::FrameSetup))
|
||||||
EmitUnwindingInstruction(MI);
|
EmitUnwindingInstruction(MI);
|
||||||
|
|
||||||
// Do any auto-generated pseudo lowerings.
|
// Do any auto-generated pseudo lowerings.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user