mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
deps: patch V8 to 13.7.152.14
Refs: https://github.com/v8/v8/compare/13.7.152.13...13.7.152.14 PR-URL: https://github.com/nodejs/node/pull/58631 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
5fe7800683
commit
0b3fc0d7a8
2
deps/v8/include/v8-version.h
vendored
2
deps/v8/include/v8-version.h
vendored
|
|
@ -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.)
|
||||
|
|
|
|||
3
deps/v8/src/wasm/canonical-types.h
vendored
3
deps/v8/src/wasm/canonical-types.h
vendored
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
4
deps/v8/src/wasm/value-type.h
vendored
4
deps/v8/src/wasm/value-type.h
vendored
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user