| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index 45a968d6b0cdb8bbf0ef64b9056e25bd69e6a5ca..90e1738e102d3981265e80e546ee17300c1d11af 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -388,6 +388,7 @@ OS::MemCopyFunction CreateMemCopyFunction() {
|
|
|
| #define __ ACCESS_MASM(masm)
|
|
|
| +
|
| void ElementsTransitionGenerator::GenerateMapChangeElementsTransition(
|
| MacroAssembler* masm) {
|
| // ----------- S t a t e -------------
|
| @@ -420,6 +421,10 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| // -----------------------------------
|
| Label loop, entry, convert_hole, gc_required, only_change_map;
|
|
|
| + if (FLAG_track_allocation_sites) {
|
| + masm->TestJSArrayForAllocationSiteInfo(edx, edi, fail);
|
| + }
|
| +
|
| // Check for empty arrays, which only require a map transition and no changes
|
| // to the backing store.
|
| __ mov(edi, FieldOperand(edx, JSObject::kElementsOffset));
|
|
|