Skip to content

Commit

Permalink
slight optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Apr 25, 2017
1 parent 124dfb8 commit 6d35e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ JL_DLLEXPORT jl_value_t *jl_invoke_latest(jl_value_t *f, jl_value_t *argtuple)
argv[i] = jl_fieldref(argtuple, i-1);
jl_ptls_t ptls = jl_get_ptls_states();
size_t last_age = ptls->world_age;
ptls->world_age = jl_get_world_counter();
ptls->world_age = jl_world_counter;
jl_value_t *v = jl_apply(argv, nargs+1);
ptls->world_age = last_age;
JL_GC_POP();
Expand Down

0 comments on commit 6d35e48

Please sign in to comment.