| 197 | |
| 198 | |
| 199 | static void loadUpvalues (LoadState *S, Proto *f) { |
| 200 | int i, n; |
| 201 | n = loadInt(S); |
| 202 | f->upvalues = luaM_newvectorchecked(S->L, n, Upvaldesc); |
| 203 | f->sizeupvalues = n; |
| 204 | for (i = 0; i < n; i++) { |
| 205 | f->upvalues[i].name = NULL; |
| 206 | f->upvalues[i].instack = loadByte(S); |
| 207 | f->upvalues[i].idx = loadByte(S); |
| 208 | f->upvalues[i].kind = loadByte(S); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | |
| 213 | static void loadDebug (LoadState *S, Proto *f) { |
no test coverage detected