Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: patches/04_silence_genperf_chatter.patch

Issue 9580022: Silence genperf's success-related chatter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/yasm/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Index: tools/genperf/perfect.c
2 ===================================================================
3 --- tools/genperf/perfect.c (revision 124732)
4 +++ tools/genperf/perfect.c (working copy)
5 @@ -673,7 +673,7 @@
6 sprintf(final->line[0], " unsigned long rsl = (a ^ scramble[tab[b]]);\n");
7 }
8
9 - printf("success, found a perfect hash\n");
10 + /* printf("success, found a perfect hash\n"); */
11
12 free((void *)tabq);
13 free((void *)tabh);
14 @@ -903,7 +903,7 @@
15 continue; /* two keys have same (a,b) pair */
16 }
17
18 - printf("found distinct (A,B) on attempt %ld\n", trysalt);
19 + /* printf("found distinct (A,B) on attempt %ld\n", trysalt); */
20
21 /* Given distinct (A,B) for all keys, build a perfect hash */
22 if (!perfect(*tabb, *tabh, tabq, *blen, *smax, scramble, nkeys, form))
23 @@ -934,7 +934,7 @@
24 break;
25 }
26
27 - printf("built perfect hash table of size %ld\n", *blen);
28 + /* printf("built perfect hash table of size %ld\n", *blen); */
29
30 /* free working memory */
31 free((void *)tabq);
32 @@ -1145,7 +1145,7 @@
33
34 /* read in the list of keywords */
35 getkeys(&keys, &nkeys, textroot, keyroot, form);
36 - printf("Read in %ld keys\n",nkeys);
37 + /* printf("Read in %ld keys\n",nkeys); */
38
39 /* find the hash */
40 findhash(&tab, &alen, &blen, &salt, &final,
41 @@ -1153,13 +1153,13 @@
42
43 /* generate the phash.c file */
44 make_c(tab, smax, blen, scramble, &final, form);
45 - printf("Wrote phash.c\n");
46 + /* printf("Wrote phash.c\n"); */
47
48 /* clean up memory sources */
49 refree(textroot);
50 refree(keyroot);
51 free((void *)tab);
52 - printf("Cleaned up\n");
53 + /* printf("Cleaned up\n"); */
54 }
55
56
OLDNEW
« patched-yasm/tools/genperf/perfect.c ('K') | « patched-yasm/tools/genperf/perfect.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698