| Age | Commit message (Collapse) | Author | Lines |
|
Instead of `expand_statements`. This makes the code shorter and
consistent with other MIR transform passes.
The tests require updating because there is a slight change in
MIR output:
- the old code replaced the original statement with twelve new
statements.
- the new code inserts converts the original statement to a `nop` and
then insert twelve new statements in front of it.
I.e. we now end up with an extra `nop`, which doesn't matter at all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is a distinction between running this on wasm and i686, even though they should be
identical. This technically is not _incorrect_, it's just an unexpected difference, which is
worth investigating, but not for correctness.
|
|
|
|
Instead of storing an extra array for discriminant values, create an allocation there and store
those in an allocation immediately.
|