Changeset 24de7b1 for src/Common/GC.cc


Ignore:
Timestamp:
Apr 16, 2018, 3:21:17 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
fb97252f
Parents:
6f81db3
Message:

Fix more missing visits in GcTracer?, add cycle detection back in, ensure mark isn't broken by defaulted GC_Object copy and assign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/GC.cc

    r6f81db3 r24de7b1  
    4040}
    4141
    42 const GC& GC::operator<< (const GC_Traceable* obj) const {
     42const GC& GC::operator<< (const GC_Object* obj) const {
    4343        if( obj )
    4444        {
     
    119119}
    120120
     121GC_Object::GC_Object( const GC_Object& ) {
     122        GC::get().register_object( this );
     123}
     124
     125GC_Object::GC_Object( GC_Object&& ) {
     126        GC::get().register_object( this );
     127}
     128
    121129// Local Variables: //
    122130// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.