mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Make sure to initialize isArray member
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13ec72a12a
commit
2bf30fd65a
@ -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!
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user