< prev index next >

src/hotspot/share/ci/ciConstant.hpp

Print this page

        

*** 104,114 **** 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"); return _value._object; } bool is_null_or_zero() const { if (!is_java_primitive(basic_type())) { --- 104,114 ---- jdouble as_double() { assert(basic_type() == T_DOUBLE, "wrong type"); return _value._double; } ciObject* as_object() const { ! assert(is_reference_type(basic_type()), "wrong type"); return _value._object; } bool is_null_or_zero() const { if (!is_java_primitive(basic_type())) {
< prev index next >