| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index cc7ef294478ed38144299b60f8cf2c8613d3ee4b..ac1a100622aebc32a5b1b346872ec3cd7166ef56 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -859,6 +859,16 @@ class MacroAssembler: public Assembler {
|
| // in eax. Assumes that any other register can be used as a scratch.
|
| void CheckEnumCache(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:
|
| bool generating_stub_;
|
| bool allow_stub_calls_;
|
|
|