]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move VG_(dispatch_ctr) out of vg_main.c, which never touches it, into
authorNicholas Nethercote <njn@valgrind.org>
Wed, 11 May 2005 18:57:02 +0000 (18:57 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 11 May 2005 18:57:02 +0000 (18:57 +0000)
vg_scheduler.c, which does.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3663

coregrind/vg_main.c
coregrind/vg_scheduler.c

index 71196fe10c9216db417e2273aa63e1b293f7c838..ae87d9d749ee2a296ed8c88303b09b6247b01e97 100644 (file)
@@ -162,9 +162,6 @@ VexSubArch VG_(vex_subarch) = VexSubArch_INVALID;
    Running stuff                            
    ------------------------------------------------------------------ */
 
-/* Counts downwards in VG_(run_innerloop). */
-UInt VG_(dispatch_ctr);
-
 /* 64-bit counter for the number of basic blocks done. */
 ULong VG_(bbs_done) = 0;
 
index 9f18381aa56eaf3f907b899e89cd60d8c693aa17..f5490b86e50e08577fade1634bf231d3534e9885 100644 (file)
@@ -85,6 +85,9 @@ ThreadState VG_(threads)[VG_N_THREADS];
 /* If true, a fault is Valgrind-internal (ie, a bug) */
 Bool VG_(my_fault) = True;
 
+/* Counts downwards in VG_(run_innerloop). */
+UInt VG_(dispatch_ctr);
+
 /* Forwards */
 static void do_client_request ( ThreadId tid );
 static void scheduler_sanity ( ThreadId tid );