summaryrefslogtreecommitdiff
path: root/cachegrind
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-07-03 18:45:37 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-07-03 18:45:37 +0000
commit8db3da8f7b18728fc0c4cbe6edb864a9d363adc0 (patch)
treebc1f881acce87bf9fd00159f73aee025332b2f2c /cachegrind
parentf69f945020cbcc35fe0c98c3b223d96c7322a95a (diff)
Remove dead function.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4101 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind')
-rw-r--r--cachegrind/cg_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c
index d9f4c9f3..4f0bef44 100644
--- a/cachegrind/cg_main.c
+++ b/cachegrind/cg_main.c
@@ -228,16 +228,6 @@ lineCC* new_lineCC(Int line, lineCC* next)
return cc;
}
-static __inline__
-instr_info* new_instr_info(Addr instr_addr, lineCC* parent, instr_info* next)
-{
- // Using calloc() zeroes instr_len and data_size
- instr_info* ii = VG_(calloc)(1, sizeof(instr_info));
- ii->instr_addr = instr_addr;
- ii->parent = parent;
- 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.