From bf2f3ac82811fdaa24c8e73409170cdf3214f6d2 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Mon, 2 Jan 2017 16:04:09 -0500 Subject: [PATCH] slight optimization --- src/gf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gf.c b/src/gf.c index b9df541937ba55..5ed4c2677e75bf 100644 --- a/src/gf.c +++ b/src/gf.c @@ -2208,7 +2208,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();