Simplify landing pad lowering.
[oota-llvm.git] / include / llvm / CodeGen / FunctionLoweringInfo.h
index f1d815592f80c8dae7357b9a2ac1abb4abdf8d23..50d320f8e839d338b7f3b098bd88b8d8ad249f0d 100644 (file)
@@ -115,6 +115,11 @@ public:
   /// there's no other convenient place for it to live right now.
   std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate;
 
+  /// If the current MBB is a landing pad, the exception pointer and exception
+  /// selector registers are copied into these virtual registers by
+  /// SelectionDAGISel::PrepareEHLandingPad().
+  unsigned ExceptionPointerVirtReg, ExceptionSelectorVirtReg;
+
   explicit FunctionLoweringInfo(const TargetMachine &TM) : TM(TM) {}
 
   /// set - Initialize this FunctionLoweringInfo with the given Function