Revert accidental part of http://codereview.chromium.org/6123007/
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 12 Jan 2011 14:32:51 +0000 (14:32 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 12 Jan 2011 14:32:51 +0000 (14:32 +0000)
6281 that causes a performance regression.
Review URL: http://codereview.chromium.org/6106014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6287 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

SConstruct

index 866b250a55205e6d21e60e61be60628f7e7db20d..0f0877f252b6f6af19dd70c84c68f6f6f11aa65c 100644 (file)
@@ -72,6 +72,7 @@ ANDROID_FLAGS = ['-march=armv7-a',
                  '-fgcse-after-reload',
                  '-frerun-cse-after-loop',
                  '-frename-registers',
+                 '-fomit-frame-pointer',
                  '-finline-limit=64',
                  '-DCAN_USE_VFP_INSTRUCTIONS=1',
                  '-DCAN_USE_ARMV7_INSTRUCTIONS=1',
@@ -142,10 +143,10 @@ LIBRARY_FLAGS = {
       }
     },
     'mode:release': {
-      'CCFLAGS':      ['-O2', '-fdata-sections',
+      'CCFLAGS':      ['-O3', '-fomit-frame-pointer', '-fdata-sections',
                        '-ffunction-sections'],
       'os:android': {
-        'CCFLAGS':    ['-mthumb'],
+        'CCFLAGS':    ['-mthumb', '-Os'],
         'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
       }
     },