Deployment builds now use -O2
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2006 04:16:26 +0000 (04:16 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2006 04:16:26 +0000 (04:16 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/khtml/html/htmltokenizer.cpp
WebKit/ChangeLog
WebKit/WebKit.xcodeproj/project.pbxproj

index c3f8030..5171be1 100644 (file)
@@ -1,3 +1,11 @@
+2006-01-17  Justin Garcia  <justin.garcia@apple.com>
+
+        Reviewed by eric
+        
+        Deployment builds now use -O2
+
+        * JavaScriptCore.xcodeproj/project.pbxproj:
+
 2006-01-17  Darin Adler  <darin@apple.com>
 
         Reviewed by Anders.
index b91305f..ec947bd 100644 (file)
                933A3499038AE7C6008635CE /* grammar.y */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.yacc; path = grammar.y; sourceTree = "<group>"; tabWidth = 8; };
                933A349A038AE7C6008635CE /* identifier.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = identifier.h; sourceTree = "<group>"; tabWidth = 8; };
                933A349D038AE80F008635CE /* identifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = identifier.cpp; sourceTree = "<group>"; tabWidth = 8; };
-               935F69F608244FEA003D1A45 /* dftables */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dftables; sourceTree = BUILT_PRODUCTS_DIR; };
+               935F69F608244FEA003D1A45 /* dftables */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = dftables; sourceTree = BUILT_PRODUCTS_DIR; };
                9364B273045B7D6C00A9CAC1 /* fpconst.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fpconst.cpp; sourceTree = "<group>"; tabWidth = 8; };
                9373524E038DA8C2008635CE /* context.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = context.h; sourceTree = "<group>"; tabWidth = 8; };
                9374D3A7038D9D74008635CE /* scope_chain.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = scope_chain.h; sourceTree = "<group>"; tabWidth = 8; };
                                GCC_ENABLE_OBJC_GC = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
-                               GCC_OPTIMIZATION_LEVEL = s;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = JavaScriptCorePrefix.h;
                                GCC_PREPROCESSOR_DEFINITIONS = "$(DEBUG_DEFINES)";
                                GCC_ENABLE_OBJC_GC = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
-                               GCC_OPTIMIZATION_LEVEL = s;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_STRICT_ALIASING = YES;
                                GCC_THREADSAFE_STATICS = NO;
                        };
index 1734b4b..a0ef206 100644 (file)
@@ -1,3 +1,13 @@
+2006-01-17  Justin Garcia  <justin.garcia@apple.com>
+
+        Reviewed by eric
+        
+        Deployment builds now use -O2
+
+        * WebCore.xcodeproj/project.pbxproj:
+        * khtml/html/htmltokenizer.cpp: Turned off inlining to fix
+        link error.
+
 2006-01-17  David Hyatt  <hyatt@apple.com>
        
         Move khtml/rendering to WebCore/rendering.
index ec61aa1..91f23b5 100644 (file)
                                GCC_ENABLE_OBJC_GC = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
-                               GCC_OPTIMIZATION_LEVEL = s;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = WebCorePrefix.h;
                                GCC_PREPROCESSOR_DEFINITIONS = (
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_THREADSAFE_STATICS = NO;
                        };
                        name = Deployment;
                                GCC_ENABLE_OBJC_GC = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
-                               GCC_OPTIMIZATION_LEVEL = s;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = WebCorePrefix.h;
                                GCC_PREPROCESSOR_DEFINITIONS = "$(DEBUG_DEFINES)";
index 3063696..775c6ac 100644 (file)
@@ -59,7 +59,11 @@ using namespace DOM::EventNames;
 
 using namespace DOM;
 
+// turn off inlining to allow proper linking on newer gcc (xmltokenizer.cpp also uses findEntity())
+#undef __inline
+#define __inline
 #include "kentities.c"
+#undef __inline
 
 // #define INSTRUMENT_LAYOUT_SCHEDULING 1
 
index abd823e..211702d 100644 (file)
@@ -1,3 +1,11 @@
+2006-01-17  Justin Garcia  <justin.garcia@apple.com>
+
+        Reviewed by eric
+        
+        Deployment builds now use -O2
+
+        * WebKit.xcodeproj/project.pbxproj:
+
 2006-01-17  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Darin.
index afab72b..afc0386 100644 (file)
                                GCC_C_LANGUAGE_STANDARD = gnu99;
                                GCC_ENABLE_OBJC_GC = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
-                               GCC_OPTIMIZATION_LEVEL = s;
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = WebKitPrefix.h;
                                GCC_PREPROCESSOR_DEFINITIONS = (
                149C283308902B0F008A9EFC /* Development */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               GCC_OPTIMIZATION_LEVEL = 2;
                                GCC_THREADSAFE_STATICS = NO;
                                PER_CONFIGURATION_PREPROCESSOR_DEFINES = ENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH;
                        };