Changeset bfc7811 for src/Common/GC.cc


Ignore:
Timestamp:
Apr 10, 2018, 2:43:50 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
9f2012f
Parents:
dbc2c2c
Message:

Fix some GC bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/GC.cc

    rdbc2c2c rbfc7811  
    117117}
    118118
    119 bool stack_check( int* i, GC_Object* o ) {
    120         int j;
    121         return ( i < &j ) == ( (void*)o < (void*)&j );
    122 }
    123 
    124119GC_Object::GC_Object() {
    125120        GC::get().register_object( this );
    126 
    127         int i;
    128         assert(!stack_check(&i, this));
    129121}
    130122
Note: See TracChangeset for help on using the changeset viewer.