mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
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
5236d41ee7
commit
f5a2d328af
@ -102,7 +102,7 @@ namespace {
|
|||||||
public:
|
public:
|
||||||
typedef std::vector<Value *> ValVector;
|
typedef std::vector<Value *> ValVector;
|
||||||
|
|
||||||
RenamePassData() {}
|
RenamePassData() : BB(NULL), Pred(NULL), Values() {}
|
||||||
RenamePassData(BasicBlock *B, BasicBlock *P,
|
RenamePassData(BasicBlock *B, BasicBlock *P,
|
||||||
const ValVector &V) : BB(B), Pred(P), Values(V) {}
|
const ValVector &V) : BB(B), Pred(P), Values(V) {}
|
||||||
BasicBlock *BB;
|
BasicBlock *BB;
|
||||||
|
Loading…
Reference in New Issue
Block a user