MCPcopy Create free account
hub / github.com/WheretIB/nullc / AddDefaultNode

Function AddDefaultNode

NULLC/Callbacks.cpp:4816–4821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4814}
4815
4816void AddDefaultNode()
4817{
4818 assert(CodeInfo::nodeList.size() >= 2);
4819 NodeZeroOP* temp = CodeInfo::nodeList[CodeInfo::nodeList.size()-2];
4820 static_cast<NodeSwitchExpr*>(temp)->AddDefault();
4821}
4822
4823void EndSwitch()
4824{

Callers 1

ParseSwitchExprFunction · 0.85

Calls 3

assertFunction · 0.85
AddDefaultMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected