-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
for i = 0, 300 do
print(i)
end$ make clean && PATH=... YK_BUILD_TYPE=release make MYCFLAGS=-DLUAI_ASSERT
...
$ ./src/luac -l for_loop.lua (git:main)
main <for_loop.lua:0,0> (10 instructions at 0x25d411d0)
0+ params, 6 slots, 1 upvalue, 4 locals, 1 constant, 0 functions
luac: luac.c:345: void PrintCode(const Proto *): Assertion `((((enum OpMode)(luaP_opmodes[(((OpCode)(((i)>>0) & ((~((~(Instruction)0)<<(7)))<<(0)))))] & 7))) == iAx)' failed.
zsh: IOT instruction ./src/luac -l for_loop.lua
Does not happen with stock lua-5.4.6. Also seems unrelated to #109.
Metadata
Metadata
Assignees
Labels
No labels