mirror of
https://github.com/fluencelabs/aquavm
synced 2025-03-15 12:30:50 +00:00
AIR beautifier may output virtual `hopon` instruction based on specific pattern generated by the Aqua compiler. The `air_beatifier::beatify` function has now an extra argument that determines if to perform the virtual instruction detection, giving more readable output. The `air-beautify-wasm` crate has behavior of the `beautify` function changed: the functions now extracts virtual instructions, so it is a drop-in replacement for previous version with new functionality. New exported function `beautify_raw` is added, that doesn't look for virtual instructions' patterns, formatting the code as is.