projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2da286
)
Initialize DFSnum's to -1, in case a node is not reachable.
author
Chris Lattner
<sabre@nondot.org>
Sun, 15 Jan 2006 21:48:36 +0000
(21:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 15 Jan 2006 21:48:36 +0000
(21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25344
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/ET-Forest.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ET-Forest.h
b/include/llvm/Analysis/ET-Forest.h
index 5607d52ec54b13a99eb4d7b789c87eab90dac4a3..b05776a9e0f1b3aaccf24d200e7abd69839c5e28 100644
(file)
--- a/
include/llvm/Analysis/ET-Forest.h
+++ b/
include/llvm/Analysis/ET-Forest.h
@@
-130,7
+130,8
@@
public:
class ETNode {
public:
- ETNode(void *d) : data(d), Father(NULL), Left(NULL),
+ ETNode(void *d) : data(d), DFSNumIn(-1), DFSNumOut(-1),
+ Father(NULL), Left(NULL),
Right(NULL), Son(NULL), ParentOcc(NULL) {
RightmostOcc = new ETOccurrence(this);
};
@@
-287,7
+288,7
@@
public:
void *data;
// DFS Numbers
-
unsigned
DFSNumIn, DFSNumOut;
+
int
DFSNumIn, DFSNumOut;
// Father
ETNode *Father;