19 lines
255 B
C++
19 lines
255 B
C++
![]() |
#include "triton/ast/module.h"
|
||
|
#include "triton/ir/module.h"
|
||
|
|
||
|
|
||
|
namespace triton{
|
||
|
|
||
|
namespace ast{
|
||
|
|
||
|
/* Translation unit */
|
||
|
ir::value* translation_unit::codegen(ir::module *mod) const{
|
||
|
mod->add_new_scope();
|
||
|
decls_.codegen(mod);
|
||
|
return nullptr;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|