X87: [stubs] ToNumberStub --> ToNumber builtin.

port 406146ff5ca274265ee704d73a00c8a8127f75c6(r36870)

  original commit message:
  This makes sure we do not compile ToNumber stub on demand. This makes it
  easier to use during concurrent compilation.

BUG=

Review-Url: https://codereview.chromium.org/2088633003
Cr-Commit-Position: refs/heads/master@{#37125}
This commit is contained in:
zhengxing.li 2016-06-20 23:05:55 -07:00 committed by Commit bot
parent 2c70addcf2
commit f99c419b00

View File

@ -3211,7 +3211,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
}
// Convert old value into a number.
__ Call(masm->isolate()->builtins()->ToNumber(), RelocInfo::CODE_TARGET);
__ Call(isolate()->builtins()->ToNumber(), RelocInfo::CODE_TARGET);
PrepareForBailoutForId(expr->ToNumberId(), BailoutState::TOS_REGISTER);
// Save result for postfix expressions.