By default emscripten generally emits similar code for asm.js and wasm
(unless there is a strong reason not to), which helps debugging. That
includes function pointer aliasing. If you don't want it, you can disable
it (in either asm.js or wasm) with -s ALIASING_FUNCTION_POINTERS=0

On Thu, Jul 27, 2017 at 11:24 AM, Rodrigo Kumpera <[email protected]> wrote:

> Hi,
>
> I'm porting a large codebase to WebAssembly and I'm seeing function
> pointer aliasing happening.
> I thought this was limited to asm.js.
>
> Are there known circumstances that can cause this to happen?
>
> In case it's relevant, I'm compiling the mono runtime, that uses autotools.
>
> --
> Rodrigo
>
> --
> 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.
>

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