-
mmassi@chromium.org authored
As a special case, for checks on index expressions with the form (expr + constant) if a smaller constant is checked later in the DT also eliminate the check. Finally, if a larger constant is checked later in the same BB do the more general check (larger constant) earlier instead of the less general one. This will not cause useless deoptimizations because, since we are in the same BB, all the checks would have been executed anyway. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10032029 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11437 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
93113da5