Fix issue 962.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 10 Dec 2010 14:25:10 +0000 (14:25 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 10 Dec 2010 14:25:10 +0000 (14:25 +0000)
commit65f98b1e7acdd8ba70a599ca38b7a9d1b7193d33
tree2da9d3cf87a55ecadd2445276c14f972c4eed05b
parent38343f79fa6833c775a29e38ec414399e0e54b28
Fix issue 962.

SplitBetween (formely known as Split with 3 arguments) should select split position from [start, end] instead of [start, end[. This should also improve allocation quality (remove certain redundant move patterns).

Also some minor renaming and refactoring to make register allocator code more readable.

BUG=v8:962
TEST=test/mjsunit/regress/regress-962.js

Review URL: http://codereview.chromium.org/5720001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5969 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/lithium-allocator.cc
src/lithium-allocator.h
test/mjsunit/regress/regress-962.js [new file with mode: 0644]