Ignore:
Timestamp:
Apr 15, 2016, 3:04:25 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
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, resolv-new, with_gc
Children:
356bb95
Parents:
0f9e4403
Message:

some regression testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/gc_no_raii/src/internal/collector.h

    r0f9e4403 r29ad0ac  
    77//
    88// #include "gcpointers.h"
    9 // #include "internal/gc_tools.h"
     9#include "state.h"
     10#include "internal/gc_tools.h"
    1011// #include "internal/globals.h"
    1112// #include "internal/object_header.h"
     
    1314#include "tools/worklist.h"
    1415
    15 // inline bool gc_is_managed(void* address)
    16 // {
    17 //      return gc_is_in_heap(gc_get_state(), address);
    18 // }
    19 //
     16inline bool gc_is_managed(void* address)
     17{
     18        return gc_is_in_heap(gc_get_state(), address);
     19}
     20
    2021// inline gc_object_header* gc_get_object_ptr(void* ptr)
    2122// {
     
    2324//      return ((gc_object_header*)clean) - 1;
    2425// }
    25 //
     26
    2627// inline gc_memory_pool* gc_pool_of(void* address)
    2728// {
Note: See TracChangeset for help on using the changeset viewer.