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

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
« no previous file with comments | « patched-yasm/tools/genperf/perfect.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,8 +673,6 @@
6 sprintf(final->line[0], " unsigned long rsl = (a ^ scramble[tab[b]]);\n");
7 }
8
9 - printf("success, found a perfect hash\n");
10 -
11 free((void *)tabq);
12 free((void *)tabh);
13 }
14 @@ -903,8 +901,6 @@
15 continue; /* two keys have same (a,b) pair */
16 }
17
18 - printf("found distinct (A,B) on attempt %ld\n", trysalt);
19 -
20 /* Given distinct (A,B) for all keys, build a perfect hash */
21 if (!perfect(*tabb, *tabh, tabq, *blen, *smax, scramble, nkeys, form))
22 {
23 @@ -934,8 +930,6 @@
24 break;
25 }
26
27 - printf("built perfect hash table of size %ld\n", *blen);
28 -
29 /* free working memory */
30 free((void *)tabq);
31 }
32 @@ -1145,7 +1139,6 @@
33
34 /* read in the list of keywords */
35 getkeys(&keys, &nkeys, textroot, keyroot, form);
36 - printf("Read in %ld keys\n",nkeys);
37
38 /* find the hash */
39 findhash(&tab, &alen, &blen, &salt, &final,
40 @@ -1153,13 +1146,11 @@
41
42 /* generate the phash.c file */
43 make_c(tab, smax, blen, scramble, &final, form);
44 - printf("Wrote phash.c\n");
45
46 /* clean up memory sources */
47 refree(textroot);
48 refree(keyroot);
49 free((void *)tab);
50 - printf("Cleaned up\n");
51 }
52
53
OLDNEW
« no previous file with comments | « patched-yasm/tools/genperf/perfect.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698