Ignore:
Timestamp:
Oct 14, 2019, 3:52:11 PM (6 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r251090.
https://bugs.webkit.org/show_bug.cgi?id=202959

"broke tests" (Requested by RMorisset on #webkit).

Reverted changeset:

"Split ArithProfile into a Unary and a Binary version"
https://bugs.webkit.org/show_bug.cgi?id=202832
https://trac.webkit.org/changeset/251090

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r251090 r251106  
    40014001    CodeBlock* baselineCodeBlock = m_jit.graph().baselineCodeBlockFor(node->origin.semantic);
    40024002    unsigned bytecodeIndex = node->origin.semantic.bytecodeIndex();
    4003     BinaryArithProfile* arithProfile = baselineCodeBlock->binaryArithProfileForBytecodeOffset(bytecodeIndex);
     4003    ArithProfile* arithProfile = baselineCodeBlock->arithProfileForBytecodeOffset(bytecodeIndex);
    40044004    JITAddIC* addIC = m_jit.codeBlock()->addJITAddIC(arithProfile);
    40054005    auto repatchingFunction = operationValueAddOptimize;
     
    40254025        CodeBlock* baselineCodeBlock = m_jit.graph().baselineCodeBlockFor(node->origin.semantic);
    40264026        unsigned bytecodeIndex = node->origin.semantic.bytecodeIndex();
    4027         BinaryArithProfile* arithProfile = baselineCodeBlock->binaryArithProfileForBytecodeOffset(bytecodeIndex);
     4027        ArithProfile* arithProfile = baselineCodeBlock->arithProfileForBytecodeOffset(bytecodeIndex);
    40284028        JITSubIC* subIC = m_jit.codeBlock()->addJITSubIC(arithProfile);
    40294029        auto repatchingFunction = operationValueSubOptimize;
     
    46194619    CodeBlock* baselineCodeBlock = m_jit.graph().baselineCodeBlockFor(node->origin.semantic);
    46204620    unsigned bytecodeIndex = node->origin.semantic.bytecodeIndex();
    4621     UnaryArithProfile* arithProfile = baselineCodeBlock->unaryArithProfileForBytecodeOffset(bytecodeIndex);
     4621    ArithProfile* arithProfile = baselineCodeBlock->arithProfileForBytecodeOffset(bytecodeIndex);
    46224622    JITNegIC* negIC = m_jit.codeBlock()->addJITNegIC(arithProfile);
    46234623    auto repatchingFunction = operationArithNegateOptimize;
     
    48424842    CodeBlock* baselineCodeBlock = m_jit.graph().baselineCodeBlockFor(node->origin.semantic);
    48434843    unsigned bytecodeIndex = node->origin.semantic.bytecodeIndex();
    4844     BinaryArithProfile* arithProfile = baselineCodeBlock->binaryArithProfileForBytecodeOffset(bytecodeIndex);
     4844    ArithProfile* arithProfile = baselineCodeBlock->arithProfileForBytecodeOffset(bytecodeIndex);
    48454845    JITMulIC* mulIC = m_jit.codeBlock()->addJITMulIC(arithProfile);
    48464846    auto repatchingFunction = operationValueMulOptimize;
Note: See TracChangeset for help on using the changeset viewer.