< prev index next >
src/share/vm/ci/ciTypeFlow.cpp
Print this page
@@ -853,13 +853,13 @@
void ciTypeFlow::StateVector::do_vunbox(ciBytecodeStream* str) {
bool will_link;
ciKlass* klass = str->get_klass(will_link);
// TODO: Handle case when class is not loaded.
guarantee(will_link, "Class to which the value-capable class will unbox to must be loaded for JIT compilation");
- assert(klass->is_valuetype(), "must be value type");
+ assert(klass->is_instance_klass(), "must be an instance class");
pop_object();
- push_object(klass->as_value_klass());
+ push_object(klass->as_instance_klass());
}
void ciTypeFlow::StateVector::do_vbox(ciBytecodeStream* str) {
bool will_link;
ciKlass* klass = str->get_klass(will_link);
< prev index next >