File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -5333,7 +5333,7 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
5333
5333
llvm::FunctionType* fntype = llvm_symtab_fn[h]->getFunctionType ();
5334
5334
std::string m_name = std::string (((ASR::Function_t*)(&(x.m_name ->base )))->m_name );
5335
5335
args = convert_call_args (x, m_name);
5336
- tmp = CreateCallUtil (fntype, fn, args, x. m_type );
5336
+ tmp = builder-> CreateCall (fntype, fn, args);
5337
5337
} else if (llvm_symtab_fn.find (h) == llvm_symtab_fn.end ()) {
5338
5338
throw CodeGenError (" Function code not generated for '"
5339
5339
+ std::string (s->m_name ) + " '" );
@@ -5363,7 +5363,6 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
5363
5363
tmp = builder->CreateCall (fn, args);
5364
5364
}
5365
5365
} else {
5366
- tmp = builder->CreateCall (fn, args);
5367
5366
tmp = CreateCallUtil (fn, args, return_var_type0);
5368
5367
}
5369
5368
}
You can’t perform that action at this time.
0 commit comments