diff options
author | fischman@chromium.org <fischman@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-03-02 22:33:49 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-03-02 22:33:49 +0000 |
commit | 7a86dad4f92f20bf5d9542b2420a870c034d698e (patch) | |
tree | cca9f86275f41dfc261c20e723a4d52b17eddac4 | |
parent | ac0db4eaa525cd90c959d3312c3c73b7a961eb18 (diff) | |
download | patched-yasm-7a86dad4f92f20bf5d9542b2420a870c034d698e.tar.gz |
Silence genperf's success-related chatter.
Review URL: https://chromiumcodereview.appspot.com/9580022
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/yasm/patched-yasm@124750 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r-- | tools/genperf/perfect.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/genperf/perfect.c b/tools/genperf/perfect.c index 9713ffa..076e006 100644 --- a/tools/genperf/perfect.c +++ b/tools/genperf/perfect.c @@ -673,8 +673,6 @@ static void hash_ab( sprintf(final->line[0], " unsigned long rsl = (a ^ scramble[tab[b]]);\n"); } - printf("success, found a perfect hash\n"); - free((void *)tabq); free((void *)tabh); } @@ -903,8 +901,6 @@ void findhash( continue; /* two keys have same (a,b) pair */ } - printf("found distinct (A,B) on attempt %ld\n", trysalt); - /* Given distinct (A,B) for all keys, build a perfect hash */ if (!perfect(*tabb, *tabh, tabq, *blen, *smax, scramble, nkeys, form)) { @@ -934,8 +930,6 @@ void findhash( break; } - printf("built perfect hash table of size %ld\n", *blen); - /* free working memory */ free((void *)tabq); } @@ -1145,7 +1139,6 @@ hashform *form; /* user directives */ /* read in the list of keywords */ getkeys(&keys, &nkeys, textroot, keyroot, form); - printf("Read in %ld keys\n",nkeys); /* find the hash */ findhash(&tab, &alen, &blen, &salt, &final, @@ -1153,13 +1146,11 @@ hashform *form; /* user directives */ /* generate the phash.c file */ make_c(tab, smax, blen, scramble, &final, form); - printf("Wrote phash.c\n"); /* clean up memory sources */ refree(textroot); refree(keyroot); free((void *)tab); - printf("Cleaned up\n"); } |