dimitriv / Ziria

A domain-specific-language and compiler for low-level bitstream processing.
92 stars 18 forks source link

ifdead pass contains dead code #82

Closed edsko closed 9 years ago

edsko commented 9 years ago

The ifdead/right/ cases in passIfDead are unreachable (eneg constructs a unary operator, which is not supported by impliesBool). Not sure what the intention was here.

edsko commented 9 years ago

Fixed by new interpreter.