[turbofan] Optimized lowering of DYNAMIC_GLOBAL lookup slot loads.
authormstarzinger <mstarzinger@chromium.org>
Tue, 2 Jun 2015 09:37:49 +0000 (02:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 09:37:59 +0000 (09:37 +0000)
commit440d099c5c2511836ba1b0be4823cd822b2e147f
treed0e9028c6364bcd83a0d41b2dc3c3b1bc7cff7aa
parent450002f3a105d4bb17fd3b1a9d9d54464c01d200
[turbofan] Optimized lowering of DYNAMIC_GLOBAL lookup slot loads.

This adds handling of JSLoadDynamicGlobal nodes to JSTypedLowering to
perform extension checks and an inline fast path. The fast path is a
global variable load from the global object.

R=bmeurer@chromium.org
BUG=v8:4131
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28750}
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/operator-properties.cc
test/unittests/compiler/js-typed-lowering-unittest.cc
test/unittests/compiler/node-test-utils.cc
test/unittests/compiler/node-test-utils.h