Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 4aedce48e44e3e5efb5653438ace99ad58d64d28..1a37acaf464ab7a299c30e2d33875ad6daf17d8c 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1440,6 +1440,16 @@ class MacroAssembler: public Assembler { |
// in a0. 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, |