]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/libgcov-profiler.c
Speed-up indirect-call instrumentation
[thirdparty/gcc.git] / libgcc / libgcov-profiler.c
index 067d762c2af5c9ba6eec468fd9e493c8cd25f957..e4570a01318b47fa7a038f8a08e4226812abd2ad 100644 (file)
@@ -336,6 +336,8 @@ __gcov_indirect_call_profiler_v2 (gcov_type value, void* cur_func)
       || (__LIBGCC_VTABLE_USES_DESCRIPTORS__ && __gcov_indirect_call_callee
           && *(void **) cur_func == *(void **) __gcov_indirect_call_callee))
     __gcov_one_value_profiler_body (__gcov_indirect_call_counters, value, 0);
+
+  __gcov_indirect_call_callee = NULL;
 }
 #endif