src/share/vm/ci/ciTypeFlow.cpp

changeset 7288
9dc314de223d
parent 6198
55fb97c4c58d
child 7385
9e69e8d1c900
equal deleted inserted replaced
7287:8ed0a8dbea70 7288:9dc314de223d
728 if (basic_type == T_OBJECT || basic_type == T_ARRAY) { 728 if (basic_type == T_OBJECT || basic_type == T_ARRAY) {
729 ciObject* obj = con.as_object(); 729 ciObject* obj = con.as_object();
730 if (obj->is_null_object()) { 730 if (obj->is_null_object()) {
731 push_null(); 731 push_null();
732 } else { 732 } else {
733 assert(obj->is_instance(), "must be java_mirror of klass"); 733 assert(obj->is_instance() || obj->is_array(), "must be java_mirror of klass");
734 push_object(obj->klass()); 734 push_object(obj->klass());
735 } 735 }
736 } else { 736 } else {
737 push_translate(ciType::make(basic_type)); 737 push_translate(ciType::make(basic_type));
738 } 738 }

mercurial