SwadicalRag / wasm2lua

wasm2lua: converting WASM into Lua
MIT License
190 stars 10 forks source link

Don't return from within loops #19

Open SwadicalRag opened 5 years ago

SwadicalRag commented 5 years ago

This aborts a LuaJIT trace. Perhaps put a label at the end of a function where the return is performed there?

(only affects loops with while true do wrapping it)

MDFL64 commented 5 years ago

wut in tarnation