Simplify JumpTarget::ComputeEntryFrame. Eliminate a separate pass
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 May 2009 13:57:19 +0000 (13:57 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 May 2009 13:57:19 +0000 (13:57 +0000)
commitbcab3697f688dcc206eb190490c02643d1a0cac5
tree010b983a0a89fb932b75046ebaf8ebb9e1c06d0a
parent5fab2d08f289280effb38be9e343d0b22e8352b7
Simplify JumpTarget::ComputeEntryFrame.  Eliminate a separate pass
over the frame elements to find registers used (before allocating
undetermined elements) and another pass to set the frame's register
indices (after allocating all elements).
Review URL: http://codereview.chromium.org/114018

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1906 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/register-allocator-arm.cc
src/ia32/register-allocator-ia32.cc
src/jump-target.cc
src/register-allocator.h