Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit 8fed33f

Browse files
committed
Squashed 'deps/v8/' changes from ab91787..6efc936
6efc936 Version 4.7.80.18 (cherry-pick) 378483d Version 4.7.80.17 4b4bead Version 4.7.80.16 (cherry-pick) fe536ab Version 4.7.80.16 baf2568 Merged: Reland improve perf_basic_prof filename reporting b9b1048 Version 4.7.80.15 (cherry-pick) c26b05d Version 4.7.80.14 (cherry-pick) af92d54 Version 4.7.80.13 (cherry-pick) 1316530 Version 4.7.80.12 0bd963f Version 4.7.80.11 (cherry-pick) a13d1d5 Version 4.7.80.11 72ae941 [test] Run webkit tests as part of default testing on the bots. d4dbf06 Version 4.7.80.10 b106be9 [test] Add new variant default set for exhaustive testing. 07bea89 Version 4.7.80.9 (cherry-pick) 1242604 Version 4.7.80.8 eacaee4 Cherry-pick: [runtime] Share constructor/non-constructor bound function maps. 995b3c8 Version 4.7.80.7 (cherry-pick) a2feb51 Version 4.7.80.6 38fe6af [swarming] Cherry picking test runner changes. a63d3d6 Version 4.7.80.5 c6ace4b [swarming] Only isolate d8 with target toolset. 75d8b8c Version 4.7.80.4 (cherry-pick) 5af6d9c Version 4.7.80.3 5e8d5de Revert "Stage sloppy block-scoped functions (Annex B 3.3)" 0f32fcf Fix version file because branched from wrong revision 3e32e5d Disable handle zapping on branch 4.7 1b1d078 Version 4.7.0.1 c7ad36c Create V8 4.7 branch for Chrome 47 f3c8926 Update V8 DEPS. d7f813b GYP: Don't pass -Wno-format-pedantic to GCC. 5ff8a18 [api] Avoid recursive GCs through reaching external allocation limit 8bd431d MIPS64: Add big-endian support for mips64. ddafe2c [heap] No leakage of incremental-marking.h outside of heap. 8dfe185 [turbofan] Pass scope infos as static operator parameters. f20d646 [arm] Fix a double-register push operation. 1d03fc1 [turbofan] Remove obsolete helpers from graph verifier. 904ac0a [turbofan] Make string comparisons effectful. d06930f [turbofan] Make Strict(Not)Equal, TypeOf, ToBoolean, UnaryNot effectful. 92a7012 [heap] Remove NewSpace::set_top and the corresponding hack 134180d AST pretty printer fix. ed110a1 Allow JavaScript accessors on API objects. 46579c0 [Docs] Fix formatting errors in migrated content d8cdd69 Introduce LiteralsArray to hide it's implementation. 02af9b8 [Docs] Adding information about general triaging ce28d01 [heap] Reland Remove retry space from AllocateRaw. eecf6cb [cctest] adding --help option to output basic information about cctest [run-tests.py] - adding more detailed information about the flags - show more detailed error message on failing Popen commands 4fd8c32 Tell MSAN that profiler doesn't expect sp to point at initialized memory 3bb0174 [heap] Cleanup string factory methods a bit. 0a844bc Fix Frame::AlignSavedCalleeRegisterSlots 93b2b26 [es6] Introduce %ToInteger and %ToLength. 2839811 Revert of Clean up rewriter. (patchset #3 id:40001 of https://codereview.chromium.org/1362333002/ ) 6529971 Revert of [heap] Remove retry space from AllocateRaw. (patchset #3 id:40001 of https://codereview.chromium.org/1370123002/ ) d5a9dd6 [turbofan] Greedy: smarter last resort splitting. 5a13102 Update V8 DEPS. 22a38d7 X87: [es6] Fix invalid ToString in implementation of ToName. e0606c9 Move heap and CPU profilers into a dedicated directory. 0036487 [Interpreter] Add tests for adding strings and heap number arithmetic. df7df4d [heap] Move CALL_HEAP_FUNCTION macro into factory.cc file. 2786cee [heap] Remove retry space from AllocateRaw. 17363fa [Interpreter] Add interpreter support for compare ops and ToBoolean. 4d03c3a Revert of Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. (patchset #3 id:80001 of https://codereview.chromium.org/1361763004/ ) b466dc1 Clean up rewriter. 601c8d9 Add ishell@ and mvstanton@ to full codegen owners list. 7b40520 [test] Remove FAIL expectation for intl/collator/default-locale on Android and Mac e874579 Fix DCHECK in ScopeInfo::Print(). 0b48b2a Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. 8679b9d [test] Remove test262-es6. 7117acd objects-inl.h: Remove ACCESSORS_TO_SMI macro 27ff067 Removing the Class/ObjectLiteral::LayoutFeedbackSlots(). 8dc8903 [heap] Simplify CALL_HEAP_FUNCTION macro dance. 6e0cd21 [Docs] Add wiki content to Markdown docs b2d82a2 Refactored interface of FeedbackVectorSpec and friends. d3ef8f4 [es6] Ship rest parameters. 91397ac [heap] Reland Move large object space selection into AllocateRaw. 8611fb3 [bootstrapper] Fix raw pointer use during potential GC. 39114da [api] Make sure InterceptorInfo is always in a verifyable state. f782159 Remove obsolete try/catch from ObjectIsPromise(). 660d4fa [heap] Adjust number of parallel compaction tasks 6ca00aa Use FeedbackVectorSlotKind instead of Code::Kind for type feedback vector. 6a20034 [presubmit] Fix whitespace/semicolon linter violations. dac7c95 [turbofan] Move node verification methods to the Verifier class. 4f55b83 [heap] No leakage of mark-compact.h outside of heap. d64315c [test] Skip test on noi18n. 1fe1c74 remove byte-accounting assert for crbug.com/536163 5b5bde0 [turbofan] In GraphReducer::Replace, check uses to not misuse the replacement. 0962652 [es6] Fix invalid ToString in implementation of ToName. 1ce2068 [builtins] Fix ToString in Array.prototype.join. 6266a9d [crankshaft] Add support for %_ToString. bac284e X87: Full code shouldn't embed the type feedback vector. 9fae812 Update V8 DEPS. bba0e10 [test] Skip test on noi18n. 5e0eba3 Update V8 DEPS. 1213929 Revert of JSObject::GetEnumProperty cleanup (patchset #2 id:20001 of https://codereview.chromium.org/1363293002/ ) a1b20e1 [tools] Add capability of generating log2-based histograms to eval_gc_nvp.py 4c64573 Revert of [heap] Move large object space selection into AllocateRaw. (patchset #2 id:20001 of https://codereview.chromium.org/1373523002/ ) 26f36f1 Revert of "[heap] Add more tasks for parallel compaction" (patchset #4 id:100001 of https://codereview.chromium.org/1365743003/ ) a00d47c JSObject::GetEnumProperty cleanup 7e283d7 Reland of "[heap] Add more tasks for parallel compaction" 6256dc5 Perform scavenge in idle tasks. 7b3e8a4 [swarming] Add isolate configs for d8 on linux. 7cc82f7 Fix use of deprecated API. fd1024f Remove unused imports from tools/js2c.py c90c60b Full code shouldn't embed the type feedback vector. ca57806 [heap] No leakage of gc-idle-time-handler.h outside of heap. e4f7ebb [heap] Move large object space selection into AllocateRaw. 689c117 [test] Skip test262-es6 tests failing on mac. c9acb66 [test] Copy test262-es6 into test262. 2c70583 [elements.cc] Clean up CopyDoubleToObjectElements 175edfb [turbofan] Rename --context-specialization to --function-context-specialization. 6ec34c7 [presubmit] Enable runtime/threadsafe_fn linter checking. 145a2f4 Fix a sign-compare error to make gcc 4.9.2 happy. f746d35 Revert of [heap] Move large object space selection into AllocateRaw. (patchset #1 id:1 of https://codereview.chromium.org/1360903004/ ) 1403815 [heap] Move large object space selection into AllocateRaw. aa70b35 [turbofan] Remove obsolete method from RawMachineAssembler. f5b1409 [heap] Fix PagedSpace::SizeOfObjects calling from within FreeList::Allocate 1c2867c [turbofan] Check node input/use consistency for changed operators and new nodes. 56a0a79 Update post-mortem metadata generation ff2c9ea [es6] Remove left-overs from Function.prototype.toMethod. bd35b54 Update V8 DEPS. 8322def X87: [turbofan] Call ArgumentsAccessStub to materialize arguments. ab98989 Don’t smash globals used by the test helper itself. 1c5e511 [heap] refactor inline allocation step code d90fdd1 [turbofan] Remove dead code from Diamond class. 9b12ec9 [turbofan] Call ArgumentsAccessStub to materialize arguments. 347fa90 [Interpreter] Basic flow control. fac9e22 [test] Make fuzzer output the archive file name for easy upload. da9c42d [turbofan] Make Node::set_op safer via wrapper. 9e5b0a5 PrototypeInfo.validity_cell: adding comment 3ac2743 Revert of Remove register index/code indirection (patchset #17 id:320001 of https://codereview.chromium.org/1287383003/ ) 80bc6f6 Remove register index/code indirection 5c35f5e Refactor the StackFrameIterator::ComputeType() method to look up the code object (if any) before looking at the magic markers. d1472d6 [arm] Optimize vcmp when lhs operand is #0.0 8087c49 [Interpreter] Add support for loading globals in the interpreter. 809f6b1 [turbofan] Elide fp32 convert for const compares 11fd60f X87: [es6] Introduce spec compliant IsConstructor. 46d6121 X87: [runtime] Remove weird pushing of something on StackOverflow. 8c17420 [test] Fetch mozilla test data from SVN. cf38725 [arm64] Explicit commuted conditions in unittests 78be156 X87: [builtin] Refactor Invoke to deal with any kind of callable. 28de5bf X87: [ic] Introduce BOOLEAN state for CompareIC. 8fe3ac0 [es6] Introduce spec compliant IsConstructor. 656ebdc Revert of [es6] Introduce spec compliant IsConstructor. (patchset #2 id:20001 of https://codereview.chromium.org/1358423002/ ) 8de4d93 [es6] Introduce spec compliant IsConstructor. 5ced12c X87: [builtins] Add support for NewTarget to Execution::New. b785daa X87: [turbofan] Add support for reinterpreting integers as floating point and vice versa. 687ef62 X87: [ic] Also collect known map for relational comparison. 5e6f7a6 Update V8 DEPS. 7a7b692 [runtime] Replace %to_string_fun with %_ToString. e392bb2 [simdjs] Update Spec version to 0.9 3e4fb10 Rename PLACEHOLDER code kind to WASM_FUNCTION. 8a77673 Add CompilationInfo::output_code_kind to allow overriding the kind of code generated. 307cc45 [tools] Incrementally keep track of GC NVP output 17f5987 [builtins] Re-add similar String wrapper optimization for StringAdd. 3e58db3 Remove crash-hunting instrumentation that has served its purpose. bfccd51 Revert of [heap] Add more tasks for parallel compaction (patchset #11 id:200001 of https://codereview.chromium.org/1354383002/ ) afa60ff [field type tracking] Fix handling of cleared WeakCells 0e84241 [heap] Add more tasks for parallel compaction f5dc276 Exclude test/mjsunit/regress/regress-4121.js from GC stress testing. 654bcec [test] Add FOR_INT64_INPUTS and FOR_UINT64_INPUTS. 556b522 [runtime] Remove weird pushing of something on StackOverflow. 4e05854 Remove unused function in presubmit script e28ae8c [arm64] Optimize fcmp when lhs operand is #0.0 205d85a Reland "[turbofan] Checking of input counts on node creation" 4dd45e1 Share literals arrays per <NativeContext, SharedFunctionInfo> pair. c602a91 Revert of [turbofan] Checking of input counts on node creation (patchset #4 id:60001 of https://codereview.chromium.org/1347353003/ ) 260ec46 [turbofan] Checking of input counts on node creation aa491a1 [mips] Fix typo introduced in r30874. 91c495f [runtime] Remove obsolete Object::IsSpecFunction. 634d1d8 [builtin] Refactor Invoke to deal with any kind of callable. c281c15 Add JSTypedArray's length in post-mortem metadata. 0ad9b9e PPC: [builtins] Add support for NewTarget to Execution::New. 3028534 PPC: [ic] Introduce BOOLEAN state for CompareIC. 308ae26 PPC: Fix "[turbofan] Add support for reinterpreting integers as floating point and vice versa." 394f3cf PPC: [ic] Also collect known map for relational comparison. 7485da7 Don't crash when preparsing destructured arguments 24ec2a0 [strong] Implement revised strong class semantics 191a0cb Make prettyprinter useful in gdb. 5e08d81 [tools] Add script to analyze GC tracing output 0bfb773 [heap] Process live weak cells directly in the marking visitor. 0ee53fd Whitespace change to test infra changes. 9e63a71 Whitespace change to test infra changes. 667c5e0 [x64] Tweaking kMaxSizeEarlyOpt value to recover SunSpider/3d-cube. 10c5f2e [ic] Introduce BOOLEAN state for CompareIC. 02a2580 [x64] Compare map instead of value to heap number map in ToStringStub. 4542a2d [crankshaft] Re-add fast-case for string add left/right. 1dfac69 [builtins] Add support for NewTarget to Execution::New. 3d7c453 [crankshaft] Handle @@toStringTag accessor correctly for BuildCompareInstruction. 9308f8f Update V8 DEPS. 7d5d157 Split the GN 'snapshot_toolchain' logic out into an include file. 6e07f5a Stage sloppy block-scoped functions (Annex B 3.3) e56f265 [ic] Also collect known map for relational comparison. c7a6790 Whitespace change to test infra changes. 41b8e10 [heap] Sort declarations for MemoryChunk. c610a22 [turbofan] Add support for reinterpreting integers as floating point and vice versa. efc3fa0 [heap] Add timer scopes to process weak cells and clear non-live references. 704e3d8 [crankshaft] Generalize PropertyAccessInfo to Name (so it can deal with symbols). 41111e3 Continuing removing deprecated function from cctest be04dd5 X87: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch. 9155967 X87: [runtime] Replace COMPARE/COMPARE_STRONG with proper Object::Compare. 357e6b9 Add ScopeInfo constants to post-mortem metadata e5ff10d Implement sloppy-mode block-defined functions (Annex B 3.3) 4962bbb Reland of Make profiler no frame region detection code more robust [ia86/x64] REVERT: ab91787 Version 4.7.62 git-subtree-dir: deps/v8 git-subtree-split: 6efc936c9595a87b26c2fbb24a680230989ce635
1 parent 56e672c commit 8fed33f

516 files changed

Lines changed: 16986 additions & 11135 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ shell_g
8080
/tools/jsfunfuzz.zip
8181
/tools/oom_dump/oom_dump
8282
/tools/oom_dump/oom_dump.o
83+
/tools/swarming_client
8384
/tools/visual_studio/Debug
8485
/tools/visual_studio/Release
8586
/v8.log.ll

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ Rene Rebe <rene@exactcode.de>
9292
Robert Mustacchi <rm@fingolfin.org>
9393
Robert Nagy <robert.nagy@gmail.com>
9494
Ryan Dahl <ry@tinyclouds.org>
95+
Sakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com>
9596
Sandro Santilli <strk@keybit.net>
9697
Sanjoy Das <sanjoy@playingwithpointers.com>
9798
Seo Sanghyeon <sanxiyn@gmail.com>
99+
Stefan Penner <stefan.penner@gmail.com>
98100
Tobias Burnus <burnus@net-b.de>
99101
Victor Costan <costan@gmail.com>
100102
Vlad Burlik <vladbph@gmail.com>

BUILD.gn

Lines changed: 25 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import("//build/config/sanitizers/sanitizers.gni")
1111
# Chromium build.
1212
import("//build/module_args/v8.gni")
1313

14+
import("snapshot_toolchain.gni")
15+
1416
# TODO(jochen): These will need to be user-settable to support standalone V8
1517
# builds.
1618
v8_deprecation_warnings = false
@@ -35,24 +37,6 @@ if (is_msan) {
3537
v8_target_arch = target_cpu
3638
}
3739

38-
# The snapshot needs to be compiled for the host, but compiled with
39-
# a toolchain that matches the bit-width of the target.
40-
#
41-
# TODO(GYP): For now we only support 32-bit little-endian target builds from an
42-
# x64 Linux host. Eventually we need to support all of the host/target
43-
# configurations v8 runs on.
44-
if (host_cpu == "x64" && host_os == "linux") {
45-
if (target_cpu == "arm" || target_cpu == "mipsel" || target_cpu == "x86") {
46-
snapshot_toolchain = "//build/toolchain/linux:clang_x86"
47-
} else if (target_cpu == "x64") {
48-
snapshot_toolchain = "//build/toolchain/linux:clang_x64"
49-
} else {
50-
assert(false, "Need environment for this arch")
51-
}
52-
} else {
53-
snapshot_toolchain = default_toolchain
54-
}
55-
5640
###############################################################################
5741
# Configurations
5842
#
@@ -640,8 +624,6 @@ source_set("v8_base") {
640624
"src/allocation.h",
641625
"src/allocation-site-scopes.cc",
642626
"src/allocation-site-scopes.h",
643-
"src/allocation-tracker.cc",
644-
"src/allocation-tracker.h",
645627
"src/api.cc",
646628
"src/api.h",
647629
"src/api-natives.cc",
@@ -687,8 +669,6 @@ source_set("v8_base") {
687669
"src/char-predicates-inl.h",
688670
"src/char-predicates.h",
689671
"src/checks.h",
690-
"src/circular-queue-inl.h",
691-
"src/circular-queue.h",
692672
"src/code-factory.cc",
693673
"src/code-factory.h",
694674
"src/code-stubs.cc",
@@ -880,9 +860,6 @@ source_set("v8_base") {
880860
"src/conversions.h",
881861
"src/counters.cc",
882862
"src/counters.h",
883-
"src/cpu-profiler-inl.h",
884-
"src/cpu-profiler.cc",
885-
"src/cpu-profiler.h",
886863
"src/date.cc",
887864
"src/date.h",
888865
"src/dateparser-inl.h",
@@ -955,11 +932,6 @@ source_set("v8_base") {
955932
"src/handles.cc",
956933
"src/handles.h",
957934
"src/hashmap.h",
958-
"src/heap-profiler.cc",
959-
"src/heap-profiler.h",
960-
"src/heap-snapshot-generator-inl.h",
961-
"src/heap-snapshot-generator.cc",
962-
"src/heap-snapshot-generator.h",
963935
"src/heap/array-buffer-tracker.cc",
964936
"src/heap/array-buffer-tracker.h",
965937
"src/heap/gc-idle-time-handler.cc",
@@ -983,6 +955,8 @@ source_set("v8_base") {
983955
"src/heap/objects-visiting-inl.h",
984956
"src/heap/objects-visiting.cc",
985957
"src/heap/objects-visiting.h",
958+
"src/heap/scavenge-job.h",
959+
"src/heap/scavenge-job.cc",
986960
"src/heap/scavenger-inl.h",
987961
"src/heap/scavenger.cc",
988962
"src/heap/scavenger.h",
@@ -1131,9 +1105,25 @@ source_set("v8_base") {
11311105
"src/preparser.h",
11321106
"src/prettyprinter.cc",
11331107
"src/prettyprinter.h",
1134-
"src/profile-generator-inl.h",
1135-
"src/profile-generator.cc",
1136-
"src/profile-generator.h",
1108+
"src/profiler/allocation-tracker.cc",
1109+
"src/profiler/allocation-tracker.h",
1110+
"src/profiler/circular-queue-inl.h",
1111+
"src/profiler/circular-queue.h",
1112+
"src/profiler/cpu-profiler-inl.h",
1113+
"src/profiler/cpu-profiler.cc",
1114+
"src/profiler/cpu-profiler.h",
1115+
"src/profiler/heap-profiler.cc",
1116+
"src/profiler/heap-profiler.h",
1117+
"src/profiler/heap-snapshot-generator-inl.h",
1118+
"src/profiler/heap-snapshot-generator.cc",
1119+
"src/profiler/heap-snapshot-generator.h",
1120+
"src/profiler/profile-generator-inl.h",
1121+
"src/profiler/profile-generator.cc",
1122+
"src/profiler/profile-generator.h",
1123+
"src/profiler/sampler.cc",
1124+
"src/profiler/sampler.h",
1125+
"src/profiler/unbound-queue-inl.h",
1126+
"src/profiler/unbound-queue.h",
11371127
"src/property-details.h",
11381128
"src/property.cc",
11391129
"src/property.h",
@@ -1170,6 +1160,7 @@ source_set("v8_base") {
11701160
"src/runtime/runtime-generator.cc",
11711161
"src/runtime/runtime-i18n.cc",
11721162
"src/runtime/runtime-internal.cc",
1163+
"src/runtime/runtime-interpreter.cc",
11731164
"src/runtime/runtime-json.cc",
11741165
"src/runtime/runtime-literals.cc",
11751166
"src/runtime/runtime-liveedit.cc",
@@ -1192,8 +1183,6 @@ source_set("v8_base") {
11921183
"src/runtime/runtime.h",
11931184
"src/safepoint-table.cc",
11941185
"src/safepoint-table.h",
1195-
"src/sampler.cc",
1196-
"src/sampler.h",
11971186
"src/scanner-character-streams.cc",
11981187
"src/scanner-character-streams.h",
11991188
"src/scanner.cc",
@@ -1245,8 +1234,6 @@ source_set("v8_base") {
12451234
"src/typing-reset.h",
12461235
"src/typing.cc",
12471236
"src/typing.h",
1248-
"src/unbound-queue-inl.h",
1249-
"src/unbound-queue.h",
12501237
"src/unicode-inl.h",
12511238
"src/unicode.cc",
12521239
"src/unicode.h",
@@ -1792,6 +1779,7 @@ if (is_component_build) {
17921779
}
17931780

17941781
if ((current_toolchain == host_toolchain && v8_toolset_for_d8 == "host") ||
1782+
(current_toolchain == snapshot_toolchain && v8_toolset_for_d8 == "host") ||
17951783
(current_toolchain != host_toolchain && v8_toolset_for_d8 == "target")) {
17961784
executable("d8") {
17971785
sources = [

0 commit comments

Comments
 (0)