[runtime] DeclareGlobals and DeclareLookupSlot don't need context parameters.
authorbmeurer <bmeurer@chromium.org>
Thu, 30 Jul 2015 09:29:41 +0000 (02:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 09:30:00 +0000 (09:30 +0000)
commit5edd18fc2e78c29594c667b9cfae68c293862d14
treedad4982adc731ad635ca9a3ec82c91eb3098f14d
parent67efca8be6756422dd0a7a05807e6cbe458a1c1f
[runtime] DeclareGlobals and DeclareLookupSlot don't need context parameters.

All runtime function get a context anyway, which is the same as the
explicit one in case of DeclareGlobals and DeclareLookupSlot. So
we can remove the additional parameter there.

As an additional bonus, improve the runtime interface to DeclareLookupSlot.

R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29923}
19 files changed:
src/arm/lithium-codegen-arm.cc
src/arm64/lithium-codegen-arm64.cc
src/compiler/ast-graph-builder.cc
src/full-codegen/arm/full-codegen-arm.cc
src/full-codegen/arm64/full-codegen-arm64.cc
src/full-codegen/ia32/full-codegen-ia32.cc
src/full-codegen/mips/full-codegen-mips.cc
src/full-codegen/mips64/full-codegen-mips64.cc
src/full-codegen/ppc/full-codegen-ppc.cc
src/full-codegen/x64/full-codegen-x64.cc
src/full-codegen/x87/full-codegen-x87.cc
src/ia32/lithium-codegen-ia32.cc
src/mips/lithium-codegen-mips.cc
src/mips64/lithium-codegen-mips64.cc
src/ppc/lithium-codegen-ppc.cc
src/runtime/runtime-scopes.cc
src/runtime/runtime.h
src/x64/lithium-codegen-x64.cc
src/x87/lithium-codegen-x87.cc