Fixup silly compilation errors

This commit is contained in:
Rauhul Varma
2023-06-15 23:27:21 -07:00
parent 6b9fb171bf
commit cc0ea25664
3 changed files with 3 additions and 3 deletions

View File

@@ -570,7 +570,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
InvariantNode = llvm::MDNode::get(getLLVMContext(), {});
DereferenceableID = getLLVMContext().getMDKindID("dereferenceable");
C_CC = IGM.getOptions().PlatformCCallingConvention();
C_CC = getOptions().PlatformCCallingConvention;
// TODO: use "tinycc" on platforms that support it
DefaultCC = SWIFT_DEFAULT_LLVM_CC;
SwiftCC = llvm::CallingConv::Swift;