MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / popFrame

Method popFrame

Engine/source/console/consoleInternal.cpp:781–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781void ExprEvalState::popFrame()
782{
783 AssertFatal( mStackDepth > 0, "ExprEvalState::popFrame - Stack Underflow!" );
784
785 #ifdef DEBUG_SPEW
786 validate();
787
788 Platform::outputDebugString( "[ConsoleInternal] Popping %sframe at %i",
789 getCurrentFrame().isOwner() ? "" : "shared ", mStackDepth - 1 );
790 #endif
791
792 mStackDepth --;
793 stack[ mStackDepth ]->reset();
794 currentVariable = NULL;
795
796 #ifdef DEBUG_SPEW
797 validate();
798 #endif
799}
800
801void ExprEvalState::pushFrameRef(S32 stackIndex)
802{

Callers

nothing calls this directly

Calls 3

validateFunction · 0.85
isOwnerMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected