diff options
author | Filippos Karapetis | 2010-06-27 00:08:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-27 00:08:00 +0000 |
commit | daab502028761f8da7a4f75a7bbd265f8127892d (patch) | |
tree | 305bd06580db08324d253415f82deca1e36babbf /engines/sci/engine/segment.cpp | |
parent | 7a14846bdd99dc81a70baa43836282af47205e16 (diff) | |
download | scummvm-rg350-daab502028761f8da7a4f75a7bbd265f8127892d.tar.gz scummvm-rg350-daab502028761f8da7a4f75a7bbd265f8127892d.tar.bz2 scummvm-rg350-daab502028761f8da7a4f75a7bbd265f8127892d.zip |
Cleanup
svn-id: r50359
Diffstat (limited to 'engines/sci/engine/segment.cpp')
-rw-r--r-- | engines/sci/engine/segment.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sci/engine/segment.cpp b/engines/sci/engine/segment.cpp index 4524241110..13c7904726 100644 --- a/engines/sci/engine/segment.cpp +++ b/engines/sci/engine/segment.cpp @@ -588,11 +588,9 @@ void CloneTable::listAllOutgoingReferences(reg_t addr, void *param, NoteCallback void CloneTable::freeAtAddress(SegManager *segMan, reg_t addr) { #ifdef GC_DEBUG - Object *victim_obj; + // assert(addr.segment == _segId); -// assert(addr.segment == _segId); - - victim_obj = &(_table[addr.offset]); + Object *victim_obj = &(_table[addr.offset]); if (!(victim_obj->_flags & OBJECT_FLAG_FREED)) warning("[GC] Clone %04x:%04x not reachable and not freed (freeing now)", PRINT_REG(addr)); |