aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2010-01-07 19:24:27 +0000
committerMike Stump <mrs@apple.com>2010-01-07 19:24:27 +0000
commit408a304afe244265187b84268ccb213b8375a9df (patch)
tree76463e59c9db37508eeec842bd3455169d80ff58
parent1f48f4b1d00a2d94df763a5f3d38fca8ea84458f (diff)
Don't use two argument mixing function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92929 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/VtableTest/gen.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/VtableTest/gen.cc b/utils/VtableTest/gen.cc
index f11886582e..be9a9a3808 100644
--- a/utils/VtableTest/gen.cc
+++ b/utils/VtableTest/gen.cc
@@ -124,7 +124,7 @@ void gs(int s) {
for (int i = 0; i < n_funcs; ++i) {
int fn = old_func + random() % FUNCSPACING + 1;
funcs[i] = fn;
- g(" virtual void fun"); g(fn); g("(char *t) { mix((char *)this - t, "); g(++vfn); gl("); }");
+ g(" virtual void fun"); g(fn); g("(char *t) { mix((char *)this - t); mix("); g(++vfn); gl("); }");
old_func = fn;
}
@@ -210,7 +210,6 @@ main(int argc, char **argv) {
gl(" printf(\"%llx\\n\", i);");
gl(" sum += ((sum ^ i) << 3) + (sum<<1) - i;");
gl("}");
- gl("void mix(long long i1, long long i2) { mix(i1); mix(i2); }");
gl("");
// PARAM: Randomly size testcases or large testcases?
int n_structs = /* random() % */ N_STRUCTS;