Skip to content

Commit a949e7d

Browse files
committed
Remove redundant line
1 parent e4fac35 commit a949e7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libasr/codegen/asr_to_llvm.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5333,7 +5333,7 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
53335333
llvm::FunctionType* fntype = llvm_symtab_fn[h]->getFunctionType();
53345334
std::string m_name = std::string(((ASR::Function_t*)(&(x.m_name->base)))->m_name);
53355335
args = convert_call_args(x, m_name);
5336-
tmp = CreateCallUtil(fntype, fn, args, x.m_type);
5336+
tmp = builder->CreateCall(fntype, fn, args);
53375337
} else if (llvm_symtab_fn.find(h) == llvm_symtab_fn.end()) {
53385338
throw CodeGenError("Function code not generated for '"
53395339
+ std::string(s->m_name) + "'");
@@ -5363,7 +5363,6 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
53635363
tmp = builder->CreateCall(fn, args);
53645364
}
53655365
} else {
5366-
tmp = builder->CreateCall(fn, args);
53675366
tmp = CreateCallUtil(fn, args, return_var_type0);
53685367
}
53695368
}

0 commit comments

Comments
 (0)