Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 7954604e999160e9dff1f677855d5c8ad1f7213d..2f8e3b615ed1d03f898a5d2bb350fbc979d9a6c0 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -283,6 +283,10 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
// The fail label is not actually used since we do not allocate. |
Label allocated, new_backing_store, only_change_map, done; |
+ if (FLAG_track_allocation_sites) { |
+ masm->TestJSArrayForAllocationSiteInfo(rdx, rdi, fail); |
+ } |
+ |
// Check for empty arrays, which only require a map transition and no changes |
// to the backing store. |
__ movq(r8, FieldOperand(rdx, JSObject::kElementsOffset)); |