forked from OSchip/llvm-project
Don't leave pointers uninitialized in the default constructor. GCC complains
about the potential use of these uninitialized members under certain conditions. llvm-svn: 91239
This commit is contained in:
parent
8d4a202aad
commit
dcf5dacb2c
|
@ -102,7 +102,7 @@ namespace {
|
|||
public:
|
||||
typedef std::vector<Value *> ValVector;
|
||||
|
||||
RenamePassData() {}
|
||||
RenamePassData() : BB(NULL), Pred(NULL), Values() {}
|
||||
RenamePassData(BasicBlock *B, BasicBlock *P,
|
||||
const ValVector &V) : BB(B), Pred(P), Values(V) {}
|
||||
BasicBlock *BB;
|
||||
|
|
Loading…
Reference in New Issue