Mercurial > hg > graal-compiler
diff src/share/vm/opto/graphKit.cpp @ 12816:2720ab7a0d70
Merge
author | ccheung |
---|---|
date | Fri, 04 Oct 2013 21:00:43 -0700 |
parents | d8d059e90ec1 |
children | cefad50507d8 aa6f2ea19d8f d9043b88eeb3 |
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.cpp Sat Oct 05 03:14:53 2013 +0200 +++ b/src/share/vm/opto/graphKit.cpp Fri Oct 04 21:00:43 2013 -0700 @@ -3849,9 +3849,9 @@ const TypeInstPtr* string_type = TypeInstPtr::make(TypePtr::NotNull, C->env()->String_klass(), false, NULL, 0); const TypePtr* value_field_type = string_type->add_offset(value_offset); - int value_field_idx = C->get_alias_index(value_field_type); - store_to_memory(ctrl, basic_plus_adr(str, value_offset), - value, T_OBJECT, value_field_idx); + + store_oop_to_object(ctrl, str, basic_plus_adr(str, value_offset), value_field_type, + value, TypeAryPtr::CHARS, T_OBJECT); } void GraphKit::store_String_length(Node* ctrl, Node* str, Node* value) {