Reviewers: Jakob,

Message:
PTAL

Description:
Enable whole program optimization for WIN64 to make build-bot green.

[email protected]
BUG=2207

Please review this at https://chromiumcodereview.appspot.com/10636055/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M build/common.gypi


Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index ae6b2a7de69b4aa420254c5e808e77efed7d19a6..f8327edd3085e5d6c704fcf5f8b8a3a55a5b2999 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -380,13 +380,16 @@
                 'FavorSizeOrSpeed': '0',
                 'OmitFramePointers': 'true',
                 'StringPooling': 'true',
-
                 'conditions': [
                   ['OS=="win" and component=="shared_library"', {
                     'RuntimeLibrary': '2',  #/MD
                   }, {
                     'RuntimeLibrary': '0',  #/MT
                   }],
+                  ['v8_target_arch=="x64"', {
+ # TODO(V8:2207): remove this option once the bug is fixed.
+                    'WholeProgramOptimization': 'true',
+                  }]
                 ],
               },
               'VCLinkerTool': {


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

Reply via email to