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

Unified Diff: runtime/vm/assembler_x64.h

Issue 346823003: VM: Optimized context allocation on all platforms. (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
Index: runtime/vm/assembler_x64.h
===================================================================
--- runtime/vm/assembler_x64.h (revision 38897)
+++ runtime/vm/assembler_x64.h (working copy)
@@ -861,6 +861,9 @@
void UpdateAllocationStatsWithSize(intptr_t cid,
Register size_reg,
Heap::Space space = Heap::kNew);
+ void UpdateAllocationStatsWithSize(intptr_t cid,
+ intptr_t instance_size,
+ Heap::Space space = Heap::kNew);
// Inlined allocation of an instance of class 'cls', code has no runtime
// calls. Jump to 'failure' if the instance cannot be allocated here.
@@ -874,6 +877,13 @@
Register instance_reg,
Register pp);
+ void TryAllocateArray(intptr_t cid,
+ intptr_t instance_size,
+ Label* failure,
+ bool near_jump,
+ Register instance,
+ Register end_address);
+
// Debugging and bringup support.
void Stop(const char* message);
void Unimplemented(const char* message);
@@ -1021,6 +1031,10 @@
Register value,
Label* no_update);
+ void ComputeCounterAddressesForCid(intptr_t cid,
+ Heap::Space space,
+ Address* count_address,
+ Address* size_address);
DISALLOW_ALLOCATION();
DISALLOW_COPY_AND_ASSIGN(Assembler);
};

Powered by Google App Engine
This is Rietveld 408576698