Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 7353030f4ad730459a817b0e9bb54af2bd95707f..d3899cf7eb88e66cb093e2ad942208a4b1dd7b96 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3339,8 +3339,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. |