Bug 1551489 - Part 2: Instantiate BinASTParser<BinASTTokenReaderContext>. r=Yoric

Differential Revision: https://phabricator.services.mozilla.com/D31058
This commit is contained in:
Tooru Fujisawa
2019-05-20 10:40:42 +00:00
parent ed4678872a
commit 5121de08d8
5 changed files with 12 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
#include "frontend/BinAST-macros.h"
#include "frontend/BinASTParser.h"
#include "frontend/BinASTTokenReaderContext.h"
#include "frontend/BinASTTokenReaderMultipart.h"
#include "frontend/FullParseHandler.h"
#include "frontend/ParseNode.h"
@@ -813,6 +814,7 @@ BinASTParserPerTokenizer<Tok>::asFinalParser() const {
// Force class instantiation.
// This ensures that the symbols are built, without having to export all our
// code (and its baggage of #include and macros) in the header.
template class BinASTParserPerTokenizer<BinASTTokenReaderContext>;
template class BinASTParserPerTokenizer<BinASTTokenReaderMultipart>;
} // namespace frontend