[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 21 08:39:01 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.14 -> 1.15
---
Log message:
Make sure to initialize isArray member
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.14 llvm/include/llvm/Analysis/DSGraph.h:1.15
--- llvm/include/llvm/Analysis/DSGraph.h:1.14 Sun Oct 20 21:09:03 2002
+++ llvm/include/llvm/Analysis/DSGraph.h Mon Oct 21 08:38:07 2002
@@ -127,8 +127,8 @@
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!
More information about the llvm-commits
mailing list