| 265 | |
| 266 | |
| 267 | int luaK_codek (FuncState *fs, int reg, int k) { |
| 268 | if (k <= MAXARG_Bx) |
| 269 | return luaK_codeABx(fs, OP_LOADK, reg, k); |
| 270 | else { |
| 271 | int p = luaK_codeABx(fs, OP_LOADKX, reg, 0); |
| 272 | codeextraarg(fs, k); |
| 273 | return p; |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | |
| 278 | void luaK_checkstack (FuncState *fs, int n) { |
no test coverage detected