| 254 | } |
| 255 | |
| 256 | int luaK_codek(FuncState *fs, int reg, int k) |
| 257 | { |
| 258 | if (k <= MAXARG_Bx) |
| 259 | return luaK_codeABx(fs, OP_LOADK, reg, k); |
| 260 | else |
| 261 | { |
| 262 | int p = luaK_codeABx(fs, OP_LOADKX, reg, 0); |
| 263 | codeextraarg(fs, k); |
| 264 | return p; |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | void luaK_checkstack(FuncState *fs, int n) |
| 269 | { |
no test coverage detected