1145 return TypeInt::BOOL; |
1145 return TypeInt::BOOL; |
1146 } |
1146 } |
1147 |
1147 |
1148 //------------------------------dump_spec------------------------------------- |
1148 //------------------------------dump_spec------------------------------------- |
1149 // Print special per-node info |
1149 // Print special per-node info |
1150 #ifndef PRODUCT |
|
1151 void BoolTest::dump_on(outputStream *st) const { |
1150 void BoolTest::dump_on(outputStream *st) const { |
1152 const char *msg[] = {"eq","gt","of","lt","ne","le","nof","ge"}; |
1151 const char *msg[] = {"eq","gt","of","lt","ne","le","nof","ge"}; |
1153 st->print("%s", msg[_test]); |
1152 st->print("%s", msg[_test]); |
1154 } |
1153 } |
1155 #endif |
|
1156 |
1154 |
1157 //============================================================================= |
1155 //============================================================================= |
1158 uint BoolNode::hash() const { return (Node::hash() << 3)|(_test._test+1); } |
1156 uint BoolNode::hash() const { return (Node::hash() << 3)|(_test._test+1); } |
1159 uint BoolNode::size_of() const { return sizeof(BoolNode); } |
1157 uint BoolNode::size_of() const { return sizeof(BoolNode); } |
1160 |
1158 |