We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b40383 commit 5b35837Copy full SHA for 5b35837
common.gypi
@@ -36,7 +36,7 @@
36
37
# Reset this number to 0 on major V8 upgrades.
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.8',
+ 'v8_embedder_string': '-node.9',
40
41
##### V8 defaults for Node.js #####
42
deps/v8/src/objects/code-inl.h
@@ -394,7 +394,9 @@ int Code::MetadataSize() const {
394
int Code::SizeIncludingMetadata() const {
395
int size = CodeSize();
396
size += relocation_info().Size();
397
- size += deoptimization_data().Size();
+ if (kind() != CodeKind::BASELINE) {
398
+ size += deoptimization_data().Size();
399
+ }
400
return size;
401
}
402
0 commit comments