Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index aa35e49f605a0aa32761336ce4792cb660afe1eb..6fb4c8a9baceb087ffc03dbcda57f32361f2c571 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3230,8 +3230,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. |