Add constructor for addition to opt program

llvm-svn: 1626
This commit is contained in:
Chris Lattner 2002-02-01 04:53:15 +00:00
parent c1874e9259
commit 204e236306
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ struct UnifyMethodExitNodes : public MethodPass {
BasicBlock *ExitNode;
public:
static AnalysisID ID; // Pass ID
UnifyMethodExitNodes(AnalysisID id) : ExitNode(0) { assert(ID == id); }
UnifyMethodExitNodes(AnalysisID id = ID) : ExitNode(0) { assert(ID == id); }
// UnifyAllExitNodes - Unify all exit nodes of the CFG by creating a new
// BasicBlock, and converting all returns to unconditional branches to this