mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Use __typeof__.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14613
This commit is contained in:
parent
800a64895b
commit
cb8c5e3d1f
@ -1629,9 +1629,7 @@ Bool VG_(translate) ( ThreadId tid,
|
||||
: VG_(tdict).tool_instrument;
|
||||
IRSB*(*g)(void*,
|
||||
IRSB*,const VexGuestLayout*,const VexGuestExtents*,
|
||||
const VexArchInfo*,IRType,IRType)
|
||||
= (IRSB*(*)(void*,IRSB*,const VexGuestLayout*,
|
||||
const VexGuestExtents*, const VexArchInfo*,IRType,IRType))f;
|
||||
const VexArchInfo*,IRType,IRType) = (__typeof__(g)) f;
|
||||
vta.instrument1 = g;
|
||||
}
|
||||
/* No need for type kludgery here. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user