[Tarantool-patches] [PATCH luajit 4/4] dbg: introduce lj-bc, lj-func and lj-proto dumpers

Sergey Bronnikov sergeyb at tarantool.org
Fri Jun 5 18:07:05 MSK 2026


Hi, Sergey,

thanks for the patch! LGTM with a minor comment.

Sergey

On 6/4/26 12:30, Sergey Kaplun wrote:


<snipped>

> +
> +
> +def bcmode_cd(op):
> +    return int((lj_bc_mode()[op] >> 7) & 15)
> +
> +
> +# Unfortunately, there is no place in the VM except the generated
> +# Lua table, where the bytecode names are stored. So duplicate
> +# them here.
> +BYTECODES = [
> +    # Comparison ops. ORDER OPR.
"ORDER OPR" - what does it mean? Here and below.
> +    'ISLT',
> +    'ISGE',
> +    'ISLE',
<snipped>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20260605/ce016e71/attachment.htm>


More information about the Tarantool-patches mailing list