MCPcopy Create free account
hub / github.com/csyonghe/Spire / PopScope

Method PopScope

Source/SpireCore/SpirVCodeGen.cpp:1886–1890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1884 }
1885
1886 void PopScope()
1887 {
1888 StackVariableNameToStorageID.RemoveAt(StackVariableNameToStorageID.Count() - 1);
1889 StackVariableNameToValueID.RemoveAt(StackVariableNameToValueID.Count() - 1);
1890 }
1891
1892 void UpdateVariable(ILOperand* op, int id)
1893 {

Callers 5

PrintIfMethod · 0.45
PrintForMethod · 0.45
PrintWhileDoMethod · 0.45
PrintDoWhileMethod · 0.45

Calls 2

RemoveAtMethod · 0.80
CountMethod · 0.45

Tested by

no test coverage detected