Skip to content
  • oliver@apple.com's avatar
    Make CLoop easier to build, and make it work · 7c1eb76c
    oliver@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124359
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore:
    
    Add --cloop to build-jsc, build-webkit and friends.
    
    Also make CLoop build and work again - This meant adding a
    couple of missing ENABLE(DFG_JIT) blocks, and fixing a few
    other references.
    
    * Configurations/FeatureDefines.xcconfig:
    * bytecode/BytecodeLivenessAnalysis.cpp:
    (JSC::computeUsesForBytecodeOffset):
    (JSC::computeDefsForBytecodeOffset):
    * bytecode/DFGExitProfile.cpp:
    * dfg/DFGCapabilities.cpp:
    * dfg/DFGCompilationKey.cpp:
    * dfg/DFGCompilationMode.cpp:
    * jit/JITExceptions.cpp:
    (JSC::genericUnwind):
    
    Source/WebCore:
    
    Add cloop configuration info to WebCore FeatureDefines
    so that it's consistent with JSC
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WTF:
    
    Make building with the CLoop forcibly enabled manually
    disable the JITs
    
    * wtf/Platform.h:
    
    Tools:
    
    Add --cloop support to forcibly enable to CLoop build
    
    * Scripts/build-jsc:
    * Scripts/build-webkit:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7c1eb76c