Skip to content

Commit 44de232

Browse files
targosRafaelGSS
authored andcommitted
deps: patch V8 to 10.7.193.20
Refs: v8/v8@10.7.193.16...10.7.193.20 PR-URL: #45228 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent 88c3bb6 commit 44de232

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

deps/v8/DEPS

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ vars = {
3737
'download_jsfunfuzz': False,
3838
'download_prebuilt_bazel': False,
3939
'check_v8_header_includes': False,
40-
'checkout_reclient': False,
4140

4241
# By default, download the fuchsia sdk from the public sdk directory.
4342
'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/gn/',
@@ -143,7 +142,7 @@ deps = {
143142
}
144143
],
145144
'dep_type': 'cipd',
146-
'condition': '(host_os == "linux" or host_os == "mac" or host_os == "win") and checkout_reclient',
145+
'condition': '(host_os == "linux" or host_os == "mac" or host_os == "win") and host_cpu != "s390" and host_cpu != "ppc"',
147146
},
148147
'test/benchmarks/data':
149148
Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f',

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 10
1212
#define V8_MINOR_VERSION 7
1313
#define V8_BUILD_NUMBER 193
14-
#define V8_PATCH_LEVEL 16
14+
#define V8_PATCH_LEVEL 20
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

deps/v8/src/compiler/access-info.cc

+9-3
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,15 @@ PropertyAccessInfo AccessInfoFactory::ComputeDataFieldAccessInfo(
451451
map, descriptor, details_representation));
452452
} else if (details_representation.IsHeapObject()) {
453453
if (descriptors_field_type->IsNone()) {
454-
// Store is not safe if the field type was cleared.
455-
if (access_mode == AccessMode::kStore) {
456-
return Invalid();
454+
switch (access_mode) {
455+
case AccessMode::kStore:
456+
case AccessMode::kStoreInLiteral:
457+
case AccessMode::kDefine:
458+
// Store is not safe if the field type was cleared.
459+
return Invalid();
460+
case AccessMode::kLoad:
461+
case AccessMode::kHas:
462+
break;
457463
}
458464

459465
// The field type was cleared by the GC, so we don't know anything

deps/v8/src/wasm/graph-builder-interface.cc

+8
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class WasmGraphBuildingInterface {
8888
struct TryInfo : public ZoneObject {
8989
SsaEnv* catch_env;
9090
TFNode* exception = nullptr;
91+
bool first_catch = true;
9192

9293
bool might_throw() const { return exception != nullptr; }
9394

@@ -936,6 +937,10 @@ class WasmGraphBuildingInterface {
936937

937938
TFNode* exception = block->try_info->exception;
938939
SetEnv(block->try_info->catch_env);
940+
if (block->try_info->first_catch) {
941+
LoadContextIntoSsa(ssa_env_, decoder);
942+
block->try_info->first_catch = false;
943+
}
939944

940945
TFNode* if_catch = nullptr;
941946
TFNode* if_no_catch = nullptr;
@@ -1013,6 +1018,9 @@ class WasmGraphBuildingInterface {
10131018
}
10141019

10151020
SetEnv(block->try_info->catch_env);
1021+
if (block->try_info->first_catch) {
1022+
LoadContextIntoSsa(ssa_env_, decoder);
1023+
}
10161024
}
10171025

10181026
void AtomicOp(FullDecoder* decoder, WasmOpcode opcode,

0 commit comments

Comments
 (0)