Unreviewed, rolling out r154804.
[WebKit-https.git] / Source / JavaScriptCore / Target.pri
index 74c56fb..71a2f9e 100644 (file)
@@ -81,6 +81,7 @@ SOURCES += \
     bytecode/Watchpoint.cpp \
     bytecompiler/BytecodeGenerator.cpp \
     bytecompiler/NodesCodegen.cpp \
+    heap/CopiedSpaceInlines.h \
     heap/CopiedSpace.cpp \
     heap/CopyVisitor.cpp \
     heap/ConservativeRoots.cpp \
@@ -111,33 +112,60 @@ SOURCES += \
     debugger/DebuggerActivation.cpp \
     debugger/DebuggerCallFrame.cpp \
     debugger/Debugger.cpp \
+    dfg/DFGAbstractHeap.cpp \
+    dfg/DFGAbstractValue.cpp \
     dfg/DFGArgumentsSimplificationPhase.cpp \
     dfg/DFGArrayMode.cpp \
     dfg/DFGAssemblyHelpers.cpp \
+    dfg/DFGAtTailAbstractState.cpp \
     dfg/DFGBackwardsPropagationPhase.cpp \
+    dfg/DFGBasicBlock.cpp \
+    dfg/DFGBinarySwitch.cpp \
+    dfg/DFGBlockInsertionSet.cpp \
     dfg/DFGByteCodeParser.cpp \
     dfg/DFGCapabilities.cpp \
+    dfg/DFGClobberize.cpp \
+    dfg/DFGClobberSet.cpp \
     dfg/DFGCommon.cpp \
     dfg/DFGCommonData.cpp \
     dfg/DFGCFAPhase.cpp \
     dfg/DFGCFGSimplificationPhase.cpp \
     dfg/DFGCPSRethreadingPhase.cpp \
     dfg/DFGConstantFoldingPhase.cpp \
+    dfg/DFGCriticalEdgeBreakingPhase.cpp \
     dfg/DFGCSEPhase.cpp \
     dfg/DFGDCEPhase.cpp \
+    dfg/DFGDesiredIdentifiers.cpp \
+    dfg/DFGDesiredStructureChains.cpp \
+    dfg/DFGDesiredTransitions.cpp \
+    dfg/DFGDesiredWatchpoints.cpp \
+    dfg/DFGDesiredWeakReferences.cpp \
+    dfg/DFGDesiredWriteBarriers.cpp \
     dfg/DFGDisassembler.cpp \
     dfg/DFGDominators.cpp \
     dfg/DFGDriver.cpp \
     dfg/DFGEdge.cpp \
+    dfg/DFGFailedFinalizer.cpp \
+    dfg/DFGFinalizer.cpp \
     dfg/DFGFixupPhase.cpp \
+    dfg/DFGFlushFormat.cpp \
+    dfg/DFGFlushLivenessAnalysisPhase.cpp \
     dfg/DFGGraph.cpp \
+    dfg/DFGInPlaceAbstractState.cpp \
     dfg/DFGJITCode.cpp \
     dfg/DFGJITCompiler.cpp \
+    dfg/DFGJITFinalizer.cpp \
+    dfg/DFGLICMPhase.cpp \
+    dfg/DFGLazyJSValue.cpp \
+    dfg/DFGLivenessAnalysisPhase.cpp \
     dfg/DFGLongLivedState.cpp \
+    dfg/DFGLoopPreHeaderCreationPhase.cpp \
     dfg/DFGMinifiedNode.cpp \
+    dfg/DFGNaturalLoops.cpp \
     dfg/DFGNode.cpp \
     dfg/DFGNodeFlags.cpp \
     dfg/DFGOperations.cpp \
+    dfg/DFGOSRAvailabilityAnalysisPhase.cpp \
     dfg/DFGOSREntry.cpp \
     dfg/DFGOSRExit.cpp \
     dfg/DFGOSRExitBase.cpp \
@@ -148,9 +176,11 @@ SOURCES += \
     dfg/DFGOSRExitJumpPlaceholder.cpp \
     dfg/DFGOSRExitPreparation.cpp \
     dfg/DFGPhase.cpp \
+    dfg/DFGPlan.cpp \
     dfg/DFGPredictionPropagationPhase.cpp \
     dfg/DFGPredictionInjectionPhase.cpp \
     dfg/DFGRepatch.cpp \
+    dfg/DFGSSAConversionPhase.cpp \
     dfg/DFGSpeculativeJIT.cpp \
     dfg/DFGSpeculativeJIT32_64.cpp \
     dfg/DFGSpeculativeJIT64.cpp \
@@ -164,6 +194,7 @@ SOURCES += \
     dfg/DFGVariableEventStream.cpp \
     dfg/DFGValidate.cpp \
     dfg/DFGVirtualRegisterAllocationPhase.cpp \
+    dfg/DFGWorklist.cpp \
     disassembler/Disassembler.cpp \
     interpreter/AbstractPC.cpp \
     interpreter/CallFrame.cpp \
@@ -203,6 +234,7 @@ SOURCES += \
     parser/Nodes.cpp \
     parser/ParserArena.cpp \
     parser/Parser.cpp \
+    parser/SourceCode.cpp \
     parser/SourceProvider.cpp \
     parser/SourceProviderCache.cpp \
     profiler/ProfilerBytecode.cpp \
@@ -232,6 +264,8 @@ SOURCES += \
     profiler/LegacyProfiler.cpp \
     runtime/ArgList.cpp \
     runtime/Arguments.cpp \
+    runtime/ArrayBuffer.cpp \
+    runtime/ArrayBufferView.cpp \
     runtime/ArrayConstructor.cpp \
     runtime/ArrayPrototype.cpp \
     runtime/BooleanConstructor.cpp \
@@ -241,14 +275,19 @@ SOURCES += \
     runtime/CodeCache.cpp \
     runtime/CodeSpecializationKind.cpp \
     runtime/CommonIdentifiers.cpp \
+    runtime/CommonSlowPaths.cpp \
+    runtime/CommonSlowPathsExceptions.cpp \
+    runtime/CompilationResult.cpp \
     runtime/Completion.cpp \
     runtime/ConstructData.cpp \
+    runtime/DataView.cpp \
     runtime/DateConstructor.cpp \
     runtime/DateConversion.cpp \
     runtime/DateInstance.cpp \
     runtime/DatePrototype.cpp \
-    runtime/ErrorConstructor.cpp \
+    runtime/DumpContext.cpp \
     runtime/Error.cpp \
+    runtime/ErrorConstructor.cpp \
     runtime/ErrorInstance.cpp \
     runtime/ErrorPrototype.cpp \
     runtime/ExceptionHelpers.cpp \
@@ -258,36 +297,51 @@ SOURCES += \
     runtime/FunctionPrototype.cpp \
     runtime/GCActivityCallback.cpp \
     runtime/GetterSetter.cpp \
-    runtime/Options.cpp \
     runtime/Identifier.cpp \
     runtime/IndexingType.cpp \
     runtime/InitializeThreading.cpp \
+    runtime/IntendedStructureChain.cpp \
     runtime/InternalFunction.cpp \
-    runtime/JSActivation.cpp \
     runtime/JSAPIValueWrapper.cpp \
+    runtime/JSActivation.cpp \
     runtime/JSArray.cpp \
+    runtime/JSArrayBuffer.cpp \
+    runtime/JSArrayBufferConstructor.cpp \
+    runtime/JSArrayBufferPrototype.cpp \
+    runtime/JSArrayBufferView.cpp \
+    runtime/JSBoundFunction.cpp \
+    runtime/JSCJSValue.cpp \
     runtime/JSCell.cpp \
+    runtime/JSDataView.cpp \
+    runtime/JSDataViewPrototype.cpp \
     runtime/JSDateMath.cpp \
     runtime/JSFunction.cpp \
-    runtime/JSBoundFunction.cpp \
-    runtime/VM.cpp \
     runtime/JSGlobalObject.cpp \
     runtime/JSGlobalObjectFunctions.cpp \
-    runtime/JSProxy.cpp \
     runtime/JSLock.cpp \
+    runtime/JSNameScope.cpp \
     runtime/JSNotAnObject.cpp \
-    runtime/JSObject.cpp \
     runtime/JSONObject.cpp \
+    runtime/JSObject.cpp \
+    runtime/JSPromise.cpp \
+    runtime/JSPromiseCallback.cpp \
+    runtime/JSPromiseConstructor.cpp \
+    runtime/JSPromisePrototype.cpp \
+    runtime/JSPromiseResolver.cpp \
+    runtime/JSPromiseResolverConstructor.cpp \
+    runtime/JSPromiseResolverPrototype.cpp \
     runtime/JSPropertyNameIterator.cpp \
-    runtime/JSSegmentedVariableObject.cpp \
-    runtime/JSWithScope.cpp \
-    runtime/JSNameScope.cpp \
+    runtime/JSProxy.cpp \
     runtime/JSScope.cpp \
+    runtime/JSSegmentedVariableObject.cpp \
     runtime/JSString.cpp \
     runtime/JSStringJoiner.cpp \
     runtime/JSSymbolTableObject.cpp \
-    runtime/JSCJSValue.cpp \
+    runtime/JSTypedArrayConstructors.cpp \
+    runtime/JSTypedArrayPrototypes.cpp \
+    runtime/JSTypedArrays.cpp \
     runtime/JSVariableObject.cpp \
+    runtime/JSWithScope.cpp \
     runtime/JSWrapperObject.cpp \
     runtime/LiteralParser.cpp \
     runtime/Lookup.cpp \
@@ -304,19 +358,21 @@ SOURCES += \
     runtime/ObjectConstructor.cpp \
     runtime/ObjectPrototype.cpp \
     runtime/Operations.cpp \
+    runtime/Options.cpp \
     runtime/PropertyDescriptor.cpp \
     runtime/PropertyNameArray.cpp \
     runtime/PropertySlot.cpp \
     runtime/PropertyTable.cpp \
     runtime/PrototypeMap.cpp \
-    runtime/RegExpConstructor.cpp \
+    runtime/RegExp.cpp \
+    runtime/RegExpCache.cpp \
     runtime/RegExpCachedResult.cpp \
+    runtime/RegExpConstructor.cpp \
     runtime/RegExpMatchesArray.cpp \
-    runtime/RegExp.cpp \
     runtime/RegExpObject.cpp \
     runtime/RegExpPrototype.cpp \
-    runtime/RegExpCache.cpp \
     runtime/SamplingCounter.cpp \
+    runtime/SimpleTypedArrayController.cpp \
     runtime/SmallStrings.cpp \
     runtime/SparseArrayValueMap.cpp \
     runtime/StrictEvalActivation.cpp \
@@ -324,10 +380,13 @@ SOURCES += \
     runtime/StringObject.cpp \
     runtime/StringPrototype.cpp \
     runtime/StringRecursionChecker.cpp \
-    runtime/StructureChain.cpp \
     runtime/Structure.cpp \
+    runtime/StructureChain.cpp \
     runtime/StructureRareData.cpp \
     runtime/SymbolTable.cpp \
+    runtime/TypedArrayController.cpp \
+    runtime/TypedArrayType.cpp \
+    runtime/VM.cpp \
     runtime/Watchdog.cpp \
     runtime/WatchdogNone.cpp \
     tools/CodeProfile.cpp \
@@ -336,6 +395,7 @@ SOURCES += \
 
 linux-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
     SOURCES += \
+        disassembler/X86Disassembler.cpp \
         disassembler/UDis86Disassembler.cpp \
         disassembler/udis86/udis86.c \
         disassembler/udis86/udis86_decode.c \
@@ -359,17 +419,14 @@ win32:!win32-g++*:isEqual(QT_ARCH, "x86_64"):{
     ASM_SOURCES += jit/JITStubsMSVC64.asm
 }
 
+build?(qttestsupport) {
+    HEADERS += API/JSCTestRunnerUtils.h
+    SOURCES += API/JSCTestRunnerUtils.cpp
+}
+
 HEADERS += $$files(*.h, true)
 
 *sh4* {
     QMAKE_CXXFLAGS += -mieee -w
     QMAKE_CFLAGS   += -mieee -w
 }
-
-lessThan(QT_GCC_MAJOR_VERSION, 5) {
-    # GCC 4.5 and before
-    lessThan(QT_GCC_MINOR_VERSION, 6) {
-        # Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec.
-        *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
-    }
-}