mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 04:26:45 +00:00
Update LLVM, picking up new -disable-free flag logic (#5333)
This requires fixing some uses of deprecated APIs.
This commit is contained in:
1 parent
034e374f0a
commit
55705aaef8
4 files changed
+9
-8
No files matched your search
@@ -264,7 +264,7 @@ auto FileContext::BuildFunctionTypeInfo(const SemIR::Function& function,
|
||||
auto return_param_id = SemIR::InstId::None;
|
||||
if (return_info.has_return_slot()) {
|
||||
param_types.push_back(
|
||||
llvm::PointerType::get(return_type, /*AddressSpace=*/0));
|
||||
llvm::PointerType::get(llvm_context(), /*AddressSpace=*/0));
|
||||
return_param_id = function.return_slot_pattern_id;
|
||||
param_inst_ids.push_back(return_param_id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user