MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / changedline

Function changedline

CPPScripts/External/Lua/ldebug.c:841–859  ·  view source on GitHub ↗

** Check whether new instruction 'newpc' is in a different line from ** previous instruction 'oldpc'. More often than not, 'newpc' is only ** one or a few instructions after 'oldpc' (it must be after, see ** caller), so try to avoid calling 'luaG_getfuncline'. If they are ** too far apart, there is a good chance of a ABSLINEINFO in the way, ** so it goes directly to 'luaG_getfuncline'. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

luaG_traceexecFunction · 0.85

Calls 1

luaG_getfunclineFunction · 0.85

Tested by

no test coverage detected