[turbofan] Eliminate typed array bounds checks if both key and length are constant.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Fri, 17 Oct 2014 09:35:45 +0000 (09:35 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Fri, 17 Oct 2014 09:35:45 +0000 (09:35 +0000)
commita77915026062ce48cf02c046092c761fbf83356c
tree771957383d4f98578d4f235a630b005ebca47659
parent2c6b3f5b81315da5e215848515e0069af321d1b2
[turbofan] Eliminate typed array bounds checks if both key and length are constant.

TEST=mjsunit,unittests
R=dcarney@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/node-matchers.h
src/compiler/pipeline.cc
src/compiler/simplified-operator-reducer.cc
src/compiler/simplified-operator-reducer.h
test/mjsunit/asm/int32array-constant-key.js [new file with mode: 0644]
test/unittests/compiler/simplified-operator-reducer-unittest.cc