Skip to content

Commit 1d69220

Browse files
committed
tools: update V8 gypfiles for 12.1
Refs: v8/v8@08c87ab Refs: v8/v8@d136cd9
1 parent 2bf5308 commit 1d69220

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tools/v8_gypfiles/features.gypi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@
270270
# Allow for JS promise hooks (instead of just C++).
271271
'v8_enable_javascript_promise_hooks%': 0,
272272

273+
# Allow for JS promise hooks (instead of just C++).
274+
'v8_enable_continuation_preserved_embedder_data%': 1,
275+
273276
# Enable allocation folding globally (sets -dV8_ALLOCATION_FOLDING).
274277
# When it's disabled, the --turbo-allocation-folding runtime flag will be ignored.
275278
'v8_enable_allocation_folding%': 1,
@@ -522,6 +525,9 @@
522525
['v8_enable_javascript_promise_hooks==1', {
523526
'defines': ['V8_ENABLE_JAVASCRIPT_PROMISE_HOOKS',],
524527
}],
528+
['v8_enable_continuation_preserved_embedder_data==1', {
529+
'defines': ['V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA',],
530+
}],
525531
['v8_enable_allocation_folding==1', {
526532
'defines': ['V8_ALLOCATION_FOLDING',],
527533
}],

tools/v8_gypfiles/v8.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@
389389
'variables': {
390390
'mksnapshot_flags': [
391391
'--turbo_instruction_scheduling',
392+
'--stress-turbo-late-spilling',
392393
# In cross builds, the snapshot may be generated for both the host and
393394
# target toolchains. The same host binary is used to generate both, so
394395
# mksnapshot needs to know which target OS to use at runtime. It's weird,

0 commit comments

Comments
 (0)