Bug 56784

Summary: JavaScriptCore GYP build should pass special compiler options to three files
Product: WebKit Reporter: Adam Barth <abarth>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: dglazkov, eric, gustavo, mrowe, thakis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 55018    

Description Adam Barth 2011-03-21 17:20:35 PDT
abarth@quadzen:~/git/webkit/Source/JavaScriptCore$ grep COMPILER_FLAGS JavaScriptCore.xcodeproj/project.pbxproj
               1429D7D40ED2128200B89619 /* Interpreter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1429D7D30ED2128200B89619 /* Interpreter.cpp */; settings = {COMPILER_FLAGS = "-fno-var-tracking"; }; };
               1C61516C0EBAC7A00031376F /* ProfilerServer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C61516A0EBAC7A00031376F /* ProfilerServer.mm */; settings = {COMPILER_FLAGS = "-fno-strict-aliasing"; }; };
               E1A862A90D7EBB76001EC6AA /* CollatorICU.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1A862A80D7EBB76001EC6AA /* CollatorICU.cpp */; settings = {COMPILER_FLAGS = "-fno-strict-aliasing"; }; };

Mark says these flags improve performance.  There's no direct support for adding these flags in GYP.  I'm talking with the GYP folks to see what the best solution is here.
Comment 1 Gustavo Noronha (kov) 2013-10-28 10:29:55 PDT
Obsolete