1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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 a5184663ef
commit 10c2ca5cd3

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