When merging a frame to an expected on at block entry, the static type
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 22 Apr 2009 13:19:38 +0000 (13:19 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 22 Apr 2009 13:19:38 +0000 (13:19 +0000)
commitb39f4383dcf98274a459df4d61c97e51dc42e616
tree0f4716817548b43a142f4909b3b0aa6f78cd2220
parent344d68a938e34085b34c68d6bec666d377245e31
When merging a frame to an expected on at block entry, the static type
of elements is set to a safe lower bound.  Move the setting of the
static type out of VirtualFrame::MergeTo (which is not necessarily run
for all frames) and into VirtualFrame::PrepareMergeTo (which is).
Review URL: http://codereview.chromium.org/92009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/virtual-frame-ia32.cc
src/virtual-frame.cc
test/mjsunit/regress/regress-318.js [new file with mode: 0644]