File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1111#define V8_MAJOR_VERSION 13
1212#define V8_MINOR_VERSION 7
1313#define V8_BUILD_NUMBER 152
14- #define V8_PATCH_LEVEL 13
14+ #define V8_PATCH_LEVEL 14
1515
1616// Use 1 for candidates and 0 otherwise.
1717// (Boolean macro values are not supported by all preprocessors.)
Original file line number Diff line number Diff line change @@ -357,7 +357,8 @@ class TypeCanonicalizer {
357357 const bool indexed = type1.has_index ();
358358 if (indexed != type2.has_index ()) return false ;
359359 if (indexed) {
360- return EqualTypeIndex (type1.ref_index (), type2.ref_index ());
360+ return type1.is_equal_except_index (type2) &&
361+ EqualTypeIndex (type1.ref_index (), type2.ref_index ());
361362 }
362363 return type1 == type2;
363364 }
Original file line number Diff line number Diff line change @@ -1062,6 +1062,10 @@ class CanonicalValueType : public ValueTypeBase {
10621062 return bit_field_ == other.bit_field_ ;
10631063 }
10641064
1065+ constexpr bool is_equal_except_index (CanonicalValueType other) const {
1066+ return (bit_field_ & ~kIndexBits ) == (other.bit_field_ & ~kIndexBits );
1067+ }
1068+
10651069 constexpr bool IsFunctionType () const {
10661070 return ref_type_kind () == RefTypeKind::kFunction ;
10671071 }
You can’t perform that action at this time.
0 commit comments