Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index b8124910be1a38a1dcc24f7863c892c5984439fb..1d1e73347dfb16e1e53dbcabe1ca31f14d2067c1 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2009 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -105,7 +105,8 @@ uint64_t OS::CpuFeaturesImpliedByPlatform() { |
int OS::ActivationFrameAlignment() { |
- return STACK_ALIGN; |
+ // GCC generate code that requires 16 byte alignment such as movdqa. |
Rico
2011/06/28 07:06:17
GCC generates
|
+ return Max(STACK_ALIGN, 16); |
} |