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

Method GetState

IDEHelper/Compiler/BfSystem.cpp:1226–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1224}
1225
1226BfPassInstance::StateInfo BfPassInstance::GetState()
1227{
1228 StateInfo stateInfo;
1229 stateInfo.mOutStreamSize = (int)mOutStream.mSize;
1230 stateInfo.mErrorsSize = mErrors.mSize;
1231 stateInfo.mWarningCount = mWarningCount;
1232 stateInfo.mDeferredErrorCount = mDeferredErrorCount;
1233 stateInfo.mFailedIdx = mFailedIdx;
1234 stateInfo.mWarnIdx = mWarnIdx;
1235 return stateInfo;
1236}
1237
1238void BfPassInstance::RestoreState(StateInfo stateInfo)
1239{

Callers 2

CompileMethod · 0.45
ProcessMethodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected