Fix Issue 1234.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Mar 2011 11:21:38 +0000 (11:21 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Mar 2011 11:21:38 +0000 (11:21 +0000)
commit0c74af3d0faa3058e876df52f279c13b16b3f482
tree4d666558bfec07831a03ea3658673e37047de790
parentc3f9e1dee2e8c26ef8fbf83e3ed24bed3a543155
Fix Issue 1234.

Ensure that there is always enough bytes between consequtive calls in
unoptimized code to write a call instruction at the return points
without overlapping.

This handles the case where two return points were only four bytes
apart (because the latter call was to a register).

BUG=v8:1234

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7089 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/macro-assembler-ia32.cc
src/ia32/macro-assembler-ia32.h
src/safepoint-table.h
src/x64/assembler-x64.h
src/x64/lithium-codegen-x64.cc
src/x64/lithium-codegen-x64.h
src/x64/macro-assembler-x64.cc
src/x64/macro-assembler-x64.h