This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fix typechecking for else MCInst
ClosedPublic

Authored by pmatos on Dec 14 2021, 12:05 PM.

Details

Summary

When hitting an else clause the type Stack should be reset to as it was at the start of the if, without taking into account the Type inserted into the Stack during the then branch of the if.

Diff Detail

Event Timeline

pmatos created this revision.Dec 14 2021, 12:05 PM
pmatos requested review of this revision.Dec 14 2021, 12:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 12:05 PM
aardappel accepted this revision.Dec 15 2021, 11:04 AM

thanks for the fix!

This revision is now accepted and ready to land.Dec 15 2021, 11:04 AM
This revision was landed with ongoing or failed builds.Dec 16 2021, 2:24 AM
This revision was automatically updated to reflect the committed changes.