Add function literal variable to declaration list.
authormstarzinger <mstarzinger@chromium.org>
Mon, 20 Jul 2015 14:15:03 +0000 (07:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Jul 2015 14:15:14 +0000 (14:15 +0000)
commitce6d2241bcf4647315337b60f98dee3b07ac82bd
treeb2d48311cff6aef403e83676356dd7e268ff2222
parent37c2094e8c956e4ef816e7de1a2da9db78e5623d
Add function literal variable to declaration list.

This adds the implicit function variable for a function literal to the
declarations list in scope analysis, instead of specially handling it
throughout all back-ends.

R=rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29754}
13 files changed:
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/ast-numbering.cc
src/compiler/ast-graph-builder.cc
src/hydrogen.cc
src/ia32/full-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/mips64/full-codegen-mips64.cc
src/ppc/full-codegen-ppc.cc
src/scopes.h
src/typing.cc
src/x64/full-codegen-x64.cc
src/x87/full-codegen-x87.cc