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

Function MarkObjectAlloc

include/hx/GC.h:503–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501 MarkAllocUnchecked(inPtr,__inCtx);
502}
503inline void MarkObjectAlloc(hx::Object *inPtr ,hx::MarkContext *__inCtx)
504{
505 #ifdef EMSCRIPTEN
506 // Unaligned must be constants...
507 if ( !( ((size_t)inPtr) & 3) )
508 #endif
509 // This will also skip const regions
510 if ( !(((unsigned int *)inPtr)[-1] & gPrevMarkIdMask) )
511 MarkObjectAllocUnchecked(inPtr,__inCtx);
512}
513
514
515} // end namespace hx

Callers 5

MarkObjectArrayMethod · 0.85
MarkStringArrayMethod · 0.85
FindZombiesMethod · 0.85
MarkAllMethod · 0.85
MarkConservativeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected