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

Method AddPred

IDEHelper/Backend/BeMCContext.cpp:1851–1858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1849//////////////////////////////////////////////////////////////////////////
1850
1851void BeMCBlock::AddPred(BeMCBlock* pred)
1852{
1853 if (!mPreds.Contains(pred))
1854 {
1855 pred->mSuccs.push_back(this);
1856 mPreds.push_back(pred);
1857 }
1858}
1859
1860int BeMCBlock::FindLabelInstIdx(int labelIdx)
1861{

Callers 3

GenerateMethod · 0.80

Calls 2

ContainsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected