Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup rebase
Browse files Browse the repository at this point in the history
vchuravy committed Jan 9, 2023

Verified

This commit was signed with the committer’s verified signature.
vchuravy Valentin Churavy
1 parent 6dbe3d7 commit f4f10cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ccall.cpp
Original file line number Diff line number Diff line change
@@ -2030,15 +2030,15 @@ jl_cgval_t function_sig_t::emit_a_ccall(
++EmittedProbeCalls;
if (symarg.jl_ptr != NULL) {
emit_error(ctx, "probecall doesn't support dynamic pointers");
return jl_cgval_t(ctx.builder.getContext());
return jl_cgval_t();
}
else if (symarg.fptr != NULL) {
emit_error(ctx, "probecall doesn't support static pointers");
return jl_cgval_t(ctx.builder.getContext());
return jl_cgval_t();
}
else if (symarg.f_lib != NULL) {
emit_error(ctx, "probecall doesn't support dynamic libraries");
return jl_cgval_t(ctx.builder.getContext());
return jl_cgval_t();
}
else {
assert(symarg.f_name != NULL);

0 comments on commit f4f10cf

Please sign in to comment.