equal
deleted
inserted
replaced
996 |
996 |
997 // If the hash function returns the special sentinel value NO_HASH, |
997 // If the hash function returns the special sentinel value NO_HASH, |
998 // the node is guaranteed never to compare equal to any other node. |
998 // the node is guaranteed never to compare equal to any other node. |
999 // If we accidentally generate a hash with value NO_HASH the node |
999 // If we accidentally generate a hash with value NO_HASH the node |
1000 // won't go into the table and we'll lose a little optimization. |
1000 // won't go into the table and we'll lose a little optimization. |
1001 enum { NO_HASH = 0 }; |
1001 static const uint NO_HASH = 0; |
1002 virtual uint hash() const; |
1002 virtual uint hash() const; |
1003 virtual bool cmp( const Node &n ) const; |
1003 virtual bool cmp( const Node &n ) const; |
1004 |
1004 |
1005 // Operation appears to be iteratively computed (such as an induction variable) |
1005 // Operation appears to be iteratively computed (such as an induction variable) |
1006 // It is possible for this operation to return false for a loop-varying |
1006 // It is possible for this operation to return false for a loop-varying |