llvm.org GIT mirror llvm / db4b85f
ARMAsmPrinter.cpp: Try to fix up r148686. EnableARMEHABI was also here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148694 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11911191 }
11921192 }
11931193
1194 extern cl::opt<bool> EnableARMEHABI;
1194 extern cl::opt<ExceptionHandling::ARMEHABIMode> EnableARMEHABI;
11951195
11961196 // Simple pseudo-instructions have their lowering (with expansion to real
11971197 // instructions) auto-generated.
12021202 OutStreamer.EmitCodeRegion();
12031203
12041204 // Emit unwinding stuff for frame-related instructions
1205 if (EnableARMEHABI && MI->getFlag(MachineInstr::FrameSetup))
1205 if (EnableARMEHABI != ExceptionHandling::ARMEHABIDisabled &&
1206 MI->getFlag(MachineInstr::FrameSetup))
12061207 EmitUnwindingInstruction(MI);
12071208
12081209 // Do any auto-generated pseudo lowerings.