@@ -846,6 +846,7 @@ JL_CALLABLE(jl_f__apply_iterate)
846
846
// this is like a regular call, but always runs in the newest world
847
847
JL_CALLABLE (jl_f_invokelatest )
848
848
{
849
+ JL_NARGSV (invokelatest , 1 );
849
850
jl_task_t * ct = jl_current_task ;
850
851
size_t last_age = ct -> world_age ;
851
852
if (!ct -> ptls -> in_pure_callback )
@@ -859,10 +860,10 @@ JL_CALLABLE(jl_f_invokelatest)
859
860
// If world > jl_atomic_load_acquire(&jl_world_counter), run in the latest world.
860
861
JL_CALLABLE (jl_f_invoke_in_world )
861
862
{
862
- JL_NARGSV (_apply_in_world , 2 );
863
+ JL_NARGSV (invoke_in_world , 2 );
863
864
jl_task_t * ct = jl_current_task ;
864
865
size_t last_age = ct -> world_age ;
865
- JL_TYPECHK (_apply_in_world , ulong , args [0 ]);
866
+ JL_TYPECHK (invoke_in_world , ulong , args [0 ]);
866
867
size_t world = jl_unbox_ulong (args [0 ]);
867
868
if (!ct -> ptls -> in_pure_callback ) {
868
869
ct -> world_age = jl_atomic_load_acquire (& jl_world_counter );
@@ -877,7 +878,7 @@ JL_CALLABLE(jl_f_invoke_in_world)
877
878
JL_CALLABLE (jl_f__call_in_world_total )
878
879
{
879
880
JL_NARGSV (_call_in_world_total , 2 );
880
- JL_TYPECHK (_apply_in_world , ulong , args [0 ]);
881
+ JL_TYPECHK (_call_in_world_total , ulong , args [0 ]);
881
882
jl_task_t * ct = jl_current_task ;
882
883
int last_in = ct -> ptls -> in_pure_callback ;
883
884
jl_value_t * ret = NULL ;
0 commit comments