Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b35837

Browse filesBrowse files
committed
deps: V8: cherry-pick cf21eb36b975
Original commit message: [baseline] Skip deoptimization data size Sparkplug code does not contain deoptimization data. Bug: v8:12258 Change-Id: Ieb9f7f1469e00677d9533c6f05b17c80ef06b9d6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3175820 Commit-Queue: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#76997} Refs: v8/v8@cf21eb3 PR-URL: #40178 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6b40383 commit 5b35837
Copy full SHA for 5b35837

File tree

Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.8',
39+
'v8_embedder_string': '-node.9',
4040

4141
##### V8 defaults for Node.js #####
4242

Collapse file

‎deps/v8/src/objects/code-inl.h‎

Copy file name to clipboardExpand all lines: deps/v8/src/objects/code-inl.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,9 @@ int Code::MetadataSize() const {
394394
int Code::SizeIncludingMetadata() const {
395395
int size = CodeSize();
396396
size += relocation_info().Size();
397-
size += deoptimization_data().Size();
397+
if (kind() != CodeKind::BASELINE) {
398+
size += deoptimization_data().Size();
399+
}
398400
return size;
399401
}
400402

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.