MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / getjumpcontrol

Function getjumpcontrol

third-party/lua-5.1.5/src/lcode.c:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109static Instruction *getjumpcontrol (FuncState *fs, int pc) {
110 Instruction *pi = &fs->f->code[pc];
111 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1))))
112 return pi-1;
113 else
114 return pi;
115}
116
117
118/*

Callers 3

need_valueFunction · 0.70
patchtestregFunction · 0.70
invertjumpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected