MCPcopy Create free account
hub / github.com/ReadyTalk/avian / resetFrame

Function resetFrame

src/codegen/compiler.cpp:1793–1803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1791}
1792
1793void resetFrame(Context* c, Event* e)
1794{
1795 for (FrameIterator it(c, e->stackBefore, e->localsBefore); it.hasMore();) {
1796 FrameIterator::Element el = it.next(c);
1797 el.value->clearSites(c);
1798 }
1799
1800 while (c->acquiredResources) {
1801 c->acquiredResources->value->clearSites(c);
1802 }
1803}
1804
1805void setSites(Context* c, Event* e, Site** sites)
1806{

Callers 2

setSitesFunction · 0.85
restoreFunction · 0.85

Calls 3

clearSitesMethod · 0.80
nextMethod · 0.65
hasMoreMethod · 0.45

Tested by

no test coverage detected