diff options
-rw-r--r-- | include/llvm/Analysis/DSGraph.h | 4 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index f1b01e7438..908b406917 100644 --- a/include/llvm/Analysis/DSGraph.h +++ b/include/llvm/Analysis/DSGraph.h @@ -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! diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index f1b01e7438..908b406917 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -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! |