hotspot/src/share/vm/ci/ciTypeFlow.cpp
changeset 26944 d515f86283be
parent 22234 da823d78ad65
child 27707 f7d26e5b8b5d
equal deleted inserted replaced
26943:8b8001fb3aa0 26944:d515f86283be
   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   }