Page MenuHomePhabricator

[WebAssembly] Fix signature of `main` in FixFunctionBitcasts
ClosedPublic

Authored by sbc100 on Aug 31 2018, 5:02 PM.

Details

Summary

Also, add a check to ensure that when main has the expected signature
we do not create a wrapper.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Aug 31 2018, 5:02 PM

I'm not sure why the logic of this flag is set to true by default and then we check for "!TemporaryWorkarounds".

Assuming this is useful I'd like to remove this flag soon.

jgravelle-google accepted this revision.Sep 5 2018, 3:28 PM
This revision is now accepted and ready to land.Sep 5 2018, 3:28 PM
This revision was automatically updated to reflect the committed changes.