Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Jun 19, 2011
2 parents 5a3a449 + 9546650 commit 83ec761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion j/multi.j
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,6 @@ end

macro bcast(thk)
quote
$thk
at_each(()->eval($expr(:quote,thk)))
end
end
Expand Down
5 changes: 4 additions & 1 deletion src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,10 @@ JL_CALLABLE(jl_apply_generic)
return jl_no_method_error((jl_function_t*)jl_t2(env), args, nargs);
}

return jl_apply(mfunc, args, nargs);
JL_GC_PUSH(&mfunc);
jl_value_t *result = jl_apply(mfunc, args, nargs);
JL_GC_POP();
return result;
}

static void print_methlist(char *name, jl_methlist_t *ml)
Expand Down

0 comments on commit 83ec761

Please sign in to comment.