Make sure to initialize isArray member

llvm-svn: 4247
This commit is contained in:
Chris Lattner 2002-10-21 13:38:07 +00:00
parent 2f5a6d46ae
commit c5cb7a7dc0
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ class DSNode {
unsigned Offset; // The offset in the node
bool isArray; // Have we accessed an array of elements?
TypeRec() : Ty(0), Offset(0) {}
TypeRec(const Type *T, unsigned O) : Ty(T), Offset(O) {}
TypeRec() : Ty(0), Offset(0), isArray(false) {}
TypeRec(const Type *T, unsigned O) : Ty(T), Offset(O), isArray(false) {}
bool operator<(const TypeRec &TR) const {
// Sort first by offset!