Loads and stores to global vars are now made via property cell shortcuts installed...
authorishell <ishell@chromium.org>
Mon, 13 Jul 2015 09:18:44 +0000 (02:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Jul 2015 09:18:57 +0000 (09:18 +0000)
commitf87286e2db5b302ecd8331ccd13b1d3859b8bef5
tree867f11aad2a53ee0d79c85c25d792941f567724d
parenta0129a25ba2f4d00138887cb2008d5b76e2b0068
Loads and stores to global vars are now made via property cell shortcuts installed into parent script context.

This CL also adds hydrogen stubs for global loads and global stores, full-codegen and TurboFan now uses this machinery.

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

Cr-Commit-Position: refs/heads/master@{#29592}
40 files changed:
src/arm/full-codegen-arm.cc
src/arm/interface-descriptors-arm.cc
src/arm64/full-codegen-arm64.cc
src/arm64/interface-descriptors-arm64.cc
src/ast.cc
src/ast.h
src/code-factory.cc
src/code-factory.h
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/compiler/ast-graph-builder.cc
src/compiler/ast-graph-builder.h
src/compiler/js-generic-lowering.cc
src/compiler/js-operator.cc
src/compiler/js-operator.h
src/compiler/js-typed-lowering.cc
src/flag-definitions.h
src/hydrogen-instructions.h
src/hydrogen.cc
src/hydrogen.h
src/ia32/full-codegen-ia32.cc
src/ia32/interface-descriptors-ia32.cc
src/interface-descriptors.cc
src/interface-descriptors.h
src/mips/full-codegen-mips.cc
src/mips/interface-descriptors-mips.cc
src/mips64/full-codegen-mips64.cc
src/mips64/interface-descriptors-mips64.cc
src/ppc/full-codegen-ppc.cc
src/ppc/interface-descriptors-ppc.cc
src/runtime/runtime-object.cc
src/runtime/runtime.h
src/scopes.cc
src/x64/full-codegen-x64.cc
src/x64/interface-descriptors-x64.cc
src/x87/full-codegen-x87.cc
src/x87/interface-descriptors-x87.cc
test/unittests/compiler/js-type-feedback-unittest.cc
test/unittests/compiler/js-typed-lowering-unittest.cc