| Index: src/arm/codegen-arm.cc
|
| diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc
|
| index 3f1791c394efd50fcf7a15b56215182d9b8ae3ac..a6c6a1a1737692210eb1f6c9829a6dbfae119b77 100644
|
| --- a/src/arm/codegen-arm.cc
|
| +++ b/src/arm/codegen-arm.cc
|
| @@ -179,6 +179,10 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| Label loop, entry, convert_hole, gc_required, only_change_map, done;
|
| bool vfp2_supported = CpuFeatures::IsSupported(VFP2);
|
|
|
| + if (FLAG_use_allocation_site_info) {
|
| + masm->PerformAllocationSiteInfoCheck(fail);
|
| + }
|
| +
|
| // Check for empty arrays, which only require a map transition and no changes
|
| // to the backing store.
|
| __ ldr(r4, FieldMemOperand(r2, JSObject::kElementsOffset));
|
| @@ -315,6 +319,11 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| // -----------------------------------
|
| Label entry, loop, convert_hole, gc_required, only_change_map;
|
|
|
| + // TODO(mvstanton): don't pretransition double to object
|
| + // if (FLAG_use_allocation_site_info) {
|
| + // masm->PerformAllocationSiteInfoCheck(fail);
|
| + // }
|
| +
|
| // Check for empty arrays, which only require a map transition and no changes
|
| // to the backing store.
|
| __ ldr(r4, FieldMemOperand(r2, JSObject::kElementsOffset));
|
|
|