Skip to content

Commit

Permalink
More hygienic JL_GC_PUSHARGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Feb 22, 2016
1 parent 20b33da commit 34e9516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ typedef struct _jl_gcframe_t {

#define JL_GC_PUSHARGS(rts_var,n) \
rts_var = ((jl_value_t**)alloca(((n)+2)*sizeof(jl_value_t*)))+2; \
((void**)rts_var)[-2] = (void*)(((size_t)n)<<1); \
((void**)rts_var)[-2] = (void*)(((size_t)(n))<<1); \
((void**)rts_var)[-1] = jl_pgcstack; \
memset((void*)rts_var, 0, (n)*sizeof(jl_value_t*)); \
jl_pgcstack = (jl_gcframe_t*)&(((void**)rts_var)[-2])
Expand Down

0 comments on commit 34e9516

Please sign in to comment.