Re: Understanding SNAP

  • From: Luke Gorrie <luke@xxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 6 Oct 2017 02:05:58 +0000

On 4 October 2017 at 23:01, Gerhard Fuernkranz <nospam456@xxxxxx> wrote:

I'm wondering: Is the SSA IR actually retained after generating the
machine code for a trace, or discarded?


It's kept. You can access the IR code for a trace from Lua code using the
jit.util.traceir(). See jit/dump.lua for examples.

Other related posts: