mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
deps: V8: template explicit instantiation for GCC-8
Fails to link for missing: void JSObject::ApplyAttributesToDictionary<NumberDictionary>(...) PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
c81bb22bad
commit
0df8f53abb
3 files changed
+11
-1
No files matched your search
+1
-1
@@ -38,7 +38,7 @@
|
||||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
# Increment by one for each non-official patch applied to deps/v8.
|
||||
'v8_embedder_string': '-node.9',
|
||||
'v8_embedder_string': '-node.10',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
Vendored
+5
@@ -62,6 +62,11 @@
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
||||
// Explicit instantiation declarations.
|
||||
extern template void JSObject::ApplyAttributesToDictionary(
|
||||
Isolate* isolate, ReadOnlyRoots roots, Handle<NumberDictionary> dictionary,
|
||||
const PropertyAttributes attributes);
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Vendored
+5
@@ -5836,5 +5836,10 @@ Handle<String> JSMessageObject::GetSourceLine() const {
|
||||
return isolate->factory()->NewSubString(src, info.line_start, info.line_end);
|
||||
}
|
||||
|
||||
// Explicit instantiation definitions.
|
||||
template void JSObject::ApplyAttributesToDictionary(
|
||||
Isolate* isolate, ReadOnlyRoots roots, Handle<NumberDictionary> dictionary,
|
||||
const PropertyAttributes attributes);
|
||||
|
||||
} // namespace internal
|
||||
} // namespace v8
|
||||
Reference in new issue
Block a user