mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Initialize DFSnum's to -1, in case a node is not reachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d2da286e99
commit
801af7376e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user