MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / pushReferrer

Method pushReferrer

include/hx/StackContext.h:436–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434 #ifdef HXCPP_GC_GENERATIONAL
435 MarkChunk *mOldReferrers;
436 inline void pushReferrer(hx::Object *inObj)
437 {
438 // If collector is running on non-generational mode, mOldReferrers will be null
439 if (mOldReferrers)
440 {
441 mOldReferrers->push(inObj);
442 if (mOldReferrers->count==MarkChunk::SIZE)
443 mOldReferrers = mOldReferrers->swapForNew();
444 }
445 }
446 #endif
447
448 #ifdef HXCPP_CATCH_SEGV

Callers 2

TSetMethod · 0.80

Calls 2

swapForNewMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected