Merged r13891 into 3.16 branch.

Fixed register allocation corner case.

BUG=177883

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/3.16@13981 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r13946 into 3.16 branch.

Fixed two register allocator bugs (off-by-one error/failure propagation).

BUG=v8:2576

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/3.16@13983 ce2b1a6d-e550-0410-aec6-3dcde31c8c00