aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/gc.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-21 17:18:46 +0000
committerFilippos Karapetis2009-05-21 17:18:46 +0000
commit4799cbf1c3666bffc460786db4a9067163cdff5c (patch)
treefdc71bd8eca9086037e470e398ff91c2c8f917ec /engines/sci/engine/gc.cpp
parent60b007cfd04625512bc7c62b8aebd7c2923f078b (diff)
downloadscummvm-rg350-4799cbf1c3666bffc460786db4a9067163cdff5c.tar.gz
scummvm-rg350-4799cbf1c3666bffc460786db4a9067163cdff5c.tar.bz2
scummvm-rg350-4799cbf1c3666bffc460786db4a9067163cdff5c.zip
Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines
svn-id: r40767
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r--engines/sci/engine/gc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp
index cf556869ee..5bc8fc38d7 100644
--- a/engines/sci/engine/gc.cpp
+++ b/engines/sci/engine/gc.cpp
@@ -40,7 +40,7 @@ struct WorklistManager {
return;
#ifdef DEBUG_GC_VERBOSE
- sciprintf("[GC] Adding "PREG"\n", PRINT_REG(reg));
+ sciprintf("[GC] Adding %04x:%04x\n", PRINT_REG(reg));
#endif
if (_map.contains(reg))
@@ -137,7 +137,7 @@ reg_t_hash_map *find_all_used_references(EngineState *s) {
wm._worklist.pop_back();
if (reg.segment != s->stack_segment) { // No need to repeat this one
#ifdef DEBUG_GC_VERBOSE
- sciprintf("[GC] Checking "PREG"\n", PRINT_REG(reg));
+ sciprintf("[GC] Checking %04x:%04x\n", PRINT_REG(reg));
#endif
if (reg.segment < sm->_heap.size() && sm->_heap[reg.segment])
sm->_heap[reg.segment]->listAllOutgoingReferences(s, reg, &wm, add_outgoing_refs);
@@ -168,7 +168,7 @@ void free_unless_used(void *refcon, reg_t addr) {
// Not found -> we can free it
deallocator->mobj->freeAtAddress(deallocator->segmgr, addr);
#ifdef DEBUG_GC
- sciprintf("[GC] Deallocating "PREG"\n", PRINT_REG(addr));
+ sciprintf("[GC] Deallocating %04x:%04x\n", PRINT_REG(addr));
deallocator->segcount[deallocator->mobj->getType()]++;
#endif
}