MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / translateBreakStatement

Method translateBreakStatement

src/HLSLCompiler.cpp:1218–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1216 m_gen.Function.Return();
1217 }
1218 void HLSLCompiler::translateBreakStatement(M4::HLSLBreakStatement* brk)
1219 {
1220 if (m_breaks.size() > 0)
1221 m_breaks.top().push_back(m_gen.Function.Goto());
1222 }
1223 void HLSLCompiler::translateContinueStatement(M4::HLSLContinueStatement* brk)
1224 {
1225 m_gen.Function.SetAddress(m_gen.Function.Goto(), m_continueAddr.top());

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected