[turbofan] Materialize JSFunction from frame if possible.
authorbmeurer <bmeurer@chromium.org>
Thu, 9 Apr 2015 07:41:06 +0000 (00:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 07:41:13 +0000 (07:41 +0000)
commit725cdc533cb4e31c042d32ce1979012b5bd99ced
treefbf9563af102475b01422b06ff1f3c6b20cd1c99
parenteacb0de8171a4a7538ca57ca30859802e5f7b35b
[turbofan] Materialize JSFunction from frame if possible.

This reduces the overhead of recursive calls when context specialization
is enabled. Based on this it might be possible to further reduce the
overhead by also specializing the call itself.

As a drive-by-fix, port the fast context materialization optimization to
arm and arm64, that was previously only supported on x64 and ia32.

R=svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27686}
src/compiler/arm/code-generator-arm.cc
src/compiler/arm64/code-generator-arm64.cc
src/compiler/ia32/code-generator-ia32.cc
src/compiler/x64/code-generator-x64.cc