File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1111#define V8_MAJOR_VERSION 7
1212#define V8_MINOR_VERSION 9
1313#define V8_BUILD_NUMBER 317
14- #define V8_PATCH_LEVEL 22
14+ #define V8_PATCH_LEVEL 23
1515
1616// Use 1 for candidates and 0 otherwise.
1717// (Boolean macro values are not supported by all preprocessors.)
Original file line number Diff line number Diff line change @@ -605,8 +605,14 @@ std::shared_ptr<BackingStore> GlobalBackingStoreRegistry::Lookup(
605605 return std::shared_ptr<BackingStore>();
606606 }
607607 auto backing_store = result->second .lock ();
608- DCHECK_EQ (buffer_start, backing_store->buffer_start ());
609- DCHECK_EQ (length, backing_store->byte_length ());
608+ CHECK_EQ (buffer_start, backing_store->buffer_start ());
609+ if (backing_store->is_wasm_memory ()) {
610+ // Grow calls to shared WebAssembly threads can be triggered from different
611+ // workers, length equality cannot be guaranteed here.
612+ CHECK_LE (length, backing_store->byte_length ());
613+ } else {
614+ CHECK_EQ (length, backing_store->byte_length ());
615+ }
610616 return backing_store;
611617}
612618
You can’t perform that action at this time.
0 commit comments