|
From: <sv...@va...> - 2005-07-03 18:45:42
|
Author: njn
Date: 2005-07-03 19:45:37 +0100 (Sun, 03 Jul 2005)
New Revision: 4101
Log:
Remove dead function.
Modified:
trunk/cachegrind/cg_main.c
Modified: trunk/cachegrind/cg_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/cachegrind/cg_main.c 2005-07-03 17:53:11 UTC (rev 4100)
+++ trunk/cachegrind/cg_main.c 2005-07-03 18:45:37 UTC (rev 4101)
@@ -228,16 +228,6 @@
return cc;
}
=20
-static __inline__=20
-instr_info* new_instr_info(Addr instr_addr, lineCC* parent, instr_info* =
next)
-{
- // Using calloc() zeroes instr_len and data_size
- instr_info* ii =3D VG_(calloc)(1, sizeof(instr_info));
- ii->instr_addr =3D instr_addr;
- ii->parent =3D parent;=20
- return ii;
-}
-
// Do a three step traversal: by file, then fn, then line.
// In all cases prepends new nodes to their chain. Returns a pointer to=
the
// line node, creates a new one if necessary.
|