Streamline JumpTarget::ComputeEntryFrame by removing the separate loop
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 May 2009 07:21:37 +0000 (07:21 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 May 2009 07:21:37 +0000 (07:21 +0000)
commit83f2c1968f3fffc7fdd1e7e5771c5ae4b1510d4e
treef60e4d6441b17f26e920dfbb98fe7e1566a477b3
parent87ebf987248999f80c5e324ea3bd2af487e26071
Streamline JumpTarget::ComputeEntryFrame by removing the separate loop
that sets the static type on elements in the entry frame.  Instead set
the static type as early as possible when computing elements.

Because the elements are shared with the reaching frames, this has the
side effect of sometimes changing the static type of reaching frame
elements.  They will be changed anyway in VirtualFrame::PrepareMergeTo
immediately after, so this is safe.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1928 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/jump-target.cc