Skip to content

Commit

Permalink
Upgrade V8 to 7.9.110
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Sep 24, 2019
1 parent 86f683a commit 1cceee1
Show file tree
Hide file tree
Showing 963 changed files with 21,679 additions and 15,937 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.cipd/
*.pyc

/depot_tools/.cipd_**
Expand Down
2 changes: 0 additions & 2 deletions v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
/tools/jsfunfuzz/jsfunfuzz
/tools/jsfunfuzz/jsfunfuzz.tar.gz
/tools/luci-go
/tools/mips_toolchain
/tools/mips_toolchain.tar.gz
/tools/oom_dump/oom_dump
/tools/oom_dump/oom_dump.o
/tools/swarming_client
Expand Down
2 changes: 2 additions & 0 deletions v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Johan Bergström <[email protected]>
Jonathan Liu <[email protected]>
Julien Brianceau <[email protected]>
JunHo Seo <[email protected]>
Junming Huang <[email protected]>
Kang-Hao (Kenny) Lu <[email protected]>
Karl Skomski <[email protected]>
Kevin Gibbons <[email protected]>
Expand All @@ -124,6 +125,7 @@ Marcin Cieślak <[email protected]>
Marcin Wiącek <[email protected]>
Mateusz Czeladka <[email protected]>
Matheus Marchini <[email protected]>
Matheus Marchini <[email protected]>
Mathias Bynens <[email protected]>
Matt Hanselman <[email protected]>
Matthew Sporleder <[email protected]>
Expand Down
42 changes: 39 additions & 3 deletions v8/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ declare_args() {

# Enable pointer compression (sets -dV8_COMPRESS_POINTERS).
v8_enable_pointer_compression = false
v8_enable_31bit_smis_on_64bit_arch = false
v8_enable_31bit_smis_on_64bit_arch = true

# Sets -dOBJECT_PRINT.
v8_enable_object_print = ""
Expand Down Expand Up @@ -644,6 +644,30 @@ config("toolchain") {
defines += [ "V8_ANDROID_LOG_STDOUT" ]
}

# V8_TARGET_OS_ defines. The target OS may differ from host OS e.g. in
# mksnapshot. We additionally set V8_HAVE_TARGET_OS to determine that a
# target OS has in fact been set; otherwise we internally assume that target
# OS == host OS (see v8config.h).
if (target_os == "android") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_ANDROID" ]
} else if (target_os == "fuchsia") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_FUCHSIA" ]
} else if (target_os == "ios") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_IOS" ]
} else if (target_os == "linux") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_LINUX" ]
} else if (target_os == "mac") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_MACOSX" ]
} else if (target_os == "win") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_WIN" ]
}

# TODO(jochen): Support v8_enable_prof on Windows.
# TODO(jochen): Add support for compiling with simulators.

Expand Down Expand Up @@ -994,9 +1018,12 @@ torque_files = [
"src/builtins/proxy-set-prototype-of.tq",
"src/builtins/proxy.tq",
"src/builtins/reflect.tq",
"src/builtins/regexp-exec.tq",
"src/builtins/regexp-match.tq",
"src/builtins/regexp-replace.tq",
"src/builtins/regexp-search.tq",
"src/builtins/regexp-source.tq",
"src/builtins/regexp-split.tq",
"src/builtins/regexp-test.tq",
"src/builtins/regexp.tq",
"src/builtins/string.tq",
Expand Down Expand Up @@ -2048,6 +2075,7 @@ v8_source_set("v8_base_without_compiler") {
"src/builtins/builtins-api.cc",
"src/builtins/builtins-array.cc",
"src/builtins/builtins-arraybuffer.cc",
"src/builtins/builtins-async-module.cc",
"src/builtins/builtins-bigint.cc",
"src/builtins/builtins-call.cc",
"src/builtins/builtins-callsite.cc",
Expand Down Expand Up @@ -2144,13 +2172,15 @@ v8_source_set("v8_base_without_compiler") {
"src/codegen/string-constants.h",
"src/codegen/tick-counter.cc",
"src/codegen/tick-counter.h",
"src/codegen/tnode.h",
"src/codegen/turbo-assembler.cc",
"src/codegen/turbo-assembler.h",
"src/codegen/unoptimized-compilation-info.cc",
"src/codegen/unoptimized-compilation-info.h",
"src/common/assert-scope.cc",
"src/common/assert-scope.h",
"src/common/checks.h",
"src/common/message-template.h",
"src/common/ptr-compr-inl.h",
"src/common/ptr-compr.h",
"src/compiler-dispatcher/compiler-dispatcher.cc",
Expand Down Expand Up @@ -2223,7 +2253,6 @@ v8_source_set("v8_base_without_compiler") {
"src/execution/isolate-utils.h",
"src/execution/isolate.cc",
"src/execution/isolate.h",
"src/execution/message-template.h",
"src/execution/messages.cc",
"src/execution/messages.h",
"src/execution/microtask-queue.cc",
Expand Down Expand Up @@ -2317,6 +2346,8 @@ v8_source_set("v8_base_without_compiler") {
"src/heap/mark-compact.h",
"src/heap/marking.cc",
"src/heap/marking.h",
"src/heap/memory-measurement.cc",
"src/heap/memory-measurement.h",
"src/heap/memory-reducer.cc",
"src/heap/memory-reducer.h",
"src/heap/object-stats.cc",
Expand Down Expand Up @@ -3484,7 +3515,6 @@ v8_source_set("torque_ls_base") {

v8_component("v8_libbase") {
sources = [
"src/base/adapters.h",
"src/base/address-region.h",
"src/base/atomic-utils.h",
"src/base/atomicops.h",
Expand Down Expand Up @@ -3670,6 +3700,12 @@ v8_component("v8_libbase") {
]
}

if (is_ubsan && (v8_current_cpu == "x86" || v8_current_cpu == "arm" ||
v8_current_cpu == "mips")) {
# Special UBSan 32-bit requirement.
sources += [ "src/base/ubsan.cc" ]
}

if (is_tsan && !build_with_chromium) {
data += [ "tools/sanitizers/tsan_suppressions.txt" ]
}
Expand Down
Loading

0 comments on commit 1cceee1

Please sign in to comment.