| 102 | } |
| 103 | |
| 104 | bool CompileHelper::compileAST() { |
| 105 | |
| 106 | for (auto &SourceFile : SourceFiles) { |
| 107 | ASTFiles.emplace_back(SourceFile); |
| 108 | if (!ASTFiles.back().Ptr) { |
| 109 | ASTFiles.clear(); |
| 110 | return false; |
| 111 | } |
| 112 | } |
| 113 | return true; |
| 114 | } |
| 115 | |
| 116 | bool CompileHelper::compileIR() { |
| 117 |