Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/v8/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 13
#define V8_MINOR_VERSION 7
#define V8_BUILD_NUMBER 152
#define V8_PATCH_LEVEL 13
#define V8_PATCH_LEVEL 14

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
3 changes: 2 additions & 1 deletion deps/v8/src/wasm/canonical-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ class TypeCanonicalizer {
const bool indexed = type1.has_index();
if (indexed != type2.has_index()) return false;
if (indexed) {
return EqualTypeIndex(type1.ref_index(), type2.ref_index());
return type1.is_equal_except_index(type2) &&
EqualTypeIndex(type1.ref_index(), type2.ref_index());
}
return type1 == type2;
}
Expand Down
4 changes: 4 additions & 0 deletions deps/v8/src/wasm/value-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,10 @@ class CanonicalValueType : public ValueTypeBase {
return bit_field_ == other.bit_field_;
}

constexpr bool is_equal_except_index(CanonicalValueType other) const {
return (bit_field_ & ~kIndexBits) == (other.bit_field_ & ~kIndexBits);
}

constexpr bool IsFunctionType() const {
return ref_type_kind() == RefTypeKind::kFunction;
}
Expand Down
Loading