summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-12-05 21:45:28 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-12-05 21:50:40 +0000
commit540272705790811627f15a787d094f5a57f67d92 (patch)
tree4664f63eeeecf44f9a38bfdbfa884c269031e586 /src/frames.c
parent653848770d2e975ce418028cce72b4e36cb183de (diff)
Store the array of Frames in the Allocator (rather than 3 arrays).
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/frames.c b/src/frames.c
index aac8847..dea9760 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -187,14 +187,9 @@ frames_has_ip (Frames *frames, gulong ip)
}
gboolean
-frames_is_alloc_fn (Frames *frames, gulong ip)
+frames_is_alloc_fn (Frames *frames, Frame *f)
{
GList *l;
- Frame *f;
-
- f = frames_get (frames, ip);
- if (f == NULL)
- return FALSE;
if (! f->has_function)
return TRUE;