]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disabled complex logic in danger_set_update_needed() since it did not result in any...
authorBart Van Assche <bvanassche@acm.org>
Sat, 19 Apr 2008 15:15:12 +0000 (15:15 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 19 Apr 2008 15:15:12 +0000 (15:15 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7890

exp-drd/drd_thread.c

index 9df8700d93fffc8edd113f1995697310522dffda..e5fd1bd07d8c082ea4be27dcd9a0a8790c9e8f55 100644 (file)
@@ -618,6 +618,7 @@ static void thread_merge_segments(void)
 static Bool danger_set_update_needed(const DrdThreadId tid,
                                      const Segment* const new_sg)
 {
+#if 0
   unsigned i;
   const Segment* old_sg;
 
@@ -666,6 +667,9 @@ static Bool danger_set_update_needed(const DrdThreadId tid,
   }
 
   return False;
+#else
+  return True;
+#endif
 }
 
 /** Create a new segment for the specified thread, and discard any segments