| Index: src/x64/macro-assembler-x64.h
|
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
|
| index 96f6a460a47e10b52498e93ac73c74e40a15ffec..765aaad59534351d37ac8e23e2d3e54a31ba0b7c 100644
|
| --- a/src/x64/macro-assembler-x64.h
|
| +++ b/src/x64/macro-assembler-x64.h
|
| @@ -1315,6 +1315,16 @@ class MacroAssembler: public Assembler {
|
| 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:
|
| // Order general registers are pushed by Pushad.
|
| // rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15.
|
|
|