Lines Matching refs:constant
148 // Does this field have a constant value? If so, just push the value.
164 ciConstant constant = field->constant_value_of(constant_oop);
165 if (push_constant(constant, true))
190 // This can happen if the constant oop is non-perm.
311 bool Parse::push_constant(ciConstant constant, bool require_constant) {
312 switch (constant.basic_type()) {
313 case T_BOOLEAN: push( intcon(constant.as_boolean()) ); break;
314 case T_INT: push( intcon(constant.as_int()) ); break;
315 case T_CHAR: push( intcon(constant.as_char()) ); break;
316 case T_BYTE: push( intcon(constant.as_byte()) ); break;
317 case T_SHORT: push( intcon(constant.as_short()) ); break;
318 case T_FLOAT: push( makecon(TypeF::make(constant.as_float())) ); break;
319 case T_DOUBLE: push_pair( makecon(TypeD::make(constant.as_double())) ); break;
320 case T_LONG: push_pair( longcon(constant.as_long()) ); break;
327 ciObject* oop_constant = constant.as_object();
405 guarantee(length_con >= 0, "non-constant multianewarray");
440 // If that happens, use the fast 1-d creator a constant number of times.