Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 1da808963564079376ceb6c31060476425286ed9..27835af6f33485a8eabfcb1de81eb0b60f4f0ae9 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -180,6 +180,10 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
Register scratch = t6; |
+ if (FLAG_track_allocation_sites) { |
+ masm->TestJSArrayForAllocationSiteInfo(a2, t0, fail); |
+ } |
+ |
// Check for empty arrays, which only require a map transition and no changes |
// to the backing store. |
__ lw(t0, FieldMemOperand(a2, JSObject::kElementsOffset)); |