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

Unified Diff: runtime/vm/intrinsifier_arm64.cc

Issue 478653002: Fix bugs from my last CL in intrinsics code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_arm64.cc
===================================================================
--- runtime/vm/intrinsifier_arm64.cc (revision 39288)
+++ runtime/vm/intrinsifier_arm64.cc (working copy)
@@ -146,7 +146,7 @@
// Try allocating in new space.
const Class& cls = Class::Handle(
Isolate::Current()->object_store()->growable_object_array_class());
- __ TryAllocate(cls, &fall_through, R0, R1, PP);
+ __ TryAllocate(cls, &fall_through, R0, R1, kNoPP);
// Store backing array object in growable array object.
__ ldr(R1, Address(SP, kArrayOffset)); // Data argument.
@@ -167,7 +167,6 @@
// Set the length field in the growable array object to 0.
__ LoadImmediate(R1, 0, kNoPP);
__ str(R1, FieldAddress(R0, GrowableObjectArray::length_offset()));
- __ UpdateAllocationStats(kGrowableObjectArrayCid, kNoPP);
__ ret(); // Returns the newly allocated object in R0.
__ Bind(&fall_through);
« no previous file with comments | « runtime/vm/intrinsifier_arm.cc ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698