Ignore:
Timestamp:
Aug 23, 2013, 12:41:54 PM (12 years ago)
Author:
[email protected]
Message:

build-jsc --ftl-jit should work
https://bugs.webkit.org/show_bug.cgi?id=120194

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

  • Configurations/Base.xcconfig: CPPFLAGS should include FEATURE_DEFINES
  • Configurations/JSC.xcconfig: The 'jsc' tool includes headers where field layout may depend on FEATURE_DEFINES
  • Configurations/ToolExecutable.xcconfig: All other tools include headers where field layout may depend on FEATURE_DEFINES
  • ftl/FTLLowerDFGToLLVM.cpp: Build fix

(JSC::FTL::LowerDFGToLLVM::compilePutStructure):
(JSC::FTL::LowerDFGToLLVM::compilePhantomPutStructure):

Source/WTF:

  • wtf/LLVMHeaders.h: I don't know what went wrong here. If HAVE(LLVM), then we need those headers!

Tools:

  • Scripts/build-jsc: Need to pass the feature flag to xcodebuild
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/Configurations/Base.xcconfig

    r142903 r154509  
    4444GCC_OBJC_CALL_CXX_CDTORS = YES;
    4545GCC_PRECOMPILE_PREFIX_HEADER = YES;
    46 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_DTRACE=$(HAVE_DTRACE) WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST HAVE_HEADER_DETECTION_H $(GCC_PREPROCESSOR_DEFINITIONS);
     46GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_DTRACE=$(HAVE_DTRACE) WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST HAVE_HEADER_DETECTION_H $(FEATURE_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS);
    4747GCC_STRICT_ALIASING = YES;
    4848GCC_THREADSAFE_STATICS = NO;
Note: See TracChangeset for help on using the changeset viewer.