Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gsoc_pdd09] one more assertion, to extra double triple check things.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_pdd09@30194 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Whiteknight authored and Whiteknight committed Aug 12, 2008
1 parent b98da49 commit 6dcd049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gc/gc_it.c
Expand Up @@ -159,6 +159,7 @@ Parrot_gc_it_init(PARROT_INTERP)
UINTVAL p;
PObj * pobj = (PObj*)(hdr + 1);
p = h + sizeof(Gc_it_hdr);
PARROT_ASSERT(hdr == PObj_to_IT_HDR(IT_HDR_to_PObj(hdr)));
PARROT_ASSERT(&(hdr[1]) == (hdr + 1));
PARROT_ASSERT((hdr + 1) == (Gc_it_hdr*)((char*)hdr + sizeof(Gc_it_hdr)));
PARROT_ASSERT((void*)pobj > (void*)hdr);
Expand Down

0 comments on commit 6dcd049

Please sign in to comment.