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/CodeBlock.h

    r252015 r252021  
    8484#endif
    8585
    86 class UnaryArithProfile;
    87 class BinaryArithProfile;
    8886class BytecodeLivenessAnalysis;
    8987class CodeBlockSet;
     
    9997enum class AccessType : int8_t;
    10098
     99struct ArithProfile;
    101100struct OpCatch;
    102101
     
    281280    JITData& ensureJITDataSlow(const ConcurrentJSLocker&);
    282281
    283     JITAddIC* addJITAddIC(BinaryArithProfile*);
    284     JITMulIC* addJITMulIC(BinaryArithProfile*);
    285     JITNegIC* addJITNegIC(UnaryArithProfile*);
    286     JITSubIC* addJITSubIC(BinaryArithProfile*);
     282    JITAddIC* addJITAddIC(ArithProfile*);
     283    JITMulIC* addJITMulIC(ArithProfile*);
     284    JITNegIC* addJITNegIC(ArithProfile*);
     285    JITSubIC* addJITSubIC(ArithProfile*);
    287286
    288287    template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITAddGenerator>::value>::type>
    289     JITAddIC* addMathIC(BinaryArithProfile* profile) { return addJITAddIC(profile); }
     288    JITAddIC* addMathIC(ArithProfile* profile) { return addJITAddIC(profile); }
    290289
    291290    template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITMulGenerator>::value>::type>
    292     JITMulIC* addMathIC(BinaryArithProfile* profile) { return addJITMulIC(profile); }
     291    JITMulIC* addMathIC(ArithProfile* profile) { return addJITMulIC(profile); }
    293292
    294293    template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITNegGenerator>::value>::type>
    295     JITNegIC* addMathIC(UnaryArithProfile* profile) { return addJITNegIC(profile); }
     294    JITNegIC* addMathIC(ArithProfile* profile) { return addJITNegIC(profile); }
    296295
    297296    template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITSubGenerator>::value>::type>
    298     JITSubIC* addMathIC(BinaryArithProfile* profile) { return addJITSubIC(profile); }
     297    JITSubIC* addMathIC(ArithProfile* profile) { return addJITSubIC(profile); }
    299298
    300299    StructureStubInfo* addStubInfo(AccessType);
     
    499498    template<typename Functor> void forEachLLIntCallLinkInfo(const Functor&);
    500499
    501     BinaryArithProfile* binaryArithProfileForBytecodeIndex(BytecodeIndex);
    502     UnaryArithProfile* unaryArithProfileForBytecodeIndex(BytecodeIndex);
    503     BinaryArithProfile* binaryArithProfileForPC(const Instruction*);
    504     UnaryArithProfile* unaryArithProfileForPC(const Instruction*);
     500    ArithProfile* arithProfileForBytecodeIndex(BytecodeIndex);
     501    ArithProfile* arithProfileForPC(const Instruction*);
    505502
    506503    bool couldTakeSpecialArithFastCase(BytecodeIndex bytecodeOffset);
Note: See TracChangeset for help on using the changeset viewer.