commit | 66ee7508a70ef8f312ca70b7d8e17e653bfc1f64 | [log] [tgz] |
---|---|---|
author | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Dec 19 23:47:24 2003 +0000 |
committer | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Dec 19 23:47:24 2003 +0000 |
tree | 768a134fdba9e0cf0e060ba32f4604c62768138d | |
parent | d5605a08612dbf5bd1715576e4f51bd8a5e37ee9 [diff] [blame] |
Don't print prediction info for branches if we're not generating it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2135 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_from_ucode.c b/coregrind/vg_from_ucode.c index fbd22cc..d371f14 100644 --- a/coregrind/vg_from_ucode.c +++ b/coregrind/vg_from_ucode.c
@@ -92,6 +92,9 @@ static const Char *predstr(JumpPred p) { + if (!VG_(clo_branchpred)) + return ""; + switch(p) { default: case JP_NONE: return "";