MCPcopy Create free account
hub / github.com/LuaJIT/LuaJIT / predict_next

Function predict_next

src/lj_parse.c:2514–2541  ·  view source on GitHub ↗

Try to predict whether the iterator is next() and specialize the bytecode. ** Detecting next() and pairs() by name is simplistic, but quite effective. ** The interpreter backs off if the check for the closure fails at runtime. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parse_for_iterFunction · 0.85

Calls 1

lj_tab_getstrFunction · 0.85

Tested by

no test coverage detected