[turbofan] Use FastNewClosureStub if possible.
authormstarzinger <mstarzinger@chromium.org>
Mon, 27 Apr 2015 09:08:20 +0000 (02:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 09:07:57 +0000 (09:07 +0000)
commita38f9dddd19a90039f0914b88ab37a3837a3c2f6
treea0f3f3b161eba44608ee1cb23fb9903fd0253d1a
parentaae4a62d07e839455b1d0ad4fa512cc5d48a1a68
[turbofan] Use FastNewClosureStub if possible.

This introduces a JSCreateClosure operator which can be lowered by the
typed pipeline to the aforementioned stub. It also allows for further
optimizations of closure creation.

R=titzer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28058}
12 files changed:
src/code-factory.cc
src/code-factory.h
src/compiler/ast-graph-builder.cc
src/compiler/js-generic-lowering.cc
src/compiler/js-operator.cc
src/compiler/js-operator.h
src/compiler/js-typed-lowering.cc
src/compiler/js-typed-lowering.h
src/compiler/opcodes.h
src/compiler/typer.cc
src/compiler/verifier.cc
test/unittests/compiler/js-typed-lowering-unittest.cc