src/share/vm/opto/node.cpp

Print this page
rev 5661 : 8003854: PPC64 (part 115): Introduce lateExpand that expands nodes after register allocation.


 959 bool Node::verify_jvms(const JVMState* using_jvms) const {
 960   for (JVMState* jvms = this->jvms(); jvms != NULL; jvms = jvms->caller()) {
 961     if (jvms == using_jvms)  return true;
 962   }
 963   return false;
 964 }
 965 
 966 //------------------------------init_NodeProperty------------------------------
 967 void Node::init_NodeProperty() {
 968   assert(_max_classes <= max_jushort, "too many NodeProperty classes");
 969   assert(_max_flags <= max_jushort, "too many NodeProperty flags");
 970 }
 971 #endif
 972 
 973 //------------------------------format-----------------------------------------
 974 // Print as assembly
 975 void Node::format( PhaseRegAlloc *, outputStream *st ) const {}
 976 //------------------------------emit-------------------------------------------
 977 // Emit bytes starting at parameter 'ptr'.
 978 void Node::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {}



 979 //------------------------------size-------------------------------------------
 980 // Size of instruction in bytes
 981 uint Node::size(PhaseRegAlloc *ra_) const { return 0; }
 982 
 983 //------------------------------CFG Construction-------------------------------
 984 // Nodes that end basic blocks, e.g. IfTrue/IfFalse, JumpProjNode, Root,
 985 // Goto and Return.
 986 const Node *Node::is_block_proj() const { return 0; }
 987 
 988 // Minimum guaranteed type
 989 const Type *Node::bottom_type() const { return Type::BOTTOM; }
 990 
 991 
 992 //------------------------------raise_bottom_type------------------------------
 993 // Get the worst-case Type output for this Node.
 994 void Node::raise_bottom_type(const Type* new_type) {
 995   if (is_Type()) {
 996     TypeNode *n = this->as_Type();
 997     if (VerifyAliases) {
 998       assert(new_type->higher_equal(n->type()), "new type must refine old type");




 959 bool Node::verify_jvms(const JVMState* using_jvms) const {
 960   for (JVMState* jvms = this->jvms(); jvms != NULL; jvms = jvms->caller()) {
 961     if (jvms == using_jvms)  return true;
 962   }
 963   return false;
 964 }
 965 
 966 //------------------------------init_NodeProperty------------------------------
 967 void Node::init_NodeProperty() {
 968   assert(_max_classes <= max_jushort, "too many NodeProperty classes");
 969   assert(_max_flags <= max_jushort, "too many NodeProperty flags");
 970 }
 971 #endif
 972 
 973 //------------------------------format-----------------------------------------
 974 // Print as assembly
 975 void Node::format( PhaseRegAlloc *, outputStream *st ) const {}
 976 //------------------------------emit-------------------------------------------
 977 // Emit bytes starting at parameter 'ptr'.
 978 void Node::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {}
 979 //------------------------------lateExpand-------------------------------------
 980 // Expand node after register allocation.
 981 void Node::lateExpand(GrowableArray <Node *> *nodes, PhaseRegAlloc *ra_) {}
 982 //------------------------------size-------------------------------------------
 983 // Size of instruction in bytes
 984 uint Node::size(PhaseRegAlloc *ra_) const { return 0; }
 985 
 986 //------------------------------CFG Construction-------------------------------
 987 // Nodes that end basic blocks, e.g. IfTrue/IfFalse, JumpProjNode, Root,
 988 // Goto and Return.
 989 const Node *Node::is_block_proj() const { return 0; }
 990 
 991 // Minimum guaranteed type
 992 const Type *Node::bottom_type() const { return Type::BOTTOM; }
 993 
 994 
 995 //------------------------------raise_bottom_type------------------------------
 996 // Get the worst-case Type output for this Node.
 997 void Node::raise_bottom_type(const Type* new_type) {
 998   if (is_Type()) {
 999     TypeNode *n = this->as_Type();
1000     if (VerifyAliases) {
1001       assert(new_type->higher_equal(n->type()), "new type must refine old type");