A register allocation bugfix.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 8 May 2009 17:48:19 +0000 (17:48 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 8 May 2009 17:48:19 +0000 (17:48 +0000)
commit5fab2d08f289280effb38be9e343d0b22e8352b7
tree7e2efc714c578deb388fcd48a14e4f636d2f7952
parenta3b2c7cf550153eeebc77d0bfaa6eedc6e0052a1
A register allocation bugfix.

The function that prepares a virtual frame slot for writing (in order
to preserve the copy-on-write semantics of aliased frame elements) can
allocate registers, which may spill one from the frame.  If we're
unlucky, the spilled register can be the source register for the frame
element write.  In that case, ensure we do the write from memory.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/virtual-frame-ia32.cc