MCPcopy Create free account
hub / github.com/boostorg/build / GC_call_with_stack_base

Function GC_call_with_stack_base

v2/engine/boehm_gc/misc.c:1147–1159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147void * GC_call_with_stack_base(GC_stack_base_func fn, void *arg)
1148{
1149 int dummy;
1150 struct GC_stack_base base;
1151
1152 base.mem_base = (void *)&dummy;
1153# ifdef IA64
1154 base.reg_base = (void *)GC_save_regs_in_stack();
1155 /* Unnecessarily flushes register stack, */
1156 /* but that probably doesn't hurt. */
1157# endif
1158 return fn(&base, arg);
1159}
1160
1161#if !defined(NO_DEBUGGING)
1162

Callers 3

GC_win32_startFunction · 0.85
GC_pthread_startFunction · 0.85
GC_start_routineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected