Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 3cbdaca6fd0585736ca9d869f1551859e7fe6d78..4c6c037dd8c22f149b4fc842d12a0991f8d0d0b3 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -3217,8 +3217,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. |