mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 13:41:06 +01:00
Basic lowering generic function definitions. (#5016)
Resolve the specific type for the callee, to lower the proper specific function called.
This commit is contained in:
@@ -12,10 +12,12 @@ namespace Carbon::Lower {
|
||||
|
||||
FunctionContext::FunctionContext(FileContext& file_context,
|
||||
llvm::Function* function,
|
||||
SemIR::SpecificId specific_id,
|
||||
llvm::DISubprogram* di_subprogram,
|
||||
llvm::raw_ostream* vlog_stream)
|
||||
: file_context_(&file_context),
|
||||
function_(function),
|
||||
specific_id_(specific_id),
|
||||
builder_(file_context.llvm_context(), llvm::ConstantFolder(),
|
||||
Inserter(file_context.inst_namer())),
|
||||
di_subprogram_(di_subprogram),
|
||||
|
||||
Reference in New Issue
Block a user