opcode order about BC_CALLMT and BC_CALLT

  • From: Baozeng <sploving1@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 28 Jan 2020 13:39:36 +0800

Hello all,

in the lj_bc.h, it has the the following assert:

LJ_STATIC_ASSERT((int)BC_CALLMT + 1 == (int)BC_CALLT);
why?  what piece of code in the source causes that BC_CALLMT and BC_CALLT
order must have the above relationship? Thank you.


-- 
     Best Regards,
     Baozeng Ding

Other related posts: