Changeset c44e622 for src/examples/gc_no_raii/src/internal/collector.h
- Timestamp:
- Feb 24, 2016, 10:36:17 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ae7f1e0
- Parents:
- d41280e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/gc_no_raii/src/internal/collector.h
rd41280e rc44e622 6 6 #include "tools.h" 7 7 8 #include "gcpointers.h" 9 #include "internal/collector.h" 10 #include "internal/gc_tools.h" 11 #include "internal/globals.h" 8 //#include "gcpointers.h" 9 //#include "internal/gc_tools.h" 10 //#include "internal/globals.h" 12 11 #include "internal/object_header.h" 13 #include "internal/state.h"12 //#include "internal/state.h" 14 13 #include "tools/worklist.h" 15 14 /* 16 15 inline bool gc_is_managed(void* address) 17 16 { … … 27 26 inline gc_memory_pool* gc_pool_of(void* address) 28 27 { 29 return (struct gc_memory_pool*)(((intptr_t)address) & POOL_PTR_MASK);28 //return (struct gc_memory_pool*)(((intptr_t)address) & POOL_PTR_MASK); 30 29 } 31 30 … … 47 46 48 47 void gc_scan_object(struct gc_object_header* object, worklist_t* worklist); 48 */
Note: See TracChangeset
for help on using the changeset viewer.