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/bytecode/MethodOfGettingAValueProfile.h

    r252015 r252021  
    3737namespace JSC {
    3838
    39 class UnaryArithProfile;
    40 class BinaryArithProfile;
    4139class CCallHelpers;
    4240class CodeBlock;
    4341class LazyOperandValueProfileKey;
     42struct ArithProfile;
    4443struct ValueProfile;
    4544
     
    5958            m_kind = None;
    6059    }
    61 
    62     MethodOfGettingAValueProfile(UnaryArithProfile* profile)
     60   
     61    MethodOfGettingAValueProfile(ArithProfile* profile)
    6362    {
    6463        if (profile) {
    65             m_kind = UnaryArithProfileReady;
    66             u.unaryArithProfile = profile;
    67         } else
    68             m_kind = None;
    69     }
    70 
    71     MethodOfGettingAValueProfile(BinaryArithProfile* profile)
    72     {
    73         if (profile) {
    74             m_kind = BinaryArithProfileReady;
    75             u.binaryArithProfile = profile;
     64            m_kind = ArithProfileReady;
     65            u.arithProfile = profile;
    7666        } else
    7767            m_kind = None;
     
    9080        None,
    9181        Ready,
    92         UnaryArithProfileReady,
    93         BinaryArithProfileReady,
     82        ArithProfileReady,
    9483        LazyOperand
    9584    };
     
    10291
    10392        ValueProfile* profile;
    104         UnaryArithProfile* unaryArithProfile;
    105         BinaryArithProfile* binaryArithProfile;
     93        ArithProfile* arithProfile;
    10694        struct {
    10795            CodeBlock* codeBlock;
Note: See TracChangeset for help on using the changeset viewer.