I ran it through wasm-dis and weirdly enough I found out it was called 
twice as:
(call $_nanosleep
    (get_local $1)
    (get_local $1)
)

and:
(call $_nanosleep
    (get_local $1)
    (get_local $1)
)

however, at the same time its also defined?
(func $_nanosleep (; 13618 ;) (type $26) (param $0 i32) (param $1 i32) (result 
i32)
    ...
)

Although it might be worth noting that its defined after it is called, not 
sure if that matters though.

-- 
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.

Reply via email to