MCPcopy Create free account
hub / github.com/beefytech/Beef / GetAtomUpdateIdx

Method GetAtomUpdateIdx

IDEHelper/Compiler/BfSystem.cpp:379–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377// }
378
379uint32 BfAtomComposite::GetAtomUpdateIdx()
380{
381 uint32 updateIdx = 0;
382 for (int i = 0; i < mSize; i++)
383 {
384 auto atom = mParts[i];
385 if ((atom->mRefCount - atom->mPendingDerefCount) == 0)
386 return 0; // 0 is our "error condition" when we're looking at a graveyard'ed atom
387 updateIdx = BF_MAX(updateIdx, atom->mAtomUpdateIdx);
388 }
389 return updateIdx;
390}
391
392BfSizedAtomComposite::BfSizedAtomComposite()
393{

Callers 2

VerifyTypeLookupsMethod · 0.80
FindTypeDefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected