luaK_fixline
function · lua · boundary
- Address
0x701810· 13 bytes, up to0x70181c- Meaning
- Sets the line of the last emitted instruction
- Confidence
- verified, proof one
- Finding
- lua/codegen#emitting-instructions
Finding: Emitting instructions in lua: the code generator
luaK_code resolves the jumps pending to the new instruction through luaK_dischargejpc, appends it
and the line to the prototype's code and line vectors, growing each by luaM_growaux (code size overflow), and returns its index. luaK_codeABC and luaK_codeABx pack the operands and take the
line of the last token read; luaK_fixline sets the line of the last instruction.
| function | name | decided by |
|---|---|---|
0x701820 | luaK_code | luaK_dischargejpc (0x70182c), two luaM_growaux (0x701852, 0x701884), stores (0x701860, 0x701895), pc raised (0x70189f) |
0x7018b0 | luaK_dischargejpc | luaK_patchlistaux with the pc for every target (0x7018b3..0x7018c6), pending jumps -1 (0x7018cb) |
0x7018e0 | luaK_codeABC | `((A << 9 |
0x701910 | luaK_codeABx | `(A << 18 |
0x701810 | luaK_fixline | line of pc - 1 (0x701818) |
The derivation is in the doc.
Callers 3
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.