Index: runtime/vm/intrinsifier_x64.cc |
=================================================================== |
--- runtime/vm/intrinsifier_x64.cc (revision 42717) |
+++ runtime/vm/intrinsifier_x64.cc (working copy) |
@@ -76,7 +76,7 @@ |
// Store backing array object in growable array object. |
__ movq(RCX, Address(RSP, kArrayOffset)); // data argument. |
// RAX is new, no barrier needed. |
- __ StoreIntoObjectNoBarrier( |
+ __ InitializeFieldNoBarrier( |
RAX, |
FieldAddress(RAX, GrowableObjectArray::data_offset()), |
RCX); |
@@ -84,7 +84,7 @@ |
// RAX: new growable array object start as a tagged pointer. |
// Store the type argument field in the growable array object. |
__ movq(RCX, Address(RSP, kTypeArgumentsOffset)); // type argument. |
- __ StoreIntoObjectNoBarrier( |
+ __ InitializeFieldNoBarrier( |
RAX, |
FieldAddress(RAX, GrowableObjectArray::type_arguments_offset()), |
RCX); |
@@ -286,7 +286,7 @@ |
/* RAX: new object start as a tagged pointer. */ \ |
/* RCX: new object end address. */ \ |
__ movq(RDI, Address(RSP, kArrayLengthStackOffset)); /* Array length. */ \ |
- __ StoreIntoObjectNoBarrier(RAX, \ |
+ __ InitializeFieldNoBarrier(RAX, \ |
FieldAddress(RAX, type_name::length_offset()), \ |
RDI); \ |
/* Initialize all array elements to 0. */ \ |
@@ -1778,7 +1778,7 @@ |
// Set the length field. |
__ popq(RDI); |
- __ StoreIntoObjectNoBarrier(RAX, |
+ __ InitializeFieldNoBarrier(RAX, |
FieldAddress(RAX, String::length_offset()), |
RDI); |
// Clear hash. |