jit.vmdef (VM Definitions) Reference
Module defined in `lua/common/jit/vmdef.lua`. Auto-generated file containing LuaJIT VM bytecode names, IR names, IR field definitions, and C function call mappings. **DO NOT EDIT** - generated by LuaJ
Module defined in lua/common/jit/vmdef.lua. Auto-generated file containing LuaJIT VM bytecode names, IR names, IR field definitions, and C function call mappings. DO NOT EDIT - generated by LuaJIT build system.
Exports
Returns a table with the following fields:
Variables
bcnames
- Type: string
- Description: Space-separated bytecode instruction names (ISLT, ISGE, MOV, CALL, RET, etc.)
irnames
- Type: string
- Description: Space-separated IR instruction names (LT, GE, ADD, SUB, ALOAD, HSTORE, etc.)
irfpm
- Type: table (array)
- Description: FP math operation names indexed by enum value (floor, ceil, trunc, sqrt, log, log2, other)
irfield
- Type: table (array)
- Description: IR field names (str.len, func.env, tab.meta, tab.array, etc.)
ircall
- Type: table (array)
- Description: C function call names used by the JIT (lj_str_cmp, lj_tab_new, sqrt, pow, etc.)
Internal Notes
- Version-locked: asserts
LuaJIT 2.1.1763476812at load time - Used by
jit.p,jit.v, and other JIT introspection tools - Regenerated when LuaJIT version changes
jit.v (Verbose JIT Compiler Output) Reference
Module defined in `lua/common/jit/v.lua`. Verbose mode for the LuaJIT compiler - prints one line per generated trace showing compilation progress, trace linking, and abort reasons.
jit.zone (Profiler Zones) Reference
Module defined in `lua/common/jit/zone.lua`. Implements a simple hierarchical zone stack for the LuaJIT profiler. Zones label code sections for profiling output.