diff --git a/[refs] b/[refs] index 2a2773fbd15a..a891f7698902 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 469535a598f28c13a2a42037e1b778f671af1d16 +refs/heads/master: 7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index 4889c44d71b5..911ba7ffab84 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -393,7 +393,7 @@ sub update_funcs $read_function = 0; } # print out any recorded offsets - update_funcs() if ($text_found); + update_funcs() if (defined($ref_func)); # reset all markers and arrays $text_found = 0; @@ -444,7 +444,7 @@ sub update_funcs } # dump out anymore offsets that may have been found -update_funcs() if ($text_found); +update_funcs() if (defined($ref_func)); # If we did not find any mcount callers, we are done (do nothing). if (!$opened) {