mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Remove the eh.exception and eh.selector intrinsics. Also remove a hack to copy
over the catch information. The catch information is now tacked to the invoke instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -216,11 +216,6 @@ private:
 | 
			
		||||
void AddCatchInfo(const CallInst &I,
 | 
			
		||||
                  MachineModuleInfo *MMI, MachineBasicBlock *MBB);
 | 
			
		||||
 | 
			
		||||
/// CopyCatchInfo - Copy catch information from SuccBB (or one of its
 | 
			
		||||
/// successors) to LPad.
 | 
			
		||||
void CopyCatchInfo(const BasicBlock *SuccBB, const BasicBlock *LPad,
 | 
			
		||||
                   MachineModuleInfo *MMI, FunctionLoweringInfo &FLI);
 | 
			
		||||
 | 
			
		||||
/// AddLandingPadInfo - Extract the exception handling information from the
 | 
			
		||||
/// landingpad instruction and add them to the specified machine module info.
 | 
			
		||||
void AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI,
 | 
			
		||||
 
 | 
			
		||||
@@ -277,34 +277,6 @@ namespace llvm {
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  /// EHExceptionInst - This represents the llvm.eh.exception instruction.
 | 
			
		||||
  ///
 | 
			
		||||
  class EHExceptionInst : public IntrinsicInst {
 | 
			
		||||
  public:
 | 
			
		||||
    // Methods for support type inquiry through isa, cast, and dyn_cast:
 | 
			
		||||
    static inline bool classof(const EHExceptionInst *) { return true; }
 | 
			
		||||
    static inline bool classof(const IntrinsicInst *I) {
 | 
			
		||||
      return I->getIntrinsicID() == Intrinsic::eh_exception;
 | 
			
		||||
    }
 | 
			
		||||
    static inline bool classof(const Value *V) {
 | 
			
		||||
      return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  /// EHSelectorInst - This represents the llvm.eh.selector instruction.
 | 
			
		||||
  ///
 | 
			
		||||
  class EHSelectorInst : public IntrinsicInst {
 | 
			
		||||
  public:
 | 
			
		||||
    // Methods for support type inquiry through isa, cast, and dyn_cast:
 | 
			
		||||
    static inline bool classof(const EHSelectorInst *) { return true; }
 | 
			
		||||
    static inline bool classof(const IntrinsicInst *I) {
 | 
			
		||||
      return I->getIntrinsicID() == Intrinsic::eh_selector;
 | 
			
		||||
    }
 | 
			
		||||
    static inline bool classof(const Value *V) {
 | 
			
		||||
      return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user