MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / adjustlocalvars

Function adjustlocalvars

Source/Misc/lua/src/lua.c:7743–7749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7741
7742
7743static void adjustlocalvars (LexState *ls, int nvars) {
7744FuncState *fs = ls->fs;
7745fs->nactvar = cast_byte(fs->nactvar + nvars);
7746for (; nvars; nvars--) {
7747getlocvar(fs, fs->nactvar - nvars).startpc = fs->pc;
7748}
7749}
7750
7751
7752static void removevars (LexState *ls, int tolevel) {

Callers 5

parlistFunction · 0.85
bodyFunction · 0.85
forbodyFunction · 0.85
localfuncFunction · 0.85
localstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected