Load elimination fix: load should not be replaced with another load if the former...
authorishell@chromium.org <ishell@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Jan 2014 12:03:32 +0000 (12:03 +0000)
committerishell@chromium.org <ishell@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Jan 2014 12:03:32 +0000 (12:03 +0000)
commit2aa17c6e62bc0ff9758408d639d467cda438d1bf
treec6589aadbf01b830a5a375f1b34b9fe0c7a41ccb
parentfd6996ffab3cd54342cebbde598c94b7edf26184
Load elimination fix: load should not be replaced with another load if the former is not dominated by the latter.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18985 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-load-elimination.cc
src/hydrogen.cc
src/hydrogen.h
test/mjsunit/compiler/load-elimination.js