Ignore:
Timestamp:
Nov 4, 2019, 3:47:07 PM (6 years ago)
Author:
Truitt Savell
Message:

Unreviewed, rolling out r252015.

Broke the Windows build

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/252015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r252015 r252021  
    965965
    966966llintOpWithMetadata(op_negate, OpNegate, macro (size, get, dispatch, metadata, return)
    967 
    968     macro updateArithProfile(type)
    969         orh type, OpNegate::Metadata::m_arithProfile + UnaryArithProfile::m_bits[t1]
    970     end
    971 
    972967    get(m_operand, t0)
    973968    loadConstantOrVariable(size, t0, t3)
    974969    metadata(t1, t2)
     970    loadi OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1], t2
    975971    bqb t3, numberTag, .opNegateNotInt
    976972    btiz t3, 0x7fffffff, .opNegateSlow
    977973    negi t3
    978974    orq numberTag, t3
    979     updateArithProfile(ArithProfileInt)
     975    ori ArithProfileInt, t2
     976    storei t2, OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1]
    980977    return(t3)
    981978.opNegateNotInt:
    982979    btqz t3, numberTag, .opNegateSlow
    983980    xorq 0x8000000000000000, t3
    984     updateArithProfile(ArithProfileNumber)
     981    ori ArithProfileNumber, t2
     982    storei t2, OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1]
    985983    return(t3)
    986984
     
    996994
    997995        macro profile(type)
    998             orh type, %opcodeStruct%::Metadata::m_arithProfile + UnaryArithProfile::m_bits[t5]
     996            ori type, %opcodeStruct%::Metadata::m_arithProfile + ArithProfile::m_bits[t5]
    999997        end
    1000998
Note: See TracChangeset for help on using the changeset viewer.