942 if (in(TypeFunc::Parms + callee->arg_size() - 1)->Opcode() == Op_ConP) {
943 phase->C->prepend_late_inline(cg);
944 set_generator(NULL);
945 }
946 }
947 }
948 return SafePointNode::Ideal(phase, can_reshape);
949 }
950
951 bool CallNode::is_call_to_arraycopystub() const {
952 if (_name != NULL && strstr(_name, "arraycopy") != 0) {
953 return true;
954 }
955 return false;
956 }
957
958 //=============================================================================
959 uint CallJavaNode::size_of() const { return sizeof(*this); }
960 uint CallJavaNode::cmp( const Node &n ) const {
961 CallJavaNode &call = (CallJavaNode&)n;
962 return CallNode::cmp(call) && _method == call._method;
963 }
964 #ifndef PRODUCT
965 void CallJavaNode::dump_spec(outputStream *st) const {
966 if( _method ) _method->print_short_name(st);
967 CallNode::dump_spec(st);
968 }
969
970 void CallJavaNode::dump_compact_spec(outputStream* st) const {
971 if (_method) {
972 _method->print_short_name(st);
973 } else {
974 st->print("<?>");
975 }
976 }
977 #endif
978
979 //=============================================================================
980 uint CallStaticJavaNode::size_of() const { return sizeof(*this); }
981 uint CallStaticJavaNode::cmp( const Node &n ) const {
982 CallStaticJavaNode &call = (CallStaticJavaNode&)n;
|
942 if (in(TypeFunc::Parms + callee->arg_size() - 1)->Opcode() == Op_ConP) {
943 phase->C->prepend_late_inline(cg);
944 set_generator(NULL);
945 }
946 }
947 }
948 return SafePointNode::Ideal(phase, can_reshape);
949 }
950
951 bool CallNode::is_call_to_arraycopystub() const {
952 if (_name != NULL && strstr(_name, "arraycopy") != 0) {
953 return true;
954 }
955 return false;
956 }
957
958 //=============================================================================
959 uint CallJavaNode::size_of() const { return sizeof(*this); }
960 uint CallJavaNode::cmp( const Node &n ) const {
961 CallJavaNode &call = (CallJavaNode&)n;
962 return CallNode::cmp(call) && _method == call._method &&
963 _override_symbolic_info == call._override_symbolic_info;
964 }
965 #ifndef PRODUCT
966 void CallJavaNode::dump_spec(outputStream *st) const {
967 if( _method ) _method->print_short_name(st);
968 CallNode::dump_spec(st);
969 }
970
971 void CallJavaNode::dump_compact_spec(outputStream* st) const {
972 if (_method) {
973 _method->print_short_name(st);
974 } else {
975 st->print("<?>");
976 }
977 }
978 #endif
979
980 //=============================================================================
981 uint CallStaticJavaNode::size_of() const { return sizeof(*this); }
982 uint CallStaticJavaNode::cmp( const Node &n ) const {
983 CallStaticJavaNode &call = (CallStaticJavaNode&)n;
|