Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.11',
'v8_embedder_string': '-node.8',

##### V8 defaults for Node.js #####

Expand Down
1 change: 1 addition & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2069,6 +2069,7 @@ def configure_v8(o, configs):
if sys.platform != 'darwin':
if o['variables']['v8_enable_webassembly'] and o['variables']['target_arch'] == 'x64':
o['variables']['v8_enable_wasm_simd256_revec'] = 1
o['variables']['v8_enable_verify_write_barriers'] = 1 if options.debug else 0

def configure_openssl(o):
variables = o['variables']
Expand Down
5 changes: 5 additions & 0 deletions deps/v8/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Macros:
- CASE_=case
- FOR_WITH_HANDLE_SCOPE(isolate, init, loop_var, limit_check, increment)=for(init; loop_var; increment)
- WHILE_WITH_HANDLE_SCOPE(isolate, limit_check)=while(limit_check)
# Make clang-format parse conditions in flag implications as expressions, not type definitions.
- DEFINE_IMPLICATION(cond,flag,value)=if(cond) { flag; };
- DEFINE_WEAK_IMPLICATION(cond,flag,value)=if(cond) { flag; };
- DEFINE_VALUE_IMPLICATION(cond,flag,value)=if(cond) { flag = value; };
- DEFINE_WEAK_VALUE_IMPLICATION(cond,flag,value)=if(cond) { flag = value; };
StatementMacros:
- DECL_CAST
- DECL_VERIFIER
3 changes: 3 additions & 0 deletions deps/v8/.gn
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ default_args = {

# Use Siso instead of Ninja.
use_siso = true

# V8 should stay in C++20 for now.
use_cxx23 = false
}

# These are the list of GN files that run exec_script. This whitelist exists
Expand Down
2 changes: 2 additions & 0 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Rong Wang <[email protected]>
Ross Kirsling <[email protected]>
Ruben Bridgewater <[email protected]>
Ryan Dahl <[email protected]>
Sahil Shaikh <[email protected]>
Sakthipriyan Vairamani (thefourtheye) <[email protected]>
Sander Mathijs van Veen <[email protected]>
Sandro Santilli <[email protected]>
Expand Down Expand Up @@ -339,6 +340,7 @@ Zhao Jiazhong <[email protected]>
Zhao Qin <[email protected]>
Zhaojun Meng <[email protected]>
Zheng Liu <[email protected]>
Zhongqi Wang <[email protected]>
Zhongping Wang <[email protected]>
柳荣一 <[email protected]>
Yang Xiang <[email protected]>
Expand Down
70 changes: 53 additions & 17 deletions deps/v8/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ v8_config(
"GOOGLE3",
"V8_ADVANCED_BIGINT_ALGORITHMS",
"V8_CONCURRENT_MARKING",
"V8_ENABLE_LEAPTIERING",
"V8_ENABLE_SPARKPLUG",
"V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT",
"V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA",
Expand All @@ -523,6 +522,18 @@ v8_config(
"V8_ENABLE_CHECKS",
],
"//conditions:default": [],
}) + select({
"@v8//bazel/config:asan_enabled" : [ "V8_USE_ADDRESS_SANITIZER" ],
"//conditions:default": [],
}) + select({
"@v8//bazel/config:hwasan_enabled" : [ "V8_USE_HWADDRESS_SANITIZER" ],
"//conditions:default": [],
}) + select({
"@v8//bazel/config:msan_enabled" : [ "V8_USE_MEMORY_SANITIZER" ],
"//conditions:default": [],
}) + select({
"@v8//bazel/config:ubsan_enabled" : [ "V8_USE_UNDEFINED_BEHAVIOR_SANITIZER" ],
"//conditions:default": [],
}) + select(
{
"@v8//bazel/config:v8_target_ia32": ["V8_TARGET_ARCH_IA32"],
Expand Down Expand Up @@ -797,6 +808,7 @@ filegroup(
"src/base/abort-mode.cc",
"src/base/abort-mode.h",
"src/base/address-region.h",
"src/base/algorithm.h",
"src/base/atomic-utils.h",
"src/base/atomicops.h",
"src/base/base-export.h",
Expand Down Expand Up @@ -826,6 +838,7 @@ filegroup(
"src/base/file-utils.cc",
"src/base/file-utils.h",
"src/base/flags.h",
"src/base/float16.h",
"src/base/fpu.cc",
"src/base/fpu.h",
"src/base/functional/bind-internal.h",
Expand All @@ -843,6 +856,7 @@ filegroup(
"src/base/logging.cc",
"src/base/logging.h",
"src/base/macros.h",
"src/base/memcopy.h",
"src/base/memory.h",
"src/base/numbers/bignum.cc",
"src/base/numbers/bignum.h",
Expand Down Expand Up @@ -1625,6 +1639,7 @@ filegroup(
"src/execution/isolate.cc",
"src/execution/isolate.h",
"src/execution/isolate-data.h",
"src/execution/isolate-data-fields.h",
"src/execution/isolate-inl.h",
"src/execution/isolate-utils.h",
"src/execution/isolate-utils-inl.h",
Expand Down Expand Up @@ -1701,9 +1716,9 @@ filegroup(
"src/heap/base-space.h",
"src/heap/base/active-system-pages.cc",
"src/heap/base/active-system-pages.h",
"src/heap/memory-chunk-metadata.cc",
"src/heap/memory-chunk-metadata.h",
"src/heap/memory-chunk-metadata-inl.h",
"src/heap/base-page.cc",
"src/heap/base-page.h",
"src/heap/base-page-inl.h",
"src/heap/code-range.cc",
"src/heap/code-range.h",
"src/heap/trusted-range.cc",
Expand Down Expand Up @@ -1783,9 +1798,9 @@ filegroup(
"src/heap/incremental-marking-job.h",
"src/heap/index-generator.cc",
"src/heap/index-generator.h",
"src/heap/large-page-metadata.cc",
"src/heap/large-page-metadata.h",
"src/heap/large-page-metadata-inl.h",
"src/heap/large-page.cc",
"src/heap/large-page.h",
"src/heap/large-page-inl.h",
"src/heap/large-spaces.cc",
"src/heap/large-spaces.h",
"src/heap/linear-allocation-area.h",
Expand Down Expand Up @@ -1827,9 +1842,9 @@ filegroup(
"src/heap/memory-allocator.h",
"src/heap/memory-balancer.cc",
"src/heap/memory-balancer.h",
"src/heap/mutable-page-metadata.cc",
"src/heap/mutable-page-metadata.h",
"src/heap/mutable-page-metadata-inl.h",
"src/heap/mutable-page.cc",
"src/heap/mutable-page.h",
"src/heap/mutable-page-inl.h",
"src/heap/memory-chunk.cc",
"src/heap/memory-chunk.h",
"src/heap/memory-chunk-constants.h",
Expand All @@ -1854,9 +1869,9 @@ filegroup(
"src/heap/heap-visitor.cc",
"src/heap/heap-visitor.h",
"src/heap/heap-visitor-inl.h",
"src/heap/page-metadata.cc",
"src/heap/page-metadata.h",
"src/heap/page-metadata-inl.h",
"src/heap/normal-page.cc",
"src/heap/normal-page.h",
"src/heap/normal-page-inl.h",
"src/heap/paged-spaces.cc",
"src/heap/paged-spaces.h",
"src/heap/paged-spaces-inl.h",
Expand Down Expand Up @@ -2203,6 +2218,8 @@ filegroup(
"src/objects/hole.h",
"src/objects/trusted-object.h",
"src/objects/trusted-object-inl.h",
"src/objects/trusted-pointer.h",
"src/objects/trusted-pointer-inl.h",
"src/objects/option-utils.cc",
"src/objects/option-utils.h",
"src/objects/ordered-hash-table.cc",
Expand Down Expand Up @@ -2463,6 +2480,8 @@ filegroup(
"src/runtime/runtime-weak-refs.cc",
"src/sandbox/bounded-size.h",
"src/sandbox/bounded-size-inl.h",
"src/sandbox/bytecode-verifier.h",
"src/sandbox/bytecode-verifier.cc",
"src/sandbox/check.h",
"src/sandbox/external-pointer.h",
"src/sandbox/external-pointer-inl.h",
Expand Down Expand Up @@ -2490,6 +2509,8 @@ filegroup(
"src/sandbox/code-sandboxing-mode.h",
"src/sandbox/compactible-external-entity-table-inl.h",
"src/sandbox/compactible-external-entity-table.h",
"src/sandbox/external-strings-cage.cc",
"src/sandbox/external-strings-cage.h",
"src/sandbox/isolate.h",
"src/sandbox/isolate-inl.h",
"src/sandbox/indirect-pointer.h",
Expand Down Expand Up @@ -2558,6 +2579,7 @@ filegroup(
"src/snapshot/startup-serializer.h",
"src/strings/char-predicates.h",
"src/strings/char-predicates-inl.h",
"src/strings/owning-external-string-resource.h",
"src/strings/string-builder.cc",
"src/strings/string-builder.h",
"src/strings/string-builder-inl.h",
Expand All @@ -2583,6 +2605,7 @@ filegroup(
"src/tasks/task-utils.cc",
"src/tasks/task-utils.h",
"src/torque/runtime-macro-shims.h",
"src/tracing/perfetto-sdk.h",
"src/tracing/trace-event.cc",
"src/tracing/trace-event.h",
"src/tracing/trace-event-no-perfetto.h",
Expand All @@ -2606,7 +2629,6 @@ filegroup(
"src/utils/identity-map.h",
"src/utils/locked-queue.h",
"src/utils/locked-queue-inl.h",
"src/utils/memcopy.cc",
"src/utils/memcopy.h",
"src/utils/output-stream.cc",
"src/utils/output-stream.h",
Expand Down Expand Up @@ -2923,7 +2945,9 @@ filegroup(
"src/maglev/maglev-pipeline-statistics.h",
"src/maglev/maglev-post-hoc-optimizations-processors.h",
"src/maglev/maglev-pre-regalloc-codegen-processors.h",
"src/maglev/maglev-range.h",
"src/maglev/maglev-range-analysis.h",
"src/maglev/maglev-range-verification.h",
"src/maglev/maglev-reducer-inl.h",
"src/maglev/maglev-reducer.h",
"src/maglev/maglev-regalloc-data.h",
Expand All @@ -2950,6 +2974,7 @@ filegroup(
"src/maglev/maglev-phi-representation-selector.cc",
"src/maglev/maglev-truncation.cc",
"src/maglev/maglev-pipeline-statistics.cc",
"src/maglev/maglev-range-verification.cc",
"src/maglev/maglev-regalloc.cc",
"src/maglev/maglev.cc",
],
Expand Down Expand Up @@ -3025,12 +3050,13 @@ filegroup(
"src/wasm/code-space-access.h",
"src/wasm/compilation-environment.h",
"src/wasm/compilation-environment-inl.h",
"src/wasm/compilation-hints-generation.cc",
"src/wasm/compilation-hints-generation.h",
"src/wasm/constant-expression.cc",
"src/wasm/constant-expression.h",
"src/wasm/constant-expression-interface.cc",
"src/wasm/constant-expression-interface.h",
"src/wasm/decoder.h",
"src/wasm/float16.h",
"src/wasm/function-body-decoder.cc",
"src/wasm/function-body-decoder.h",
"src/wasm/function-body-decoder-impl.h",
Expand Down Expand Up @@ -3096,7 +3122,11 @@ filegroup(
"src/wasm/wasm-features.cc",
"src/wasm/wasm-features.h",
"src/wasm/wasm-import-wrapper-cache.cc",
"src/wasm/wasm-stack-wrapper-cache.cc",
"src/wasm/wasm-wrapper-cache.cc",
"src/wasm/wasm-import-wrapper-cache.h",
"src/wasm/wasm-stack-wrapper-cache.h",
"src/wasm/wasm-wrapper-cache.h",
"src/wasm/wasm-init-expr.h",
"src/wasm/wasm-js.cc",
"src/wasm/wasm-js.h",
Expand Down Expand Up @@ -3128,6 +3158,7 @@ filegroup(
"src/wasm/wrappers.cc",
"src/wasm/wrappers.h",
"src/wasm/wrappers-inl.h",
"src/wasm/wasm-wrapper-cache-inl.h",
"third_party/utf8-decoder/generalized-utf8-decoder.h",
],
"//conditions:default": [],
Expand Down Expand Up @@ -3247,8 +3278,8 @@ filegroup(
"src/compiler/backend/spill-placer.cc",
"src/compiler/backend/spill-placer.h",
"src/compiler/backend/unwinding-info-writer.h",
"src/compiler/basic-block-instrumentor.cc",
"src/compiler/basic-block-instrumentor.h",
"src/compiler/basic-block-call-graph-profiler.cc",
"src/compiler/basic-block-call-graph-profiler.h",
"src/compiler/branch-elimination.cc",
"src/compiler/branch-elimination.h",
"src/compiler/bytecode-analysis.cc",
Expand Down Expand Up @@ -3502,6 +3533,7 @@ filegroup(
"src/compiler/turboshaft/late-load-elimination-reducer.h",
"src/compiler/turboshaft/layered-hash-map.h",
"src/compiler/turboshaft/load-store-simplification-reducer.h",
"src/compiler/turboshaft/load-store-verification-reducer.h",
"src/compiler/turboshaft/loop-finder.cc",
"src/compiler/turboshaft/loop-finder.h",
"src/compiler/turboshaft/loop-peeling-phase.cc",
Expand Down Expand Up @@ -3737,7 +3769,10 @@ filegroup(
"src/maglev/maglev-ir.h",
"src/maglev/maglev-ir-inl.h",
"src/maglev/maglev-kna-processor.h",
"src/maglev/maglev-range.h",
"src/maglev/maglev-range-analysis.h",
"src/maglev/maglev-range-verification.cc",
"src/maglev/maglev-range-verification.h",
"src/maglev/maglev-reducer-inl.h",
"src/maglev/maglev-reducer.h",
"src/maglev/maglev-register-frame-array.h",
Expand Down Expand Up @@ -3799,6 +3834,7 @@ filegroup(
"src/builtins/builtins-string-gen.cc",
"src/builtins/builtins-string-gen.h",
"src/builtins/builtins-string-tsa.cc",
"src/builtins/builtins-string-tsa-inl.h",
"src/builtins/builtins-typed-array-gen.cc",
"src/builtins/builtins-typed-array-gen.h",
"src/builtins/builtins-utils-gen.h",
Expand Down
Loading
Loading