Add a constified getLandingPad() method.
[oota-llvm.git] / include / llvm / BasicBlock.h
index da4f92100d079fff92b0d94405225b1526d8c48b..d2aa1673d921ff68f341dc264e2f1ff4c92d5b29 100644 (file)
@@ -268,6 +268,7 @@ public:
   /// getLandingPadInst() - Return the landingpad instruction associated with
   /// the landing pad.
   LandingPadInst *getLandingPadInst();
+  const LandingPadInst *getLandingPadInst() const;
 
 private:
   /// AdjustBlockAddressRefCount - BasicBlock stores the number of BlockAddress