Fix aliasing problem in inlined stores on x64 and ia32. The receiver
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jul 2010 11:55:03 +0000 (11:55 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jul 2010 11:55:03 +0000 (11:55 +0000)
commit79e332010a4ad190043c55b2dd8cb4ba66cececf
tree51e496ca10c0fdc19895a0f4b5d34e0d1f8c3d64
parente8c0a459a999a58cd80719a6733cab69d2e1db8d
Fix aliasing problem in inlined stores on x64 and ia32. The receiver
and the value can share a register. We need to remove this aliasing
before modifying the registers.

I haven't managed to generate a stand-alon test case for this
yet. I'll do that as a separate change. This was found while loading
Wave.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5127 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/codegen-ia32.cc
src/x64/codegen-x64.cc