Skip to content

Commit

Permalink
tools: update V8 gypfiles for 12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored and nodejs-github-bot committed Nov 17, 2023
1 parent 5061fa3 commit 0b876cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/v8_gypfiles/features.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@
# Allow for JS promise hooks (instead of just C++).
'v8_enable_javascript_promise_hooks%': 0,

# Allow for JS promise hooks (instead of just C++).
'v8_enable_continuation_preserved_embedder_data%': 1,

# Enable allocation folding globally (sets -dV8_ALLOCATION_FOLDING).
# When it's disabled, the --turbo-allocation-folding runtime flag will be ignored.
'v8_enable_allocation_folding%': 1,
Expand Down Expand Up @@ -501,6 +504,9 @@
['v8_enable_javascript_promise_hooks==1', {
'defines': ['V8_ENABLE_JAVASCRIPT_PROMISE_HOOKS',],
}],
['v8_enable_continuation_preserved_embedder_data==1', {
'defines': ['V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA',],
}],
['v8_enable_allocation_folding==1', {
'defines': ['V8_ALLOCATION_FOLDING',],
}],
Expand Down
1 change: 1 addition & 0 deletions tools/v8_gypfiles/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@
'variables': {
'mksnapshot_flags': [
'--turbo_instruction_scheduling',
'--stress-turbo-late-spilling',
# In cross builds, the snapshot may be generated for both the host and
# target toolchains. The same host binary is used to generate both, so
# mksnapshot needs to know which target OS to use at runtime. It's weird,
Expand Down

0 comments on commit 0b876cd

Please sign in to comment.