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

Unified Diff: src/arm/macro-assembler-arm.h

Issue 11663005: Adapt Danno's Track Allocation Info idea to fast literals. When allocating a literal array, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported to other platforms Created 7 years, 12 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: src/arm/macro-assembler-arm.h
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
index 454e64523b981955756c1dbf456cd85edfa841be..d364248a4cb0ea13b07b6cfddb768471a0ab9bd6 100644
--- a/src/arm/macro-assembler-arm.h
+++ b/src/arm/macro-assembler-arm.h
@@ -1309,6 +1309,13 @@ class MacroAssembler: public Assembler {
// in r0. Assumes that any other register can be used as a scratch.
void CheckEnumCache(Register null_value, Label* call_runtime);
+ // AllocationSiteInfo support. Arrays may have an associated
+ // AllocationSiteInfo object that can be checked for in order to pretransition
+ // to another type.
+ // On entry, r2 should point to the array object. r4 gets clobbered.
+ // If allocation info is present, jump to allocation_info_present
+ void PerformAllocationSiteInfoCheck(Label* allocation_info_present);
danno 2013/01/04 08:50:55 Pass the two registers that are used into this fun
mvstanton 2013/01/04 12:07:52 Done.
+
private:
void CallCFunctionHelper(Register function,
int num_reg_arguments,

Powered by Google App Engine
This is Rietveld 408576698