| 246 | |
| 247 | |
| 248 | int luaK_codek (FuncState *fs, int reg, int k) { |
| 249 | if (k <= MAXARG_Bx) |
| 250 | return luaK_codeABx(fs, OP_LOADK, reg, k); |
| 251 | else { |
| 252 | int p = luaK_codeABx(fs, OP_LOADKX, reg, 0); |
| 253 | codeextraarg(fs, k); |
| 254 | return p; |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | |
| 259 | void luaK_checkstack (FuncState *fs, int n) { |
no test coverage detected