[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT Roadmap 2011
- From: David Manura <dm.lua@...>
- Date: Sat, 22 Jan 2011 13:27:14 -0500
On Sat, Jan 22, 2011 at 12:58 PM, David Given <dg@cowlark.com> wrote:
> - can someone point me at instructions on how to get LuaJIT to tell me
> what machine code it's producing for a given function?
The command-line option -jbc gives bytecodes of parsed functions.
-jdump=bimrs gives byetcode (b), IR (i), and machine code (m) of
traces, along with registers (r) and snapshots (s) (
http://luajit.org/running.html ). Machine code is generated for
traces not functions. See also my LuaJit page on the wiki and xref
the source.