Lines Matching defs:_value

84   JavaValue _value;
91 LIR_Const(jint i, bool is_address=false) { _value.set_type(is_address?T_ADDRESS:T_INT); _value.set_jint(i); }
92 LIR_Const(jlong l) { _value.set_type(T_LONG); _value.set_jlong(l); }
93 LIR_Const(jfloat f) { _value.set_type(T_FLOAT); _value.set_jfloat(f); }
94 LIR_Const(jdouble d) { _value.set_type(T_DOUBLE); _value.set_jdouble(d); }
95 LIR_Const(jobject o) { _value.set_type(T_OBJECT); _value.set_jobject(o); }
99 _value.set_type(T_LONG); _value.set_jlong((jlong)p);
102 _value.set_type(T_INT); _value.set_jint((jint)p);
106 _value.set_type(T_METADATA);
108 _value.set_jlong((jlong)m);
110 _value.set_jint((jint)m);
114 virtual BasicType type() const { return _value.get_type(); }
117 jint as_jint() const { type_check(T_INT, T_ADDRESS); return _value.get_jint(); }
118 jlong as_jlong() const { type_check(T_LONG ); return _value.get_jlong(); }
119 jfloat as_jfloat() const { type_check(T_FLOAT ); return _value.get_jfloat(); }
120 jdouble as_jdouble() const { type_check(T_DOUBLE); return _value.get_jdouble(); }
121 jobject as_jobject() const { type_check(T_OBJECT); return _value.get_jobject(); }
122 jint as_jint_lo() const { type_check(T_LONG ); return low(_value.get_jlong()); }
123 jint as_jint_hi() const { type_check(T_LONG ); return high(_value.get_jlong()); }
126 address as_pointer() const { type_check(T_LONG ); return (address)_value.get_jlong(); }
127 Metadata* as_metadata() const { type_check(T_METADATA); return (Metadata*)_value.get_jlong(); }
129 address as_pointer() const { type_check(T_INT ); return (address)_value.get_jint(); }
130 Metadata* as_metadata() const { type_check(T_METADATA); return (Metadata*)_value.get_jint(); }
134 jint as_jint_bits() const { type_check(T_FLOAT, T_INT, T_ADDRESS); return _value.get_jint(); }
137 return low(jlong_cast(_value.get_jdouble()));
144 return high(jlong_cast(_value.get_jdouble()));
151 return jlong_cast(_value.get_jdouble());