| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index 95eafaedb38cd3124308b6dceff6b3f34cf40934..6fcf0da4096052d4ba0ec7aedb8f911906f079d0 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -5478,26 +5478,26 @@ void MacroAssembler::ClampDoubleToUint8(Register result_reg,
|
| }
|
|
|
|
|
| -void MacroAssembler::TestJSArrayForAllocationSiteInfo(
|
| +void MacroAssembler::TestJSArrayForAllocationMemento(
|
| Register receiver_reg,
|
| Register scratch_reg,
|
| Condition cond,
|
| - Label* allocation_info_present) {
|
| - Label no_info_available;
|
| + Label* allocation_memento_present) {
|
| + Label no_memento_available;
|
| ExternalReference new_space_start =
|
| ExternalReference::new_space_start(isolate());
|
| ExternalReference new_space_allocation_top =
|
| ExternalReference::new_space_allocation_top_address(isolate());
|
| Addu(scratch_reg, receiver_reg,
|
| - Operand(JSArray::kSize + AllocationSiteInfo::kSize - kHeapObjectTag));
|
| - Branch(&no_info_available, lt, scratch_reg, Operand(new_space_start));
|
| + Operand(JSArray::kSize + AllocationMemento::kSize - kHeapObjectTag));
|
| + Branch(&no_memento_available, lt, scratch_reg, Operand(new_space_start));
|
| li(at, Operand(new_space_allocation_top));
|
| lw(at, MemOperand(at));
|
| - Branch(&no_info_available, gt, scratch_reg, Operand(at));
|
| - lw(scratch_reg, MemOperand(scratch_reg, -AllocationSiteInfo::kSize));
|
| - Branch(allocation_info_present, cond, scratch_reg,
|
| - Operand(Handle<Map>(isolate()->heap()->allocation_site_info_map())));
|
| - bind(&no_info_available);
|
| + Branch(&no_memento_available, gt, scratch_reg, Operand(at));
|
| + lw(scratch_reg, MemOperand(scratch_reg, -AllocationMemento::kSize));
|
| + Branch(allocation_memento_present, cond, scratch_reg,
|
| + Operand(Handle<Map>(isolate()->heap()->allocation_memento_map())));
|
| + bind(&no_memento_available);
|
| }
|
|
|
|
|
|
|