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:
parent
a5184663ef
commit
10c2ca5cd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user