Skip to content

Commit 0b3fc0d

Browse files
deps: patch V8 to 13.7.152.14
Refs: v8/v8@13.7.152.13...13.7.152.14 PR-URL: #58631 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5fe7800 commit 0b3fc0d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

deps/v8/include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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.)

deps/v8/src/wasm/canonical-types.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

deps/v8/src/wasm/value-type.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)