Re: Bytecode differences between v1 and v2?

  • From: Mike Pall <mikelj-2012@xxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 31 Dec 2020 12:41:43 +0100

Petri Häkkinen wrote:

I'm currently trying to port an older project to LuaJIT 2.1. Unfortunately 
some files are using bytecode version 1 and I'd like to patch them to 
bytecode v2 (I cannot recompile them).

It's probably easier to decompile and recompile the files. There
are some bytecode decompilers floating around. Not sure whether
they handle all control-flow constructs correctly, though.

--Mike

Other related posts: