mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 10:58:29 +00:00
Update FunctionContext::Inserter::InsertHelper for llvm changes (#4069)
The interface has changed upstream: https://github.com/llvm/llvm-project/commit/80f881485accb020345ee7e1c4c3151ec55ce590
This commit is contained in:
1 parent
4132c6a65f
commit
7e4f2f2b49
3 files changed
+5
-6
No files matched your search
@@ -152,7 +152,7 @@ auto FunctionContext::CopyObject(SemIR::TypeId type_id, SemIR::InstId source_id,
|
||||
}
|
||||
|
||||
auto FunctionContext::Inserter::InsertHelper(
|
||||
llvm::Instruction* inst, const llvm::Twine& name, llvm::BasicBlock* block,
|
||||
llvm::Instruction* inst, const llvm::Twine& name,
|
||||
llvm::BasicBlock::iterator insert_pt) const -> void {
|
||||
llvm::StringRef base_name;
|
||||
llvm::StringRef separator;
|
||||
@@ -164,7 +164,7 @@ auto FunctionContext::Inserter::InsertHelper(
|
||||
}
|
||||
|
||||
IRBuilderDefaultInserter::InsertHelper(inst, base_name + separator + name,
|
||||
block, insert_pt);
|
||||
insert_pt);
|
||||
}
|
||||
|
||||
} // namespace Carbon::Lower
|
||||
Reference in new issue
Block a user