mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Don't leave pointers uninitialized in the default constructor. GCC complains
about the potential use of these uninitialized members under certain conditions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user