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

Function jumponcond

CPPScripts/External/Lua/lcode.c:1115–1127  ·  view source on GitHub ↗

** Emit instruction to jump if 'e' is 'cond' (that is, if 'cond' ** is true, code will jump if 'e' is true.) Return jump position. ** Optimize when 'e' is 'not' something, inverting the condition ** and removing the 'not'. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85

Calls 4

removelastinstructionFunction · 0.85
condjumpFunction · 0.85
discharge2anyregFunction · 0.85
freeexpFunction · 0.85

Tested by

no test coverage detected