Hi,
Today I found that `-Oz` no longer works for my code, although `-O0`
still works fine.
The browser always complained about 'unexpected token `else`' or
'unexpected token `}`', and the reason is that there are empty if clauses
like this:
if (c|2==1) else i=0;
or:
... {
...
if((f(a,b)|0) == 1)
}
which looks really weird.
I guess it has something to do with the js optimizer in emscripten, and
it may or may not be related to ASYNCIFY.
I failed to create a minimal test case for this, do you have any idea
about this bug, or could you provide any hint that which files in
emscripten I should take a look at?
Thanks!
regards,
- Lu
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.