[runtime] Simplify TO_INT32/TO_UINT32 abstract operations.
authorbmeurer <bmeurer@chromium.org>
Mon, 10 Aug 2015 04:54:20 +0000 (21:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 10 Aug 2015 04:54:38 +0000 (04:54 +0000)
commit3cc7adc7c4c12d3b054f904359a170b4a5ad43b4
tree05f2b347d168a5edbcab443a9f0f4b76732cc20a
parent1e65e201894791c3bf8473728021f0e548a0543b
[runtime] Simplify TO_INT32/TO_UINT32 abstract operations.

No need to provide TO_INT32/TO_UINT32 functions for every native
context, as they can be implemented in terms of TO_NUMBER more easily
and efficiently.

Also remove the obsolete TO_BOOLEAN_FUN_INDEX from the native contexts.

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

Cr-Commit-Position: refs/heads/master@{#30080}
include/v8.h
src/array.js
src/bootstrapper.cc
src/contexts.h
src/execution.cc
src/harmony-atomics.js
src/macros.py
src/runtime.js
src/runtime/runtime-numbers.cc
src/runtime/runtime.h
src/v8natives.js