diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 4cf4b9332d754e..6a9ddb7b3a32bb 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -270,6 +270,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, @@ -522,6 +525,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',], }], diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index bfd3766d3b25a7..4f843591093269 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -336,12 +336,12 @@ 'sources': [ '<(V8_ROOT)/src/builtins/riscv/builtins-riscv.cc', ], - }], + }], ['v8_target_arch=="loong64" or v8_target_arch=="loong64"', { 'sources': [ '<(V8_ROOT)/src/builtins/loong64/builtins-loong64.cc', ], - }], + }], ['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', { 'sources': [ '<(V8_ROOT)/src/builtins/mips64/builtins-mips64.cc', @@ -425,6 +425,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, @@ -1124,7 +1125,7 @@ 'sources': [ '