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..d1b94cd949f6ee13558deff1e1c74914cedd7093 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -1309,6 +1309,16 @@ 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, receiver_reg should point to the array object. |
+ // scratch_reg gets clobbered. |
+ // If allocation info is present, jump to allocation_info_present |
+ void TestJSArrayForAllocationSiteInfo(Register receiver_reg, |
+ Register scratch_reg, |
+ Label* allocation_info_present); |
+ |
private: |
void CallCFunctionHelper(Register function, |
int num_reg_arguments, |