Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 2146a0e8eb1930450e6412113bb483190aa66da4..2ef421bcf40cc5cbec321a94fa7d80da0158be04 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -156,8 +156,8 @@ void ElementsTransitionGenerator::GenerateMapChangeElementsTransition( |
// ----------------------------------- |
if (mode == TRACK_ALLOCATION_SITE) { |
ASSERT(allocation_site_info_found != NULL); |
- masm->TestJSArrayForAllocationSiteInfo(r2, r4, |
- allocation_site_info_found); |
+ __ TestJSArrayForAllocationSiteInfo(r2, r4); |
+ __ b(eq, allocation_site_info_found); |
} |
// Set transitioned map. |
@@ -187,7 +187,8 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
bool vfp2_supported = CpuFeatures::IsSupported(VFP2); |
if (mode == TRACK_ALLOCATION_SITE) { |
- masm->TestJSArrayForAllocationSiteInfo(r2, r4, fail); |
+ __ TestJSArrayForAllocationSiteInfo(r2, r4); |
+ __ b(eq, fail); |
} |
// Check for empty arrays, which only require a map transition and no changes |
@@ -327,7 +328,8 @@ void ElementsTransitionGenerator::GenerateDoubleToObject( |
Label entry, loop, convert_hole, gc_required, only_change_map; |
if (mode == TRACK_ALLOCATION_SITE) { |
- masm->TestJSArrayForAllocationSiteInfo(r2, r4, fail); |
+ __ TestJSArrayForAllocationSiteInfo(r2, r4); |
+ __ b(eq, fail); |
} |
// Check for empty arrays, which only require a map transition and no changes |