comparison src/share/vm/opto/subnode.cpp @ 20804:7848fc12602b

Merge with jdk8u40-b25
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Tue, 07 Apr 2015 14:58:49 +0200
parents 52b4284cb496 5b8e0f84f00f
children
comparison
equal deleted inserted replaced
20184:84105dcdb05b 20804:7848fc12602b
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