Changeset 254632 in webkit for trunk/Source/JavaScriptCore/b3


Ignore:
Timestamp:
Jan 15, 2020, 1:30:57 PM (5 years ago)
Author:
[email protected]
Message:

Revert bytecode checkpoints since it breaks watch
https://bugs.webkit.org/show_bug.cgi?id=206301

Unreviewed, revert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/b3/testb3.h

    r253896 r254632  
    264264
    265265template<typename Type>
    266 struct B3Operand {
     266struct Operand {
    267267    const char* name;
    268268    Type value;
    269269};
    270270
    271 typedef B3Operand<int64_t> Int64Operand;
    272 typedef B3Operand<int32_t> Int32Operand;
    273 typedef B3Operand<int16_t> Int16Operand;
    274 typedef B3Operand<int8_t> Int8Operand;
    275 
    276 #define MAKE_OPERAND(value) B3Operand<decltype(value)> { #value, value }
     271typedef Operand<int64_t> Int64Operand;
     272typedef Operand<int32_t> Int32Operand;
     273typedef Operand<int16_t> Int16Operand;
     274typedef Operand<int8_t> Int8Operand;
     275
     276#define MAKE_OPERAND(value) Operand<decltype(value)> { #value, value }
    277277
    278278template<typename FloatType>
    279 void populateWithInterestingValues(Vector<B3Operand<FloatType>>& operands)
     279void populateWithInterestingValues(Vector<Operand<FloatType>>& operands)
    280280{
    281281    operands.append({ "0.", static_cast<FloatType>(0.) });
     
    303303
    304304template<typename FloatType>
    305 Vector<B3Operand<FloatType>> floatingPointOperands()
    306 {
    307     Vector<B3Operand<FloatType>> operands;
     305Vector<Operand<FloatType>> floatingPointOperands()
     306{
     307    Vector<Operand<FloatType>> operands;
    308308    populateWithInterestingValues(operands);
    309309    return operands;
Note: See TracChangeset for help on using the changeset viewer.