Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 2cd262418303724f5242ffbf51d4870261a382a1..206f68ab34df93aacc842ba8cde919981d48238b 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -3249,8 +3249,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. |