Changeset 29ad0ac for src/examples/gc_no_raii/src/internal/collector.h
- Timestamp:
- Apr 15, 2016, 3:04:25 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, 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:
- 356bb95
- Parents:
- 0f9e4403
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/gc_no_raii/src/internal/collector.h
r0f9e4403 r29ad0ac 7 7 // 8 8 // #include "gcpointers.h" 9 // #include "internal/gc_tools.h" 9 #include "state.h" 10 #include "internal/gc_tools.h" 10 11 // #include "internal/globals.h" 11 12 // #include "internal/object_header.h" … … 13 14 #include "tools/worklist.h" 14 15 15 //inline bool gc_is_managed(void* address)16 //{17 //return gc_is_in_heap(gc_get_state(), address);18 //}19 // 16 inline bool gc_is_managed(void* address) 17 { 18 return gc_is_in_heap(gc_get_state(), address); 19 } 20 20 21 // inline gc_object_header* gc_get_object_ptr(void* ptr) 21 22 // { … … 23 24 // return ((gc_object_header*)clean) - 1; 24 25 // } 25 // 26 26 27 // inline gc_memory_pool* gc_pool_of(void* address) 27 28 // {
Note: See TracChangeset
for help on using the changeset viewer.