diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1993-09-02 10:50:41 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1993-09-02 10:50:41 +0000 |
commit | 92832bb59a243e4794ece32181cf539ce586be2f (patch) | |
tree | f23a1dabf061c86aef05637db8a61df8e1d2014e /gcc/config/m68k/sun3.h | |
parent | 9d436547f74b4828480c6d8efddc8bd2afc752aa (diff) | |
download | gcc-92832bb59a243e4794ece32181cf539ce586be2f.zip gcc-92832bb59a243e4794ece32181cf539ce586be2f.tar.gz gcc-92832bb59a243e4794ece32181cf539ce586be2f.tar.bz2 |
Update basic block profiling.
From-SVN: r5249
Diffstat (limited to 'gcc/config/m68k/sun3.h')
-rw-r--r-- | gcc/config/m68k/sun3.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/m68k/sun3.h b/gcc/config/m68k/sun3.h index a274fa7..86b3414 100644 --- a/gcc/config/m68k/sun3.h +++ b/gcc/config/m68k/sun3.h @@ -275,3 +275,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ asm_fprintf (FILE, "%I0r%s", dstr); \ } \ } while (0) + +#undef BLOCK_PROFILER_CODE +#define BLOCK_PROFILER_CODE \ +extern int ___tcov_init; \ + \ +__bb_init_func (blocks) \ + struct bb *blocks; \ +{ \ + if (! ___tcov_init) \ + ___tcov_init_func (); \ + \ + ___bb_link (blocks->filename, blocks->counts, blocks->ncounts); \ +} |