< prev index next >
src/hotspot/share/oops/method.hpp
Print this page
@@ -581,13 +581,12 @@
InstanceKlass* method_holder() const { return constants()->pool_holder(); }
void compute_size_of_parameters(Thread *thread); // word size of parameters (receiver if any + arguments)
Symbol* klass_name() const; // returns the name of the method holder
BasicType result_type() const; // type of the method result
- bool is_returning_oop() const { BasicType r = result_type(); return (r == T_OBJECT || r == T_ARRAY); }
+ bool is_returning_oop() const { BasicType r = result_type(); return (r == T_OBJECT || r == T_ARRAY || r == T_VALUETYPE); }
bool is_returning_vt() const { BasicType r = result_type(); return r == T_VALUETYPE; }
- bool is_returning_fp() const { BasicType r = result_type(); return (r == T_FLOAT || r == T_DOUBLE); }
#ifdef ASSERT
ValueKlass* returned_value_type(Thread* thread) const;
#endif
// Checked exceptions thrown by this method (resolved to mirrors)
< prev index next >