File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1910,8 +1910,7 @@ LogicalResult ModuleImport::convertInstruction(llvm::Instruction *inst) {
19101910 // insert into `operands` to include the indirect call target.
19111911 FlatSymbolRefAttr calleeSym = convertCalleeName (callInst);
19121912 Value indirectCallVal = builder.create <LLVM::AddressOfOp>(
1913- translateLoc (callInst->getDebugLoc ()),
1914- LLVM::LLVMPointerType::get (context), calleeSym);
1913+ loc, LLVM::LLVMPointerType::get (context), calleeSym);
19151914 operands->insert (operands->begin (), indirectCallVal);
19161915 } else {
19171916 // Regular direct call using callee name.
@@ -2003,8 +2002,7 @@ LogicalResult ModuleImport::convertInstruction(llvm::Instruction *inst) {
20032002 // insert into `operands` to include the indirect invoke target.
20042003 FlatSymbolRefAttr calleeSym = convertCalleeName (invokeInst);
20052004 Value indirectInvokeVal = builder.create <LLVM::AddressOfOp>(
2006- translateLoc (invokeInst->getDebugLoc ()),
2007- LLVM::LLVMPointerType::get (context), calleeSym);
2005+ loc, LLVM::LLVMPointerType::get (context), calleeSym);
20082006 operands->insert (operands->begin (), indirectInvokeVal);
20092007 } else {
20102008 // Regular direct invoke using callee name.
You can’t perform that action at this time.
0 commit comments