mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
Keep the order left-right in shifts
Opcodes OP_SHLI-OP_SHRI and the cases for opcodes OP_SHL-OP_SHR were out of order.
This commit is contained in:
parent
c688b00f73
commit
88aa4049ad
5 changed files with 18 additions and 18 deletions
|
|
@ -57,8 +57,8 @@ static const void *const disptab[NUM_OPCODES] = {
|
|||
&&L_OP_BANDK,
|
||||
&&L_OP_BORK,
|
||||
&&L_OP_BXORK,
|
||||
&&L_OP_SHRI,
|
||||
&&L_OP_SHLI,
|
||||
&&L_OP_SHRI,
|
||||
&&L_OP_ADD,
|
||||
&&L_OP_SUB,
|
||||
&&L_OP_MUL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue