Refactor coalescing logic out of the file context. (#5723)

Move coalescing logic outside of the file context.
This is intended to be pure refactoring / NFC.
This commit is contained in:
Alina Sbirlea
2025-06-25 21:22:58 +00:00
committed by GitHub
parent 70c94cb5b4
commit dd0905ccbb
7 changed files with 428 additions and 360 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ namespace Carbon::Lower {
FunctionContext::FunctionContext(
FileContext& file_context, llvm::Function* function,
FileContext& specific_file_context, SemIR::SpecificId specific_id,
FileContext::SpecificFunctionFingerprint* function_fingerprint,
SpecificCoalescer::SpecificFunctionFingerprint* function_fingerprint,
llvm::DISubprogram* di_subprogram, llvm::raw_ostream* vlog_stream)
: file_context_(&file_context),
function_(function),