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

Unified Diff: runtime/vm/intrinsifier_arm.cc

Issue 1241863002: VM: Refactor allocation stats code and remove duplicate code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments 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/heap.cc ('k') | runtime/vm/pages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_arm.cc
diff --git a/runtime/vm/intrinsifier_arm.cc b/runtime/vm/intrinsifier_arm.cc
index 893352e82ef9dd3d5c42884b38ec31f095f3f52e..a5b73df24ba730c8197ddc1bd4755b115d109abd 100644
--- a/runtime/vm/intrinsifier_arm.cc
+++ b/runtime/vm/intrinsifier_arm.cc
@@ -274,7 +274,7 @@ void Intrinsifier::GrowableArray_add(Assembler* assembler) {
__ b(&init_loop, CC); \
__ str(R6, Address(R3, -2 * kWordSize), HI); \
\
- __ IncrementAllocationStatsWithSize(R4, R2, cid, space); \
+ __ IncrementAllocationStatsWithSize(R4, R2, space); \
__ Ret(); \
__ Bind(&fall_through); \
@@ -1827,7 +1827,7 @@ static void TryAllocateOnebyteString(Assembler* assembler,
FieldAddress(R0, String::hash_offset()),
TMP);
- __ IncrementAllocationStatsWithSize(R4, R2, cid, space);
+ __ IncrementAllocationStatsWithSize(R4, R2, space);
__ b(ok);
__ Bind(&fail);
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698