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

    r252015 r252021  
    238238
    239239template<OpcodeSize size>
    240 struct Fits<ResultType, size, std::enable_if_t<sizeof(ResultType) != size, std::true_type>> : public Fits<uint8_t, size> {
    241     static_assert(sizeof(ResultType) == sizeof(uint8_t));
    242     using Base = Fits<uint8_t, size>;
    243 
    244     static bool check(ResultType type) { return Base::check(type.bits()); }
    245 
    246     static typename Base::TargetType convert(ResultType type) { return Base::convert(type.bits()); }
    247 
    248     static ResultType convert(typename Base::TargetType type) { return ResultType(Base::convert(type)); }
    249 };
    250 
    251 template<OpcodeSize size>
    252240struct Fits<OperandTypes, size, std::enable_if_t<sizeof(OperandTypes) != size, std::true_type>> {
    253241    static_assert(sizeof(OperandTypes) == sizeof(uint16_t));
Note: See TracChangeset for help on using the changeset viewer.