[turbofan] Fix lowering of typed loads/stores.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 2 Oct 2014 08:38:37 +0000 (08:38 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 2 Oct 2014 08:38:37 +0000 (08:38 +0000)
commit5899cc8ca7ef43c954ce15957acbf63ccfc66e36
treedb399e5523838ae0a28f81944d354351bc1bcf23
parent34bc5595e5bc1acfec32dedad3bfd0b9e4153b10
[turbofan] Fix lowering of typed loads/stores.

We can only access to external typed arrays; lowering of internal
typed arrays would require a map check plus eager deoptimization.
Also embed the array buffer reference directly instead of embedding
the typed array.

TEST=cctest,mjsunit,unittests
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24386 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
14 files changed:
src/compiler/access-builder.cc
src/compiler/js-typed-lowering.cc
src/compiler/simplified-operator.cc
src/compiler/simplified-operator.h
src/factory.cc
src/factory.h
src/handles.h
test/unittests/compiler/graph-unittest.cc
test/unittests/compiler/graph-unittest.h
test/unittests/compiler/js-builtin-reducer-unittest.cc
test/unittests/compiler/js-typed-lowering-unittest.cc [new file with mode: 0644]
test/unittests/test-utils.cc
test/unittests/test-utils.h
test/unittests/unittests.gyp