Skip to content

Commit

Permalink
Merge pull request #41531 from tkf/null
Browse files Browse the repository at this point in the history
Explicitly initialize some GC roots
  • Loading branch information
vchuravy authored Jul 10, 2021
2 parents f8d04b2 + 22c52a1 commit 56bb340
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4702,10 +4702,10 @@ static jl_cgval_t emit_expr(jl_codectx_t &ctx, jl_value_t *expr, ssize_t ssaval)
std::unique_ptr<Module> closure_m;
jl_llvm_functions_t closure_decls;

jl_method_instance_t *li;
jl_value_t *closure_t;
jl_tupletype_t *env_t;
jl_svec_t *sig_args;
jl_method_instance_t *li = NULL;
jl_value_t *closure_t = NULL;
jl_tupletype_t *env_t = NULL;
jl_svec_t *sig_args = NULL;
JL_GC_PUSH5(&li, &closure_src, &closure_t, &env_t, &sig_args);

li = jl_new_method_instance_uninit();
Expand Down

2 comments on commit 56bb340

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something went wrong when running your job:

ProcessExitedException(2)

cc @maleadt

Please sign in to comment.