Parallelization of the Parser

~66% reduction (unoptimized build)
~30% reduction (optimized build)
This commit is contained in:
Ginger Bill
2017-07-30 19:01:02 +01:00
parent 62a72f0163
commit 629b248f53
7 changed files with 312 additions and 130 deletions
+2
View File
@@ -2279,6 +2279,8 @@ void check_parsed_files(Checker *c) {
scope->file = f;
if (f->tokenizer.fullpath == c->parser->init_fullpath) {
scope->is_init = true;
} else if (f->file_kind == ImportedFile_Init) {
scope->is_init = true;
}
if (scope->is_global) {