Skip to content
  • mark.lam@apple.com's avatar
    C Loop LLINT layout test regressions. · f6c72967
    mark.lam@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=125314.
    
    Reviewed by Geoffrey Garen.
    
    The regression was due to the ENABLE_LLINT_C_LOOP flag not being included
    in the build of the WebKit and WebKit2 components. As a result, some fields
    in JSC::VM were ifdef'ed out in WebCore and JSC, but not in WebKit and
    WebKit2. This resulted in VM::m_initializingObjectClass having 2 different
    offsets depending on whether it is accessed from WebCore and JSC or from
    WebKit and WebKit2, and chaos ensued.
    
    This issue will manifest when we pass --cloop to build-webkit.
    The fix is simply to add ENABLE_LLINT_C_LOOP to FEATURE_DEFINES for WebKit
    and WebKit2.
    
    Source/WebKit/mac: 
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit2: 
    
    * Configurations/FeatureDefines.xcconfig:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f6c72967