1- From 116d78a457473837092190b2a9187b660813258d Mon Sep 17 00:00:00 2001
1+ From da4cfa16ed1cbbc5e2ecfeecb64cbe939029ff36 Mon Sep 17 00:00:00 2001
22From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <mic.besace@gmail.com>
33Date: Tue, 20 Jun 2017 13:14:38 +0200
44Subject: [PATCH 5/5] Fix GCC 7 build errors
@@ -22,19 +22,19 @@ Cr-Commit-Position: refs/heads/master@{#46045}
2222 create mode 100644 src/objects/hash-table-inl.h
2323
2424diff --git a/BUILD.gn b/BUILD.gn
25- index 80ff7340b1..becf4177c1 100644
25+ index 80d6f34133..2060cb1981 100644
2626--- a/BUILD.gn
2727+++ b/BUILD.gn
28- @@ -1717 ,6 +1717 ,7 @@ v8_source_set("v8_base") {
28+ @@ -1748 ,6 +1748 ,7 @@ v8_source_set("v8_base") {
2929 "src/objects/dictionary.h",
3030 "src/objects/frame-array-inl.h",
3131 "src/objects/frame-array.h",
3232+ "src/objects/hash-table-inl.h",
3333 "src/objects/hash-table.h",
34- "src/objects/literal -objects.cc",
35- "src/objects/literal -objects.h",
34+ "src/objects/intl -objects.cc",
35+ "src/objects/intl -objects.h",
3636diff --git a/src/objects-body-descriptors.h b/src/objects-body-descriptors.h
37- index 9f080eb755..b201c20fbb 100644
37+ index 499c48a930..3eb3bb539e 100644
3838--- a/src/objects-body-descriptors.h
3939+++ b/src/objects-body-descriptors.h
4040@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
@@ -44,10 +44,10 @@ index 9f080eb755..b201c20fbb 100644
4444- IterateBody(obj);
4545+ IterateBody<StaticVisitor>(obj);
4646 }
47- };
4847
48+ static inline int SizeOf(Map* map, HeapObject* object) { return kSize; }
4949diff --git a/src/objects-inl.h b/src/objects-inl.h
50- index 4b819d43f4..07b62cc140 100644
50+ index 406f49d996..d179dc54d6 100644
5151--- a/src/objects-inl.h
5252+++ b/src/objects-inl.h
5353@@ -31,6 +31,8 @@
@@ -100,10 +100,10 @@ index 0000000000..7b2db38495
100100+
101101+ #endif // V8_OBJECTS_HASH_TABLE_INL_H_
102102diff --git a/src/objects/hash-table.h b/src/objects/hash-table.h
103- index 221598b711..3a351e3e16 100644
103+ index f3c68a82c5..de58bf4592 100644
104104--- a/src/objects/hash-table.h
105105+++ b/src/objects/hash-table.h
106- @@ -135 ,22 +135 ,10 @@ class HashTable : public HashTableBase {
106+ @@ -138 ,22 +138 ,10 @@ class HashTable : public HashTableBase {
107107 public:
108108 typedef Shape ShapeT;
109109
@@ -131,17 +131,17 @@ index 221598b711..3a351e3e16 100644
131131 // Returns a new HashTable object.
132132 MUST_USE_RESULT static Handle<Derived> New(
133133diff --git a/src/v8.gyp b/src/v8.gyp
134- index 1f94a0680a..a8efcdcf3f 100644
134+ index 34fccc19dc..720b4a54f7 100644
135135--- a/src/v8.gyp
136136+++ b/src/v8.gyp
137- @@ -1118 ,6 +1118 ,7 @@
137+ @@ -1228 ,6 +1228 ,7 @@
138138 'objects/dictionary.h',
139139 'objects/frame-array.h',
140140 'objects/frame-array-inl.h',
141141+ 'objects/hash-table-inl.h',
142142 'objects/hash-table.h',
143- 'objects/literal -objects.cc',
144- 'objects/literal -objects.h',
143+ 'objects/intl -objects.cc',
144+ 'objects/intl -objects.h',
145145- -
1461462.13.3
147147
0 commit comments