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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 1213013002: Update Assembler::TryAllocate to support inline allocation tracing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/profiler_test.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
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc
index c04809d2ace2d061ba5d7035b141b5c2d80aebab..55db0abd338d1124619cd4d3b1c940a638c564d2 100644
--- a/runtime/vm/stub_code_arm.cc
+++ b/runtime/vm/stub_code_arm.cc
@@ -678,7 +678,7 @@ void StubCode::GeneratePatchableAllocateArrayStub(Assembler* assembler,
// Successfully allocated the object(s), now update top to point to
// next object start and initialize the object.
- __ LoadAllocationStatsAddress(R3, cid, space);
+ __ LoadAllocationStatsAddress(R3, cid);
__ str(R7, Address(R6, 0));
__ add(R0, R0, Operand(kHeapObjectTag));
@@ -913,7 +913,7 @@ void StubCode::GenerateAllocateContextStub(Assembler* assembler) {
// R2: object size.
// R3: next object start.
// R5: top address.
- __ LoadAllocationStatsAddress(R6, cid, space);
+ __ LoadAllocationStatsAddress(R6, cid);
__ str(R3, Address(R5, 0));
__ add(R0, R0, Operand(kHeapObjectTag));
@@ -1108,7 +1108,7 @@ void StubCode::GenerateAllocationStubForClass(
// Load the address of the allocation stats table. We split up the load
// and the increment so that the dependent load is not too nearby.
- __ LoadAllocationStatsAddress(R5, cls.id(), space);
+ __ LoadAllocationStatsAddress(R5, cls.id());
// R0: new object start.
// R1: next object start.
« no previous file with comments | « runtime/vm/profiler_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698