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/jit/JITInlines.h

    r251090 r251106  
    718718
    719719template<typename BinaryOp>
    720 ALWAYS_INLINE BinaryArithProfile JIT::copiedArithProfile(BinaryOp bytecode)
     720ALWAYS_INLINE ArithProfile JIT::copiedArithProfile(BinaryOp bytecode)
    721721{
    722722    uint64_t key = (static_cast<uint64_t>(BinaryOp::opcodeID) + 1) << 32 | static_cast<uint64_t>(bytecode.m_metadataID);
     
    724724    if (iterator != m_copiedArithProfiles.end())
    725725        return iterator->value;
    726     BinaryArithProfile arithProfile = bytecode.metadata(m_codeBlock).m_arithProfile;
     726    ArithProfile arithProfile = bytecode.metadata(m_codeBlock).m_arithProfile;
    727727    m_copiedArithProfiles.add(key, arithProfile);
    728728    return arithProfile;
Note: See TracChangeset for help on using the changeset viewer.