diff options
Diffstat (limited to 'src/trans/codegen.cpp')
-rw-r--r-- | src/trans/codegen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/trans/codegen.cpp b/src/trans/codegen.cpp index 29b42325..0141497f 100644 --- a/src/trans/codegen.cpp +++ b/src/trans/codegen.cpp @@ -47,6 +47,10 @@ void Trans_Codegen(const ::std::string& outfile, const ::HIR::Crate& crate, cons codegen->emit_type(ty.first); } } + for(const auto& ty : list.m_typeids) + { + codegen->emit_type_id(ty); + } // 2. Emit function prototypes for(const auto& ent : list.m_functions) |