mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Check the obvious ..
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4133
This commit is contained in:
parent
1f69df95cc
commit
1ef4de1022
@ -60,6 +60,7 @@ const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status )
|
||||
ThreadState *VG_(get_ThreadState)(ThreadId tid)
|
||||
{
|
||||
vg_assert(tid >= 0 && tid < VG_N_THREADS);
|
||||
vg_assert(VG_(threads)[tid].tid == tid);
|
||||
return &VG_(threads)[tid];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user