Skip to content

Commit 1067cf4

Browse files
targosnodejs-github-bot
authored andcommitted
tools: update V8 gypfiles for 12.1
Refs: v8/v8@08c87ab Refs: v8/v8@d136cd9
1 parent 4e3fc72 commit 1067cf4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tools/v8_gypfiles/features.gypi

+6
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@
260260
# Allow for JS promise hooks (instead of just C++).
261261
'v8_enable_javascript_promise_hooks%': 0,
262262

263+
# Allow for JS promise hooks (instead of just C++).
264+
'v8_enable_continuation_preserved_embedder_data%': 1,
265+
263266
# Enable allocation folding globally (sets -dV8_ALLOCATION_FOLDING).
264267
# When it's disabled, the --turbo-allocation-folding runtime flag will be ignored.
265268
'v8_enable_allocation_folding%': 1,
@@ -501,6 +504,9 @@
501504
['v8_enable_javascript_promise_hooks==1', {
502505
'defines': ['V8_ENABLE_JAVASCRIPT_PROMISE_HOOKS',],
503506
}],
507+
['v8_enable_continuation_preserved_embedder_data==1', {
508+
'defines': ['V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA',],
509+
}],
504510
['v8_enable_allocation_folding==1', {
505511
'defines': ['V8_ALLOCATION_FOLDING',],
506512
}],

tools/v8_gypfiles/v8.gyp

+1
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)