mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
Fix broken merge
This commit is contained in:
parent
d3f01b541b
commit
9c8424275e
@ -140,7 +140,10 @@ llvm::Expected<std::string> JIT::exec(const std::string &code) {
|
||||
auto *cache = compiler->getCache();
|
||||
auto typechecked = ast::TypecheckVisitor::apply(cache, simplified);
|
||||
std::vector<std::string> globalNames;
|
||||
for (auto &g : cache->globals) {
|
||||
if (!g.second)
|
||||
globalNames.push_back(g.first);
|
||||
}
|
||||
// add newly realized functions
|
||||
std::vector<ast::StmtPtr> v;
|
||||
std::vector<ir::Func **> frs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user