Re: NYI: bytecode 49

  • From: Mike Pall <mike-1207@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 7 Jul 2012 01:22:36 +0200

Justin Cormack wrote:
> What is bytecode 49? I am getting a bunch of NYIs and it is not clear
> why as the function is just extracting a value from a C struct, which
> seems fairly harmless...

FNEW  Create new closure

You probably wrote something like this:

local function foo()
  ...
  -- This creates a new closure every time you run foo.
  local function bar() ... end
  ...
end

Move the closure creation out of foo(), if possible.

--Mike

Other related posts: