libv8 6.0.286.54.3 → 6.2.414.42.0beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +5 -3
  3. data/CHANGELOG.md +4 -0
  4. data/Rakefile +3 -3
  5. data/lib/libv8/version.rb +1 -1
  6. data/patches/0001-Build-a-standalone-static-library.patch +4 -4
  7. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +12 -14
  8. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +4 -4
  9. data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +4 -4
  10. data/patches/0005-avoid-constructor-inheritance-due-to-compilation-iss.patch +81 -0
  11. data/patches/9001-Arm64-Fix-host-architecture-detection.patch +37 -0
  12. data/vendor/depot_tools/.gitignore +1 -0
  13. data/vendor/depot_tools/OWNERS +0 -1
  14. data/vendor/depot_tools/auth.py +154 -6
  15. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  16. data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +1 -1
  17. data/vendor/depot_tools/cipd_bin_setup.sh +12 -2
  18. data/vendor/depot_tools/cipd_manifest.txt +4 -1
  19. data/vendor/depot_tools/fetch.py +2 -0
  20. data/vendor/depot_tools/gclient.py +4 -6
  21. data/vendor/depot_tools/gclient_scm.py +12 -5
  22. data/vendor/depot_tools/gerrit_util.py +23 -1
  23. data/vendor/depot_tools/git_cache.py +59 -23
  24. data/vendor/depot_tools/git_cl.py +114 -43
  25. data/vendor/depot_tools/git_common.py +7 -0
  26. data/vendor/depot_tools/git_rebase_update.py +1 -0
  27. data/vendor/depot_tools/git_upstream_diff.py +12 -5
  28. data/vendor/depot_tools/gsutil.py +10 -0
  29. data/vendor/depot_tools/infra/config/OWNERS +0 -1
  30. data/vendor/depot_tools/infra/config/cq.cfg +6 -5
  31. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  32. data/vendor/depot_tools/mac_toolchain +12 -0
  33. data/vendor/depot_tools/man/html/git-upstream-diff.html +10 -6
  34. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +18 -7
  35. data/vendor/depot_tools/man/src/git-upstream-diff.txt +8 -5
  36. data/vendor/depot_tools/owners.py +9 -2
  37. data/vendor/depot_tools/presubmit_canned_checks.py +122 -0
  38. data/vendor/depot_tools/presubmit_support.py +57 -4
  39. data/vendor/depot_tools/recipes/OWNERS +0 -1
  40. data/vendor/depot_tools/recipes/README.recipes.md +20 -17
  41. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +1 -1
  42. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +15 -4
  43. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +23 -0
  44. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +46 -0
  45. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/buildbot.json +23 -0
  46. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +46 -0
  47. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +22 -0
  48. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +46 -0
  49. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +46 -0
  50. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_shallow.json +46 -0
  51. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +46 -0
  52. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange.json +46 -0
  53. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_buildbot.json +46 -0
  54. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json.json +46 -0
  55. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +46 -0
  56. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +46 -0
  57. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_empty_revision.json +46 -0
  58. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +4 -45
  59. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +23 -0
  60. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +23 -0
  61. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +46 -0
  62. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +46 -0
  63. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +46 -0
  64. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8.json +46 -0
  65. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +46 -0
  66. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_webrtc.json +46 -0
  67. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +46 -0
  68. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +46 -0
  69. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name.json +194 -0
  70. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name_no_patch.json +105 -0
  71. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +46 -0
  72. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +12 -2
  73. data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +226 -149
  74. data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +16 -5
  75. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +1 -2
  76. data/vendor/depot_tools/recipes/recipes/fetch_end_to_end_test.expected/basic.json +11 -0
  77. data/vendor/depot_tools/rietveld.py +1 -1
  78. data/vendor/depot_tools/roll_dep.py +4 -1
  79. data/vendor/depot_tools/split_cl.py +3 -0
  80. data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
  81. data/vendor/depot_tools/third_party/mock/LICENSE.txt +26 -0
  82. data/vendor/depot_tools/third_party/mock/README.chromium +24 -0
  83. data/vendor/depot_tools/third_party/mock/__init__.py +2366 -0
  84. data/vendor/depot_tools/watchlists.py +12 -5
  85. metadata +12 -5
  86. data/patches/0005-Fix-GCC-7-build-errors.patch +0 -147
@@ -38,6 +38,7 @@ class Watchlists(object):
38
38
  _RULES_FILENAME = _RULES
39
39
  _repo_root = None
40
40
  _defns = {} # Definitions
41
+ _path_regexps = {} # Name -> Regular expression mapping
41
42
  _watchlists = {} # name to email mapping
42
43
 
43
44
  def __init__(self, repo_root):
@@ -88,6 +89,15 @@ class Watchlists(object):
88
89
  self._defns = defns
89
90
  self._watchlists = watchlists
90
91
 
92
+ # Compile the regular expressions ahead of time to avoid creating them
93
+ # on-the-fly multiple times per file.
94
+ self._path_regexps = {}
95
+ for name, rule in defns.iteritems():
96
+ filepath = rule.get('filepath')
97
+ if not filepath:
98
+ continue
99
+ self._path_regexps[name] = re.compile(filepath)
100
+
91
101
  # Verify that all watchlist names are defined
92
102
  for name in watchlists:
93
103
  if name not in defns:
@@ -105,13 +115,10 @@ class Watchlists(object):
105
115
  watchers = set() # A set, to avoid duplicates
106
116
  for path in paths:
107
117
  path = path.replace(os.sep, '/')
108
- for name, rule in self._defns.iteritems():
118
+ for name, rule in self._path_regexps.iteritems():
109
119
  if name not in self._watchlists:
110
120
  continue
111
- rex_str = rule.get('filepath')
112
- if not rex_str:
113
- continue
114
- if re.search(rex_str, path):
121
+ if rule.search(path):
115
122
  map(watchers.add, self._watchlists[name])
116
123
  return list(watchers)
117
124
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.286.54.3
4
+ version: 6.2.414.42.0beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -89,7 +89,8 @@ files:
89
89
  - patches/0002-Don-t-compile-unnecessary-stuff.patch
90
90
  - patches/0003-Use-the-fPIC-flag-for-the-static-library.patch
91
91
  - patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch
92
- - patches/0005-Fix-GCC-7-build-errors.patch
92
+ - patches/0005-avoid-constructor-inheritance-due-to-compilation-iss.patch
93
+ - patches/9001-Arm64-Fix-host-architecture-detection.patch
93
94
  - patches/mingw-generate-makefiles.sh
94
95
  - scaleway.png
95
96
  - spec/compiler/apple_llvm_spec.rb
@@ -278,6 +279,7 @@ files:
278
279
  - vendor/depot_tools/infra/config/recipes.cfg
279
280
  - vendor/depot_tools/led
280
281
  - vendor/depot_tools/led.bat
282
+ - vendor/depot_tools/mac_toolchain
281
283
  - vendor/depot_tools/man/html/depot_tools.html
282
284
  - vendor/depot_tools/man/html/depot_tools_tutorial.html
283
285
  - vendor/depot_tools/man/html/git-cherry-pick-upload.html
@@ -440,6 +442,8 @@ files:
440
442
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_webrtc.json
441
443
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json
442
444
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json
445
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name.json
446
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name_no_patch.json
443
447
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json
444
448
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py
445
449
  - vendor/depot_tools/recipes/recipe_modules/bot_update/resources/__init__.py
@@ -847,6 +851,9 @@ files:
847
851
  - vendor/depot_tools/third_party/logilab/common/visitor.py
848
852
  - vendor/depot_tools/third_party/logilab/common/xmlrpcutils.py
849
853
  - vendor/depot_tools/third_party/logilab/common/xmlutils.py
854
+ - vendor/depot_tools/third_party/mock/LICENSE.txt
855
+ - vendor/depot_tools/third_party/mock/README.chromium
856
+ - vendor/depot_tools/third_party/mock/__init__.py
850
857
  - vendor/depot_tools/third_party/oauth2client/LICENSE
851
858
  - vendor/depot_tools/third_party/oauth2client/MODIFICATIONS.diff
852
859
  - vendor/depot_tools/third_party/oauth2client/README.chromium
@@ -1010,9 +1017,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1010
1017
  version: '0'
1011
1018
  required_rubygems_version: !ruby/object:Gem::Requirement
1012
1019
  requirements:
1013
- - - ">="
1020
+ - - ">"
1014
1021
  - !ruby/object:Gem::Version
1015
- version: '0'
1022
+ version: 1.3.1
1016
1023
  requirements: []
1017
1024
  rubyforge_project: libv8
1018
1025
  rubygems_version: 2.6.13
@@ -1,147 +0,0 @@
1
- From a8f772b3a6bcfad871b4d09935727032faf84df2 Mon Sep 17 00:00:00 2001
2
- From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <mic.besace@gmail.com>
3
- Date: Tue, 20 Jun 2017 13:14:38 +0200
4
- Subject: [PATCH 5/5] Fix GCC 7 build errors
5
-
6
- BUG=chromium:691681
7
- R=franzih@chromium.org
8
-
9
- Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
10
- Reviewed-on: https://chromium-review.googlesource.com/530227
11
- Commit-Queue: Toon Verwaest <verwaest@chromium.org>
12
- Reviewed-by: Toon Verwaest <verwaest@chromium.org>
13
- Cr-Commit-Position: refs/heads/master@{#46045}
14
- ---
15
- BUILD.gn | 1 +
16
- src/objects-body-descriptors.h | 2 +-
17
- src/objects-inl.h | 2 ++
18
- src/objects/hash-table-inl.h | 34 ++++++++++++++++++++++++++++++++++
19
- src/objects/hash-table.h | 20 ++++----------------
20
- src/v8.gyp | 1 +
21
- 6 files changed, 43 insertions(+), 17 deletions(-)
22
- create mode 100644 src/objects/hash-table-inl.h
23
-
24
- diff --git a/BUILD.gn b/BUILD.gn
25
- index 80d6f34133..2060cb1981 100644
26
- --- a/BUILD.gn
27
- +++ b/BUILD.gn
28
- @@ -1748,6 +1748,7 @@ v8_source_set("v8_base") {
29
- "src/objects/dictionary.h",
30
- "src/objects/frame-array-inl.h",
31
- "src/objects/frame-array.h",
32
- + "src/objects/hash-table-inl.h",
33
- "src/objects/hash-table.h",
34
- "src/objects/intl-objects.cc",
35
- "src/objects/intl-objects.h",
36
- diff --git a/src/objects-body-descriptors.h b/src/objects-body-descriptors.h
37
- index 499c48a930..3eb3bb539e 100644
38
- --- a/src/objects-body-descriptors.h
39
- +++ b/src/objects-body-descriptors.h
40
- @@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
41
-
42
- template <typename StaticVisitor>
43
- static inline void IterateBody(HeapObject* obj, int object_size) {
44
- - IterateBody(obj);
45
- + IterateBody<StaticVisitor>(obj);
46
- }
47
-
48
- static inline int SizeOf(Map* map, HeapObject* object) { return kSize; }
49
- diff --git a/src/objects-inl.h b/src/objects-inl.h
50
- index 406f49d996..d179dc54d6 100644
51
- --- a/src/objects-inl.h
52
- +++ b/src/objects-inl.h
53
- @@ -31,6 +31,8 @@
54
- #include "src/lookup-cache-inl.h"
55
- #include "src/lookup.h"
56
- #include "src/objects.h"
57
- +#include "src/objects/hash-table-inl.h"
58
- +#include "src/objects/hash-table.h"
59
- #include "src/objects/literal-objects.h"
60
- #include "src/objects/module-info.h"
61
- #include "src/objects/regexp-match-info.h"
62
- diff --git a/src/objects/hash-table-inl.h b/src/objects/hash-table-inl.h
63
- new file mode 100644
64
- index 0000000000..7b2db38495
65
- --- /dev/null
66
- +++ b/src/objects/hash-table-inl.h
67
- @@ -0,0 +1,34 @@
68
- +// Copyright 2017 the V8 project authors. All rights reserved.
69
- +// Use of this source code is governed by a BSD-style license that can be
70
- +// found in the LICENSE file.
71
- +
72
- +#ifndef V8_OBJECTS_HASH_TABLE_INL_H_
73
- +#define V8_OBJECTS_HASH_TABLE_INL_H_
74
- +
75
- +#include "src/objects/hash-table.h"
76
- +
77
- +namespace v8 {
78
- +namespace internal {
79
- +
80
- +template <typename Derived, typename Shape, typename Key>
81
- +uint32_t HashTable<Derived, Shape, Key>::Hash(Key key) {
82
- + if (Shape::UsesSeed) {
83
- + return Shape::SeededHash(key, GetHeap()->HashSeed());
84
- + } else {
85
- + return Shape::Hash(key);
86
- + }
87
- +}
88
- +
89
- +template <typename Derived, typename Shape, typename Key>
90
- +uint32_t HashTable<Derived, Shape, Key>::HashForObject(Key key, Object* object) {
91
- + if (Shape::UsesSeed) {
92
- + return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
93
- + } else {
94
- + return Shape::HashForObject(key, object);
95
- + }
96
- +}
97
- +
98
- +} // namespace internal
99
- +} // namespace v8
100
- +
101
- +#endif // V8_OBJECTS_HASH_TABLE_INL_H_
102
- diff --git a/src/objects/hash-table.h b/src/objects/hash-table.h
103
- index f3c68a82c5..de58bf4592 100644
104
- --- a/src/objects/hash-table.h
105
- +++ b/src/objects/hash-table.h
106
- @@ -138,22 +138,10 @@ class HashTable : public HashTableBase {
107
- public:
108
- typedef Shape ShapeT;
109
-
110
- - // Wrapper methods
111
- - inline uint32_t Hash(Key key) {
112
- - if (Shape::UsesSeed) {
113
- - return Shape::SeededHash(key, GetHeap()->HashSeed());
114
- - } else {
115
- - return Shape::Hash(key);
116
- - }
117
- - }
118
- -
119
- - inline uint32_t HashForObject(Key key, Object* object) {
120
- - if (Shape::UsesSeed) {
121
- - return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
122
- - } else {
123
- - return Shape::HashForObject(key, object);
124
- - }
125
- - }
126
- + // Wrapper methods. Defined in src/objects/hash-table-inl.h
127
- + // to break a cycle with src/heap/heap.h.
128
- + inline uint32_t Hash(Key key);
129
- + inline uint32_t HashForObject(Key key, Object* object);
130
-
131
- // Returns a new HashTable object.
132
- MUST_USE_RESULT static Handle<Derived> New(
133
- diff --git a/src/v8.gyp b/src/v8.gyp
134
- index 34fccc19dc..720b4a54f7 100644
135
- --- a/src/v8.gyp
136
- +++ b/src/v8.gyp
137
- @@ -1228,6 +1228,7 @@
138
- 'objects/dictionary.h',
139
- 'objects/frame-array.h',
140
- 'objects/frame-array-inl.h',
141
- + 'objects/hash-table-inl.h',
142
- 'objects/hash-table.h',
143
- 'objects/intl-objects.cc',
144
- 'objects/intl-objects.h',
145
- --
146
- 2.13.3
147
-