| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cb9c64a commit 4f282f5
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ | |||
| 11 | 11 | #define V8_MAJOR_VERSION 7 | |
| 12 | 12 | #define V8_MINOR_VERSION 9 | |
| 13 | 13 | #define V8_BUILD_NUMBER 317 | |
| 14 | - #define V8_PATCH_LEVEL 22 | ||
| 14 | + #define V8_PATCH_LEVEL 23 | ||
| 15 | 15 | ||
| 16 | 16 | // Use 1 for candidates and 0 otherwise. | |
| 17 | 17 | // (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( | |||
| 605 | 605 | return std::shared_ptr<BackingStore>(); | |
| 606 | 606 | } | |
| 607 | 607 | 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 | + } | ||
| 610 | 616 | return backing_store; | |
| 611 | 617 | } | |
| 612 | 618 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments