mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
PR #2189 - Follow-up: Fix build bustage with GCC 9 related to checkExportedNamesForDeclaration
This commit is contained in:
parent
8a54b4f303
commit
7c9215f958
1 changed files with 27 additions and 0 deletions
|
|
@ -5235,6 +5235,33 @@ Parser<SyntaxParseHandler>::checkExportedName(JSAtom* exportName)
|
|||
return false;
|
||||
}
|
||||
|
||||
// Because all these template methods call each other, let's declare them first before
|
||||
// defining them to prevent a GCC compiler error in specialization of member function
|
||||
// template after instantiation.
|
||||
template<>
|
||||
bool
|
||||
Parser<FullParseHandler>::checkExportedNamesForDeclaration(ParseNode* node);
|
||||
|
||||
template<>
|
||||
bool
|
||||
Parser<SyntaxParseHandler>::checkExportedNamesForDeclaration(Node node);
|
||||
|
||||
template<>
|
||||
bool
|
||||
Parser<FullParseHandler>::checkExportedNamesForArrayBinding(ListNode* array);
|
||||
|
||||
template<>
|
||||
inline bool
|
||||
Parser<SyntaxParseHandler>::checkExportedNamesForArrayBinding(ListNodeType array);
|
||||
|
||||
template<>
|
||||
bool
|
||||
Parser<FullParseHandler>::checkExportedNamesForObjectBinding(ListNode* obj);
|
||||
|
||||
template<>
|
||||
inline bool
|
||||
Parser<SyntaxParseHandler>::checkExportedNamesForObjectBinding(ListNodeType obj);
|
||||
|
||||
template<>
|
||||
bool
|
||||
Parser<FullParseHandler>::checkExportedNamesForArrayBinding(ListNode* array)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue