summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-12-03 22:43:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-12-03 22:43:11 +0000
commita6b309b09eb29fec6a53dc6428d987486a0a96b4 (patch)
treea1490f4a29a246df9b5a44d36e5ff8fb378bebcc /src/frames.c
parent83da6e45a54a37bb4291bac23c40462791e19b1b (diff)
Disable inline unwinding.
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/frames.c b/src/frames.c
index 0f8ac0b..61b9b82 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -212,9 +212,10 @@ frames_add (Frames *frames,
frames->frames.size = new_size;
}
- ip = (ip ^ 6017773) % frames->frames.size;
- f->ht_next = frames->frames.nodes[ip];
- frames->frames.nodes[ip] = f;
+ index = (ip ^ 6017773) % frames->frames.size;
+ f->ht_next = frames->frames.nodes[index];
+ frames->frames.nodes[index] = f;
+ g_assert (frames_get (frames, ip) == f);
}
gboolean