Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: src/platform-win32.cc

Issue 173563: Use Arguments object in C builtins, instead of __argc__ and __argv__. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.cc ('k') | src/x64/frames-x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-win32.cc
===================================================================
--- src/platform-win32.cc (revision 2771)
+++ src/platform-win32.cc (working copy)
@@ -1317,8 +1317,11 @@
int OS::ActivationFrameAlignment() {
- // Floating point code runs faster if the stack is 8-byte aligned.
- return 8;
+#ifdef _WIN64
+ return 16; // C math library requires the stack to be 16-byte aligned.
Søren Thygesen Gjesse 2009/08/27 11:18:14 Is this only for math?
William Hesse 2009/08/27 11:26:12 I don't know.
Lasse Reichstein 2009/08/27 11:35:28 No, this is for all function calls in Win64. See h
+#else
+ return 8; // Floating-point math runs faster if stack is at least 8-byte aligned.
+#endif
}
« no previous file with comments | « src/builtins.cc ('k') | src/x64/frames-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698