Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 08cf50acd8bf5b9d06ce9865ca52fb526b5c938b..91ef5ce29901c961bee62d3f544bb69ac12f1f7c 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3329,8 +3329,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
} |
// Convert old value into a number. |
- ToNumberStub convert_stub(isolate()); |
- __ CallStub(&convert_stub); |
+ __ Call(isolate()->builtins()->ToNumber(), RelocInfo::CODE_TARGET); |
PrepareForBailoutForId(expr->ToNumberId(), BailoutState::TOS_REGISTER); |
// Save result for postfix expressions. |