deps: patch V8 to 13.7.152.14
Refs: https://github.com/v8/v8/compare/13.7.152.13...13.7.152.14
This commit is contained in:
parent
3b111eb3f5
commit
64b9a63ed1
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_MAJOR_VERSION 13
|
||||||
#define V8_MINOR_VERSION 7
|
#define V8_MINOR_VERSION 7
|
||||||
#define V8_BUILD_NUMBER 152
|
#define V8_BUILD_NUMBER 152
|
||||||
#define V8_PATCH_LEVEL 13
|
#define V8_PATCH_LEVEL 14
|
||||||
|
|
||||||
// Use 1 for candidates and 0 otherwise.
|
// Use 1 for candidates and 0 otherwise.
|
||||||
// (Boolean macro values are not supported by all preprocessors.)
|
// (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();
|
const bool indexed = type1.has_index();
|
||||||
if (indexed != type2.has_index()) return false;
|
if (indexed != type2.has_index()) return false;
|
||||||
if (indexed) {
|
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;
|
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_;
|
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 {
|
constexpr bool IsFunctionType() const {
|
||||||
return ref_type_kind() == RefTypeKind::kFunction;
|
return ref_type_kind() == RefTypeKind::kFunction;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user