Changeset 191058 in webkit


Ignore:
Timestamp:
Oct 14, 2015, 11:57:07 AM (10 years ago)
Author:
mark.lam@apple.com
Message:

Rename some JSC option names to be more uniform.
https://bugs.webkit.org/show_bug.cgi?id=150127

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Renaming JSC_enableXXX options to JSC_useXXX, and JSC_showXXX options to JSC_dumpXXX.
Also will renaming a few other miscellaneous to options, to abide by this scheme.

Also renaming some functions to match the option names where relevant.

  • API/tests/ExecutionTimeLimitTest.cpp:

(testExecutionTimeLimit):

  • assembler/AbstractMacroAssembler.h:

(JSC::optimizeForARMv7IDIVSupported):
(JSC::optimizeForARM64):
(JSC::optimizeForX86):

  • assembler/LinkBuffer.cpp:

(JSC::shouldDumpDisassemblyFor):
(JSC::LinkBuffer::finalizeCodeWithoutDisassembly):
(JSC::shouldShowDisassemblyFor): Deleted.

  • assembler/LinkBuffer.h:
  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::jettison):

  • bytecode/CodeBlockJettisoningWatchpoint.cpp:

(JSC::CodeBlockJettisoningWatchpoint::fireInternal):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::BytecodeGenerator):

  • dfg/DFGAdaptiveInferredPropertyValueWatchpoint.cpp:

(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::fire):

  • dfg/DFGAdaptiveStructureWatchpoint.cpp:

(JSC::DFG::AdaptiveStructureWatchpoint::fireInternal):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::handleGetById):
(JSC::DFG::ByteCodeParser::handlePutById):
(JSC::DFG::ByteCodeParser::parse):

  • dfg/DFGCommon.h:

(JSC::DFG::leastUpperBound):
(JSC::DFG::shouldDumpDisassembly):
(JSC::DFG::shouldShowDisassembly): Deleted.

  • dfg/DFGDriver.cpp:

(JSC::DFG::compileImpl):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::JITCompiler):
(JSC::DFG::JITCompiler::disassemble):

  • dfg/DFGJumpReplacement.cpp:

(JSC::DFG::JumpReplacement::fire):

  • dfg/DFGOSREntry.cpp:

(JSC::DFG::prepareOSREntry):

  • dfg/DFGOSRExitCompiler.cpp:
  • dfg/DFGOSRExitFuzz.h:

(JSC::DFG::doOSRExitFuzzing):

  • dfg/DFGPlan.cpp:

(JSC::DFG::Plan::compileInThreadImpl):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileArithSqrt):

  • dfg/DFGTierUpCheckInjectionPhase.cpp:

(JSC::DFG::TierUpCheckInjectionPhase::run):

  • ftl/FTLCompile.cpp:

(JSC::FTL::mmAllocateDataSection):

  • ftl/FTLJITCode.cpp:

(JSC::FTL::JITCode::~JITCode):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::DFG::LowerDFGToLLVM::callCheck):

  • ftl/FTLOSRExitCompiler.cpp:

(JSC::FTL::compileStub):
(JSC::FTL::compileFTLOSRExit):

  • ftl/FTLState.h:

(JSC::FTL::verboseCompilationEnabled):
(JSC::FTL::shouldDumpDisassembly):
(JSC::FTL::shouldShowDisassembly): Deleted.

  • heap/Heap.cpp:

(JSC::Heap::addToRememberedSet):
(JSC::Heap::didFinishCollection):
(JSC::Heap::shouldDoFullCollection):

  • heap/Heap.h:

(JSC::Heap::isDeferred):
(JSC::Heap::structureIDTable):

  • heap/HeapStatistics.cpp:

(JSC::StorageStatistics::storageCapacity):
(JSC::HeapStatistics::dumpObjectStatistics):
(JSC::HeapStatistics::showObjectStatistics): Deleted.

  • heap/HeapStatistics.h:
  • interpreter/StackVisitor.cpp:

(JSC::StackVisitor::Frame::createArguments):

  • jit/AssemblyHelpers.cpp:

(JSC::AssemblyHelpers::callExceptionFuzz):

  • jit/ExecutableAllocationFuzz.cpp:

(JSC::doExecutableAllocationFuzzing):

  • jit/ExecutableAllocationFuzz.h:

(JSC::doExecutableAllocationFuzzingIfEnabled):

  • jit/JIT.cpp:

(JSC::JIT::privateCompile):

  • jit/JITCode.cpp:

(JSC::JITCodeWithCodeRef::~JITCodeWithCodeRef):

  • jit/PolymorphicCallStubRoutine.cpp:

(JSC::PolymorphicCallNode::unlink):
(JSC::PolymorphicCallNode::clearCallLinkInfo):
(JSC::PolymorphicCallStubRoutine::PolymorphicCallStubRoutine):

  • jit/Repatch.cpp:

(JSC::linkFor):
(JSC::unlinkFor):
(JSC::linkVirtualFor):

  • jsc.cpp:

(functionEnableExceptionFuzz):
(jscmain):

  • llvm/InitializeLLVM.cpp:

(JSC::initializeLLVMImpl):

  • runtime/ExceptionFuzz.cpp:

(JSC::doExceptionFuzzing):

  • runtime/ExceptionFuzz.h:

(JSC::doExceptionFuzzingIfEnabled):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::init):

  • runtime/Options.cpp:

(JSC::recomputeDependentOptions):
(JSC::Options::initialize):
(JSC::Options::dumpOptionsIfNeeded):
(JSC::Options::setOption):
(JSC::Options::dumpAllOptions):
(JSC::Options::dumpAllOptionsInALine):
(JSC::Options::dumpOption):

  • runtime/Options.h:
  • runtime/VM.cpp:

(JSC::VM::VM):

  • runtime/VM.h:

(JSC::VM::exceptionFuzzingBuffer):

  • runtime/WriteBarrierInlines.h:

(JSC::WriteBarrierBase<T>::set):
(JSC::WriteBarrierBase<Unknown>::set):

  • tests/executableAllocationFuzz.yaml:
  • tests/stress/arrowfunction-typeof.js:
  • tests/stress/disable-function-dot-arguments.js:

(foo):

  • tests/stress/math-sqrt-basics-disable-architecture-specific-optimizations.js:

(sqrtOnInteger):

  • tests/stress/regress-148564.js:

Tools:

  • Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
  • Scripts/run-jsc-stress-tests:
Location:
trunk
Files:
56 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/tests/ExecutionTimeLimitTest.cpp

    r189009 r191058  
    103103{
    104104    static const TierOptions tierOptionsList[] = {
    105         { "LLINT",    0,   "--enableConcurrentJIT=false --useLLInt=true --useJIT=false" },
    106         { "Baseline", 0,   "--enableConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=false" },
    107         { "DFG",      0,   "--enableConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=true --useFTLJIT=false" },
    108         { "FTL",      200, "--enableConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=true --useFTLJIT=true" },
     105        { "LLINT",    0,   "--useConcurrentJIT=false --useLLInt=true --useJIT=false" },
     106        { "Baseline", 0,   "--useConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=false" },
     107        { "DFG",      0,   "--useConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=true --useFTLJIT=false" },
     108        { "FTL",      200, "--useConcurrentJIT=false --useLLInt=true --useJIT=true --useDFGJIT=true --useFTLJIT=true" },
    109109    };
    110110   
  • trunk/Source/JavaScriptCore/ChangeLog

    r191046 r191058  
     12015-10-14  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename some JSC option names to be more uniform.
     4        https://bugs.webkit.org/show_bug.cgi?id=150127
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Renaming JSC_enableXXX options to JSC_useXXX, and JSC_showXXX options to JSC_dumpXXX.
     9        Also will renaming a few other miscellaneous to options, to abide by this scheme.
     10
     11        Also renaming some functions to match the option names where relevant.
     12
     13        * API/tests/ExecutionTimeLimitTest.cpp:
     14        (testExecutionTimeLimit):
     15        * assembler/AbstractMacroAssembler.h:
     16        (JSC::optimizeForARMv7IDIVSupported):
     17        (JSC::optimizeForARM64):
     18        (JSC::optimizeForX86):
     19        * assembler/LinkBuffer.cpp:
     20        (JSC::shouldDumpDisassemblyFor):
     21        (JSC::LinkBuffer::finalizeCodeWithoutDisassembly):
     22        (JSC::shouldShowDisassemblyFor): Deleted.
     23        * assembler/LinkBuffer.h:
     24        * bytecode/CodeBlock.cpp:
     25        (JSC::CodeBlock::jettison):
     26        * bytecode/CodeBlockJettisoningWatchpoint.cpp:
     27        (JSC::CodeBlockJettisoningWatchpoint::fireInternal):
     28        * bytecompiler/BytecodeGenerator.cpp:
     29        (JSC::BytecodeGenerator::BytecodeGenerator):
     30        * dfg/DFGAdaptiveInferredPropertyValueWatchpoint.cpp:
     31        (JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::fire):
     32        * dfg/DFGAdaptiveStructureWatchpoint.cpp:
     33        (JSC::DFG::AdaptiveStructureWatchpoint::fireInternal):
     34        * dfg/DFGByteCodeParser.cpp:
     35        (JSC::DFG::ByteCodeParser::handleInlining):
     36        (JSC::DFG::ByteCodeParser::handleGetById):
     37        (JSC::DFG::ByteCodeParser::handlePutById):
     38        (JSC::DFG::ByteCodeParser::parse):
     39        * dfg/DFGCommon.h:
     40        (JSC::DFG::leastUpperBound):
     41        (JSC::DFG::shouldDumpDisassembly):
     42        (JSC::DFG::shouldShowDisassembly): Deleted.
     43        * dfg/DFGDriver.cpp:
     44        (JSC::DFG::compileImpl):
     45        * dfg/DFGJITCompiler.cpp:
     46        (JSC::DFG::JITCompiler::JITCompiler):
     47        (JSC::DFG::JITCompiler::disassemble):
     48        * dfg/DFGJumpReplacement.cpp:
     49        (JSC::DFG::JumpReplacement::fire):
     50        * dfg/DFGOSREntry.cpp:
     51        (JSC::DFG::prepareOSREntry):
     52        * dfg/DFGOSRExitCompiler.cpp:
     53        * dfg/DFGOSRExitFuzz.h:
     54        (JSC::DFG::doOSRExitFuzzing):
     55        * dfg/DFGPlan.cpp:
     56        (JSC::DFG::Plan::compileInThreadImpl):
     57        * dfg/DFGSpeculativeJIT.cpp:
     58        (JSC::DFG::SpeculativeJIT::compileArithSqrt):
     59        * dfg/DFGTierUpCheckInjectionPhase.cpp:
     60        (JSC::DFG::TierUpCheckInjectionPhase::run):
     61        * ftl/FTLCompile.cpp:
     62        (JSC::FTL::mmAllocateDataSection):
     63        * ftl/FTLJITCode.cpp:
     64        (JSC::FTL::JITCode::~JITCode):
     65        * ftl/FTLLowerDFGToLLVM.cpp:
     66        (JSC::FTL::DFG::LowerDFGToLLVM::callCheck):
     67        * ftl/FTLOSRExitCompiler.cpp:
     68        (JSC::FTL::compileStub):
     69        (JSC::FTL::compileFTLOSRExit):
     70        * ftl/FTLState.h:
     71        (JSC::FTL::verboseCompilationEnabled):
     72        (JSC::FTL::shouldDumpDisassembly):
     73        (JSC::FTL::shouldShowDisassembly): Deleted.
     74        * heap/Heap.cpp:
     75        (JSC::Heap::addToRememberedSet):
     76        (JSC::Heap::didFinishCollection):
     77        (JSC::Heap::shouldDoFullCollection):
     78        * heap/Heap.h:
     79        (JSC::Heap::isDeferred):
     80        (JSC::Heap::structureIDTable):
     81        * heap/HeapStatistics.cpp:
     82        (JSC::StorageStatistics::storageCapacity):
     83        (JSC::HeapStatistics::dumpObjectStatistics):
     84        (JSC::HeapStatistics::showObjectStatistics): Deleted.
     85        * heap/HeapStatistics.h:
     86        * interpreter/StackVisitor.cpp:
     87        (JSC::StackVisitor::Frame::createArguments):
     88        * jit/AssemblyHelpers.cpp:
     89        (JSC::AssemblyHelpers::callExceptionFuzz):
     90        * jit/ExecutableAllocationFuzz.cpp:
     91        (JSC::doExecutableAllocationFuzzing):
     92        * jit/ExecutableAllocationFuzz.h:
     93        (JSC::doExecutableAllocationFuzzingIfEnabled):
     94        * jit/JIT.cpp:
     95        (JSC::JIT::privateCompile):
     96        * jit/JITCode.cpp:
     97        (JSC::JITCodeWithCodeRef::~JITCodeWithCodeRef):
     98        * jit/PolymorphicCallStubRoutine.cpp:
     99        (JSC::PolymorphicCallNode::unlink):
     100        (JSC::PolymorphicCallNode::clearCallLinkInfo):
     101        (JSC::PolymorphicCallStubRoutine::PolymorphicCallStubRoutine):
     102        * jit/Repatch.cpp:
     103        (JSC::linkFor):
     104        (JSC::unlinkFor):
     105        (JSC::linkVirtualFor):
     106        * jsc.cpp:
     107        (functionEnableExceptionFuzz):
     108        (jscmain):
     109        * llvm/InitializeLLVM.cpp:
     110        (JSC::initializeLLVMImpl):
     111        * runtime/ExceptionFuzz.cpp:
     112        (JSC::doExceptionFuzzing):
     113        * runtime/ExceptionFuzz.h:
     114        (JSC::doExceptionFuzzingIfEnabled):
     115        * runtime/JSGlobalObject.cpp:
     116        (JSC::JSGlobalObject::init):
     117        * runtime/Options.cpp:
     118        (JSC::recomputeDependentOptions):
     119        (JSC::Options::initialize):
     120        (JSC::Options::dumpOptionsIfNeeded):
     121        (JSC::Options::setOption):
     122        (JSC::Options::dumpAllOptions):
     123        (JSC::Options::dumpAllOptionsInALine):
     124        (JSC::Options::dumpOption):
     125        * runtime/Options.h:
     126        * runtime/VM.cpp:
     127        (JSC::VM::VM):
     128        * runtime/VM.h:
     129        (JSC::VM::exceptionFuzzingBuffer):
     130        * runtime/WriteBarrierInlines.h:
     131        (JSC::WriteBarrierBase<T>::set):
     132        (JSC::WriteBarrierBase<Unknown>::set):
     133        * tests/executableAllocationFuzz.yaml:
     134        * tests/stress/arrowfunction-typeof.js:
     135        * tests/stress/disable-function-dot-arguments.js:
     136        (foo):
     137        * tests/stress/math-sqrt-basics-disable-architecture-specific-optimizations.js:
     138        (sqrtOnInteger):
     139        * tests/stress/regress-148564.js:
     140
    11412015-10-14  Mark Lam  <mark.lam@apple.com>
    2142
  • trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h

    r190860 r191058  
    7070inline bool optimizeForARMv7IDIVSupported()
    7171{
    72     return isARMv7IDIVSupported() && Options::enableArchitectureSpecificOptimizations();
     72    return isARMv7IDIVSupported() && Options::useArchitectureSpecificOptimizations();
    7373}
    7474
    7575inline bool optimizeForARM64()
    7676{
    77     return isARM64() && Options::enableArchitectureSpecificOptimizations();
     77    return isARM64() && Options::useArchitectureSpecificOptimizations();
    7878}
    7979
    8080inline bool optimizeForX86()
    8181{
    82     return isX86() && Options::enableArchitectureSpecificOptimizations();
     82    return isX86() && Options::useArchitectureSpecificOptimizations();
    8383}
    8484
  • trunk/Source/JavaScriptCore/assembler/LinkBuffer.cpp

    r190860 r191058  
    3838namespace JSC {
    3939
    40 bool shouldShowDisassemblyFor(CodeBlock* codeBlock)
    41 {
    42     if (JITCode::isOptimizingJIT(codeBlock->jitType()) && Options::showDFGDisassembly())
     40bool shouldDumpDisassemblyFor(CodeBlock* codeBlock)
     41{
     42    if (JITCode::isOptimizingJIT(codeBlock->jitType()) && Options::dumpDFGDisassembly())
    4343        return true;
    44     return Options::showDisassembly();
     44    return Options::dumpDisassembly();
    4545}
    4646
  • trunk/Source/JavaScriptCore/assembler/LinkBuffer.h

    r190860 r191058  
    326326     : (linkBufferReference).finalizeCodeWithoutDisassembly())
    327327
    328 bool shouldShowDisassemblyFor(CodeBlock*);
     328bool shouldDumpDisassemblyFor(CodeBlock*);
    329329
    330330#define FINALIZE_CODE_FOR(codeBlock, linkBufferReference, dataLogFArgumentsForHeading)  \
    331     FINALIZE_CODE_IF(shouldShowDisassemblyFor(codeBlock) || Options::asyncDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
     331    FINALIZE_CODE_IF(shouldDumpDisassemblyFor(codeBlock) || Options::asyncDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
    332332
    333333// Use this to finalize code, like so:
     
    344344// ... and so on.
    345345//
    346 // Note that the dataLogFArgumentsForHeading are only evaluated when showDisassembly
     346// Note that the dataLogFArgumentsForHeading are only evaluated when dumpDisassembly
    347347// is true, so you can hide expensive disassembly-only computations inside there.
    348348
    349349#define FINALIZE_CODE(linkBufferReference, dataLogFArgumentsForHeading)  \
    350     FINALIZE_CODE_IF(JSC::Options::asyncDisassembly() || JSC::Options::showDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
     350    FINALIZE_CODE_IF(JSC::Options::asyncDisassembly() || JSC::Options::dumpDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
    351351
    352352#define FINALIZE_DFG_CODE(linkBufferReference, dataLogFArgumentsForHeading)  \
    353     FINALIZE_CODE_IF(JSC::Options::asyncDisassembly() || JSC::Options::showDisassembly() || Options::showDFGDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
     353    FINALIZE_CODE_IF(JSC::Options::asyncDisassembly() || JSC::Options::dumpDisassembly() || Options::dumpDFGDisassembly(), linkBufferReference, dataLogFArgumentsForHeading)
    354354
    355355} // namespace JSC
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r191046 r191058  
    31433143   
    31443144#if ENABLE(DFG_JIT)
    3145     if (DFG::shouldShowDisassembly()) {
     3145    if (DFG::shouldDumpDisassembly()) {
    31463146        dataLog("Jettisoning ", *this);
    31473147        if (mode == CountReoptimization)
     
    31543154   
    31553155    if (reason == Profiler::JettisonDueToWeakReference) {
    3156         if (DFG::shouldShowDisassembly()) {
     3156        if (DFG::shouldDumpDisassembly()) {
    31573157            dataLog(*this, " will be jettisoned because of the following dead references:\n");
    31583158            DFG::CommonData* dfgCommon = m_jitCode->dfgCommon();
     
    31963196    }
    31973197   
    3198     if (DFG::shouldShowDisassembly())
     3198    if (DFG::shouldDumpDisassembly())
    31993199        dataLog("    Did invalidate ", *this, "\n");
    32003200   
     
    32043204        // https://bugs.webkit.org/show_bug.cgi?id=123677
    32053205        baselineAlternative()->countReoptimization();
    3206         if (DFG::shouldShowDisassembly())
     3206        if (DFG::shouldDumpDisassembly())
    32073207            dataLog("    Did count reoptimization for ", *this, "\n");
    32083208    }
     
    32263226
    32273227#if ENABLE(DFG_JIT)
    3228     if (DFG::shouldShowDisassembly())
     3228    if (DFG::shouldDumpDisassembly())
    32293229        dataLog("    Did install baseline version of ", *this, "\n");
    32303230#endif // ENABLE(DFG_JIT)
  • trunk/Source/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.cpp

    r187780 r191058  
    3535void CodeBlockJettisoningWatchpoint::fireInternal(const FireDetail& detail)
    3636{
    37     if (DFG::shouldShowDisassembly())
     37    if (DFG::shouldDumpDisassembly())
    3838        dataLog("Firing watchpoint ", RawPointer(this), " on ", *m_codeBlock, "\n");
    3939
  • trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r190108 r191058  
    199199    // compatible with tail calls (we have no way of emitting op_did_call).
    200200    // https://bugs.webkit.org/show_bug.cgi?id=148819
    201     , m_inTailPosition(Options::enableTailCalls() && constructorKind() == ConstructorKind::None && isStrictMode() && !m_shouldEmitProfileHooks)
     201    , m_inTailPosition(Options::useTailCalls() && constructorKind() == ConstructorKind::None && isStrictMode() && !m_shouldEmitProfileHooks)
    202202{
    203203    for (auto& constantRegister : m_linkTimeConstantRegisters)
  • trunk/Source/JavaScriptCore/dfg/DFGAdaptiveInferredPropertyValueWatchpoint.cpp

    r190555 r191058  
    7070    }
    7171   
    72     if (DFG::shouldShowDisassembly()) {
     72    if (DFG::shouldDumpDisassembly()) {
    7373        dataLog(
    7474            "Firing watchpoint ", RawPointer(this), " (", m_key, ") on ", *m_codeBlock, "\n");
  • trunk/Source/JavaScriptCore/dfg/DFGAdaptiveStructureWatchpoint.cpp

    r190555 r191058  
    5858    }
    5959   
    60     if (DFG::shouldShowDisassembly()) {
     60    if (DFG::shouldDumpDisassembly()) {
    6161        dataLog(
    6262            "Firing watchpoint ", RawPointer(this), " (", m_key, ") on ", *m_codeBlock, "\n");
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r190827 r191058  
    17641764    // we could improve that aspect of this by doing polymorphic inlining but having the profiling
    17651765    // also.
    1766     if (!isFTL(m_graph.m_plan.mode) || !Options::enablePolymorphicCallInlining()
     1766    if (!isFTL(m_graph.m_plan.mode) || !Options::usePolymorphicCallInlining()
    17671767        || InlineCallFrame::isVarargs(kind)) {
    17681768        if (verbose) {
     
    27442744    NodeType getById = getByIdStatus.makesCalls() ? GetByIdFlush : GetById;
    27452745   
    2746     if (!getByIdStatus.isSimple() || !getByIdStatus.numVariants() || !Options::enableAccessInlining()) {
     2746    if (!getByIdStatus.isSimple() || !getByIdStatus.numVariants() || !Options::useAccessInlining()) {
    27472747        set(VirtualRegister(destinationOperand),
    27482748            addToGraph(getById, OpInfo(identifierNumber), OpInfo(prediction), base));
     
    27522752    if (getByIdStatus.numVariants() > 1) {
    27532753        if (getByIdStatus.makesCalls() || !isFTL(m_graph.m_plan.mode)
    2754             || !Options::enablePolymorphicAccessInlining()) {
     2754            || !Options::usePolymorphicAccessInlining()) {
    27552755            set(VirtualRegister(destinationOperand),
    27562756                addToGraph(getById, OpInfo(identifierNumber), OpInfo(prediction), base));
     
    28672867    const PutByIdStatus& putByIdStatus, bool isDirect)
    28682868{
    2869     if (!putByIdStatus.isSimple() || !putByIdStatus.numVariants() || !Options::enableAccessInlining()) {
     2869    if (!putByIdStatus.isSimple() || !putByIdStatus.numVariants() || !Options::useAccessInlining()) {
    28702870        if (!putByIdStatus.isSet())
    28712871            addToGraph(ForceOSRExit);
     
    28762876    if (putByIdStatus.numVariants() > 1) {
    28772877        if (!isFTL(m_graph.m_plan.mode) || putByIdStatus.makesCalls()
    2878             || !Options::enablePolymorphicAccessInlining()) {
     2878            || !Options::usePolymorphicAccessInlining()) {
    28792879            emitPutById(base, identifierNumber, value, putByIdStatus, isDirect);
    28802880            return;
     
    48314831    m_dfgCodeBlock = m_graph.m_plan.profiledDFGCodeBlock;
    48324832    if (isFTL(m_graph.m_plan.mode) && m_dfgCodeBlock
    4833         && Options::enablePolyvariantDevirtualization()) {
    4834         if (Options::enablePolyvariantCallInlining())
     4833        && Options::usePolyvariantDevirtualization()) {
     4834        if (Options::usePolyvariantCallInlining())
    48354835            CallLinkStatus::computeDFGStatuses(m_dfgCodeBlock, m_callContextMap);
    4836         if (Options::enablePolyvariantByIdInlining())
     4836        if (Options::usePolyvariantByIdInlining())
    48374837            m_dfgCodeBlock->getStubInfoMap(m_dfgStubInfos);
    48384838    }
  • trunk/Source/JavaScriptCore/dfg/DFGCommon.h

    r188850 r191058  
    367367
    368368// Unconditionally disable DFG disassembly support if the DFG is not compiled in.
    369 inline bool shouldShowDisassembly(CompilationMode mode = DFGMode)
     369inline bool shouldDumpDisassembly(CompilationMode mode = DFGMode)
    370370{
    371371#if ENABLE(DFG_JIT)
    372     return Options::showDisassembly() || Options::showDFGDisassembly() || (isFTL(mode) && Options::showFTLDisassembly());
     372    return Options::dumpDisassembly() || Options::dumpDFGDisassembly() || (isFTL(mode) && Options::dumpFTLDisassembly());
    373373#else
    374374    UNUSED_PARAM(mode);
  • trunk/Source/JavaScriptCore/dfg/DFGDriver.cpp

    r190827 r191058  
    9292   
    9393    plan->callback = callback;
    94     if (Options::enableConcurrentJIT()) {
     94    if (Options::useConcurrentJIT()) {
    9595        Worklist* worklist = ensureGlobalWorklistFor(mode);
    9696        if (logCompilationChanges(mode))
  • trunk/Source/JavaScriptCore/dfg/DFGJITCompiler.cpp

    r190735 r191058  
    5454    , m_blockHeads(dfg.numBlocks())
    5555{
    56     if (shouldShowDisassembly() || m_graph.m_vm.m_perBytecodeProfiler)
     56    if (shouldDumpDisassembly() || m_graph.m_vm.m_perBytecodeProfiler)
    5757        m_disassembler = std::make_unique<Disassembler>(dfg);
    5858}
     
    474474void JITCompiler::disassemble(LinkBuffer& linkBuffer)
    475475{
    476     if (shouldShowDisassembly()) {
     476    if (shouldDumpDisassembly()) {
    477477        m_disassembler->dump(linkBuffer);
    478478        linkBuffer.didAlreadyDisassemble();
  • trunk/Source/JavaScriptCore/dfg/DFGJumpReplacement.cpp

    r164229 r191058  
    3737void JumpReplacement::fire()
    3838{
    39     if (Options::showDisassembly())
     39    if (Options::dumpDisassembly())
    4040        dataLogF("Firing jump replacement watchpoint from %p, to %p.\n", m_source.dataLocation(), m_destination.dataLocation());
    4141    MacroAssembler::replaceWithJump(m_source, m_destination);
  • trunk/Source/JavaScriptCore/dfg/DFGOSREntry.cpp

    r189575 r191058  
    9999    ASSERT(!codeBlock->jitCodeMap());
    100100
    101     if (!Options::enableOSREntryToDFG())
     101    if (!Options::useOSREntryToDFG())
    102102        return 0;
    103103
  • trunk/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp

    r189995 r191058  
    164164        LinkBuffer patchBuffer(*vm, jit, codeBlock);
    165165        exit.m_code = FINALIZE_CODE_IF(
    166             shouldShowDisassembly() || Options::verboseOSR(),
     166            shouldDumpDisassembly() || Options::verboseOSR(),
    167167            patchBuffer,
    168168            ("DFG OSR exit #%u (%s, %s) from %s, with operands = %s",
  • trunk/Source/JavaScriptCore/dfg/DFGOSRExitFuzz.h

    r186605 r191058  
    3535inline bool doOSRExitFuzzing()
    3636{
    37     if (!Options::enableOSRExitFuzz())
     37    if (!Options::useOSRExitFuzz())
    3838        return false;
    3939   
  • trunk/Source/JavaScriptCore/dfg/DFGPlan.cpp

    r190896 r191058  
    264264    performLiveCatchVariablePreservationPhase(dfg);
    265265
    266     if (Options::enableMaximalFlushInsertionPhase())
     266    if (Options::useMaximalFlushInsertionPhase())
    267267        performMaximalFlushInsertion(dfg);
    268268   
     
    360360        performCPSRethreading(dfg);
    361361        performDCE(dfg);
    362         if (Options::enableCopyBarrierOptimization())
     362        if (Options::useCopyBarrierOptimization())
    363363            performCopyBarrierOptimization(dfg);
    364364        performPhantomInsertion(dfg);
     
    407407        changed = false;
    408408        changed |= performStrengthReduction(dfg);
    409         if (Options::enableObjectAllocationSinking()) {
     409        if (Options::useObjectAllocationSinking()) {
    410410            changed |= performCriticalEdgeBreaking(dfg);
    411411            changed |= performObjectAllocationSinking(dfg);
     
    437437        performCFA(dfg);
    438438        performGlobalStoreBarrierInsertion(dfg);
    439         if (Options::enableMovHintRemoval())
     439        if (Options::useMovHintRemoval())
    440440            performMovHintRemoval(dfg);
    441441        performCleanUp(dfg);
    442442        performDCE(dfg); // We rely on this to kill dead code that won't be recognized as dead by LLVM.
    443         if (Options::enableCopyBarrierOptimization())
     443        if (Options::useCopyBarrierOptimization())
    444444            performCopyBarrierOptimization(dfg);
    445445        performStackLayout(dfg);
     
    453453        }
    454454
    455         dumpAndVerifyGraph(dfg, "Graph just before FTL lowering:", shouldShowDisassembly(mode));
     455        dumpAndVerifyGraph(dfg, "Graph just before FTL lowering:", shouldDumpDisassembly(mode));
    456456       
    457457        bool haveLLVM;
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r190896 r191058  
    37353735    FPRReg op1FPR = op1.fpr();
    37363736
    3737     if (!MacroAssembler::supportsFloatingPointSqrt() || !Options::enableArchitectureSpecificOptimizations()) {
     3737    if (!MacroAssembler::supportsFloatingPointSqrt() || !Options::useArchitectureSpecificOptimizations()) {
    37383738        flushRegisters();
    37393739        FPRResult result(this);
  • trunk/Source/JavaScriptCore/dfg/DFGTierUpCheckInjectionPhase.cpp

    r190370 r191058  
    6262            return false;
    6363       
    64         if (!Options::enableOSREntryToFTL())
     64        if (!Options::useOSREntryToFTL())
    6565            level = FTL::CanCompile;
    6666
  • trunk/Source/JavaScriptCore/ftl/FTLCompile.cpp

    r190885 r191058  
    845845        }
    846846
    847         if (shouldShowDisassembly() || verboseCompilationEnabled())
     847        if (shouldDumpDisassembly() || verboseCompilationEnabled())
    848848            state.dumpState(module, "after optimization");
    849849       
     
    864864        return;
    865865   
    866     if (shouldShowDisassembly()) {
     866    if (shouldDumpDisassembly()) {
    867867        for (unsigned i = 0; i < state.jitCode->handles().size(); ++i) {
    868868            ExecutableMemoryHandle* handle = state.jitCode->handles()[i].get();
     
    889889        state.unwindDataSection, state.unwindDataSectionSize,
    890890        state.generatedFunction);
    891     if (shouldShowDisassembly()) {
     891    if (shouldDumpDisassembly()) {
    892892        dataLog("Unwind info for ", CodeBlockWithJITType(state.graph.m_codeBlock, JITCode::FTLJIT), ":\n");
    893893        dataLog("    ", *registerOffsets, "\n");
     
    896896   
    897897    if (state.stackmapsSection && state.stackmapsSection->size()) {
    898         if (shouldShowDisassembly()) {
     898        if (shouldDumpDisassembly()) {
    899899            dataLog(
    900900                "Generated LLVM stackmaps section for ",
     
    908908        state.jitCode->stackmaps.parse(stackmapsData.get());
    909909   
    910         if (shouldShowDisassembly()) {
     910        if (shouldDumpDisassembly()) {
    911911            dataLog("    Structured data:\n");
    912912            state.jitCode->stackmaps.dumpMultiline(WTF::dataFile(), "        ");
     
    920920            return;
    921921       
    922         if (shouldShowDisassembly() || Options::asyncDisassembly()) {
     922        if (shouldDumpDisassembly() || Options::asyncDisassembly()) {
    923923            for (unsigned i = 0; i < state.jitCode->handles().size(); ++i) {
    924924                if (state.codeSectionNames[i] != SECTION_NAME("text"))
  • trunk/Source/JavaScriptCore/ftl/FTLJITCode.cpp

    r190735 r191058  
    4040JITCode::~JITCode()
    4141{
    42     if (FTL::shouldShowDisassembly()) {
     42    if (FTL::shouldDumpDisassembly()) {
    4343        dataLog("Destroying FTL JIT code at ");
    4444        CommaPrinter comma;
  • trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp

    r190916 r191058  
    86248624    void callCheck()
    86258625    {
    8626         if (Options::enableExceptionFuzz())
     8626        if (Options::useExceptionFuzz())
    86278627            m_out.call(m_out.operation(operationExceptionFuzz), m_callFrame);
    86288628       
  • trunk/Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp

    r190258 r191058  
    493493    LinkBuffer patchBuffer(*vm, jit, codeBlock);
    494494    exit.m_code = FINALIZE_CODE_IF(
    495         shouldShowDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit(),
     495        shouldDumpDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit(),
    496496        patchBuffer,
    497497        ("FTL OSR exit #%u (%s, %s) from %s, with operands = %s, and record = %s",
     
    506506    SamplingRegion samplingRegion("FTL OSR Exit Compilation");
    507507
    508     if (shouldShowDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit())
     508    if (shouldDumpDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit())
    509509        dataLog("Compiling OSR exit with exitID = ", exitID, "\n");
    510510   
     
    523523    OSRExit& exit = jitCode->osrExit[exitID];
    524524   
    525     if (shouldShowDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit()) {
     525    if (shouldDumpDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit()) {
    526526        dataLog("    Owning block: ", pointerDump(codeBlock), "\n");
    527527        dataLog("    Origin: ", exit.m_codeOrigin, "\n");
  • trunk/Source/JavaScriptCore/ftl/FTLState.h

    r190860 r191058  
    5050}
    5151
    52 inline bool shouldShowDisassembly()
     52inline bool shouldDumpDisassembly()
    5353{
    54     return DFG::shouldShowDisassembly(DFG::FTLMode);
     54    return DFG::shouldDumpDisassembly(DFG::FTLMode);
    5555}
    5656
  • trunk/Source/JavaScriptCore/heap/Heap.cpp

    r190896 r191058  
    990990{
    991991    ASSERT(cell);
    992     ASSERT(!Options::enableConcurrentJIT() || !isCompilationThread());
     992    ASSERT(!Options::useConcurrentJIT() || !isCompilationThread());
    993993    ASSERT(cell->cellState() == CellState::OldBlack);
    994994    // Indicate that this object is grey and that it's one of the following:
     
    13181318        zombifyDeadObjects();
    13191319
    1320     if (Options::objectsAreImmortal())
     1320    if (Options::useImmortalObjects())
    13211321        markDeadObjects();
    13221322
    1323     if (Options::showObjectStatistics())
    1324         HeapStatistics::showObjectStatistics(this);
     1323    if (Options::dumpObjectStatistics())
     1324        HeapStatistics::dumpObjectStatistics(this);
    13251325
    13261326    if (Options::logGC() == GCLogging::Verbose)
     
    14801480bool Heap::shouldDoFullCollection(HeapOperation requestedCollectionType) const
    14811481{
    1482     if (Options::alwaysDoFullCollection())
     1482    if (!Options::useGenerationalGC())
    14831483        return true;
    14841484
  • trunk/Source/JavaScriptCore/heap/Heap.h

    r190896 r191058  
    222222    void addReference(JSCell*, ArrayBuffer*);
    223223   
    224     bool isDeferred() const { return !!m_deferralDepth || Options::disableGC(); }
     224    bool isDeferred() const { return !!m_deferralDepth || !Options::useGC(); }
    225225
    226226    StructureIDTable& structureIDTable() { return m_structureIDTable; }
  • trunk/Source/JavaScriptCore/heap/HeapStatistics.cpp

    r190739 r191058  
    217217}
    218218
    219 void HeapStatistics::showObjectStatistics(Heap* heap)
     219void HeapStatistics::dumpObjectStatistics(Heap* heap)
    220220{
    221221    dataLogF("\n=== Heap Statistics: ===\n");
  • trunk/Source/JavaScriptCore/heap/HeapStatistics.h

    r190739 r191058  
    4242    static void recordGCPauseTime(double start, double end);
    4343
    44     static void showObjectStatistics(Heap*);
     44    static void dumpObjectStatistics(Heap*);
    4545
    4646private:
  • trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp

    r190827 r191058  
    284284    ClonedArguments* arguments;
    285285    ArgumentsMode mode;
    286     if (Options::enableFunctionDotArguments())
     286    if (Options::useFunctionDotArguments())
    287287        mode = ArgumentsMode::Cloned;
    288288    else
  • trunk/Source/JavaScriptCore/jit/AssemblyHelpers.cpp

    r190916 r191058  
    289289void AssemblyHelpers::callExceptionFuzz()
    290290{
    291     if (!Options::enableExceptionFuzz())
     291    if (!Options::useExceptionFuzz())
    292292        return;
    293293
  • trunk/Source/JavaScriptCore/jit/ExecutableAllocationFuzz.cpp

    r181990 r191058  
    4141ExecutableAllocationFuzzResult doExecutableAllocationFuzzing()
    4242{
    43     ASSERT(Options::enableExecutableAllocationFuzz());
     43    ASSERT(Options::useExecutableAllocationFuzz());
    4444   
    4545    unsigned oldValue;
  • trunk/Source/JavaScriptCore/jit/ExecutableAllocationFuzz.h

    r181990 r191058  
    4040inline ExecutableAllocationFuzzResult doExecutableAllocationFuzzingIfEnabled()
    4141{
    42     if (LIKELY(!Options::enableExecutableAllocationFuzz()))
     42    if (LIKELY(!Options::useExecutableAllocationFuzz()))
    4343        return AllowNormalExecutableAllocation;
    4444   
  • trunk/Source/JavaScriptCore/jit/JIT.cpp

    r190896 r191058  
    501501        m_vm->typeProfilerLog()->processLogEntries(ASCIILiteral("Preparing for JIT compilation."));
    502502   
    503     if (Options::showDisassembly() || m_vm->m_perBytecodeProfiler)
     503    if (Options::dumpDisassembly() || m_vm->m_perBytecodeProfiler)
    504504        m_disassembler = std::make_unique<JITDisassembler>(m_codeBlock);
    505505    if (m_vm->m_perBytecodeProfiler) {
     
    692692        withArityCheck = patchBuffer.locationOf(arityCheck);
    693693
    694     if (Options::showDisassembly()) {
     694    if (Options::dumpDisassembly()) {
    695695        m_disassembler->dump(patchBuffer);
    696696        patchBuffer.didAlreadyDisassemble();
  • trunk/Source/JavaScriptCore/jit/JITCode.cpp

    r190741 r191058  
    119119JITCodeWithCodeRef::~JITCodeWithCodeRef()
    120120{
    121     if ((Options::showDisassembly() || (isOptimizingJIT(jitType()) && Options::showDFGDisassembly()))
     121    if ((Options::dumpDisassembly() || (isOptimizingJIT(jitType()) && Options::dumpDFGDisassembly()))
    122122        && m_ref.executableMemory())
    123123        dataLog("Destroying JIT code at ", pointerDump(m_ref.executableMemory()), "\n");
  • trunk/Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.cpp

    r189288 r191058  
    4545{
    4646    if (m_callLinkInfo) {
    47         if (Options::showDisassembly())
     47        if (Options::dumpDisassembly())
    4848            dataLog("Unlinking polymorphic call at ", m_callLinkInfo->callReturnLocation(), ", ", m_callLinkInfo->codeOrigin(), "\n");
    4949
     
    5757void PolymorphicCallNode::clearCallLinkInfo()
    5858{
    59     if (Options::showDisassembly())
     59    if (Options::dumpDisassembly())
    6060        dataLog("Clearing call link info for polymorphic call at ", m_callLinkInfo->callReturnLocation(), ", ", m_callLinkInfo->codeOrigin(), "\n");
    6161
     
    7777    for (PolymorphicCallCase callCase : cases) {
    7878        m_variants.append(WriteBarrier<JSCell>(vm, owner, callCase.variant().rawCalleeCell()));
    79         if (shouldShowDisassemblyFor(callerFrame->codeBlock()))
     79        if (shouldDumpDisassemblyFor(callerFrame->codeBlock()))
    8080            dataLog("Linking polymorphic call in ", *callerFrame->codeBlock(), " at ", callerFrame->codeOrigin(), " to ", callCase.variant(), ", codeBlock = ", pointerDump(callCase.codeBlock()), "\n");
    8181        if (CodeBlock* codeBlock = callCase.codeBlock())
  • trunk/Source/JavaScriptCore/jit/Repatch.cpp

    r190888 r191058  
    551551    callLinkInfo.setCallee(exec->callerFrame()->vm(), callLinkInfo.hotPathBegin(), callerCodeBlock, callee);
    552552    callLinkInfo.setLastSeenCallee(exec->callerFrame()->vm(), callerCodeBlock, callee);
    553     if (shouldShowDisassemblyFor(callerCodeBlock))
     553    if (shouldDumpDisassemblyFor(callerCodeBlock))
    554554        dataLog("Linking call in ", *callerCodeBlock, " at ", callLinkInfo.codeOrigin(), " to ", pointerDump(calleeCodeBlock), ", entrypoint at ", codePtr, "\n");
    555555    MacroAssembler::repatchNearCall(callLinkInfo.hotPathOther(), CodeLocationLabel(codePtr));
     
    591591void unlinkFor(VM& vm, CallLinkInfo& callLinkInfo)
    592592{
    593     if (Options::showDisassembly())
     593    if (Options::dumpDisassembly())
    594594        dataLog("Unlinking call from ", callLinkInfo.callReturnLocation(), "\n");
    595595   
     
    603603    VM* vm = callerCodeBlock->vm();
    604604
    605     if (shouldShowDisassemblyFor(callerCodeBlock))
     605    if (shouldDumpDisassemblyFor(callerCodeBlock))
    606606        dataLog("Linking virtual call at ", *callerCodeBlock, " ", exec->callerFrame()->codeOrigin(), "\n");
    607607   
  • trunk/Source/JavaScriptCore/jsc.cpp

    r190735 r191058  
    14901490EncodedJSValue JSC_HOST_CALL functionEnableExceptionFuzz(ExecState*)
    14911491{
    1492     Options::enableExceptionFuzz() = true;
     1492    Options::useExceptionFuzz() = true;
    14931493    return JSValue::encode(jsUndefined());
    14941494}
     
    19631963       
    19641964#if ENABLE(JIT)
    1965         if (Options::enableExceptionFuzz())
     1965        if (Options::useExceptionFuzz())
    19661966            printf("JSC EXCEPTION FUZZ: encountered %u checks.\n", numberOfExceptionFuzzChecks());
    19671967        bool fireAtEnabled =
    19681968            Options::fireExecutableAllocationFuzzAt() || Options::fireExecutableAllocationFuzzAtOrAfter();
    1969         if (Options::enableExecutableAllocationFuzz() && (!fireAtEnabled || Options::verboseExecutableAllocationFuzz()))
     1969        if (Options::useExecutableAllocationFuzz() && (!fireAtEnabled || Options::verboseExecutableAllocationFuzz()))
    19701970            printf("JSC EXECUTABLE ALLOCATION FUZZ: encountered %u checks.\n", numberOfExecutableAllocationFuzzChecks());
    1971         if (Options::enableOSRExitFuzz()) {
     1971        if (Options::useOSRExitFuzz()) {
    19721972            printf("JSC OSR EXIT FUZZ: encountered %u static checks.\n", numberOfStaticOSRExitFuzzChecks());
    19731973            printf("JSC OSR EXIT FUZZ: encountered %u dynamic checks.\n", numberOfOSRExitFuzzChecks());
  • trunk/Source/JavaScriptCore/llvm/InitializeLLVM.cpp

    r182483 r191058  
    4242    const bool verbose =
    4343        Options::verboseFTLCompilation()
    44         || Options::showFTLDisassembly()
     44        || Options::dumpFTLDisassembly()
    4545        || Options::verboseFTLFailure()
    4646        || Options::verboseCompilation()
    47         || Options::showDFGDisassembly()
    48         || Options::showDisassembly();
     47        || Options::dumpDFGDisassembly()
     48        || Options::dumpDisassembly();
    4949   
    5050    LLVMInitializerFunction initializer = getLLVMInitializerFunction(verbose);
     
    5252        return;
    5353   
    54     bool enableFastISel = Options::enableLLVMFastISel();
     54    bool enableFastISel = Options::useLLVMFastISel();
    5555    llvm = initializer(WTFLogAlwaysAndCrash, &enableFastISel);
    5656    if (!llvm) {
     
    5858            dataLog("LLVM initilization failed.\n");
    5959    }
    60     if (Options::enableLLVMFastISel() && !enableFastISel) {
     60    if (Options::useLLVMFastISel() && !enableFastISel) {
    6161        if (verbose)
    6262            dataLog("Fast ISel requested but LLVM not new enough.\n");
  • trunk/Source/JavaScriptCore/runtime/ExceptionFuzz.cpp

    r182495 r191058  
    3939void doExceptionFuzzing(ExecState* exec, const char* where, void* returnPC)
    4040{
    41     ASSERT(Options::enableExceptionFuzz());
     41    ASSERT(Options::useExceptionFuzz());
    4242
    4343    DeferGCForAWhile deferGC(exec->vm().heap);
  • trunk/Source/JavaScriptCore/runtime/ExceptionFuzz.h

    r171350 r191058  
    3939ALWAYS_INLINE void doExceptionFuzzingIfEnabled(ExecState* exec, const char* where, void* returnPC)
    4040{
    41     if (LIKELY(!Options::enableExceptionFuzz()))
     41    if (LIKELY(!Options::useExceptionFuzz()))
    4242        return;
    4343    doExceptionFuzzing(exec, where, returnPC);
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp

    r190429 r191058  
    553553    putDirectWithoutTransition(vm, Identifier::fromString(exec, "console"), consoleObject, DontEnum);
    554554
    555     if (UNLIKELY(Options::enableDollarVM())) {
     555    if (UNLIKELY(Options::useDollarVM())) {
    556556        JSDollarVMPrototype* dollarVMPrototype = JSDollarVMPrototype::create(vm, this, JSDollarVMPrototype::createStructure(vm, this, m_objectPrototype.get()));
    557557        m_dollarVMStructure.set(vm, this, JSDollarVM::createStructure(vm, this, dollarVMPrototype));
  • trunk/Source/JavaScriptCore/runtime/Options.cpp

    r190739 r191058  
    263263#endif
    264264#if !ENABLE(CONCURRENT_JIT)
    265     Options::enableConcurrentJIT() = false;
     265    Options::useConcurrentJIT() = false;
    266266#endif
    267267#if !ENABLE(DFG_JIT)
     
    277277        Options::useJIT() = false;
    278278#endif
    279     if (Options::showDisassembly()
    280         || Options::showDFGDisassembly()
    281         || Options::showFTLDisassembly()
     279    if (Options::dumpDisassembly()
     280        || Options::dumpDFGDisassembly()
     281        || Options::dumpFTLDisassembly()
    282282        || Options::dumpBytecodeAtDFGTime()
    283283        || Options::dumpGraphAtEachPhase()
     
    307307        Options::thresholdForFTLOptimizeSoon() = 20;
    308308        Options::maximumEvalCacheableSourceLength() = 150000;
    309         Options::enableConcurrentJIT() = false;
    310     }
    311     if (Options::enableMaximalFlushInsertionPhase()) {
    312         Options::enableOSREntryToDFG() = false;
    313         Options::enableOSREntryToFTL() = false;
     309        Options::useConcurrentJIT() = false;
     310    }
     311    if (Options::useMaximalFlushInsertionPhase()) {
     312        Options::useOSREntryToDFG() = false;
     313        Options::useOSREntryToFTL() = false;
    314314    }
    315315
     
    343343                // It *probably* makes sense for other platforms to enable this.
    344344#if PLATFORM(IOS) && CPU(ARM64)
    345                 enableLLVMFastISel() = true;
     345                useLLVMFastISel() = true;
    346346#endif
    347347       
     
    397397void Options::dumpOptionsIfNeeded()
    398398{
    399     if (Options::showOptions()) {
    400         DumpLevel level = static_cast<DumpLevel>(Options::showOptions());
     399    if (Options::dumpOptions()) {
     400        DumpLevel level = static_cast<DumpLevel>(Options::dumpOptions());
    401401        if (level > DumpLevel::Verbose)
    402402            level = DumpLevel::Verbose;
     
    418418
    419419        StringBuilder builder;
    420         dumpAllOptions(builder, level, title, nullptr, "   ", "\n", ShowDefaults);
     420        dumpAllOptions(builder, level, title, nullptr, "   ", "\n", DumpDefaults);
    421421        dataLog(builder.toString());
    422422    }
     
    529529
    530530void Options::dumpAllOptions(StringBuilder& builder, DumpLevel level, const char* title,
    531     const char* separator, const char* optionHeader, const char* optionFooter, ShowDefaultsOption showDefaultsOption)
     531    const char* separator, const char* optionHeader, const char* optionFooter, DumpDefaultsOption dumpDefaultsOption)
    532532{
    533533    if (title) {
     
    539539        if (separator && id)
    540540            builder.append(separator);
    541         dumpOption(builder, level, static_cast<OptionID>(id), optionHeader, optionFooter, showDefaultsOption);
     541        dumpOption(builder, level, static_cast<OptionID>(id), optionHeader, optionFooter, dumpDefaultsOption);
    542542    }
    543543}
     
    545545void Options::dumpAllOptionsInALine(StringBuilder& builder)
    546546{
    547     dumpAllOptions(builder, DumpLevel::All, nullptr, " ", nullptr, nullptr, DontShowDefaults);
     547    dumpAllOptions(builder, DumpLevel::All, nullptr, " ", nullptr, nullptr, DontDumpDefaults);
    548548}
    549549
     
    551551{
    552552    StringBuilder builder;
    553     dumpAllOptions(builder, level, title, nullptr, "   ", "\n", ShowDefaults);
     553    dumpAllOptions(builder, level, title, nullptr, "   ", "\n", DumpDefaults);
    554554    fprintf(stream, "%s", builder.toString().ascii().data());
    555555}
    556556
    557557void Options::dumpOption(StringBuilder& builder, DumpLevel level, OptionID id,
    558     const char* header, const char* footer, ShowDefaultsOption showDefaultsOption)
     558    const char* header, const char* footer, DumpDefaultsOption dumpDefaultsOption)
    559559{
    560560    if (id >= numberOfOptions)
     
    574574    option.dump(builder);
    575575
    576     if (wasOverridden && (showDefaultsOption == ShowDefaults)) {
     576    if (wasOverridden && (dumpDefaultsOption == DumpDefaults)) {
    577577        builder.append(" (default: ");
    578578        option.defaultOption().dump(builder);
  • trunk/Source/JavaScriptCore/runtime/Options.h

    r190896 r191058  
    103103
    104104#define JSC_OPTIONS(v) \
    105     v(unsigned, showOptions, 0, "shows JSC options (0 = None, 1 = Overridden only, 2 = All, 3 = Verbose)") \
     105    v(unsigned, dumpOptions, 0, "dumps JSC options (0 = None, 1 = Overridden only, 2 = All, 3 = Verbose)") \
    106106    \
    107107    v(bool, useLLInt,  true, "allows the LLINT to be used if true") \
     
    131131    v(bool, forceProfilerBytecodeGeneration, false, nullptr) \
    132132    \
    133     v(bool, enableFunctionDotArguments, true, nullptr) \
    134     v(bool, enableTailCalls, false, nullptr) \
    135     \
    136     /* showDisassembly implies showDFGDisassembly. */ \
    137     v(bool, showDisassembly, false, "dumps disassembly of all JIT compiled code upon compilation") \
     133    v(bool, useFunctionDotArguments, true, nullptr) \
     134    v(bool, useTailCalls, false, nullptr) \
     135    \
     136    /* dumpDisassembly implies dumpDFGDisassembly. */ \
     137    v(bool, dumpDisassembly, false, "dumps disassembly of all JIT compiled code upon compilation") \
    138138    v(bool, asyncDisassembly, false, nullptr) \
    139     v(bool, showDFGDisassembly, false, "dumps disassembly of DFG function upon compilation") \
    140     v(bool, showFTLDisassembly, false, "dumps disassembly of FTL function upon compilation") \
    141     v(bool, showAllDFGNodes, false, nullptr) \
     139    v(bool, dumpDFGDisassembly, false, "dumps disassembly of DFG function upon compilation") \
     140    v(bool, dumpFTLDisassembly, false, "dumps disassembly of FTL function upon compilation") \
     141    v(bool, dumpAllDFGNodes, false, nullptr) \
    142142    v(optionRange, bytecodeRangeToDFGCompile, 0, "bytecode size range to allow DFG compilation on, e.g. 1:100") \
    143143    v(optionString, dfgWhitelist, nullptr, "file with list of function signatures to allow DFG compilation on") \
     
    167167    v(bool, testTheFTL, false, nullptr) \
    168168    v(bool, verboseSanitizeStack, false, nullptr) \
    169     v(bool, alwaysDoFullCollection, false, nullptr) \
     169    v(bool, useGenerationalGC, true, nullptr) \
    170170    v(bool, eagerlyUpdateTopCallFrame, false, nullptr) \
    171171    \
    172     v(bool, enableOSREntryToDFG, true, nullptr) \
    173     v(bool, enableOSREntryToFTL, true, nullptr) \
     172    v(bool, useOSREntryToDFG, true, nullptr) \
     173    v(bool, useOSREntryToFTL, true, nullptr) \
    174174    \
    175175    v(bool, useFTLJIT, true, "allows the FTL JIT to be used if true") \
    176176    v(bool, useFTLTBAA, true, nullptr) \
    177     v(bool, enableLLVMFastISel, false, nullptr) \
     177    v(bool, useLLVMFastISel, false, nullptr) \
    178178    v(bool, useLLVMSmallCodeModel, false, nullptr) \
    179179    v(bool, dumpLLVMIR, false, nullptr) \
     
    191191    v(bool, clobberAllRegsInFTLICSlowPath, !ASSERT_DISABLED, nullptr) \
    192192    v(bool, assumeAllRegsInFTLICAreLive, false, nullptr) \
    193     v(bool, enableAccessInlining, true, nullptr) \
     193    v(bool, useAccessInlining, true, nullptr) \
    194194    v(unsigned, maxAccessVariantListSize, 8, nullptr) \
    195     v(bool, enablePolyvariantDevirtualization, true, nullptr) \
    196     v(bool, enablePolymorphicAccessInlining, true, nullptr) \
    197     v(bool, enablePolymorphicCallInlining, true, nullptr) \
     195    v(bool, usePolyvariantDevirtualization, true, nullptr) \
     196    v(bool, usePolymorphicAccessInlining, true, nullptr) \
     197    v(bool, usePolymorphicCallInlining, true, nullptr) \
    198198    v(unsigned, maxPolymorphicCallVariantListSize, 15, nullptr) \
    199199    v(unsigned, maxPolymorphicCallVariantListSizeForTopTier, 5, nullptr) \
     
    202202    v(double, minimumCallToKnownRate, 0.51, nullptr) \
    203203    v(bool, createPreHeaders, true, nullptr) \
    204     v(bool, enableMovHintRemoval, true, nullptr) \
    205     v(bool, enableObjectAllocationSinking, true, nullptr) \
    206     v(bool, enableCopyBarrierOptimization, true, nullptr) \
    207     \
    208     v(bool, enableConcurrentJIT, true, "allows the DFG / FTL compilation in threads other than the executing JS thread") \
     204    v(bool, useMovHintRemoval, true, nullptr) \
     205    v(bool, useObjectAllocationSinking, true, nullptr) \
     206    v(bool, useCopyBarrierOptimization, true, nullptr) \
     207    \
     208    v(bool, useConcurrentJIT, true, "allows the DFG / FTL compilation in threads other than the executing JS thread") \
    209209    v(unsigned, numberOfDFGCompilerThreads, computeNumberOfWorkerThreads(2, 2) - 1, nullptr) \
    210210    v(unsigned, numberOfFTLCompilerThreads, computeNumberOfWorkerThreads(8, 2) - 1, nullptr) \
     
    212212    v(int32, priorityDeltaOfFTLCompilerThreads, computePriorityDeltaOfWorkerThreads(-2, 0), nullptr) \
    213213    \
    214     v(bool, enableProfiler, false, nullptr) \
     214    v(bool, useProfiler, false, nullptr) \
    215215    \
    216216    v(bool, forceUDis86Disassembler, false, nullptr) \
    217217    v(bool, forceLLVMDisassembler, false, nullptr) \
    218218    \
    219     v(bool, enableArchitectureSpecificOptimizations, true, nullptr) \
     219    v(bool, useArchitectureSpecificOptimizations, true, nullptr) \
    220220    \
    221221    v(bool, breakOnThrow, false, nullptr) \
     
    241241    v(unsigned, maximumVarargsForInlining, 100, nullptr) \
    242242    \
    243     v(bool, enablePolyvariantCallInlining, true, nullptr) \
    244     v(bool, enablePolyvariantByIdInlining, true, nullptr) \
    245     \
    246     v(bool, enableMaximalFlushInsertionPhase, false, "Setting to true enables the DFG's MaximalFlushInsertionPhase to run.") \
     243    v(bool, usePolyvariantCallInlining, true, nullptr) \
     244    v(bool, usePolyvariantByIdInlining, true, nullptr) \
     245    \
     246    v(bool, useMaximalFlushInsertionPhase, false, "Setting to true allows the DFG's MaximalFlushInsertionPhase to run.") \
    247247    \
    248248    v(unsigned, maximumBinaryStringSwitchCaseLength, 50, nullptr) \
     
    307307    \
    308308    v(bool, useZombieMode, false, "debugging option to scribble over dead objects with 0xdeadbeef") \
    309     v(bool, objectsAreImmortal, false, "debugging option to keep all objects alive forever") \
    310     v(bool, showObjectStatistics, false, nullptr) \
     309    v(bool, useImmortalObjects, false, "debugging option to keep all objects alive forever") \
     310    v(bool, dumpObjectStatistics, false, nullptr) \
    311311    \
    312312    v(gcLogLevel, logGC, GCLogging::None, "debugging option to log GC activity (0 = None, 1 = Basic, 2 = Verbose)") \
    313     v(bool, disableGC, false, nullptr) \
     313    v(bool, useGC, true, nullptr) \
    314314    v(unsigned, gcMaxHeapSize, 0, nullptr) \
    315315    v(unsigned, forceRAMSize, 0, nullptr) \
    316316    v(bool, recordGCPauseTimes, false, nullptr) \
    317317    v(bool, logHeapStatisticsAtExit, false, nullptr) \
    318     v(bool, enableTypeProfiler, false, nullptr) \
    319     v(bool, enableControlFlowProfiler, false, nullptr) \
     318    v(bool, useTypeProfiler, false, nullptr) \
     319    v(bool, useControlFlowProfiler, false, nullptr) \
    320320    \
    321321    v(bool, verifyHeap, false, nullptr) \
    322322    v(unsigned, numberOfGCCyclesToRecordForVerification, 3, nullptr) \
    323323    \
    324     v(bool, enableExceptionFuzz, false, nullptr) \
     324    v(bool, useExceptionFuzz, false, nullptr) \
    325325    v(unsigned, fireExceptionFuzzAt, 0, nullptr) \
    326326    \
    327     v(bool, enableExecutableAllocationFuzz, false, nullptr) \
     327    v(bool, useExecutableAllocationFuzz, false, nullptr) \
    328328    v(unsigned, fireExecutableAllocationFuzzAt, 0, nullptr) \
    329329    v(unsigned, fireExecutableAllocationFuzzAtOrAfter, 0, nullptr) \
    330330    v(bool, verboseExecutableAllocationFuzz, false, nullptr) \
    331331    \
    332     v(bool, enableOSRExitFuzz, false, nullptr) \
     332    v(bool, useOSRExitFuzz, false, nullptr) \
    333333    v(unsigned, fireOSRExitFuzzAtStatic, 0, nullptr) \
    334334    v(unsigned, fireOSRExitFuzzAt, 0, nullptr) \
    335335    v(unsigned, fireOSRExitFuzzAtOrAfter, 0, nullptr) \
    336336    \
    337     v(bool, enableDollarVM, false, "installs the $vm debugging tool in global objects") \
     337    v(bool, useDollarVM, false, "installs the $vm debugging tool in global objects") \
    338338    v(optionString, functionOverrides, nullptr, "file with debugging overrides for function bodies") \
    339339    \
     
    420420    Options();
    421421
    422     enum ShowDefaultsOption {
    423         DontShowDefaults,
    424         ShowDefaults
     422    enum DumpDefaultsOption {
     423        DontDumpDefaults,
     424        DumpDefaults
    425425    };
    426426    static void dumpOptionsIfNeeded();
    427427    static void dumpAllOptions(StringBuilder&, DumpLevel, const char* title,
    428         const char* separator, const char* optionHeader, const char* optionFooter, ShowDefaultsOption);
     428        const char* separator, const char* optionHeader, const char* optionFooter, DumpDefaultsOption);
    429429    static void dumpOption(StringBuilder&, DumpLevel, OptionID,
    430         const char* optionHeader, const char* optionFooter, ShowDefaultsOption);
     430        const char* optionHeader, const char* optionFooter, DumpDefaultsOption);
    431431
    432432    // Declare the singleton instance of the options store:
  • trunk/Source/JavaScriptCore/runtime/VM.cpp

    r190827 r191058  
    282282    LLInt::Data::performAssertions(*this);
    283283   
    284     if (Options::enableProfiler()) {
     284    if (Options::useProfiler()) {
    285285        m_perBytecodeProfiler = std::make_unique<Profiler::Database>(*this);
    286286
     
    304304    m_typedArrayController = adoptRef(new SimpleTypedArrayController());
    305305
    306     if (Options::enableTypeProfiler())
     306    if (Options::useTypeProfiler())
    307307        enableTypeProfiler();
    308     if (Options::enableControlFlowProfiler())
     308    if (Options::useControlFlowProfiler())
    309309        enableControlFlowProfiler();
    310310
  • trunk/Source/JavaScriptCore/runtime/VM.h

    r190888 r191058  
    494494    EncodedJSValue* exceptionFuzzingBuffer(size_t size)
    495495    {
    496         ASSERT(Options::enableExceptionFuzz());
     496        ASSERT(Options::useExceptionFuzz());
    497497        if (!m_exceptionFuzzBuffer)
    498498            m_exceptionFuzzBuffer = MallocPtr<EncodedJSValue>::malloc(size);
  • trunk/Source/JavaScriptCore/runtime/WriteBarrierInlines.h

    r163576 r191058  
    3636{
    3737    ASSERT(value);
    38     ASSERT(!Options::enableConcurrentJIT() || !isCompilationThread());
     38    ASSERT(!Options::useConcurrentJIT() || !isCompilationThread());
    3939    validateCell(value);
    4040    setEarlyValue(vm, owner, value);
     
    5858inline void WriteBarrierBase<Unknown>::set(VM& vm, const JSCell* owner, JSValue value)
    5959{
    60     ASSERT(!Options::enableConcurrentJIT() || !isCompilationThread());
     60    ASSERT(!Options::useConcurrentJIT() || !isCompilationThread());
    6161    m_value = JSValue::encode(value);
    6262    vm.heap.writeBarrier(owner, value);
  • trunk/Source/JavaScriptCore/tests/executableAllocationFuzz.yaml

    r181990 r191058  
    2828      else
    2929          runExecutableAllocationFuzz("default")
    30           runExecutableAllocationFuzz("no-cjit", "--enableConcurrentJIT=false")
     30          runExecutableAllocationFuzz("no-cjit", "--useConcurrentJIT=false")
    3131      end
  • trunk/Source/JavaScriptCore/tests/stress/arrowfunction-typeof.js

    r188545 r191058  
    1616
    1717//Fixme: Some bug in inlining typeof with following run parameters ftl-no-cjit-no-inline-validate
    18 // --useFTLJIT\=true --enableFunctionDotArguments\=true --enableConcurrentJIT=false --thresholdForJITAfterWarmUp=100  --validateGraph=true --maximumInliningDepth=1
     18// --useFTLJIT\=true --useFunctionDotArguments\=true --useConcurrentJIT=false --thresholdForJITAfterWarmUp=100  --validateGraph=true --maximumInliningDepth=1
    1919//
    2020// for (var i = 0; i < 10000; ++i)  {
  • trunk/Source/JavaScriptCore/tests/stress/disable-function-dot-arguments.js

    r174036 r191058  
    1 //@ run("function-dot-arguments", "--enableFunctionDotArguments=false")
     1//@ run("function-dot-arguments", "--useFunctionDotArguments=false")
    22
    33function foo() {
  • trunk/Source/JavaScriptCore/tests/stress/math-sqrt-basics-disable-architecture-specific-optimizations.js

    r180085 r191058  
    1 //@ run("no-architecture-specific-optimizations", "--enableArchitectureSpecificOptimizations=false", *NO_CJIT_OPTIONS)
    2 //@ run("no-architecture-specific-optimizations-ftl", "--enableArchitectureSpecificOptimizations=false", *FTL_OPTIONS)
     1//@ run("no-architecture-specific-optimizations", "--useArchitectureSpecificOptimizations=false", *NO_CJIT_OPTIONS)
     2//@ run("no-architecture-specific-optimizations-ftl", "--useArchitectureSpecificOptimizations=false", *FTL_OPTIONS)
    33
    44// Basic cases of Math.sqrt().
  • trunk/Source/JavaScriptCore/tests/stress/regress-148564.js

    r189120 r191058  
    66// 1. A put operation must not being optimized by the DFG into a PutByOffset.
    77//    It needs to be a PutById node instead so that it will use the inline cache.
    8 //    This is satisfied by using the --enableAccessInlining=false option above.
     8//    This is satisfied by using the --useAccessInlining=false option above.
    99//
    1010// 2. The PutById's execution must go through its transition stub.
  • trunk/Tools/ChangeLog

    r191047 r191058  
     12015-10-14  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename some JSC option names to be more uniform.
     4        https://bugs.webkit.org/show_bug.cgi?id=150127
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
     9        * Scripts/run-jsc-stress-tests:
     10
    1112015-10-14  Anders Carlsson  <andersca@apple.com>
    212
  • trunk/Tools/Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz

    r181990 r191058  
    7070}
    7171
    72 open (my $testInput, "$commandString --enableExecutableAllocationFuzz=true |") or fail("Cannot execute initial command when getting check count");
     72open (my $testInput, "$commandString --useExecutableAllocationFuzz=true |") or fail("Cannot execute initial command when getting check count");
    7373while (my $inputLine = <$testInput>) {
    7474    chomp($inputLine);
     
    102102        print "iteration($iteration) target($target) one-shot: Running.\n";
    103103    }
    104     my $result = system("$commandString --enableExecutableAllocationFuzz=true --fireExecutableAllocationFuzzAt=$target");
     104    my $result = system("$commandString --useExecutableAllocationFuzz=true --fireExecutableAllocationFuzzAt=$target");
    105105    if ($result != 0) {
    106106        fail("Cannot execute command on iteration $iteration, status $? for target $target");
     
    116116        print "iteration($iteration) target($target) at-or-after: Running.\n";
    117117    }
    118     my $result = system("$commandString --enableExecutableAllocationFuzz=true --fireExecutableAllocationFuzzAtOrAfter=$target");
     118    my $result = system("$commandString --useExecutableAllocationFuzz=true --fireExecutableAllocationFuzzAtOrAfter=$target");
    119119    if ($result != 0) {
    120120        fail("Cannot execute command on iteration $iteration, status $? for target $target");
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r190630 r191058  
    362362$numFailures = 0
    363363
    364 BASE_OPTIONS = ["--useFTLJIT=false", "--enableFunctionDotArguments=true"]
     364BASE_OPTIONS = ["--useFTLJIT=false", "--useFunctionDotArguments=true"]
    365365EAGER_OPTIONS = ["--thresholdForJITAfterWarmUp=10", "--thresholdForJITSoon=10", "--thresholdForOptimizeAfterWarmUp=20", "--thresholdForOptimizeAfterLongWarmUp=20", "--thresholdForOptimizeSoon=20", "--thresholdForFTLOptimizeAfterWarmUp=20", "--thresholdForFTLOptimizeSoon=20", "--maximumEvalCacheableSourceLength=150000"]
    366 NO_CJIT_OPTIONS = ["--enableConcurrentJIT=false", "--thresholdForJITAfterWarmUp=100"]
     366NO_CJIT_OPTIONS = ["--useConcurrentJIT=false", "--thresholdForJITAfterWarmUp=100"]
    367367FTL_OPTIONS = ["--useFTLJIT=true", "--ftlCrashesIfCantInitializeLLVM=true"]
    368368
     
    780780
    781781def runNoCJITNoASO
    782     run("no-cjit-no-aso", "--enableArchitectureSpecificOptimizations=false", *NO_CJIT_OPTIONS)
     782    run("no-cjit-no-aso", "--useArchitectureSpecificOptimizations=false", *NO_CJIT_OPTIONS)
    783783end
    784784
     
    788788
    789789def runNoCJITNoAccessInlining
    790     run("no-cjit-no-access-inlining", "--enableAccessInlining=false", *NO_CJIT_OPTIONS)
     790    run("no-cjit-no-access-inlining", "--useAccessInlining=false", *NO_CJIT_OPTIONS)
    791791end
    792792
    793793def runFTLNoCJITNoAccessInlining
    794     run("ftl-no-cjit-no-access-inlining", "--enableAccessInlining=false", *(FTL_OPTIONS + NO_CJIT_OPTIONS)) if $enableFTL
     794    run("ftl-no-cjit-no-access-inlining", "--useAccessInlining=false", *(FTL_OPTIONS + NO_CJIT_OPTIONS)) if $enableFTL
    795795end
    796796
     
    808808
    809809def runDFGMaximalFlushPhase
    810     run("dfg-maximal-flush-validate-no-cjit", "--validateGraph=true", "--enableMaximalFlushInsertionPhase=true", *NO_CJIT_OPTIONS)
     810    run("dfg-maximal-flush-validate-no-cjit", "--validateGraph=true", "--useMaximalFlushInsertionPhase=true", *NO_CJIT_OPTIONS)
    811811end
    812812
     
    904904
    905905    if $enableFTL
    906         run("ftl-no-cjit-type-profiler", "--enableTypeProfiler=true", *(FTL_OPTIONS + NO_CJIT_OPTIONS))
    907     else
    908         run("no-cjit-type-profiler", "--enableTypeProfiler=true", *NO_CJIT_OPTIONS)
     906        run("ftl-no-cjit-type-profiler", "--useTypeProfiler=true", *(FTL_OPTIONS + NO_CJIT_OPTIONS))
     907    else
     908        run("no-cjit-type-profiler", "--useTypeProfiler=true", *NO_CJIT_OPTIONS)
    909909    end
    910910end
     
    916916
    917917    if $enableFTL
    918         run("ftl-no-cjit-type-profiler", "--enableControlFlowProfiler=true", *(FTL_OPTIONS + NO_CJIT_OPTIONS))
    919     else
    920         run("no-cjit-type-profiler", "--enableControlFlowProfiler=true", *NO_CJIT_OPTIONS)
     918        run("ftl-no-cjit-type-profiler", "--useControlFlowProfiler=true", *(FTL_OPTIONS + NO_CJIT_OPTIONS))
     919    else
     920        run("no-cjit-type-profiler", "--useControlFlowProfiler=true", *NO_CJIT_OPTIONS)
    921921    end
    922922end
Note: See TracChangeset for help on using the changeset viewer.