Changeset 99693 in webkit


Ignore:
Timestamp:
Nov 9, 2011 5:31:59 AM (12 years ago)
Author:
Csaba Osztrogonác
Message:

Enable the DFG JIT on x86-64 Linux platforms
https://bugs.webkit.org/show_bug.cgi?id=71373

Enable DFG JIT by default on X86 Linux and Mac platforms
https://bugs.webkit.org/show_bug.cgi?id=71686

Buildfix for stricter compilers: -Werror=unused-but-set-variable

Reviewed by Zoltan Herczeg.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compilePutByValForByteArray):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r99681 r99693  
     12011-11-09  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Enable the DFG JIT on x86-64 Linux platforms
     4        https://bugs.webkit.org/show_bug.cgi?id=71373
     5
     6        Enable DFG JIT by default on X86 Linux and Mac platforms
     7        https://bugs.webkit.org/show_bug.cgi?id=71686
     8
     9        Buildfix for stricter compilers: -Werror=unused-but-set-variable
     10
     11        Reviewed by Zoltan Herczeg.
     12
     13        * dfg/DFGSpeculativeJIT.cpp:
     14        (JSC::DFG::SpeculativeJIT::compilePutByValForByteArray):
     15        * dfg/DFGSpeculativeJIT32_64.cpp:
     16        (JSC::DFG::SpeculativeJIT::compile):
     17        * dfg/DFGSpeculativeJIT64.cpp:
     18        (JSC::DFG::SpeculativeJIT::compile):
     19
    1202011-11-09  Sheriff Bot  <webkit.review.bot@gmail.com>
    221
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r99633 r99693  
    732732        m_jit.move(valueOp.gpr(), scratchReg);
    733733        MacroAssembler::Jump inBounds = m_jit.branch32(MacroAssembler::BelowOrEqual, scratchReg, TrustedImm32(0xff));
    734         MacroAssembler::Jump tooBig = m_jit.branch32(MacroAssembler::GreaterThan, scratchReg, TrustedImm32(0xff));
     734        m_jit.branch32(MacroAssembler::GreaterThan, scratchReg, TrustedImm32(0xff));
    735735        m_jit.xorPtr(scratchReg, scratchReg);
    736736        MacroAssembler::Jump clamped = m_jit.jump();
     
    750750        valueGPR = gpr;
    751751    }
    752     ASSERT(valueGPR != property);
     752    ASSERT_UNUSED(valueGPR, valueGPR != property);
    753753    ASSERT(valueGPR != base);
    754754    GPRTemporary storage(this);
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp

    r99652 r99693  
    15061506        // Code to handle put beyond array bounds.
    15071507        silentSpillAllRegisters(scratchReg);
    1508         JITCompiler::Call functionCall = callOperation(operationPutByValBeyondArrayBounds, baseReg, propertyReg, valueTagReg, valuePayloadReg);
     1508        callOperation(operationPutByValBeyondArrayBounds, baseReg, propertyReg, valueTagReg, valuePayloadReg);
    15091509        silentFillAllRegisters(scratchReg);
    15101510        JITCompiler::Jump wasBeyondArrayBounds = m_jit.jump();
     
    24942494        structuresNotMatch.link(&m_jit);
    24952495        silentSpillAllRegisters(resultTagGPR, resultPayloadGPR);
    2496         JITCompiler::Call functionCall = callOperation(operationResolveGlobal, resultTagGPR, resultPayloadGPR, resolveInfoGPR, &m_jit.codeBlock()->identifier(data.identifierNumber));
     2496        callOperation(operationResolveGlobal, resultTagGPR, resultPayloadGPR, resolveInfoGPR, &m_jit.codeBlock()->identifier(data.identifierNumber));
    24972497        silentFillAllRegisters(resultTagGPR, resultPayloadGPR);
    24982498
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp

    r99652 r99693  
    15501550        // Code to handle put beyond array bounds.
    15511551        silentSpillAllRegisters(scratchReg);
    1552         JITCompiler::Call functionCall = callOperation(operationPutByValBeyondArrayBounds, baseReg, propertyReg, valueReg);
     1552        callOperation(operationPutByValBeyondArrayBounds, baseReg, propertyReg, valueReg);
    15531553        silentFillAllRegisters(scratchReg);
    15541554        JITCompiler::Jump wasBeyondArrayBounds = m_jit.jump();
     
    24692469
    24702470        silentSpillAllRegisters(resultGPR);
    2471         JITCompiler::Call functionCall = callOperation(operationResolveGlobal, resultGPR, resolveInfoGPR, &m_jit.codeBlock()->identifier(data.identifierNumber));
     2471        callOperation(operationResolveGlobal, resultGPR, resolveInfoGPR, &m_jit.codeBlock()->identifier(data.identifierNumber));
    24722472        silentFillAllRegisters(resultGPR);
    24732473
Note: See TracChangeset for help on using the changeset viewer.