deps: V8: template explicit instantiation for GCC-8 · nodejs/node@0a5ff4c · GitHub
Skip to content

Commit 0a5ff4c

Browse files
refacktargos
authored andcommitted
deps: V8: template explicit instantiation for GCC-8
Fails to link for missing: void JSObject::ApplyAttributesToDictionary<NumberDictionary>(...) Backport-PR-URL: #28005 PR-URL: #27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent b411114 commit 0a5ff4c

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

common.gypi

Lines changed: 1 addition & 1 deletion

deps/v8/src/elements.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
namespace v8 {
6363
namespace internal {
6464

65+
// Explicit instantiation declarations.
66+
extern template void JSObject::ApplyAttributesToDictionary(
67+
Isolate* isolate, ReadOnlyRoots roots, Handle<NumberDictionary> dictionary,
68+
const PropertyAttributes attributes);
69+
6570

6671
namespace {
6772

deps/v8/src/objects/js-objects.cc

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)