Commit 60d83a78 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent 765a3804
...@@ -212,8 +212,8 @@ double OS::nan_value() { ...@@ -212,8 +212,8 @@ double OS::nan_value() {
int OS::ActivationFrameAlignment() { int OS::ActivationFrameAlignment() {
// No constraint on Linux. // Floating point code runs faster if the stack is 8-byte aligned.
return 0; return 8;
} }
......
...@@ -1298,8 +1298,8 @@ double OS::nan_value() { ...@@ -1298,8 +1298,8 @@ double OS::nan_value() {
int OS::ActivationFrameAlignment() { int OS::ActivationFrameAlignment() {
// No constraint on Windows. // Floating point code runs faster if the stack is 8-byte aligned.
return 0; return 8;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment