Fix a bug in the register allocator.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Nov 2011 14:14:49 +0000 (14:14 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Nov 2011 14:14:49 +0000 (14:14 +0000)
commit552f800d4625041d77b542d52db33144099d6e5b
treefc025e024fbc403719ecc61c7e43e6115823661d
parent5ccdb3b6927fb37be56b1901eb592e854a45776c
Fix a bug in the register allocator.

Avoid spilling a live range that has a register use at the next instruction.
The register use position has to be after the end of the next instruction so
that we don't end up trying to split a live range at the beginning.

BUG=105112
Review URL: http://codereview.chromium.org/8743011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/lithium-allocator.cc