Changeset bfc7811 for src/Common/GC.cc
- Timestamp:
- Apr 10, 2018, 2:43:50 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 9f2012f
- Parents:
- dbc2c2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/GC.cc
rdbc2c2c rbfc7811 117 117 } 118 118 119 bool stack_check( int* i, GC_Object* o ) {120 int j;121 return ( i < &j ) == ( (void*)o < (void*)&j );122 }123 124 119 GC_Object::GC_Object() { 125 120 GC::get().register_object( this ); 126 127 int i;128 assert(!stack_check(&i, this));129 121 } 130 122
Note: See TracChangeset
for help on using the changeset viewer.