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

Function DedupPushBack

IDEHelper/Backend/BeMCContext.cpp:4421–4426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4419}
4420
4421static void DedupPushBack(SizedArrayImpl<int>& vec, int val)
4422{
4423 if (vec.Contains(val))
4424 return;
4425 vec.push_back(val);
4426}
4427
4428static int genLivenessIdx = 0;
4429

Callers 2

GenerateLivenessMethod · 0.85
InitializedPassHelperMethod · 0.85

Calls 2

ContainsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected