Skip to content

Commit 06febe3

Browse files
committed
aotcompile: Fix early-exit if CI not found for cfunction (#58722)
As written, this was accidentally skipping all the subsequent `cfuncs` that need adapters.
1 parent 1e24c2e commit 06febe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aotcompile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ static void generate_cfunc_thunks(jl_codegen_params_t &params, jl_compiled_funct
620620
}
621621
}
622622
Function *f = codeinst ? aot_abi_converter(params, M, declrt, sigt, cfunc.nargs, cfunc.specsig, codeinst, defM, func, "", false) : unspec;
623-
return assign_fptr(f);
623+
assign_fptr(f);
624624
}
625625
}
626626

0 commit comments

Comments
 (0)