comma::HandlerEmitter Class Reference

#include <HandlerEmitter.h>

Collaboration diagram for comma::HandlerEmitter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HandlerEmitter (CodeGenRoutine &CGR)
void emitHandlers (StmtSequence *seq, llvm::BasicBlock *mergeBB=0)

Detailed Description

Definition at line 37 of file HandlerEmitter.h.


Constructor & Destructor Documentation

HandlerEmitter::HandlerEmitter ( CodeGenRoutine CGR  ) 

Definition at line 17 of file HandlerEmitter.cpp.


Member Function Documentation

void HandlerEmitter::emitHandlers ( StmtSequence seq,
llvm::BasicBlock *  mergeBB = 0 
)

Emits the exception handlers associated with the given StmtSequence.

The given statement sequence must provide at least one handler. The current frame must provide a landing pad. Emits the handler code into the landing pad and unifies the control flow to target mergeBB if non-null. If mergeBB is null, an implicit basic block is generated. The insertion point of the builder is set to the merge block on return.

Definition at line 52 of file HandlerEmitter.cpp.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1