Skip to content

Commit

Permalink
get @threadcall sort of working again
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed May 10, 2018
1 parent b9bdcfb commit d28eaf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3797,10 +3797,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;
Expand Down

0 comments on commit d28eaf3

Please sign in to comment.