diff options
Diffstat (limited to 'src/trans/trans_list.hpp')
-rw-r--r-- | src/trans/trans_list.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/trans/trans_list.hpp b/src/trans/trans_list.hpp index 2ef876d6..48274f87 100644 --- a/src/trans/trans_list.hpp +++ b/src/trans/trans_list.hpp @@ -41,10 +41,17 @@ struct Trans_Params } }; +struct CachedFunction { + ::HIR::TypeRef ret_ty; + ::HIR::Function::args_t arg_tys; + ::MIR::FunctionPointer code; +}; struct TransList_Function { const ::HIR::Function* ptr; Trans_Params pp; + // If `pp.has_types` is true, the below is valid + CachedFunction monomorphised; }; struct TransList_Static { |