| 1145 | } |
| 1146 | |
| 1147 | void * 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 |
no outgoing calls
no test coverage detected