Closed Hexcede closed 2 years ago
The table in question has something like thousands of cases. The issue here most likely relates to the other mentioned as fixing the other would probably heavily reduce code generated.
I'll note this also affects LuaJIT because of its jump size limit.
Seems to be fixed alongside #8.
I am making a note of this for discussion. I'm not sure if it relates to #8 or not, but the
br_table.wast
test fails to compile inluau
due to the following error message:The referenced line is the creation of
loaded["temp"]
and my syntax highlighter fails to highlight this section making it difficult to tell exactly what's going on. My understanding of this error is that the wasm module is generating too many nested functions at compile time, however I could be wrong there.This would likely require some sort of codegen changes to account for.