Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 841343002: ARM port of r42723. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/intrinsifier_arm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm.cc
===================================================================
--- runtime/vm/stub_code_arm.cc (revision 42713)
+++ runtime/vm/stub_code_arm.cc (working copy)
@@ -413,7 +413,7 @@
Label loop;
__ Bind(&loop);
__ ldr(IP, Address(R1, kWordSize, Address::PreIndex));
- __ StoreIntoObjectNoBarrier(R0, Address(R3, R2, LSL, 1), IP);
+ __ InitializeFieldNoBarrier(R0, Address(R3, R2, LSL, 1), IP);
__ Bind(&enter);
__ subs(R2, R2, Operand(Smi::RawValue(1))); // R2 is Smi.
__ b(&loop, PL);
@@ -679,12 +679,12 @@
// R0: new object start as a tagged pointer.
// R7: new object end address.
// Store the type argument field.
- __ StoreIntoObjectNoBarrier(R0,
+ __ InitializeFieldNoBarrier(R0,
FieldAddress(R0, Array::type_arguments_offset()),
R1);
// Set the length field.
- __ StoreIntoObjectNoBarrier(R0,
+ __ InitializeFieldNoBarrier(R0,
FieldAddress(R0, Array::length_offset()),
R2);
@@ -917,7 +917,7 @@
// R3: next object start.
// R6: allocation stats address.
__ LoadImmediate(R4, reinterpret_cast<intptr_t>(Object::null()));
- __ StoreIntoObjectNoBarrier(R0, FieldAddress(R0, Context::parent_offset()),
+ __ InitializeFieldNoBarrier(R0, FieldAddress(R0, Context::parent_offset()),
R4);
// Initialize the context variables.
@@ -1127,7 +1127,7 @@
// Set the type arguments in the new object.
__ ldr(R4, Address(SP, 0));
FieldAddress type_args(R0, cls.type_arguments_field_offset());
- __ StoreIntoObjectNoBarrier(R0, type_args, R4);
+ __ InitializeFieldNoBarrier(R0, type_args, R4);
}
// Done allocating and initializing the instance.
« no previous file with comments | « runtime/vm/intrinsifier_arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698