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 9, 2018
1 parent 65a9261 commit 333da81
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 @@ -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;
Expand Down

0 comments on commit 333da81

Please sign in to comment.