FYI.

http://codereview.chromium.org/598072/diff/4001/5003
File src/ia32/macro-assembler-ia32.cc (right):

http://codereview.chromium.org/598072/diff/4001/5003#newcode1155
src/ia32/macro-assembler-ia32.cc:1155:
call(FUNCTION_ADDR(ExternalReference(f).address()),
RelocInfo::RUNTIME_ENTRY);
Some ABIs (notably mac:
http://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Conceptual/LowLevelABI/000-Introduction/introduction.html)
require certain stack alignment before calling a C function. Exit frame
does align before calling. Technically it is not strictly required for
all functions, but in case a function uses SSE instructions or calls
something from the standard library the program will simply crash
without proper alignment.

http://codereview.chromium.org/598072

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to