Remove libc dependency for the generated code

This commit is contained in:
2024-05-23 01:13:16 +02:00
parent cf5dc3ec31
commit b8e2be6b38
14 changed files with 362 additions and 417 deletions

View File

@ -165,7 +165,7 @@ namespace elna::source
this->current.emplace_back(quadruple_operator::start);
program->body().accept(this);
this->current.emplace_back(quadruple_operator::stop);
code["main"] = std::move(this->current);
code["_start"] = std::move(this->current);
}
void intermediate_code_generator::visit(call_statement *statement)