diff options
Diffstat (limited to 'src/trans/codegen.cpp')
-rw-r--r-- | src/trans/codegen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen.cpp b/src/trans/codegen.cpp index 0141497f..043e9b43 100644 --- a/src/trans/codegen.cpp +++ b/src/trans/codegen.cpp @@ -129,6 +129,7 @@ void Trans_Codegen(const ::std::string& outfile, const ::HIR::Crate& crate, cons MIR_Validate(resolve, ::HIR::ItemPath(""), *mir, args, ret_type); codegen->emit_function_code(path, fcn, ent.second->pp, mir); } + // TODO: Detect if the function was a #[inline] function from another crate, and don't emit if that is the case? else { codegen->emit_function_code(path, fcn, pp, fcn.m_code.m_mir); } |