8-byte align C stack on Linux and Windows.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1496 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2009-03-12 10:20:32 +00:00
parent 765a3804a9
commit 60d83a789b
2 changed files with 4 additions and 4 deletions

View File

@ -212,8 +212,8 @@ double OS::nan_value() {
int OS::ActivationFrameAlignment() {
// No constraint on Linux.
return 0;
// Floating point code runs faster if the stack is 8-byte aligned.
return 8;
}

View File

@ -1298,8 +1298,8 @@ double OS::nan_value() {
int OS::ActivationFrameAlignment() {
// No constraint on Windows.
return 0;
// Floating point code runs faster if the stack is 8-byte aligned.
return 8;
}