Skip to content

Commit a0b67dc

Browse files
committed
[GCChecker] fix merge conflict
1 parent fdeeffe commit a0b67dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/julia.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,9 @@ typedef struct _jl_gcframe_t {
695695

696696
#define jl_pgcstack (jl_get_ptls_states()->pgcstack)
697697

698+
#define JL_GC_ENCODE_PUSHARGS(n) (((size_t)(n))<<2)
699+
#define JL_GC_ENCODE_PUSH(n) ((((size_t)(n))<<2)|1)
700+
698701
#ifdef __clang_analyzer__
699702

700703
// When running with the analyzer make these real function calls, that are
@@ -717,9 +720,6 @@ extern void JL_GC_POP() JL_NOTSAFEPOINT;
717720

718721
#else
719722

720-
#define JL_GC_ENCODE_PUSHARGS(n) (((size_t)(n))<<2)
721-
#define JL_GC_ENCODE_PUSH(n) ((((size_t)(n))<<2)|1)
722-
723723
#define JL_GC_PUSH1(arg1) \
724724
void *__gc_stkf[] = {(void*)JL_GC_ENCODE_PUSH(1), jl_pgcstack, arg1}; \
725725
jl_pgcstack = (jl_gcframe_t*)__gc_stkf;

0 commit comments

Comments
 (0)