From 333da81337e15f9c329890092a220b4808a73fd3 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Wed, 9 May 2018 18:24:07 -0400 Subject: [PATCH] get `@threadcall` sort of working again --- src/codegen.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/codegen.cpp b/src/codegen.cpp index 44f85fa516320..6c39299565667 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -3802,10 +3802,11 @@ static Function* gen_cfun_wrapper( void *callptr = NULL; int calltype = 0; // infer it first, if necessary - // FIXME! + // FIXME! pretend this is OK if (lam) name = jl_symbol_name(lam->def.method->name); - if (lam && params.cache && !into) { + if (lam && params.cache) { + // if (!into) (void)jl_generate_fptr(&lam, world); if (lam->invoke == jl_fptr_trampoline) { calltype = 0;