[cfe-commits] r93262 - /cfe/trunk/utils/VtableTest/gen.cc

Mike Stump mrs at apple.com
Tue Jan 12 14:20:01 PST 2010


Author: mrs
Date: Tue Jan 12 16:20:00 2010
New Revision: 93262

URL: http://llvm.org/viewvc/llvm-project?rev=93262&view=rev
Log:
Remove unused code.

Modified:
    cfe/trunk/utils/VtableTest/gen.cc

Modified: cfe/trunk/utils/VtableTest/gen.cc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/VtableTest/gen.cc?rev=93262&r1=93261&r2=93262&view=diff

==============================================================================
--- cfe/trunk/utils/VtableTest/gen.cc (original)
+++ cfe/trunk/utils/VtableTest/gen.cc Tue Jan 12 16:20:00 2010
@@ -27,7 +27,6 @@
 
 int uuid = 0;
 char base_present[N_STRUCTS][N_STRUCTS];
-char funcs_present[N_STRUCTS][N_FUNCS*FUNCSPACING];
 
 // The return type for each function when doing covariant testcase generation.
 short ret_types[N_STRUCTS][N_FUNCS*FUNCSPACING];
@@ -179,7 +178,6 @@
       gl("); return 0; }");
     else
       gl("); }");
-    funcs_present[s][fn] = 1;
     final_override[s][fn] = s;
     old_func = fn;
   }
@@ -252,7 +250,6 @@
         gl("); return 0; }");
       else
         gl("); }");
-      funcs_present[s][fn] = 1;
       final_override[s][fn] = s;
     }
   }





More information about the cfe-commits mailing list