[turbofan] Remove the no-context hack for JSToNumber.
authorbmeurer <bmeurer@chromium.org>
Mon, 15 Dec 2014 11:14:03 +0000 (03:14 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Dec 2014 11:14:16 +0000 (11:14 +0000)
commitd211608a3eb7ef3da4d04fd4f5a8540dedbd1faa
treee38a8b0645eec63382cc09d84201286390b4284c
parent3c30f6e1f675a7249000ee21ee653ade64bf53bc
[turbofan] Remove the no-context hack for JSToNumber.

The ToNumberStub is now able to handle all plain primitives (Numbers,
Booleans, Null, Undefined and Strings) without context access.

TEST=cctest,mjsunit,unittests

Review URL: https://codereview.chromium.org/801333002

Cr-Commit-Position: refs/heads/master@{#25814}
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/compiler/js-generic-lowering.cc
src/compiler/js-generic-lowering.h
src/ia32/code-stubs-ia32.cc
src/x64/code-stubs-x64.cc