You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inlining like in your example should be fully supported already. Constants are precomputed at compile time and replaced with their constant value where used. When optimizing the module, Binaryen takes care of all the rest, like precomputing expressions comprised of constants and inlining small functions.
Edit: Might be that constants within functions are not handled this way, yet, but supposed to. Let me take a look.
Is it possible to add support for inline functions and constants?
An example of code
That should be optimized to
The text was updated successfully, but these errors were encountered: