< prev index next >
src/hotspot/share/ci/ciConstant.hpp
Print this page
@@ -104,11 +104,11 @@
jdouble as_double() {
assert(basic_type() == T_DOUBLE, "wrong type");
return _value._double;
}
ciObject* as_object() const {
- assert(basic_type() == T_OBJECT || basic_type() == T_ARRAY, "wrong type");
+ assert(basic_type() == T_OBJECT || basic_type() == T_ARRAY || basic_type() == T_VALUETYPE, "wrong type");
return _value._object;
}
bool is_null_or_zero() const {
if (!is_java_primitive(basic_type())) {
< prev index next >