equal
deleted
inserted
replaced
1440 ciConstant field_val = field->constant_value(); |
1440 ciConstant field_val = field->constant_value(); |
1441 BasicType field_type = field_val.basic_type(); |
1441 BasicType field_type = field_val.basic_type(); |
1442 switch (field_type) { |
1442 switch (field_type) { |
1443 case T_ARRAY: |
1443 case T_ARRAY: |
1444 case T_OBJECT: |
1444 case T_OBJECT: |
1445 if (field_val.as_object()->has_encoding()) { |
1445 if (field_val.as_object()->should_be_constant()) { |
1446 constant = new Constant(as_ValueType(field_val)); |
1446 constant = new Constant(as_ValueType(field_val)); |
1447 } |
1447 } |
1448 break; |
1448 break; |
1449 |
1449 |
1450 default: |
1450 default: |