Commit 361a643
deps: V8: backport f3cad8cec656
Original commit message:
[serializer] allow SnapshotCreator to destruct without a blob
Previously SnapshotCreator demanded a blob to be created before
it can be destructed in debug build, this patch removes the
DCHECK so that the embedder can choose not to create the blob
when e.g. the snapshot building isn't successful due to errors.
Change-Id: I72939be1e0d79b257b9761f48a72e45325a1f6d8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3716682
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/main@{#81644}
Refs: v8/v8@f3cad8c
PR-URL: #43531
Refs: #35711
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>1 parent 5db0c8f commit 361a643Copy full SHA for 361a643
File tree
Expand file treeCollapse file tree
2 files changed
+31
-3
lines changedOpen diff view settings
Filter options
- deps/v8
- src/api
- test/cctest
Expand file treeCollapse file tree
2 files changed
+31
-3
lines changedOpen diff view settings
Collapse file
+6-3Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
483 | 483 | |
484 | 484 | |
485 | 485 | |
486 | | - |
487 | 486 | |
488 | 487 | |
489 | 488 | |
| ||
590 | 589 | |
591 | 590 | |
592 | 591 | |
593 | | - |
594 | | - |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
595 | 598 | |
596 | 599 | |
597 | 600 | |
|
Collapse file
deps/v8/test/cctest/test-serialize.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-serialize.cc+25Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2840 | 2840 | |
2841 | 2841 | |
2842 | 2842 | |
| 2843 | + |
| 2844 | + |
| 2845 | + |
| 2846 | + |
| 2847 | + |
| 2848 | + |
| 2849 | + |
| 2850 | + |
| 2851 | + |
| 2852 | + |
| 2853 | + |
| 2854 | + |
| 2855 | + |
| 2856 | + |
| 2857 | + |
| 2858 | + |
| 2859 | + |
| 2860 | + |
| 2861 | + |
| 2862 | + |
| 2863 | + |
| 2864 | + |
| 2865 | + |
| 2866 | + |
| 2867 | + |
2843 | 2868 | |
2844 | 2869 | |
2845 | 2870 | |
|
0 commit comments