mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
A switch statement is not normally emitted by the compiler package, but LLVM function passes may convert a series of if/else pairs to a switch statement. A future change will run function passes in the package compile phase, so the interp package (which is also run after all modules are merged together) will need to deal with these new switch statements.pull/1782/head
Ayke van Laethem
4 years ago
committed by
Ron Evans
4 changed files with 75 additions and 1 deletions
Loading…
Reference in new issue