diff --git a/Cargo.lock b/Cargo.lock index 678e24f4f5..46a484d6fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -160,9 +160,9 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6118baab6285accf088b31d5ea5029c37bbf9d98e62b4d8720a0a5a66bc2e427" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -188,9 +188,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba0b55c2201aa802adb684e7963ce2c3191675629e7df899774331e3ac747cf" +checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" [[package]] name = "anyhow" @@ -200,9 +200,9 @@ checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" [[package]] name = "arrayref" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" [[package]] name = "arrayvec" @@ -271,9 +271,9 @@ checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" [[package]] name = "base64ct" -version = "1.5.3" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b645a089122eccb6111b4f81cbc1a49f5900ac4666bb93ac027feaecf15607bf" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "bech32" @@ -313,14 +313,14 @@ checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" dependencies = [ "arrayref", "arrayvec", - "constant_time_eq 0.2.4", + "constant_time_eq 0.2.5", ] [[package]] name = "block-buffer" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ "generic-array", ] @@ -333,9 +333,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "1.2.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f0778972c64420fdedc63f09919c8a88bda7b25135357fd25a5d9f3257e832" +checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" dependencies = [ "memchr", "once_cell", @@ -483,9 +483,9 @@ checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" dependencies = [ "heck", "proc-macro-error", - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -540,9 +540,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279" +checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" [[package]] name = "core-foundation" @@ -562,9 +562,9 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cpufeatures" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" +checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" dependencies = [ "libc", ] @@ -616,9 +616,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" +checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c" dependencies = [ "cfg-if", "crossbeam-utils", @@ -626,9 +626,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -637,9 +637,9 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" +checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" dependencies = [ "autocfg", "cfg-if", @@ -650,9 +650,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.14" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" +checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" dependencies = [ "cfg-if", ] @@ -684,9 +684,9 @@ dependencies = [ [[package]] name = "curl-sys" -version = "0.4.59+curl-7.86.0" +version = "0.4.61+curl-8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cfce34829f448b08f55b7db6d0009e23e2e86a34e8c2b366269bf5799b4a407" +checksum = "14d05c10f541ae6f3bc5b3d923c20001f47db7d5f0b2bc6ad16490133842db79" dependencies = [ "cc", "libc", @@ -703,9 +703,9 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -896,9 +896,9 @@ checksum = "c1fd087255f739f4f1aeea69f11b72f8080e9c2e7645cd06955dad4a178a49e3" [[package]] name = "futures-channel" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5" +checksum = "164713a5a0dcc3e7b4b1ed7d3b433cabc18025386f9339346e8daf15963cf7ac" dependencies = [ "futures-core", "futures-sink", @@ -906,33 +906,33 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608" +checksum = "86d7a0c1aa76363dac491de0ee99faf6941128376f1cf96f07db7603b7de69dd" [[package]] name = "futures-io" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531" +checksum = "89d422fa3cbe3b40dca574ab087abb5bc98258ea57eea3fd6f1fa7162c778b91" [[package]] name = "futures-sink" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364" +checksum = "ec93083a4aecafb2a80a885c9de1f0ccae9dbd32c2bb54b0c3a65690e0b8d2f2" [[package]] name = "futures-task" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366" +checksum = "fd65540d33b37b16542a0438c12e6aeead10d4ac5d05bd3f805b8f35ab592879" [[package]] name = "futures-util" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" +checksum = "3ef6b17e481503ec85211fed8f39d1970f128935ca1f814cd32ac4a6842e84ab" dependencies = [ "futures-core", "futures-io", @@ -991,9 +991,9 @@ checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" [[package]] name = "h2" -version = "0.3.15" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4" +checksum = "5be7b54589b581f624f566bf5d8eb2bab1db736c51528720b6bd36b96b55924d" dependencies = [ "bytes", "fnv", @@ -1078,6 +1078,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" + [[package]] name = "hex" version = "0.4.3" @@ -1095,9 +1101,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", @@ -1129,9 +1135,9 @@ checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "hyper" -version = "0.14.24" +version = "0.14.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" +checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899" dependencies = [ "bytes", "futures-channel", @@ -1176,9 +1182,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", @@ -1209,10 +1215,11 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.5" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3" +checksum = "09270fd4fa1111bc614ed2246c7ef56239a3063d5be0d1ec3b589c505d400aeb" dependencies = [ + "hermit-abi 0.3.1", "libc", "windows-sys 0.45.0", ] @@ -1234,15 +1241,15 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "jobserver" -version = "0.1.25" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" dependencies = [ "libc", ] @@ -1438,9 +1445,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.139" +version = "0.2.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" +checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" [[package]] name = "libz-sys" @@ -1493,18 +1500,18 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memoffset" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg", ] [[package]] name = "mime" -version = "0.3.16" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "mime_guess" @@ -1622,9 +1629,9 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -1720,9 +1727,9 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -1746,9 +1753,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.4.1" +version = "6.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" +checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" [[package]] name = "overload" @@ -1792,9 +1799,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" +checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" [[package]] name = "pbkdf2" @@ -1829,9 +1836,9 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -1894,9 +1901,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "predicates" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba7d6ead3e3966038f68caa9fc1f860185d95a793180bbcfe0d0da47b3961ed" +checksum = "c575290b64d24745b6c57a12a31465f0a66f3a4799686a6921526a33b0797965" dependencies = [ "anstyle", "difflib", @@ -1912,9 +1919,9 @@ checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" [[package]] name = "predicates-tree" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" dependencies = [ "predicates-core", "termtree", @@ -1927,9 +1934,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", "version_check", ] @@ -1939,7 +1946,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", "version_check", ] @@ -1955,9 +1962,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.52" +version = "1.0.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224" +checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" dependencies = [ "unicode-ident", ] @@ -2007,7 +2014,7 @@ version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", ] [[package]] @@ -2051,9 +2058,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ "either", "rayon-core", @@ -2061,9 +2068,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.10.2" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ "crossbeam-channel", "crossbeam-deque", @@ -2093,9 +2100,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.2" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cce168fea28d3e05f158bda4576cf0c844d5045bc2cc3620fa0292ed5bb5814c" +checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" dependencies = [ "aho-corasick", "memchr", @@ -2190,9 +2197,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +checksum = "d4a36c42d1873f9a77c53bde094f9664d9891bc604a45b4798fd2c389ed12e5b" [[package]] name = "rustc_version" @@ -2205,9 +2212,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.8" +version = "0.36.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644" +checksum = "db4165c9963ab29e422d6c26fbc1d37f15bace6b2810221f9d925023480fcf0e" dependencies = [ "bitflags", "errno", @@ -2252,9 +2259,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" [[package]] name = "safemem" @@ -2342,23 +2349,6 @@ dependencies = [ "tempfile", ] -[[package]] -name = "self_update" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e18819cd93c4799f93cd4cf0ac069ed0e615fea3af28ec78df71e0ea890628a" -dependencies = [ - "hyper", - "indicatif", - "log", - "quick-xml 0.23.1", - "regex", - "reqwest", - "semver", - "serde_json", - "tempfile", -] - [[package]] name = "self_update" version = "0.36.0" @@ -2380,9 +2370,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" +checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" [[package]] name = "serde" @@ -2399,16 +2389,16 @@ version = "1.0.158" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e801c1712f48475582b7696ac71e0ca34ebb30e09338425384269d9717c62cad" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 2.0.4", + "syn 2.0.10", ] [[package]] name = "serde_json" -version = "1.0.93" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" +checksum = "1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea" dependencies = [ "indexmap", "itoa", @@ -2493,9 +2483,9 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" dependencies = [ "autocfg", ] @@ -2511,9 +2501,9 @@ dependencies = [ [[package]] name = "snarkvm" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59bc826fb94e0240a58cc627d1d4795cf02856e87ea47e315c983d1c5e3e0f89" +checksum = "e1a31c3a6b6fcab5bbccab6d31f03d414dceb0ceea77f1fbad6c682d4f6aecf2" dependencies = [ "anyhow", "clap", @@ -2523,7 +2513,7 @@ dependencies = [ "parking_lot", "rand", "rayon", - "self_update 0.35.0", + "self_update 0.36.0", "serde_json", "snarkvm-algorithms", "snarkvm-circuit", @@ -2539,9 +2529,9 @@ dependencies = [ [[package]] name = "snarkvm-algorithms" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6bb298e5150e95e85c4658bd0f6d55c733adc5021e2f255fb90c05839cfe0d" +checksum = "3fd3df98bf29a830881f8531a5cbdfe6c8babde051553c48327757ce897c0c48" dependencies = [ "aleo-std", "anyhow", @@ -2566,9 +2556,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7624cbc7e21e73cf83311ad7618bd2fdfe11224ef6c125efb274c9ecfe2e06e0" +checksum = "0f6db05898bc59e4076824f60feffd7cd964f229a05f3961246170391879c1e4" dependencies = [ "snarkvm-circuit-account", "snarkvm-circuit-algorithms", @@ -2581,9 +2571,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-account" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327bb0b8d52b13619fb3c5e2cec87d12a2891d56d38b5f415cfcde18cea80118" +checksum = "0e131ef75f3aaca9cafeca82c3086e630eff27f73760fccff48b600030656c80" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-network", @@ -2593,9 +2583,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-algorithms" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347c010c8128840984c5f5f6a513eaa960258bee87c9ca94d577689e522c8bda" +checksum = "162af7fedadd62b3c9880fffe4ad53c277d7c1783abefcfbf613294e08b18222" dependencies = [ "snarkvm-circuit-types", "snarkvm-console-algorithms", @@ -2604,9 +2594,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-collections" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85f15032bab5ebc07b04685d757d84add90f073b3a7c629f57311f9715ecd2b8" +checksum = "f45289dfa9ead958b84fb9509cf2b38efbd43625deaa052bdf02e12b738b7a84" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-types", @@ -2615,9 +2605,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-environment" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdaee135140f27c6321c2ee32b159522331b1f0f57a55c61d85a8eef0261250" +checksum = "073623aea8a985972d5a6a99d685ee3cbf2524b9d3cf75515a27a834b96f4926" dependencies = [ "indexmap", "itertools", @@ -2634,15 +2624,15 @@ dependencies = [ [[package]] name = "snarkvm-circuit-environment-witness" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84154491d3f29f739b9254cd23e6ab20868e1ea8a0c50bf70a66215195a49f7" +checksum = "cc5c1cae891493b7958ac8cad1f14b32a101f896969b2fd6a72ff323c504ad72" [[package]] name = "snarkvm-circuit-network" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb53bf539d4e7a3d45b84b1a066d69b5fa211145ace42943fc55b33ed04c6886" +checksum = "56e8a29ac4b57f7181f417f7cbb472b565b9f71a656e406c89ad4b13f5c08641" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-collections", @@ -2652,9 +2642,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-program" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b491fde294e2df38560c77f47b436eb84cda9179d1384289d48d2f0f381b75f" +checksum = "d97f8f6362272e21c9efc6398595ed4c33fb434d3b0a6059e748fdab01bbb31f" dependencies = [ "snarkvm-circuit-account", "snarkvm-circuit-collections", @@ -2666,9 +2656,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb99c920473e96d7036761c270077da9600535f632d382a11e99ad4b67c04e0f" +checksum = "2819cb10c78c0f075c487875033a225bccb766069ff78cbdaa6637709f6547bd" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-address", @@ -2682,9 +2672,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-address" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c4c29afe50f82decf8436d9b876b595fff2e3fe69cd8e2ac57091a1936761c" +checksum = "c8ad9f8f070c485a394c12d86fad0728677d606d5fa10cbed366c75a22e06195" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2696,9 +2686,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-boolean" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "571825663ac3ea5aa057aa2945600a646534ff9e74b4ae4f4d6fa555ac0f5897" +checksum = "63886330fa44821eaaf436ea621cdc39d12685347f9cc4a458aad5811be99936" dependencies = [ "snarkvm-circuit-environment", "snarkvm-console-types-boolean", @@ -2706,9 +2696,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-field" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b07ae8fefb380325f3eec538457cfd386a79a9ef998a62c935081b81126b6c" +checksum = "289a194da8e55cc48a55d5ba5d5be0f69a5103c3e3f52726f543b471738af780" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2717,9 +2707,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-group" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48b04d694962e0eff5c6f1847202e9a90969c2148a4292c37aaabd68bc5ca85c" +checksum = "20d61d5e09207e8da0f49233e845d4572f32df610e6ef5e1101c3a8618203364" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2730,9 +2720,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-integers" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c06f6ad40106e2310b27ea368993ea29a20e1c21e1eeb6b14103848ce5f67fd" +checksum = "c633b7c126caee71db4f3769cfd7feaba2495e230f6531daaceccf64c0abd604" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2742,9 +2732,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-scalar" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc8d800fdc9deb77e1837aaca4b8295cb48cecbd7a888949c5196f0e828a045d" +checksum = "24cd3e20f13b6ac084345965cfa9e03ba791a4be3d6bc44be75c5936f8856a7c" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2754,9 +2744,9 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-string" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77f462665cad0282d51572e9250aa3165214053afbb5a1d36f59c4be46cba3d4" +checksum = "380664e96df27c68ca04e468da74a8b5d6f0010b09db16b13668768c60ebce6b" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -2767,9 +2757,9 @@ dependencies = [ [[package]] name = "snarkvm-console" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4873c8da377319091e6aa7f7e3ff85d82be0da1d76f48f9eee4a1c5d2d5f358" +checksum = "8e2965d0e46e9bd109ee95b92ff7b416093bf07e7a24a31f5cb8f446eeb42bcd" dependencies = [ "snarkvm-console-account", "snarkvm-console-algorithms", @@ -2781,9 +2771,9 @@ dependencies = [ [[package]] name = "snarkvm-console-account" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2f5e3ec09b3153e35e45d126aeb43484a6502ebaee9c1ff70483b77dc7d717b" +checksum = "5f2abdd1d27118203f54f4cdb92317482e7799ba9e3c7c92dbff913376dce1db" dependencies = [ "bs58", "snarkvm-console-network", @@ -2792,9 +2782,9 @@ dependencies = [ [[package]] name = "snarkvm-console-algorithms" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4c34eed9d7be1fe81d698cfb1f82807195f91dd0983bbb50e5d0b6861cc783" +checksum = "03a61eb9676139b24c48a23ee1c70b304cc2165160a71a260f409efc2a3c8a62" dependencies = [ "blake2s_simd", "smallvec", @@ -2805,9 +2795,9 @@ dependencies = [ [[package]] name = "snarkvm-console-collections" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab9949b61fb8ce05c78885803287c426d5852eefa0012d9c35b62e8e8041a008" +checksum = "6d1a6e8d1a3b0bc990e97f002509517f210a383b071789df4a40d087be5a4187" dependencies = [ "aleo-std", "rayon", @@ -2817,9 +2807,9 @@ dependencies = [ [[package]] name = "snarkvm-console-network" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac46f0cf67ea542855c7da5684d0c64c29bcf6c13dfd26cd74d170244859e54" +checksum = "f26f7c668d92ed45f993aab4ad721185f6ca8eec9152e2609b93518e5f5e7cd0" dependencies = [ "anyhow", "indexmap", @@ -2841,9 +2831,9 @@ dependencies = [ [[package]] name = "snarkvm-console-network-environment" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949790255a3ce43484d2d64e4019e83d377cf6e3378065e3a4dfbe95bada2d2a" +checksum = "022b3e1c2d4f854f8a06ad5a80927abe08990feddec44a4d464bc3b8e091f8dc" dependencies = [ "anyhow", "bech32", @@ -2859,9 +2849,9 @@ dependencies = [ [[package]] name = "snarkvm-console-program" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed97fd6b0bc5271e2db014da2f1b6d729941545e2a8579bbc1cfad8929321683" +checksum = "9743ff16a61d60c487ebbf36d5d3c332da10a1217b5ae9d4d399901018d71c97" dependencies = [ "enum_index", "enum_index_derive", @@ -2879,9 +2869,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e6a2eb8fcd2311769e8c4178d33d2d98860afb7bcf57095305d3577fc59536" +checksum = "b36d5b13b77ed2025d88c45ac626ef9146bd81fccc245580a926ef3210932cd0" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-address", @@ -2895,9 +2885,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types-address" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba29808292f9aa51e64e889729632e0c08f631296812b3af21ccf9dc1eac22d" +checksum = "08bbb6891e45640e75563cdcfefdb09c378bc0bf4c9243ff7b20ae03b68fd693" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2907,18 +2897,18 @@ dependencies = [ [[package]] name = "snarkvm-console-types-boolean" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea412df3e71f3f2ae5df39caff188807ae57769dac9202ed3cb2614952113f7" +checksum = "d33b7023eb1c52474b29574cc7a6703a968a45bfff08a3df47064c76928a26e1" dependencies = [ "snarkvm-console-network-environment", ] [[package]] name = "snarkvm-console-types-field" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00306032a99673b0aba8b8913533a4d6846c44020d593b44ffa84088bdd853dd" +checksum = "e23b9f8f73c235738e9e1ae874d9d6bff6bd64b485f10735c0205e7bf22a2821" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2926,9 +2916,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types-group" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416e30243bd359ed354d8594e1f9836a6f0be8bc958778527a04c585cf28f1d5" +checksum = "38b9f23bb683856345427a4167b05c3d772aff01145bf7f64378ffdb6f6df64b" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2938,9 +2928,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types-integers" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db3e47a68a26d13410306e919efe2442610c1f5fc6ba259c846e39c33da3aea" +checksum = "028273bab341347521b2b7e37a5fbef50a41714716dc4af3d2f3ed493a629e81" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2949,9 +2939,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types-scalar" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e204373be0ebfa1a17b166851a8f80ba4cb760799f2ad1823daefaea4b739113" +checksum = "4615a64d4bef6d8d218ace12fd775a220254efd3f97c8e5c938b6844afe0e301" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2960,9 +2950,9 @@ dependencies = [ [[package]] name = "snarkvm-console-types-string" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89189d253ff3d96f646becfc15eec1314224290a1bc7dc215b71f3d38cfca0a1" +checksum = "f10f897d1618b63c457844792d64480d67d4110fa17170432561fbde51773cf2" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -2972,9 +2962,9 @@ dependencies = [ [[package]] name = "snarkvm-curves" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "594d431ffc5b5811d3ae126d625f4542c010bc9e3017f882815b8ff639e69d65" +checksum = "f411cb8b0d5fd12d123f5e8c2f66a1b3cb0bdc7981306dd42a72c689b791ffb3" dependencies = [ "rand", "rustc_version", @@ -2986,9 +2976,9 @@ dependencies = [ [[package]] name = "snarkvm-fields" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27cc43b63eec46506b8f49067413f90b6577e7b3811d659884e841898b1c306" +checksum = "5cae251d76d8ae1d624e8595230af6cb38b7f2e9393e8b4c86726b9a95db70a2" dependencies = [ "aleo-std", "anyhow", @@ -3004,9 +2994,9 @@ dependencies = [ [[package]] name = "snarkvm-parameters" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27eab7d7b81615de7743ba615e784f851711146923caf137e7963c04da13df7e" +checksum = "a444e4528658fb4f0eaccb56ffb7c6fb1a3ab07bde9c66804c416b7131f929a6" dependencies = [ "aleo-std", "anyhow", @@ -3030,9 +3020,9 @@ dependencies = [ [[package]] name = "snarkvm-r1cs" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20d349dd0c725a8b75189898d40ed67228889b0a418ccc5ea5ec68885d25f87e" +checksum = "d7a2780e732073fc3219ffec3462faa64cf0a05d66baead49b19d508c5f5a133" dependencies = [ "anyhow", "cfg-if", @@ -3047,9 +3037,9 @@ dependencies = [ [[package]] name = "snarkvm-synthesizer" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "013d1cec9d64aa452f05a48ba3af0f1bc9598c2f220a61830c34160e4402920a" +checksum = "adf627db7f67fbb86a0351118f84ffde692e94491ed03c36874cafe4ea0e1df3" dependencies = [ "aleo-std", "anyhow", @@ -3075,9 +3065,9 @@ dependencies = [ [[package]] name = "snarkvm-utilities" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34724eac8768fbc1c39b09f925b1fca52c264280c28b40137a91c09a3148b4de" +checksum = "563baa5754c20cbb38ce758a93320d6c8db1c5764f70c8997dd9109f46d0b7fa" dependencies = [ "aleo-std", "anyhow", @@ -3095,20 +3085,20 @@ dependencies = [ [[package]] name = "snarkvm-utilities-derives" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a06c52a5ceba9b9159f1b8cc3ca29bd5da16f339e4eb077cfc9024c813f2b86" +checksum = "919b2f04472d340d220fd53b3edb4df5a5ccc4308a845cba4a9768c5ec33ab13" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] name = "socket2" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" dependencies = [ "libc", "winapi", @@ -3156,22 +3146,22 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", "unicode-ident", ] [[package]] name = "syn" -version = "2.0.4" +version = "2.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c622ae390c9302e214c31013517c2061ecb2699935882c60a9b37f82f8625ae" +checksum = "5aad1363ed6d37b84299588d62d3a7d95b5a5c2d9aad5c85609fda12afaa1f40" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", "unicode-ident", ] @@ -3219,9 +3209,9 @@ dependencies = [ [[package]] name = "termtree" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test_dir" @@ -3240,22 +3230,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.39" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ab016db510546d856297882807df8da66a16fb8c4101cb8b30054b0d5b2d9c" +checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.39" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5420d42e90af0c38c3290abcca25b9b3bdf379fc9f55c528f53a269d9c9a267e" +checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 2.0.10", ] [[package]] @@ -3270,9 +3260,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.17" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376" +checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" dependencies = [ "serde", "time-core", @@ -3311,9 +3301,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.25.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af" +checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" dependencies = [ "autocfg", "bytes", @@ -3323,7 +3313,7 @@ dependencies = [ "num_cpus", "pin-project-lite", "socket2", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -3338,9 +3328,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce" +checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" dependencies = [ "futures-core", "pin-project-lite", @@ -3405,9 +3395,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.19.6" +version = "0.19.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08de71aa0d6e348f070457f85af8bd566e2bc452156a423ddf22861b3a953fae" +checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" dependencies = [ "indexmap", "serde", @@ -3441,9 +3431,9 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", ] [[package]] @@ -3532,15 +3522,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.10" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" [[package]] name = "unicode-normalization" @@ -3719,9 +3709,9 @@ dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", "wasm-bindgen-shared", ] @@ -3753,9 +3743,9 @@ version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" dependencies = [ - "proc-macro2 1.0.52", + "proc-macro2 1.0.54", "quote 1.0.26", - "syn 1.0.107", + "syn 1.0.109", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3852,9 +3842,9 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", @@ -3867,51 +3857,51 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_i686_gnu" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_x86_64_gnu" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "winnow" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee7b2c67f962bf5042bfd8b6a916178df33a26eec343ae064cb8e069f638fa6f" +checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" dependencies = [ "memchr", ] diff --git a/compiler/ast/src/passes/consumer.rs b/compiler/ast/src/passes/consumer.rs deleted file mode 100644 index 2ebcf04667..0000000000 --- a/compiler/ast/src/passes/consumer.rs +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -//! This module contains a Consumer trait for the AST. -//! Consumers are used to completely transform the AST without any restrictions on the output. - -use crate::*; - -/// A Consumer trait for expressions in the AST. -pub trait ExpressionConsumer { - type Output; - - fn consume_expression(&mut self, input: Expression) -> Self::Output { - match input { - Expression::Access(access) => self.consume_access(access), - Expression::Binary(binary) => self.consume_binary(binary), - Expression::Call(call) => self.consume_call(call), - Expression::Struct(struct_) => self.consume_struct_init(struct_), - Expression::Err(err) => self.consume_err(err), - Expression::Identifier(identifier) => self.consume_identifier(identifier), - Expression::Literal(value) => self.consume_literal(value), - Expression::Ternary(ternary) => self.consume_ternary(ternary), - Expression::Tuple(tuple) => self.consume_tuple(tuple), - Expression::Unary(unary) => self.consume_unary(unary), - Expression::Unit(unit) => self.consume_unit(unit), - } - } - - fn consume_access(&mut self, _input: AccessExpression) -> Self::Output; - - fn consume_binary(&mut self, _input: BinaryExpression) -> Self::Output; - - fn consume_call(&mut self, _input: CallExpression) -> Self::Output; - - fn consume_struct_init(&mut self, _input: StructExpression) -> Self::Output; - - fn consume_err(&mut self, _input: ErrExpression) -> Self::Output { - unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") - } - - fn consume_identifier(&mut self, _input: Identifier) -> Self::Output; - - fn consume_literal(&mut self, _input: Literal) -> Self::Output; - - fn consume_ternary(&mut self, _input: TernaryExpression) -> Self::Output; - - fn consume_tuple(&mut self, _input: TupleExpression) -> Self::Output; - - fn consume_unary(&mut self, _input: UnaryExpression) -> Self::Output; - - fn consume_unit(&mut self, _input: UnitExpression) -> Self::Output; -} - -/// A Consumer trait for statements in the AST. -pub trait StatementConsumer { - type Output; - - fn consume_statement(&mut self, input: Statement) -> Self::Output { - match input { - Statement::Assert(assert) => self.consume_assert(assert), - Statement::Assign(stmt) => self.consume_assign(*stmt), - Statement::Block(stmt) => self.consume_block(stmt), - Statement::Conditional(stmt) => self.consume_conditional(stmt), - Statement::Console(stmt) => self.consume_console(stmt), - Statement::Decrement(stmt) => self.consume_decrement(stmt), - Statement::Definition(stmt) => self.consume_definition(stmt), - Statement::Expression(stmt) => self.consume_expression_statement(stmt), - Statement::Increment(stmt) => self.consume_increment(stmt), - Statement::Iteration(stmt) => self.consume_iteration(*stmt), - Statement::Return(stmt) => self.consume_return(stmt), - } - } - - fn consume_assert(&mut self, input: AssertStatement) -> Self::Output; - - fn consume_assign(&mut self, input: AssignStatement) -> Self::Output; - - fn consume_block(&mut self, input: Block) -> Self::Output; - - fn consume_conditional(&mut self, input: ConditionalStatement) -> Self::Output; - - fn consume_console(&mut self, input: ConsoleStatement) -> Self::Output; - - fn consume_decrement(&mut self, input: DecrementStatement) -> Self::Output; - - fn consume_definition(&mut self, input: DefinitionStatement) -> Self::Output; - - fn consume_expression_statement(&mut self, input: ExpressionStatement) -> Self::Output; - - fn consume_increment(&mut self, input: IncrementStatement) -> Self::Output; - - fn consume_iteration(&mut self, input: IterationStatement) -> Self::Output; - - fn consume_return(&mut self, input: ReturnStatement) -> Self::Output; -} - -/// A Consumer trait for functions in the AST. -pub trait FunctionConsumer { - type Output; - - fn consume_function(&mut self, input: Function) -> Self::Output; -} - -/// A Consumer trait for structs in the AST. -pub trait StructConsumer { - type Output; - - fn consume_struct(&mut self, input: Struct) -> Self::Output; -} - -/// A Consumer trait for imported programs in the AST. -pub trait ImportConsumer { - type Output; - - fn consume_import(&mut self, input: Program) -> Self::Output; -} - -/// A Consumer trait for mappings in the AST. -pub trait MappingConsumer { - type Output; - - fn consume_mapping(&mut self, input: Mapping) -> Self::Output; -} - -/// A Consumer trait for program scopes in the AST. -pub trait ProgramScopeConsumer { - type Output; - - fn consume_program_scope(&mut self, input: ProgramScope) -> Self::Output; -} - -/// A Consumer trait for the program represented by the AST. -pub trait ProgramConsumer { - type Output; - fn consume_program(&mut self, input: Program) -> Self::Output; -} diff --git a/compiler/ast/src/passes/consumer/expression.rs b/compiler/ast/src/passes/consumer/expression.rs new file mode 100644 index 0000000000..6f341781d5 --- /dev/null +++ b/compiler/ast/src/passes/consumer/expression.rs @@ -0,0 +1,62 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Consumer trait for expressions in the AST. +pub trait ExpressionConsumer { + type Output; + + fn consume_expression(&mut self, input: Expression) -> Self::Output { + match input { + Expression::Access(access) => self.consume_access(access), + Expression::Binary(binary) => self.consume_binary(binary), + Expression::Call(call) => self.consume_call(call), + Expression::Struct(struct_) => self.consume_struct_init(struct_), + Expression::Err(err) => self.consume_err(err), + Expression::Identifier(identifier) => self.consume_identifier(identifier), + Expression::Literal(value) => self.consume_literal(value), + Expression::Ternary(ternary) => self.consume_ternary(ternary), + Expression::Tuple(tuple) => self.consume_tuple(tuple), + Expression::Unary(unary) => self.consume_unary(unary), + Expression::Unit(unit) => self.consume_unit(unit), + } + } + + fn consume_access(&mut self, _input: AccessExpression) -> Self::Output; + + fn consume_binary(&mut self, _input: BinaryExpression) -> Self::Output; + + fn consume_call(&mut self, _input: CallExpression) -> Self::Output; + + fn consume_struct_init(&mut self, _input: StructExpression) -> Self::Output; + + fn consume_err(&mut self, _input: ErrExpression) -> Self::Output { + unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") + } + + fn consume_identifier(&mut self, _input: Identifier) -> Self::Output; + + fn consume_literal(&mut self, _input: Literal) -> Self::Output; + + fn consume_ternary(&mut self, _input: TernaryExpression) -> Self::Output; + + fn consume_tuple(&mut self, _input: TupleExpression) -> Self::Output; + + fn consume_unary(&mut self, _input: UnaryExpression) -> Self::Output; + + fn consume_unit(&mut self, _input: UnitExpression) -> Self::Output; +} diff --git a/compiler/passes/src/loop_unrolling/unroll_expression.rs b/compiler/ast/src/passes/consumer/instruction.rs similarity index 79% rename from compiler/passes/src/loop_unrolling/unroll_expression.rs rename to compiler/ast/src/passes/consumer/instruction.rs index 6ba0e8eed8..90126bbcba 100644 --- a/compiler/passes/src/loop_unrolling/unroll_expression.rs +++ b/compiler/ast/src/passes/consumer/instruction.rs @@ -14,10 +14,11 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use leo_ast::*; +use crate::*; -use crate::Unroller; +/// A Consumer trait for instructions in the AST. +pub trait InstructionConsumer { + type Output; -impl ExpressionReconstructor for Unroller<'_> { - type AdditionalOutput = (); + fn consume_instruction(&mut self, input: Instruction) -> Self::Output; } diff --git a/compiler/ast/src/passes/consumer/mod.rs b/compiler/ast/src/passes/consumer/mod.rs new file mode 100644 index 0000000000..fe7c73c542 --- /dev/null +++ b/compiler/ast/src/passes/consumer/mod.rs @@ -0,0 +1,30 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +//! This module contains a Consumer trait for the AST. +//! Consumers are used to completely transform the AST without any restrictions on the output. + +pub mod expression; +pub use expression::*; + +pub mod instruction; +pub use instruction::*; + +pub mod program; +pub use program::*; + +pub mod statement; +pub use statement::*; diff --git a/compiler/ast/src/passes/consumer/program.rs b/compiler/ast/src/passes/consumer/program.rs new file mode 100644 index 0000000000..7ef9e7da56 --- /dev/null +++ b/compiler/ast/src/passes/consumer/program.rs @@ -0,0 +1,58 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Consumer trait for functions in the AST. +pub trait FunctionConsumer { + type Output; + + fn consume_function(&mut self, input: Function) -> Self::Output; +} + +/// A Consumer trait for structs in the AST. +pub trait StructConsumer { + type Output; + + fn consume_struct(&mut self, input: Struct) -> Self::Output; +} + +/// A Consumer trait for imported programs in the AST. +pub trait ImportConsumer { + type Output; + + fn consume_import(&mut self, input: Program) -> Self::Output; +} + +/// A Consumer trait for mappings in the AST. +pub trait MappingConsumer { + type Output; + + fn consume_mapping(&mut self, input: Mapping) -> Self::Output; +} + +/// A Consumer trait for program scopes in the AST. +pub trait ProgramScopeConsumer { + type Output; + + fn consume_program_scope(&mut self, input: ProgramScope) -> Self::Output; +} + +/// A Consumer trait for the program represented by the AST. +pub trait ProgramConsumer { + type Output; + fn consume_program(&mut self, input: Program) -> Self::Output; +} diff --git a/compiler/ast/src/passes/consumer/statement.rs b/compiler/ast/src/passes/consumer/statement.rs new file mode 100644 index 0000000000..f5bae49df7 --- /dev/null +++ b/compiler/ast/src/passes/consumer/statement.rs @@ -0,0 +1,63 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Consumer trait for statements in the AST. +pub trait StatementConsumer { + type Output; + + fn consume_statement(&mut self, input: Statement) -> Self::Output { + match input { + Statement::AssemblyBlock(stmt) => self.consume_assembly_block(stmt), + Statement::Assert(assert) => self.consume_assert(assert), + Statement::Assign(stmt) => self.consume_assign(*stmt), + Statement::Block(stmt) => self.consume_block(stmt), + Statement::Conditional(stmt) => self.consume_conditional(stmt), + Statement::Console(stmt) => self.consume_console(stmt), + Statement::Decrement(stmt) => self.consume_decrement(stmt), + Statement::Definition(stmt) => self.consume_definition(stmt), + Statement::Expression(stmt) => self.consume_expression_statement(stmt), + Statement::Increment(stmt) => self.consume_increment(stmt), + Statement::Iteration(stmt) => self.consume_iteration(*stmt), + Statement::Return(stmt) => self.consume_return(stmt), + } + } + + fn consume_assembly_block(&mut self, input: AssemblyBlock) -> Self::Output; + + fn consume_assert(&mut self, input: AssertStatement) -> Self::Output; + + fn consume_assign(&mut self, input: AssignStatement) -> Self::Output; + + fn consume_block(&mut self, input: Block) -> Self::Output; + + fn consume_conditional(&mut self, input: ConditionalStatement) -> Self::Output; + + fn consume_console(&mut self, input: ConsoleStatement) -> Self::Output; + + fn consume_decrement(&mut self, input: DecrementStatement) -> Self::Output; + + fn consume_definition(&mut self, input: DefinitionStatement) -> Self::Output; + + fn consume_expression_statement(&mut self, input: ExpressionStatement) -> Self::Output; + + fn consume_increment(&mut self, input: IncrementStatement) -> Self::Output; + + fn consume_iteration(&mut self, input: IterationStatement) -> Self::Output; + + fn consume_return(&mut self, input: ReturnStatement) -> Self::Output; +} diff --git a/compiler/ast/src/passes/reconstructor.rs b/compiler/ast/src/passes/reconstructor.rs deleted file mode 100644 index 6ba2ffe5d5..0000000000 --- a/compiler/ast/src/passes/reconstructor.rs +++ /dev/null @@ -1,412 +0,0 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -//! This module contains a Reconstructor trait for the AST. -//! It implements default methods for each node to be made -//! given the information of the old node. - -use crate::*; - -/// A Reconstructor trait for expressions in the AST. -pub trait ExpressionReconstructor { - type AdditionalOutput: Default; - - fn reconstruct_expression(&mut self, input: Expression) -> (Expression, Self::AdditionalOutput) { - match input { - Expression::Access(access) => self.reconstruct_access(access), - Expression::Binary(binary) => self.reconstruct_binary(binary), - Expression::Call(call) => self.reconstruct_call(call), - Expression::Struct(struct_) => self.reconstruct_struct_init(struct_), - Expression::Err(err) => self.reconstruct_err(err), - Expression::Identifier(identifier) => self.reconstruct_identifier(identifier), - Expression::Literal(value) => self.reconstruct_literal(value), - Expression::Ternary(ternary) => self.reconstruct_ternary(ternary), - Expression::Tuple(tuple) => self.reconstruct_tuple(tuple), - Expression::Unary(unary) => self.reconstruct_unary(unary), - Expression::Unit(unit) => self.reconstruct_unit(unit), - } - } - - fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Access(match input { - AccessExpression::AssociatedFunction(function) => { - AccessExpression::AssociatedFunction(AssociatedFunction { - ty: function.ty, - name: function.name, - args: function - .args - .into_iter() - .map(|arg| self.reconstruct_expression(arg).0) - .collect(), - span: function.span, - }) - } - AccessExpression::Member(member) => AccessExpression::Member(MemberAccess { - inner: Box::new(self.reconstruct_expression(*member.inner).0), - name: member.name, - span: member.span, - }), - AccessExpression::Tuple(tuple) => AccessExpression::Tuple(TupleAccess { - tuple: Box::new(self.reconstruct_expression(*tuple.tuple).0), - index: tuple.index, - span: tuple.span, - }), - AccessExpression::AssociatedConstant(constant) => AccessExpression::AssociatedConstant(constant), - }), - Default::default(), - ) - } - - fn reconstruct_binary(&mut self, input: BinaryExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Binary(BinaryExpression { - left: Box::new(self.reconstruct_expression(*input.left).0), - right: Box::new(self.reconstruct_expression(*input.right).0), - op: input.op, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_call(&mut self, input: CallExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Call(CallExpression { - function: Box::new(self.reconstruct_expression(*input.function).0), - arguments: input - .arguments - .into_iter() - .map(|arg| self.reconstruct_expression(arg).0) - .collect(), - external: input.external, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_struct_init(&mut self, input: StructExpression) -> (Expression, Self::AdditionalOutput) { - (Expression::Struct(input), Default::default()) - } - - fn reconstruct_err(&mut self, _input: ErrExpression) -> (Expression, Self::AdditionalOutput) { - unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") - } - - fn reconstruct_identifier(&mut self, input: Identifier) -> (Expression, Self::AdditionalOutput) { - (Expression::Identifier(input), Default::default()) - } - - fn reconstruct_literal(&mut self, input: Literal) -> (Expression, Self::AdditionalOutput) { - (Expression::Literal(input), Default::default()) - } - - fn reconstruct_ternary(&mut self, input: TernaryExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Ternary(TernaryExpression { - condition: Box::new(self.reconstruct_expression(*input.condition).0), - if_true: Box::new(self.reconstruct_expression(*input.if_true).0), - if_false: Box::new(self.reconstruct_expression(*input.if_false).0), - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_tuple(&mut self, input: TupleExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Tuple(TupleExpression { - elements: input - .elements - .into_iter() - .map(|element| self.reconstruct_expression(element).0) - .collect(), - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_unary(&mut self, input: UnaryExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Unary(UnaryExpression { - receiver: Box::new(self.reconstruct_expression(*input.receiver).0), - op: input.op, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_unit(&mut self, input: UnitExpression) -> (Expression, Self::AdditionalOutput) { - (Expression::Unit(input), Default::default()) - } -} - -/// A Reconstructor trait for statements in the AST. -pub trait StatementReconstructor: ExpressionReconstructor { - fn reconstruct_statement(&mut self, input: Statement) -> (Statement, Self::AdditionalOutput) { - match input { - Statement::Assert(assert) => self.reconstruct_assert(assert), - Statement::Assign(stmt) => self.reconstruct_assign(*stmt), - Statement::Block(stmt) => { - let (stmt, output) = self.reconstruct_block(stmt); - (Statement::Block(stmt), output) - } - Statement::Conditional(stmt) => self.reconstruct_conditional(stmt), - Statement::Console(stmt) => self.reconstruct_console(stmt), - Statement::Decrement(stmt) => self.reconstruct_decrement(stmt), - Statement::Definition(stmt) => self.reconstruct_definition(stmt), - Statement::Expression(stmt) => self.reconstruct_expression_statement(stmt), - Statement::Increment(stmt) => self.reconstruct_increment(stmt), - Statement::Iteration(stmt) => self.reconstruct_iteration(*stmt), - Statement::Return(stmt) => self.reconstruct_return(stmt), - } - } - - fn reconstruct_assert(&mut self, input: AssertStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Assert(AssertStatement { - variant: match input.variant { - AssertVariant::Assert(expr) => AssertVariant::Assert(self.reconstruct_expression(expr).0), - AssertVariant::AssertEq(left, right) => AssertVariant::AssertEq( - self.reconstruct_expression(left).0, - self.reconstruct_expression(right).0, - ), - AssertVariant::AssertNeq(left, right) => AssertVariant::AssertNeq( - self.reconstruct_expression(left).0, - self.reconstruct_expression(right).0, - ), - }, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_assign(&mut self, input: AssignStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Assign(Box::new(AssignStatement { - place: input.place, - value: self.reconstruct_expression(input.value).0, - span: input.span, - })), - Default::default(), - ) - } - - fn reconstruct_block(&mut self, input: Block) -> (Block, Self::AdditionalOutput) { - ( - Block { - statements: input - .statements - .into_iter() - .map(|s| self.reconstruct_statement(s).0) - .collect(), - span: input.span, - }, - Default::default(), - ) - } - - fn reconstruct_conditional(&mut self, input: ConditionalStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Conditional(ConditionalStatement { - condition: self.reconstruct_expression(input.condition).0, - then: self.reconstruct_block(input.then).0, - otherwise: input.otherwise.map(|n| Box::new(self.reconstruct_statement(*n).0)), - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_console(&mut self, input: ConsoleStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Console(ConsoleStatement { - function: match input.function { - ConsoleFunction::Assert(expr) => ConsoleFunction::Assert(self.reconstruct_expression(expr).0), - ConsoleFunction::AssertEq(left, right) => ConsoleFunction::AssertEq( - self.reconstruct_expression(left).0, - self.reconstruct_expression(right).0, - ), - ConsoleFunction::AssertNeq(left, right) => ConsoleFunction::AssertNeq( - self.reconstruct_expression(left).0, - self.reconstruct_expression(right).0, - ), - }, - span: input.span, - }), - Default::default(), - ) - } - - // TODO: Reconstructor should visit this. - fn reconstruct_decrement(&mut self, input: DecrementStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Decrement(DecrementStatement { - mapping: input.mapping, - amount: input.amount, - index: input.index, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_definition(&mut self, input: DefinitionStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Definition(DefinitionStatement { - declaration_type: input.declaration_type, - place: input.place, - type_: input.type_, - value: self.reconstruct_expression(input.value).0, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_expression_statement(&mut self, input: ExpressionStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Expression(ExpressionStatement { - expression: self.reconstruct_expression(input.expression).0, - span: input.span, - }), - Default::default(), - ) - } - - // TODO: Reconstructor should visit this. - fn reconstruct_increment(&mut self, input: IncrementStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Increment(IncrementStatement { - mapping: input.mapping, - index: input.index, - amount: input.amount, - span: input.span, - }), - Default::default(), - ) - } - - fn reconstruct_iteration(&mut self, input: IterationStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Iteration(Box::new(IterationStatement { - variable: input.variable, - type_: input.type_, - start: self.reconstruct_expression(input.start).0, - start_value: input.start_value, - stop: self.reconstruct_expression(input.stop).0, - stop_value: input.stop_value, - block: self.reconstruct_block(input.block).0, - inclusive: input.inclusive, - span: input.span, - })), - Default::default(), - ) - } - - fn reconstruct_return(&mut self, input: ReturnStatement) -> (Statement, Self::AdditionalOutput) { - ( - Statement::Return(ReturnStatement { - expression: self.reconstruct_expression(input.expression).0, - finalize_arguments: input.finalize_arguments.map(|arguments| { - arguments - .into_iter() - .map(|argument| self.reconstruct_expression(argument).0) - .collect() - }), - span: input.span, - }), - Default::default(), - ) - } -} - -/// A Reconstructor trait for the program represented by the AST. -pub trait ProgramReconstructor: StatementReconstructor { - fn reconstruct_program(&mut self, input: Program) -> Program { - Program { - imports: input - .imports - .into_iter() - .map(|(id, import)| (id, (self.reconstruct_import(import.0), import.1))) - .collect(), - program_scopes: input - .program_scopes - .into_iter() - .map(|(id, scope)| (id, self.reconstruct_program_scope(scope))) - .collect(), - } - } - - fn reconstruct_program_scope(&mut self, input: ProgramScope) -> ProgramScope { - ProgramScope { - program_id: input.program_id, - structs: input - .structs - .into_iter() - .map(|(i, c)| (i, self.reconstruct_struct(c))) - .collect(), - mappings: input - .mappings - .into_iter() - .map(|(id, mapping)| (id, self.reconstruct_mapping(mapping))) - .collect(), - functions: input - .functions - .into_iter() - .map(|(i, f)| (i, self.reconstruct_function(f))) - .collect(), - span: input.span, - } - } - - fn reconstruct_function(&mut self, input: Function) -> Function { - Function { - annotations: input.annotations, - variant: input.variant, - identifier: input.identifier, - input: input.input, - output: input.output, - output_type: input.output_type, - block: self.reconstruct_block(input.block).0, - finalize: input.finalize.map(|finalize| Finalize { - identifier: finalize.identifier, - input: finalize.input, - output: finalize.output, - output_type: finalize.output_type, - block: self.reconstruct_block(finalize.block).0, - span: finalize.span, - }), - span: input.span, - } - } - - fn reconstruct_struct(&mut self, input: Struct) -> Struct { - input - } - - fn reconstruct_import(&mut self, input: Program) -> Program { - self.reconstruct_program(input) - } - - fn reconstruct_mapping(&mut self, input: Mapping) -> Mapping { - input - } -} diff --git a/compiler/ast/src/passes/reconstructor/expression.rs b/compiler/ast/src/passes/reconstructor/expression.rs new file mode 100644 index 0000000000..556b68107b --- /dev/null +++ b/compiler/ast/src/passes/reconstructor/expression.rs @@ -0,0 +1,154 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Reconstructor trait for expressions in the AST. +pub trait ExpressionReconstructor { + type AdditionalOutput: Default; + + fn reconstruct_expression(&mut self, input: Expression) -> (Expression, Self::AdditionalOutput) { + match input { + Expression::Access(access) => self.reconstruct_access(access), + Expression::Binary(binary) => self.reconstruct_binary(binary), + Expression::Call(call) => self.reconstruct_call(call), + Expression::Struct(struct_) => self.reconstruct_struct_init(struct_), + Expression::Err(err) => self.reconstruct_err(err), + Expression::Identifier(identifier) => self.reconstruct_identifier(identifier), + Expression::Literal(value) => self.reconstruct_literal(value), + Expression::Ternary(ternary) => self.reconstruct_ternary(ternary), + Expression::Tuple(tuple) => self.reconstruct_tuple(tuple), + Expression::Unary(unary) => self.reconstruct_unary(unary), + Expression::Unit(unit) => self.reconstruct_unit(unit), + } + } + + fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Access(match input { + AccessExpression::AssociatedFunction(function) => { + AccessExpression::AssociatedFunction(AssociatedFunction { + ty: function.ty, + name: function.name, + args: function + .args + .into_iter() + .map(|arg| self.reconstruct_expression(arg).0) + .collect(), + span: function.span, + }) + } + AccessExpression::Member(member) => AccessExpression::Member(MemberAccess { + inner: Box::new(self.reconstruct_expression(*member.inner).0), + name: member.name, + span: member.span, + }), + AccessExpression::Tuple(tuple) => AccessExpression::Tuple(TupleAccess { + tuple: Box::new(self.reconstruct_expression(*tuple.tuple).0), + index: tuple.index, + span: tuple.span, + }), + expr => expr, + }), + Default::default(), + ) + } + + fn reconstruct_binary(&mut self, input: BinaryExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Binary(BinaryExpression { + left: Box::new(self.reconstruct_expression(*input.left).0), + right: Box::new(self.reconstruct_expression(*input.right).0), + op: input.op, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_call(&mut self, input: CallExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Call(CallExpression { + function: Box::new(self.reconstruct_expression(*input.function).0), + arguments: input + .arguments + .into_iter() + .map(|arg| self.reconstruct_expression(arg).0) + .collect(), + external: input.external, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_struct_init(&mut self, input: StructExpression) -> (Expression, Self::AdditionalOutput) { + (Expression::Struct(input), Default::default()) + } + + fn reconstruct_err(&mut self, _input: ErrExpression) -> (Expression, Self::AdditionalOutput) { + unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") + } + + fn reconstruct_identifier(&mut self, input: Identifier) -> (Expression, Self::AdditionalOutput) { + (Expression::Identifier(input), Default::default()) + } + + fn reconstruct_literal(&mut self, input: Literal) -> (Expression, Self::AdditionalOutput) { + (Expression::Literal(input), Default::default()) + } + + fn reconstruct_ternary(&mut self, input: TernaryExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Ternary(TernaryExpression { + condition: Box::new(self.reconstruct_expression(*input.condition).0), + if_true: Box::new(self.reconstruct_expression(*input.if_true).0), + if_false: Box::new(self.reconstruct_expression(*input.if_false).0), + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_tuple(&mut self, input: TupleExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Tuple(TupleExpression { + elements: input + .elements + .into_iter() + .map(|element| self.reconstruct_expression(element).0) + .collect(), + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_unary(&mut self, input: UnaryExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Unary(UnaryExpression { + receiver: Box::new(self.reconstruct_expression(*input.receiver).0), + op: input.op, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_unit(&mut self, input: UnitExpression) -> (Expression, Self::AdditionalOutput) { + (Expression::Unit(input), Default::default()) + } +} diff --git a/compiler/ast/src/passes/reconstructor/instruction.rs b/compiler/ast/src/passes/reconstructor/instruction.rs new file mode 100644 index 0000000000..e4516da6c0 --- /dev/null +++ b/compiler/ast/src/passes/reconstructor/instruction.rs @@ -0,0 +1,36 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Reconstructor trait for instructions in the AST. +pub trait InstructionReconstructor: ExpressionReconstructor { + fn reconstruct_instruction(&mut self, input: Instruction) -> (Instruction, Self::AdditionalOutput) { + ( + Instruction { + opcode: input.opcode, + operands: input + .operands + .into_iter() + .map(|expr| self.reconstruct_expression(expr).0) + .collect(), + destinations: input.destinations, + span: Default::default(), + }, + Default::default(), + ) + } +} diff --git a/compiler/ast/src/passes/reconstructor/mod.rs b/compiler/ast/src/passes/reconstructor/mod.rs new file mode 100644 index 0000000000..c8b4948b7e --- /dev/null +++ b/compiler/ast/src/passes/reconstructor/mod.rs @@ -0,0 +1,31 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +//! This module contains a Reconstructor trait for the AST. +//! It implements default methods for each node to be made +//! given the information of the old node. + +pub mod expression; +pub use expression::*; + +pub mod instruction; +pub use instruction::*; + +pub mod program; +pub use program::*; + +pub mod statement; +pub use statement::*; diff --git a/compiler/ast/src/passes/reconstructor/program.rs b/compiler/ast/src/passes/reconstructor/program.rs new file mode 100644 index 0000000000..988365888e --- /dev/null +++ b/compiler/ast/src/passes/reconstructor/program.rs @@ -0,0 +1,90 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Reconstructor trait for the program represented by the AST. +pub trait ProgramReconstructor: StatementReconstructor { + fn reconstruct_program(&mut self, input: Program) -> Program { + Program { + imports: input + .imports + .into_iter() + .map(|(id, import)| (id, (self.reconstruct_import(import.0), import.1))) + .collect(), + program_scopes: input + .program_scopes + .into_iter() + .map(|(id, scope)| (id, self.reconstruct_program_scope(scope))) + .collect(), + } + } + + fn reconstruct_program_scope(&mut self, input: ProgramScope) -> ProgramScope { + ProgramScope { + program_id: input.program_id, + structs: input + .structs + .into_iter() + .map(|(i, c)| (i, self.reconstruct_struct(c))) + .collect(), + mappings: input + .mappings + .into_iter() + .map(|(id, mapping)| (id, self.reconstruct_mapping(mapping))) + .collect(), + functions: input + .functions + .into_iter() + .map(|(i, f)| (i, self.reconstruct_function(f))) + .collect(), + span: input.span, + } + } + + fn reconstruct_function(&mut self, input: Function) -> Function { + Function { + annotations: input.annotations, + variant: input.variant, + identifier: input.identifier, + input: input.input, + output: input.output, + output_type: input.output_type, + block: self.reconstruct_block(input.block).0, + finalize: input.finalize.map(|finalize| Finalize { + identifier: finalize.identifier, + input: finalize.input, + output: finalize.output, + output_type: finalize.output_type, + block: self.reconstruct_block(finalize.block).0, + span: finalize.span, + }), + span: input.span, + } + } + + fn reconstruct_struct(&mut self, input: Struct) -> Struct { + input + } + + fn reconstruct_import(&mut self, input: Program) -> Program { + self.reconstruct_program(input) + } + + fn reconstruct_mapping(&mut self, input: Mapping) -> Mapping { + input + } +} diff --git a/compiler/ast/src/passes/reconstructor/statement.rs b/compiler/ast/src/passes/reconstructor/statement.rs new file mode 100644 index 0000000000..bae5d40507 --- /dev/null +++ b/compiler/ast/src/passes/reconstructor/statement.rs @@ -0,0 +1,211 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Reconstructor trait for statements in the AST. +pub trait StatementReconstructor: ExpressionReconstructor + InstructionReconstructor { + fn reconstruct_statement(&mut self, input: Statement) -> (Statement, Self::AdditionalOutput) { + match input { + Statement::AssemblyBlock(stmt) => self.reconstruct_assembly_block(stmt), + Statement::Assert(stmt) => self.reconstruct_assert(stmt), + Statement::Assign(stmt) => self.reconstruct_assign(*stmt), + Statement::Block(stmt) => { + let (stmt, output) = self.reconstruct_block(stmt); + (Statement::Block(stmt), output) + } + Statement::Conditional(stmt) => self.reconstruct_conditional(stmt), + Statement::Console(stmt) => self.reconstruct_console(stmt), + Statement::Decrement(stmt) => self.reconstruct_decrement(stmt), + Statement::Definition(stmt) => self.reconstruct_definition(stmt), + Statement::Expression(stmt) => self.reconstruct_expression_statement(stmt), + Statement::Increment(stmt) => self.reconstruct_increment(stmt), + Statement::Iteration(stmt) => self.reconstruct_iteration(*stmt), + Statement::Return(stmt) => self.reconstruct_return(stmt), + } + } + + fn reconstruct_assembly_block(&mut self, input: AssemblyBlock) -> (Statement, Self::AdditionalOutput) { + ( + Statement::AssemblyBlock(AssemblyBlock { + instructions: input + .instructions + .into_iter() + .map(|inst| self.reconstruct_instruction(inst).0) + .collect(), + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_assert(&mut self, input: AssertStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Assert(AssertStatement { + variant: match input.variant { + AssertVariant::Assert(expr) => AssertVariant::Assert(self.reconstruct_expression(expr).0), + AssertVariant::AssertEq(left, right) => AssertVariant::AssertEq( + self.reconstruct_expression(left).0, + self.reconstruct_expression(right).0, + ), + AssertVariant::AssertNeq(left, right) => AssertVariant::AssertNeq( + self.reconstruct_expression(left).0, + self.reconstruct_expression(right).0, + ), + }, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_assign(&mut self, input: AssignStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Assign(Box::new(AssignStatement { + place: input.place, + value: self.reconstruct_expression(input.value).0, + span: input.span, + })), + Default::default(), + ) + } + + fn reconstruct_block(&mut self, input: Block) -> (Block, Self::AdditionalOutput) { + ( + Block { + statements: input + .statements + .into_iter() + .map(|s| self.reconstruct_statement(s).0) + .collect(), + span: input.span, + }, + Default::default(), + ) + } + + fn reconstruct_conditional(&mut self, input: ConditionalStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Conditional(ConditionalStatement { + condition: self.reconstruct_expression(input.condition).0, + then: self.reconstruct_block(input.then).0, + otherwise: input.otherwise.map(|n| Box::new(self.reconstruct_statement(*n).0)), + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_console(&mut self, input: ConsoleStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Console(ConsoleStatement { + function: match input.function { + ConsoleFunction::Assert(expr) => ConsoleFunction::Assert(self.reconstruct_expression(expr).0), + ConsoleFunction::AssertEq(left, right) => ConsoleFunction::AssertEq( + self.reconstruct_expression(left).0, + self.reconstruct_expression(right).0, + ), + ConsoleFunction::AssertNeq(left, right) => ConsoleFunction::AssertNeq( + self.reconstruct_expression(left).0, + self.reconstruct_expression(right).0, + ), + }, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_decrement(&mut self, input: DecrementStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Decrement(DecrementStatement { + mapping: input.mapping, + index: input.index, + amount: input.amount, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_definition(&mut self, input: DefinitionStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Definition(DefinitionStatement { + declaration_type: input.declaration_type, + place: input.place, + type_: input.type_, + value: self.reconstruct_expression(input.value).0, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_expression_statement(&mut self, input: ExpressionStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Expression(ExpressionStatement { + expression: self.reconstruct_expression(input.expression).0, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_increment(&mut self, input: IncrementStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Increment(IncrementStatement { + mapping: input.mapping, + index: input.index, + amount: input.amount, + span: input.span, + }), + Default::default(), + ) + } + + fn reconstruct_iteration(&mut self, input: IterationStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Iteration(Box::new(IterationStatement { + variable: input.variable, + type_: input.type_, + start: self.reconstruct_expression(input.start).0, + start_value: input.start_value, + stop: self.reconstruct_expression(input.stop).0, + stop_value: input.stop_value, + block: self.reconstruct_block(input.block).0, + inclusive: input.inclusive, + span: input.span, + })), + Default::default(), + ) + } + + fn reconstruct_return(&mut self, input: ReturnStatement) -> (Statement, Self::AdditionalOutput) { + ( + Statement::Return(ReturnStatement { + expression: self.reconstruct_expression(input.expression).0, + finalize_arguments: input.finalize_arguments.map(|arguments| { + arguments + .into_iter() + .map(|argument| self.reconstruct_expression(argument).0) + .collect() + }), + span: input.span, + }), + Default::default(), + ) + } +} diff --git a/compiler/ast/src/passes/visitor.rs b/compiler/ast/src/passes/visitor.rs deleted file mode 100644 index 06cc2c0c47..0000000000 --- a/compiler/ast/src/passes/visitor.rs +++ /dev/null @@ -1,248 +0,0 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -//! This module contains Visitor trait implementations for the AST. -//! It implements default methods for each node to be made -//! given the type of node its visiting. - -use crate::*; - -/// A Visitor trait for expressions in the AST. -pub trait ExpressionVisitor<'a> { - type AdditionalInput: Default; - type Output: Default; - - fn visit_expression(&mut self, input: &'a Expression, additional: &Self::AdditionalInput) -> Self::Output { - match input { - Expression::Access(access) => self.visit_access(access, additional), - Expression::Binary(binary) => self.visit_binary(binary, additional), - Expression::Call(call) => self.visit_call(call, additional), - Expression::Struct(struct_) => self.visit_struct_init(struct_, additional), - Expression::Err(err) => self.visit_err(err, additional), - Expression::Identifier(identifier) => self.visit_identifier(identifier, additional), - Expression::Literal(literal) => self.visit_literal(literal, additional), - Expression::Ternary(ternary) => self.visit_ternary(ternary, additional), - Expression::Tuple(tuple) => self.visit_tuple(tuple, additional), - Expression::Unary(unary) => self.visit_unary(unary, additional), - Expression::Unit(unit) => self.visit_unit(unit, additional), - } - } - - fn visit_access(&mut self, input: &'a AccessExpression, additional: &Self::AdditionalInput) -> Self::Output { - match input { - AccessExpression::AssociatedFunction(function) => { - function.args.iter().for_each(|arg| { - self.visit_expression(arg, &Default::default()); - }); - } - AccessExpression::Member(member) => { - self.visit_expression(&member.inner, additional); - } - AccessExpression::Tuple(tuple) => { - self.visit_expression(&tuple.tuple, additional); - } - _ => {} - } - - Default::default() - } - - fn visit_binary(&mut self, input: &'a BinaryExpression, additional: &Self::AdditionalInput) -> Self::Output { - self.visit_expression(&input.left, additional); - self.visit_expression(&input.right, additional); - Default::default() - } - - fn visit_call(&mut self, input: &'a CallExpression, additional: &Self::AdditionalInput) -> Self::Output { - input.arguments.iter().for_each(|expr| { - self.visit_expression(expr, additional); - }); - Default::default() - } - - fn visit_struct_init(&mut self, _input: &'a StructExpression, _additional: &Self::AdditionalInput) -> Self::Output { - Default::default() - } - - fn visit_err(&mut self, _input: &'a ErrExpression, _additional: &Self::AdditionalInput) -> Self::Output { - unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") - } - - fn visit_identifier(&mut self, _input: &'a Identifier, _additional: &Self::AdditionalInput) -> Self::Output { - Default::default() - } - - fn visit_literal(&mut self, _input: &'a Literal, _additional: &Self::AdditionalInput) -> Self::Output { - Default::default() - } - - fn visit_ternary(&mut self, input: &'a TernaryExpression, additional: &Self::AdditionalInput) -> Self::Output { - self.visit_expression(&input.condition, additional); - self.visit_expression(&input.if_true, additional); - self.visit_expression(&input.if_false, additional); - Default::default() - } - - fn visit_tuple(&mut self, input: &'a TupleExpression, additional: &Self::AdditionalInput) -> Self::Output { - input.elements.iter().for_each(|expr| { - self.visit_expression(expr, additional); - }); - Default::default() - } - - fn visit_unary(&mut self, input: &'a UnaryExpression, additional: &Self::AdditionalInput) -> Self::Output { - self.visit_expression(&input.receiver, additional); - Default::default() - } - - fn visit_unit(&mut self, _input: &'a UnitExpression, _additional: &Self::AdditionalInput) -> Self::Output { - Default::default() - } -} - -/// A Visitor trait for statements in the AST. -pub trait StatementVisitor<'a>: ExpressionVisitor<'a> { - fn visit_statement(&mut self, input: &'a Statement) { - match input { - Statement::Assert(stmt) => self.visit_assert(stmt), - Statement::Assign(stmt) => self.visit_assign(stmt), - Statement::Block(stmt) => self.visit_block(stmt), - Statement::Conditional(stmt) => self.visit_conditional(stmt), - Statement::Console(stmt) => self.visit_console(stmt), - Statement::Decrement(stmt) => self.visit_decrement(stmt), - Statement::Definition(stmt) => self.visit_definition(stmt), - Statement::Expression(stmt) => self.visit_expression_statement(stmt), - Statement::Increment(stmt) => self.visit_increment(stmt), - Statement::Iteration(stmt) => self.visit_iteration(stmt), - Statement::Return(stmt) => self.visit_return(stmt), - } - } - - fn visit_assert(&mut self, input: &'a AssertStatement) { - match &input.variant { - AssertVariant::Assert(expr) => self.visit_expression(expr, &Default::default()), - AssertVariant::AssertEq(left, right) | AssertVariant::AssertNeq(left, right) => { - self.visit_expression(left, &Default::default()); - self.visit_expression(right, &Default::default()) - } - }; - } - - fn visit_assign(&mut self, input: &'a AssignStatement) { - self.visit_expression(&input.value, &Default::default()); - } - - fn visit_block(&mut self, input: &'a Block) { - input.statements.iter().for_each(|stmt| self.visit_statement(stmt)); - } - - fn visit_conditional(&mut self, input: &'a ConditionalStatement) { - self.visit_expression(&input.condition, &Default::default()); - self.visit_block(&input.then); - if let Some(stmt) = input.otherwise.as_ref() { - self.visit_statement(stmt); - } - } - - fn visit_console(&mut self, input: &'a ConsoleStatement) { - match &input.function { - ConsoleFunction::Assert(expr) => { - self.visit_expression(expr, &Default::default()); - } - ConsoleFunction::AssertEq(left, right) => { - self.visit_expression(left, &Default::default()); - self.visit_expression(right, &Default::default()); - } - ConsoleFunction::AssertNeq(left, right) => { - self.visit_expression(left, &Default::default()); - self.visit_expression(right, &Default::default()); - } - }; - } - - fn visit_decrement(&mut self, input: &'a DecrementStatement) { - self.visit_expression(&input.amount, &Default::default()); - self.visit_expression(&input.index, &Default::default()); - self.visit_identifier(&input.mapping, &Default::default()); - } - - fn visit_definition(&mut self, input: &'a DefinitionStatement) { - self.visit_expression(&input.value, &Default::default()); - } - - fn visit_expression_statement(&mut self, input: &'a ExpressionStatement) { - self.visit_expression(&input.expression, &Default::default()); - } - - fn visit_increment(&mut self, input: &'a IncrementStatement) { - self.visit_expression(&input.amount, &Default::default()); - self.visit_expression(&input.index, &Default::default()); - self.visit_identifier(&input.mapping, &Default::default()); - } - - fn visit_iteration(&mut self, input: &'a IterationStatement) { - self.visit_expression(&input.start, &Default::default()); - self.visit_expression(&input.stop, &Default::default()); - self.visit_block(&input.block); - } - - fn visit_return(&mut self, input: &'a ReturnStatement) { - self.visit_expression(&input.expression, &Default::default()); - if let Some(arguments) = &input.finalize_arguments { - arguments.iter().for_each(|argument| { - self.visit_expression(argument, &Default::default()); - }) - } - } -} - -/// A Visitor trait for the program represented by the AST. -pub trait ProgramVisitor<'a>: StatementVisitor<'a> { - fn visit_program(&mut self, input: &'a Program) { - input.imports.values().for_each(|import| self.visit_import(&import.0)); - - input - .program_scopes - .values() - .for_each(|scope| self.visit_program_scope(scope)); - } - - fn visit_program_scope(&mut self, input: &'a ProgramScope) { - input.structs.values().for_each(|function| self.visit_struct(function)); - - input.mappings.values().for_each(|mapping| self.visit_mapping(mapping)); - - input - .functions - .values() - .for_each(|function| self.visit_function(function)); - } - - fn visit_import(&mut self, input: &'a Program) { - self.visit_program(input) - } - - fn visit_struct(&mut self, _input: &'a Struct) {} - - fn visit_mapping(&mut self, _input: &'a Mapping) {} - - fn visit_function(&mut self, input: &'a Function) { - self.visit_block(&input.block); - if let Some(finalize) = &input.finalize { - self.visit_block(&finalize.block); - } - } -} diff --git a/compiler/ast/src/passes/visitor/expression.rs b/compiler/ast/src/passes/visitor/expression.rs new file mode 100644 index 0000000000..9e02a0bef0 --- /dev/null +++ b/compiler/ast/src/passes/visitor/expression.rs @@ -0,0 +1,114 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +//! This module contains Visitor trait implementations for the AST. +//! It implements default methods for each node to be made +//! given the type of node its visiting. + +use crate::*; + +/// A Visitor trait for expressions in the AST. +pub trait ExpressionVisitor<'a> { + type AdditionalInput: Default; + type Output: Default; + + fn visit_expression(&mut self, input: &'a Expression, additional: &Self::AdditionalInput) -> Self::Output { + match input { + Expression::Access(access) => self.visit_access(access, additional), + Expression::Binary(binary) => self.visit_binary(binary, additional), + Expression::Call(call) => self.visit_call(call, additional), + Expression::Struct(struct_) => self.visit_struct_init(struct_, additional), + Expression::Err(err) => self.visit_err(err, additional), + Expression::Identifier(identifier) => self.visit_identifier(identifier, additional), + Expression::Literal(literal) => self.visit_literal(literal, additional), + Expression::Ternary(ternary) => self.visit_ternary(ternary, additional), + Expression::Tuple(tuple) => self.visit_tuple(tuple, additional), + Expression::Unary(unary) => self.visit_unary(unary, additional), + Expression::Unit(unit) => self.visit_unit(unit, additional), + } + } + + fn visit_access(&mut self, input: &'a AccessExpression, additional: &Self::AdditionalInput) -> Self::Output { + match input { + AccessExpression::AssociatedFunction(function) => { + function.args.iter().for_each(|arg| { + self.visit_expression(arg, &Default::default()); + }); + } + AccessExpression::Member(member) => { + self.visit_expression(&member.inner, additional); + } + AccessExpression::Tuple(tuple) => { + self.visit_expression(&tuple.tuple, additional); + } + _ => {} + } + + Default::default() + } + + fn visit_binary(&mut self, input: &'a BinaryExpression, additional: &Self::AdditionalInput) -> Self::Output { + self.visit_expression(&input.left, additional); + self.visit_expression(&input.right, additional); + Default::default() + } + + fn visit_call(&mut self, input: &'a CallExpression, additional: &Self::AdditionalInput) -> Self::Output { + input.arguments.iter().for_each(|expr| { + self.visit_expression(expr, additional); + }); + Default::default() + } + + fn visit_struct_init(&mut self, _input: &'a StructExpression, _additional: &Self::AdditionalInput) -> Self::Output { + Default::default() + } + + fn visit_err(&mut self, _input: &'a ErrExpression, _additional: &Self::AdditionalInput) -> Self::Output { + unreachable!("`ErrExpression`s should not be in the AST at this phase of compilation.") + } + + fn visit_identifier(&mut self, _input: &'a Identifier, _additional: &Self::AdditionalInput) -> Self::Output { + Default::default() + } + + fn visit_literal(&mut self, _input: &'a Literal, _additional: &Self::AdditionalInput) -> Self::Output { + Default::default() + } + + fn visit_ternary(&mut self, input: &'a TernaryExpression, additional: &Self::AdditionalInput) -> Self::Output { + self.visit_expression(&input.condition, additional); + self.visit_expression(&input.if_true, additional); + self.visit_expression(&input.if_false, additional); + Default::default() + } + + fn visit_tuple(&mut self, input: &'a TupleExpression, additional: &Self::AdditionalInput) -> Self::Output { + input.elements.iter().for_each(|expr| { + self.visit_expression(expr, additional); + }); + Default::default() + } + + fn visit_unary(&mut self, input: &'a UnaryExpression, additional: &Self::AdditionalInput) -> Self::Output { + self.visit_expression(&input.receiver, additional); + Default::default() + } + + fn visit_unit(&mut self, _input: &'a UnitExpression, _additional: &Self::AdditionalInput) -> Self::Output { + Default::default() + } +} diff --git a/compiler/ast/src/passes/visitor/instruction.rs b/compiler/ast/src/passes/visitor/instruction.rs new file mode 100644 index 0000000000..c9e477449c --- /dev/null +++ b/compiler/ast/src/passes/visitor/instruction.rs @@ -0,0 +1,26 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Visitor trait for statements in the AST. +pub trait InstructionVisitor<'a>: ExpressionVisitor<'a> { + fn visit_instruction(&mut self, instruction: &'a Instruction) { + instruction.operands.iter().for_each(|expr| { + self.visit_expression(expr, &Default::default()); + }); + } +} diff --git a/compiler/ast/src/passes/visitor/mod.rs b/compiler/ast/src/passes/visitor/mod.rs new file mode 100644 index 0000000000..d8aefe2ddb --- /dev/null +++ b/compiler/ast/src/passes/visitor/mod.rs @@ -0,0 +1,31 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +//! This module contains Visitor trait implementations for the AST. +//! It implements default methods for each node to be made +//! given the type of node its visiting. + +pub mod expression; +pub use expression::*; + +pub mod instruction; +pub use instruction::*; + +pub mod program; +pub use program::*; + +pub mod statement; +pub use statement::*; diff --git a/compiler/ast/src/passes/visitor/program.rs b/compiler/ast/src/passes/visitor/program.rs new file mode 100644 index 0000000000..0a8a43eecd --- /dev/null +++ b/compiler/ast/src/passes/visitor/program.rs @@ -0,0 +1,55 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Visitor trait for the program represented by the AST. +pub trait ProgramVisitor<'a>: StatementVisitor<'a> { + fn visit_program(&mut self, input: &'a Program) { + input.imports.values().for_each(|import| self.visit_import(&import.0)); + + input + .program_scopes + .values() + .for_each(|scope| self.visit_program_scope(scope)); + } + + fn visit_program_scope(&mut self, input: &'a ProgramScope) { + input.structs.values().for_each(|function| self.visit_struct(function)); + + input.mappings.values().for_each(|mapping| self.visit_mapping(mapping)); + + input + .functions + .values() + .for_each(|function| self.visit_function(function)); + } + + fn visit_import(&mut self, input: &'a Program) { + self.visit_program(input) + } + + fn visit_struct(&mut self, _input: &'a Struct) {} + + fn visit_mapping(&mut self, _input: &'a Mapping) {} + + fn visit_function(&mut self, input: &'a Function) { + self.visit_block(&input.block); + if let Some(finalize) = &input.finalize { + self.visit_block(&finalize.block); + } + } +} diff --git a/compiler/ast/src/passes/visitor/statement.rs b/compiler/ast/src/passes/visitor/statement.rs new file mode 100644 index 0000000000..a7a4b05273 --- /dev/null +++ b/compiler/ast/src/passes/visitor/statement.rs @@ -0,0 +1,118 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::*; + +/// A Visitor trait for statements in the AST. +pub trait StatementVisitor<'a>: ExpressionVisitor<'a> + InstructionVisitor<'a> { + fn visit_statement(&mut self, input: &'a Statement) { + match input { + Statement::AssemblyBlock(stmt) => self.visit_assembly_block(stmt), + Statement::Assert(stmt) => self.visit_assert(stmt), + Statement::Assign(stmt) => self.visit_assign(stmt), + Statement::Block(stmt) => self.visit_block(stmt), + Statement::Conditional(stmt) => self.visit_conditional(stmt), + Statement::Console(stmt) => self.visit_console(stmt), + Statement::Decrement(stmt) => self.visit_decrement(stmt), + Statement::Definition(stmt) => self.visit_definition(stmt), + Statement::Expression(stmt) => self.visit_expression_statement(stmt), + Statement::Increment(stmt) => self.visit_increment(stmt), + Statement::Iteration(stmt) => self.visit_iteration(stmt), + Statement::Return(stmt) => self.visit_return(stmt), + } + } + + fn visit_assembly_block(&mut self, input: &'a AssemblyBlock) { + input.instructions.iter().for_each(|inst| self.visit_instruction(inst)); + } + + fn visit_assert(&mut self, input: &'a AssertStatement) { + match &input.variant { + AssertVariant::Assert(expr) => self.visit_expression(expr, &Default::default()), + AssertVariant::AssertEq(left, right) | AssertVariant::AssertNeq(left, right) => { + self.visit_expression(left, &Default::default()); + self.visit_expression(right, &Default::default()) + } + }; + } + + fn visit_assign(&mut self, input: &'a AssignStatement) { + self.visit_expression(&input.value, &Default::default()); + } + + fn visit_block(&mut self, input: &'a Block) { + input.statements.iter().for_each(|stmt| self.visit_statement(stmt)); + } + + fn visit_conditional(&mut self, input: &'a ConditionalStatement) { + self.visit_expression(&input.condition, &Default::default()); + self.visit_block(&input.then); + if let Some(stmt) = input.otherwise.as_ref() { + self.visit_statement(stmt); + } + } + + fn visit_console(&mut self, input: &'a ConsoleStatement) { + match &input.function { + ConsoleFunction::Assert(expr) => { + self.visit_expression(expr, &Default::default()); + } + ConsoleFunction::AssertEq(left, right) => { + self.visit_expression(left, &Default::default()); + self.visit_expression(right, &Default::default()); + } + ConsoleFunction::AssertNeq(left, right) => { + self.visit_expression(left, &Default::default()); + self.visit_expression(right, &Default::default()); + } + }; + } + + fn visit_decrement(&mut self, input: &'a DecrementStatement) { + self.visit_expression(&input.amount, &Default::default()); + self.visit_expression(&input.index, &Default::default()); + self.visit_identifier(&input.mapping, &Default::default()); + } + + fn visit_definition(&mut self, input: &'a DefinitionStatement) { + self.visit_expression(&input.value, &Default::default()); + } + + fn visit_expression_statement(&mut self, input: &'a ExpressionStatement) { + self.visit_expression(&input.expression, &Default::default()); + } + + fn visit_increment(&mut self, input: &'a IncrementStatement) { + self.visit_expression(&input.amount, &Default::default()); + self.visit_expression(&input.index, &Default::default()); + self.visit_identifier(&input.mapping, &Default::default()); + } + + fn visit_iteration(&mut self, input: &'a IterationStatement) { + self.visit_expression(&input.start, &Default::default()); + self.visit_expression(&input.stop, &Default::default()); + self.visit_block(&input.block); + } + + fn visit_return(&mut self, input: &'a ReturnStatement) { + self.visit_expression(&input.expression, &Default::default()); + if let Some(arguments) = &input.finalize_arguments { + arguments.iter().for_each(|argument| { + self.visit_expression(argument, &Default::default()); + }) + } + } +} diff --git a/compiler/ast/src/program/program_id.rs b/compiler/ast/src/program/program_id.rs index 100d510e46..b7df5199b5 100644 --- a/compiler/ast/src/program/program_id.rs +++ b/compiler/ast/src/program/program_id.rs @@ -14,7 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::Identifier; +use crate::{Identifier, Node}; + +use leo_span::Span; use core::fmt; use serde::de::Visitor; @@ -28,6 +30,8 @@ pub struct ProgramId { pub name: Identifier, /// The network associated with the program. pub network: Identifier, + /// The span of the program identifier. + pub span: Span, } impl fmt::Display for ProgramId { @@ -45,8 +49,9 @@ impl Serialize for ProgramId { // Load the struct elements into a BTreeMap (to preserve serialized ordering of keys). let mut key: BTreeMap = BTreeMap::new(); - key.insert("name".to_string(), self.name.to_string()); + key.insert("name".to_string(), to_json_string(&self.name)?); key.insert("network".to_string(), to_json_string(&self.network)?); + key.insert("span".to_string(), to_json_string(&self.span)?); // Convert the serialized object into a string for use as a key. serializer.serialize_str(&to_json_string(&key)?) @@ -67,29 +72,36 @@ impl<'de> Deserialize<'de> for ProgramId { /// Implementation for recovering a string that serializes Identifier. fn visit_str(self, value: &str) -> Result { // Converts a serialized string into an element that implements Deserialize. - fn to_json_string<'a, D: Deserialize<'a>, Error: serde::de::Error>( + fn from_json_string<'a, D: Deserialize<'a>, Error: serde::de::Error>( serialized: &'a str, ) -> Result { serde_json::from_str::<'a>(serialized).map_err(|e| Error::custom(e.to_string())) } // Convert the serialized string into a BTreeMap to recover ProgramId. - let key: BTreeMap = to_json_string(value)?; + let key: BTreeMap = from_json_string(value)?; let name: Identifier = match key.get("name") { - Some(name) => to_json_string(name)?, + Some(name) => from_json_string(name)?, None => return Err(E::custom("missing 'name' in serialized ProgramId struct")), }; let network: Identifier = match key.get("network") { - Some(network) => to_json_string(network)?, + Some(network) => from_json_string(network)?, None => return Err(E::custom("missing 'network' in serialized ProgramId struct")), }; - Ok(ProgramId { name, network }) + let span: Span = match key.get("span") { + Some(span) => from_json_string(span)?, + None => return Err(E::custom("missing 'span' in serialized ProgramId struct")), + }; + + Ok(ProgramId { name, network, span }) } } deserializer.deserialize_str(ProgramIdVisitor) } } + +crate::simple_node_impl!(ProgramId); diff --git a/compiler/ast/src/statement/assembly/instruction.rs b/compiler/ast/src/statement/assembly/instruction.rs new file mode 100644 index 0000000000..3aece0443b --- /dev/null +++ b/compiler/ast/src/statement/assembly/instruction.rs @@ -0,0 +1,47 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::{Expression, Identifier, Node, Opcode}; + +use core::fmt; +use itertools::Itertools; +use leo_span::Span; +use serde::{Deserialize, Serialize}; +use std::fmt::Formatter; + +/// An AVM instruction, e.g. `add foo bar into baz;`. +/// Note that `call` and `cast` are excluded. +#[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)] +pub struct Instruction { + pub opcode: Opcode, + pub operands: Vec, + pub destinations: Vec, + pub span: Span, +} + +impl fmt::Display for Instruction { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + write!( + f, + "{} {} into {};", + self.opcode, + self.operands.iter().join(" "), + self.destinations.iter().join(" ") + ) + } +} + +crate::simple_node_impl!(Instruction); diff --git a/compiler/ast/src/statement/assembly/mod.rs b/compiler/ast/src/statement/assembly/mod.rs new file mode 100644 index 0000000000..be11c4c723 --- /dev/null +++ b/compiler/ast/src/statement/assembly/mod.rs @@ -0,0 +1,53 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +pub mod instruction; +pub use instruction::*; + +pub mod opcode; +pub use opcode::*; + +use crate::Node; + +use leo_span::Span; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// An assembly block `{ [instruction]* }` consisting of a list of instructions to execute in order. +#[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)] +pub struct AssemblyBlock { + /// The list of instructions to execute. + pub instructions: Vec, + /// The span from `{` to `}`. + pub span: Span, +} + +impl fmt::Display for AssemblyBlock { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + writeln!(f, "asm {{")?; + if self.instructions.is_empty() { + writeln!(f, "\t")?; + } else { + self.instructions + .iter() + .try_for_each(|instruction| writeln!(f, "\t{instruction}"))?; + } + write!(f, "}};") + } +} + +crate::simple_node_impl!(AssemblyBlock); diff --git a/compiler/ast/src/statement/assembly/opcode.rs b/compiler/ast/src/statement/assembly/opcode.rs new file mode 100644 index 0000000000..8d81953e59 --- /dev/null +++ b/compiler/ast/src/statement/assembly/opcode.rs @@ -0,0 +1,195 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use core::fmt; +use serde::{Deserialize, Serialize}; +use std::fmt::Formatter; + +/// An AVM opcode, e.g. `add`, `add.w`. +/// Note that `cast`, `call`, `increment` and `decrement` are excluded. +// The body of `Opcode` must contain the instructions defined in `snarkVM/synthesizer/src/program/instruction/mod.rs`. +#[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)] +pub enum Opcode { + /// Compute the absolute value of `first`, checking for overflow, and storing the outcome in `destination`. + Abs, + /// Compute the absolute value of `first`, wrapping around at the boundary of the type, and storing the outcome in `destination`. + AbsWrapped, + /// Adds `first` with `second`, storing the outcome in `destination`. + Add, + /// Adds `first` with `second`, wrapping around at the boundary of the type, and storing the outcome in `destination`. + AddWrapped, + /// Performs a bitwise `and` operation on `first` and `second`, storing the outcome in `destination`. + And, + /// Asserts `first` and `second` are equal. + AssertEq, + /// Asserts `first` and `second` are **not** equal. + AssertNeq, + /// Performs a BHP commitment on inputs of 256-bit chunks. + CommitBHP256, + /// Performs a BHP commitment on inputs of 512-bit chunks. + CommitBHP512, + /// Performs a BHP commitment on inputs of 768-bit chunks. + CommitBHP768, + /// Performs a BHP commitment on inputs of 1024-bit chunks. + CommitBHP1024, + /// Performs a Pedersen commitment on up to a 64-bit input. + CommitPED64, + /// Performs a Pedersen commitment on up to a 128-bit input. + CommitPED128, + /// Divides `first` by `second`, storing the outcome in `destination`. + Div, + /// Divides `first` by `second`, wrapping around at the boundary of the type, and storing the outcome in `destination`. + DivWrapped, + /// Doubles `first`, storing the outcome in `destination`. + Double, + /// Computes whether `first` is greater than `second` as a boolean, storing the outcome in `destination`. + GreaterThan, + /// Computes whether `first` is greater than or equal to `second` as a boolean, storing the outcome in `destination`. + GreaterThanOrEqual, + /// Performs a BHP hash on inputs of 256-bit chunks. + HashBHP256, + /// Performs a BHP hash on inputs of 512-bit chunks. + HashBHP512, + /// Performs a BHP hash on inputs of 768-bit chunks. + HashBHP768, + /// Performs a BHP hash on inputs of 1024-bit chunks. + HashBHP1024, + /// Performs a Pedersen hash on up to a 64-bit input. + HashPED64, + /// Performs a Pedersen hash on up to a 128-bit input. + HashPED128, + /// Performs a Poseidon hash with an input rate of 2. + HashPSD2, + /// Performs a Poseidon hash with an input rate of 4. + HashPSD4, + /// Performs a Poseidon hash with an input rate of 8. + HashPSD8, + /// Computes the multiplicative inverse of `first`, storing the outcome in `destination`. + Inv, + /// Computes whether `first` equals `second` as a boolean, storing the outcome in `destination`. + IsEq, + /// Computes whether `first` does **not** equals `second` as a boolean, storing the outcome in `destination`. + IsNeq, + /// Computes whether `first` is less than `second` as a boolean, storing the outcome in `destination`. + LessThan, + /// Computes whether `first` is less than or equal to `second` as a boolean, storing the outcome in `destination`. + LessThanOrEqual, + /// Computes `first` mod `second`, storing the outcome in `destination`. + Modulo, + /// Multiplies `first` with `second`, storing the outcome in `destination`. + Mul, + /// Multiplies `first` with `second`, wrapping around at the boundary of the type, and storing the outcome in `destination`. + MulWrapped, + /// Returns `false` if `first` and `second` are true, storing the outcome in `destination`. + Nand, + /// Negates `first`, storing the outcome in `destination`. + Neg, + /// Returns `true` if neither `first` nor `second` is `true`, storing the outcome in `destination`. + Nor, + /// Flips each bit in the representation of `first`, storing the outcome in `destination`. + Not, + /// Performs a bitwise `or` on `first` and `second`, storing the outcome in `destination`. + Or, + /// Raises `first` to the power of `second`, storing the outcome in `destination`. + Pow, + /// Raises `first` to the power of `second`, wrapping around at the boundary of the type, storing the outcome in `destination`. + PowWrapped, + /// Divides `first` by `second`, storing the remainder in `destination`. + Rem, + /// Divides `first` by `second`, wrapping around at the boundary of the type, storing the remainder in `destination`. + RemWrapped, + /// Shifts `first` left by `second` bits, storing the outcome in `destination`. + Shl, + /// Shifts `first` left by `second` bits, continuing past the boundary of the type, storing the outcome in `destination`. + ShlWrapped, + /// Shifts `first` right by `second` bits, storing the outcome in `destination`. + Shr, + /// Shifts `first` right by `second` bits, continuing past the boundary of the type, storing the outcome in `destination`. + ShrWrapped, + /// Squares 'first', storing the outcome in `destination`. + Square, + /// Compute the square root of 'first', storing the outcome in `destination`. + SquareRoot, + /// Computes `first - second`, storing the outcome in `destination`. + Sub, + /// Computes `first - second`, wrapping around at the boundary of the type, and storing the outcome in `destination`. + SubWrapped, + /// Selects `first`, if `condition` is true, otherwise selects `second`, storing the result in `destination`. + Ternary, + /// Performs a bitwise `xor` on `first` and `second`, storing the outcome in `destination`. + Xor, +} + +impl fmt::Display for Opcode { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + match self { + Opcode::Abs => write!(f, "abs"), + Opcode::AbsWrapped => write!(f, "abs.w"), + Opcode::Add => write!(f, "add"), + Opcode::AddWrapped => write!(f, "add.w"), + Opcode::And => write!(f, "and"), + Opcode::AssertEq => write!(f, "assert.eq"), + Opcode::AssertNeq => write!(f, "assert.neq"), + Opcode::CommitBHP256 => write!(f, "commit.bhp256"), + Opcode::CommitBHP512 => write!(f, "commit.bhp512"), + Opcode::CommitBHP768 => write!(f, "commit.bhp768"), + Opcode::CommitBHP1024 => write!(f, "commit.bhp1024"), + Opcode::CommitPED64 => write!(f, "commit.ped64"), + Opcode::CommitPED128 => write!(f, "commit.ped128"), + Opcode::Div => write!(f, "div"), + Opcode::DivWrapped => write!(f, "div.w"), + Opcode::Double => write!(f, "double"), + Opcode::GreaterThan => write!(f, "gt"), + Opcode::GreaterThanOrEqual => write!(f, "gte"), + Opcode::HashBHP256 => write!(f, "hash.bhp256"), + Opcode::HashBHP512 => write!(f, "hash.bhp512"), + Opcode::HashBHP768 => write!(f, "hash.bhp768"), + Opcode::HashBHP1024 => write!(f, "hash.bhp1024"), + Opcode::HashPED64 => write!(f, "hash.ped64"), + Opcode::HashPED128 => write!(f, "hash.ped128"), + Opcode::HashPSD2 => write!(f, "hash.psd2"), + Opcode::HashPSD4 => write!(f, "hash.psd4"), + Opcode::HashPSD8 => write!(f, "hash.psd8"), + Opcode::Inv => write!(f, "inv"), + Opcode::IsEq => write!(f, "eq"), + Opcode::IsNeq => write!(f, "neq"), + Opcode::LessThan => write!(f, "lt"), + Opcode::LessThanOrEqual => write!(f, "lte"), + Opcode::Modulo => write!(f, "mod"), + Opcode::Mul => write!(f, "mul"), + Opcode::MulWrapped => write!(f, "mul.w"), + Opcode::Nand => write!(f, "nand"), + Opcode::Neg => write!(f, "neg"), + Opcode::Nor => write!(f, "nor"), + Opcode::Not => write!(f, "not"), + Opcode::Or => write!(f, "or"), + Opcode::Pow => write!(f, "pow"), + Opcode::PowWrapped => write!(f, "pow.w"), + Opcode::Rem => write!(f, "rem"), + Opcode::RemWrapped => write!(f, "rem.w"), + Opcode::Shl => write!(f, "shl"), + Opcode::ShlWrapped => write!(f, "shl.w"), + Opcode::Shr => write!(f, "shr"), + Opcode::ShrWrapped => write!(f, "shr.w"), + Opcode::Square => write!(f, "square"), + Opcode::SquareRoot => write!(f, "sqrt"), + Opcode::Sub => write!(f, "sub"), + Opcode::SubWrapped => write!(f, "sub.w"), + Opcode::Ternary => write!(f, "ternary"), + Opcode::Xor => write!(f, "xor"), + } + } +} diff --git a/compiler/ast/src/statement/mod.rs b/compiler/ast/src/statement/mod.rs index 40c005448e..2348e74d1c 100644 --- a/compiler/ast/src/statement/mod.rs +++ b/compiler/ast/src/statement/mod.rs @@ -14,6 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . +pub mod assembly; +pub use assembly::*; + pub mod assert; pub use assert::*; @@ -57,6 +60,8 @@ use std::fmt; /// Program statement that defines some action (or expression) to be carried out. #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)] pub enum Statement { + /// An assembly block. + AssemblyBlock(AssemblyBlock), /// An assert statement. Assert(AssertStatement), /// An assignment statement. @@ -94,6 +99,7 @@ impl Statement { impl fmt::Display for Statement { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self { + Statement::AssemblyBlock(x) => x.fmt(f), Statement::Assert(x) => x.fmt(f), Statement::Assign(x) => x.fmt(f), Statement::Block(x) => x.fmt(f), @@ -113,6 +119,7 @@ impl Node for Statement { fn span(&self) -> Span { use Statement::*; match self { + AssemblyBlock(n) => n.span(), Assert(n) => n.span(), Assign(n) => n.span(), Block(n) => n.span(), @@ -130,6 +137,7 @@ impl Node for Statement { fn set_span(&mut self, span: Span) { use Statement::*; match self { + AssemblyBlock(n) => n.set_span(span), Assert(n) => n.set_span(span), Assign(n) => n.set_span(span), Block(n) => n.set_span(span), diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 5d96423c8c..70a3d8ba46 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -118,25 +118,33 @@ impl ParserContext<'_> { Ok((import_name.name, (program_ast.into_repr(), start + end))) } - /// Parsers a program scope `program foo.aleo { ... }`. - fn parse_program_scope(&mut self) -> Result { - // Parse `program` keyword. - let start = self.expect(&Token::Program)?; - + /// Parses a program id `foo.aleo`. + pub(crate) fn parse_program_id(&mut self) -> Result { // Parse the program name. let name = self.expect_identifier()?; - - // Parse the program network. + // Parse `.`. self.expect(&Token::Dot)?; + // Parse the program network. let network = self.expect_identifier()?; - - // Construct the program id. - let program_id = ProgramId { name, network }; - // Check that the program network is valid. if network.name != sym::aleo { return Err(ParserError::invalid_network(network.span).into()); } + // Construct the program id. + Ok(ProgramId { + name, + network, + span: name.span + network.span, + }) + } + + /// Parsers a program scope `program foo.aleo { ... }`. + fn parse_program_scope(&mut self) -> Result { + // Parse `program` keyword. + let start = self.expect(&Token::Program)?; + + // Parse the program id. + let program_id = self.parse_program_id()?; // Parse `{`. self.expect(&Token::LeftCurly)?; diff --git a/compiler/parser/src/parser/instruction.rs b/compiler/parser/src/parser/instruction.rs new file mode 100644 index 0000000000..c1649a4a0e --- /dev/null +++ b/compiler/parser/src/parser/instruction.rs @@ -0,0 +1,189 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use super::*; + +use leo_ast::Opcode::*; +use leo_errors::{ParserError, Result}; +use leo_span::{sym, Symbol}; + +macro_rules! parse_opcode { + ($parser: ident, $opcode: ident, $base:expr) => {{ + let span = $parser.expect($base)?; + Ok(($opcode, span)) + }}; + ($parser: ident, $opcode: ident, $base:expr, $variant:expr) => {{ + let start = $parser.expect($base)?; + $parser.expect(&Token::Dot)?; + let end = $parser.expect($variant)?; + Ok((Opcode::$opcode, start + end)) + }}; +} + +impl ParserContext<'_> { + /// Returns a [`Instruction`] AST node if the next tokens represent an instruction. + pub fn parse_instruction(&mut self) -> Result { + // Parse the opcode. + let (opcode, start) = self.parse_opcode()?; + // Initialize storage for components of the instruction. + let mut operands = Vec::new(); + let mut destinations = Vec::new(); + // Parse the operands until the `into` keyword or `;` token. + while !(self.check_identifier_with_name(sym::into) || self.check(&Token::Semicolon)) { + let expression = self.parse_expression()?; + // Check that the expression is valid. + match expression { + Expression::Identifier(_) + | Expression::Literal(_) + | Expression::Access(AccessExpression::Member(_)) => {} // Valid + _ => return Err(ParserError::invalid_instruction_operand(expression.span()).into()), + } + operands.push(expression); + } + if self.check_identifier_with_name(sym::into) { + // Parse the `into` keyword. + self.expect_identifier_with_name(sym::into)?; + // Parse at least one destination register. + destinations.push(self.expect_identifier()?); + // Parse the destinations until the `;`. + while !self.check(&Token::Semicolon) { + destinations.push(self.expect_identifier()?); + } + } + let end = self.expect(&Token::Semicolon)?; + Ok(Instruction { + opcode, + operands, + destinations, + span: start + end, + }) + } + + #[rustfmt::skip] + /// Return an [`(Opcode, Span)`] if the next tokens represent an opcode. + pub fn parse_opcode(&mut self) -> Result<(Opcode, Span)> { + let first = &self.token.token; + let second = self.look_ahead(1, |t| &t.token); + let third = self.look_ahead(2, |t| &t.token); + + match first { + Token::Identifier(sym::abs) => match second { + Token::Dot => parse_opcode!(self, AbsWrapped, &Token::Identifier(sym::abs), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Abs, &Token::Identifier(sym::abs)), + }, + Token::Identifier(sym::add) => match second { + Token::Dot => parse_opcode!(self, AddWrapped, &Token::Identifier(sym::add), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Add, &Token::Identifier(sym::add)), + }, + Token::Identifier(sym::and) => parse_opcode!(self, And, &Token::Identifier(sym::and)), + Token::Assert => match (second, third) { + (Token::Dot, Token::Identifier(sym::eq)) => parse_opcode!(self, AssertEq, &Token::Assert, &Token::Identifier(sym::eq)), + _ => parse_opcode!(self, AssertNeq, &Token::Assert, &Token::Identifier(sym::neq)), + }, + Token::Identifier(sym::commit) => match (second, third) { + (Token::Dot, Token::Identifier(sym::bhp256)) => parse_opcode!(self, CommitBHP256, &Token::Identifier(sym::commit), &Token::Identifier(sym::bhp256)), + (Token::Dot, Token::Identifier(sym::bhp512)) => parse_opcode!(self, CommitBHP512, &Token::Identifier(sym::commit), &Token::Identifier(sym::bhp512)), + (Token::Dot, Token::Identifier(sym::bhp768)) => parse_opcode!(self, CommitBHP768, &Token::Identifier(sym::commit), &Token::Identifier(sym::bhp768)), + (Token::Dot, Token::Identifier(sym::bhp1024)) => parse_opcode!(self, CommitBHP1024, &Token::Identifier(sym::commit), &Token::Identifier(sym::bhp1024)), + (Token::Dot, Token::Identifier(sym::ped64)) => parse_opcode!(self, CommitPED64, &Token::Identifier(sym::commit), &Token::Identifier(sym::ped64)), + _ => parse_opcode!(self, CommitPED128, &Token::Identifier(sym::commit), &Token::Identifier(sym::ped128)), + } + Token::Identifier(sym::div) => match second { + Token::Dot => parse_opcode!(self, Div, &Token::Identifier(sym::div), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Div, &Token::Identifier(sym::div)), + }, + Token::Identifier(sym::double) => parse_opcode!(self, Double, &Token::Identifier(sym::double)), + Token::Identifier(sym::gt) => parse_opcode!(self, GreaterThan, &Token::Identifier(sym::gt)), + Token::Identifier(sym::gte) => parse_opcode!(self, GreaterThanOrEqual, &Token::Identifier(sym::gte)), + Token::Identifier(sym::hash) => match (second, third) { + (Token::Dot, Token::Identifier(sym::bhp256)) => parse_opcode!(self, HashBHP256, &Token::Identifier(sym::hash), &Token::Identifier(sym::bhp256)), + (Token::Dot, Token::Identifier(sym::bhp512)) => parse_opcode!(self, HashBHP512, &Token::Identifier(sym::hash), &Token::Identifier(sym::bhp512)), + (Token::Dot, Token::Identifier(sym::bhp768)) => parse_opcode!(self, HashBHP768, &Token::Identifier(sym::hash), &Token::Identifier(sym::bhp768)), + (Token::Dot, Token::Identifier(sym::bhp1024)) => parse_opcode!(self, HashBHP1024, &Token::Identifier(sym::hash), &Token::Identifier(sym::bhp1024)), + (Token::Dot, Token::Identifier(sym::ped64)) => parse_opcode!(self, HashPED64, &Token::Identifier(sym::hash), &Token::Identifier(sym::ped64)), + (Token::Dot, Token::Identifier(sym::ped128)) => parse_opcode!(self, HashPED128, &Token::Identifier(sym::hash), &Token::Identifier(sym::ped128)), + (Token::Dot, Token::Identifier(sym::psd2)) => parse_opcode!(self, HashPSD2, &Token::Identifier(sym::hash), &Token::Identifier(sym::psd2)), + (Token::Dot, Token::Identifier(sym::psd4)) => parse_opcode!(self, HashPSD4, &Token::Identifier(sym::hash), &Token::Identifier(sym::psd4)), + _ => parse_opcode!(self, HashPSD8, &Token::Identifier(sym::hash), &Token::Identifier(sym::psd8)), + } + Token::Identifier(sym::inv) => parse_opcode!(self, Inv, &Token::Identifier(sym::inv)), + Token::Identifier(sym::is) => match (second, third) { + (Token::Dot, Token::Identifier(sym::eq)) => parse_opcode!(self, IsEq, &Token::Identifier(sym::is), &Token::Identifier(sym::eq)), + _ => parse_opcode!(self, IsNeq, &Token::Identifier(sym::is), &Token::Identifier(sym::neq)), + }, + Token::Identifier(sym::lt) => parse_opcode!(self, LessThan, &Token::Identifier(sym::lt)), + Token::Identifier(sym::lte) => parse_opcode!(self, LessThanOrEqual, &Token::Identifier(sym::lte)), + Token::Identifier(sym::Mod) => parse_opcode!(self, Modulo, &Token::Identifier(sym::Mod)), + Token::Identifier(sym::mul) => match second { + Token::Dot => parse_opcode!(self, MulWrapped, &Token::Identifier(sym::mul), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Mul, &Token::Identifier(sym::mul)), + }, + Token::Identifier(sym::nand) => parse_opcode!(self, Nand, &Token::Identifier(sym::nand)), + Token::Identifier(sym::neg) => parse_opcode!(self, Neg, &Token::Identifier(sym::neg)), + Token::Identifier(sym::not) => parse_opcode!(self, Not, &Token::Identifier(sym::not)), + Token::Identifier(sym::or) => parse_opcode!(self, Or, &Token::Identifier(sym::or)), + Token::Identifier(sym::pow) => match second { + Token::Dot => parse_opcode!(self, PowWrapped, &Token::Identifier(sym::pow), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Pow, &Token::Identifier(sym::pow)), + }, + Token::Identifier(sym::rem) => match second { + Token::Dot => parse_opcode!(self, RemWrapped, &Token::Identifier(sym::rem), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Rem, &Token::Identifier(sym::rem)), + }, + Token::Identifier(sym::shl) => match second { + Token::Dot => parse_opcode!(self, ShlWrapped, &Token::Identifier(sym::shl), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Shl, &Token::Identifier(sym::shl)), + }, + Token::Identifier(sym::shr) => match second { + Token::Dot => parse_opcode!(self, ShrWrapped, &Token::Identifier(sym::shr), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Shr, &Token::Identifier(sym::shr)), + }, + Token::Identifier(sym::square) => parse_opcode!(self, Square, &Token::Identifier(sym::square)), + Token::Identifier(sym::sqrt) => parse_opcode!(self, SquareRoot, &Token::Identifier(sym::sqrt)), + Token::Identifier(sym::sub) => match second { + Token::Dot => parse_opcode!(self, SubWrapped, &Token::Identifier(sym::sub), &Token::Identifier(sym::w)), + _ => parse_opcode!(self, Sub, &Token::Identifier(sym::sub)), + }, + Token::Identifier(sym::ternary) => parse_opcode!(self, Ternary, &Token::Identifier(sym::ternary)), + Token::Identifier(sym::xor) => parse_opcode!(self, Xor, &Token::Identifier(sym::xor)), + _ => { + return Err(ParserError::invalid_opcode(self.token.span).into()); + } + } + } + + /// Expects an `Identifier` with a given name. + fn expect_identifier_with_name(&mut self, name: Symbol) -> Result { + match self.expect_identifier() { + Ok(identifier) => match identifier.name == name { + true => Ok(identifier), + false => Err(ParserError::expected_identifier_with_name(name, identifier.span).into()), + }, + Err(error) => Err(error), + } + } + + /// Checks if the next token is an `Identifier` with a given name. + fn check_identifier_with_name(&mut self, name: Symbol) -> bool { + match &self.token { + SpannedToken { + token: Token::Identifier(symbol), + .. + } => *symbol == name, + _ => false, + } + } +} diff --git a/compiler/parser/src/parser/mod.rs b/compiler/parser/src/parser/mod.rs index 51554a902c..38696d10f2 100644 --- a/compiler/parser/src/parser/mod.rs +++ b/compiler/parser/src/parser/mod.rs @@ -36,6 +36,7 @@ pub(super) use context::ParserContext; mod expression; mod file; mod input; +mod instruction; mod statement; pub(super) mod type_; diff --git a/compiler/parser/src/parser/statement.rs b/compiler/parser/src/parser/statement.rs index 92406a1e02..e7767de932 100644 --- a/compiler/parser/src/parser/statement.rs +++ b/compiler/parser/src/parser/statement.rs @@ -48,12 +48,28 @@ impl ParserContext<'_> { Token::Assert | Token::AssertEq | Token::AssertNeq => Ok(self.parse_assert_statement()?), Token::Let => Ok(Statement::Definition(self.parse_definition_statement()?)), Token::LeftCurly => Ok(Statement::Block(self.parse_block()?)), + Token::Asm => Ok(Statement::AssemblyBlock(self.parse_assembly_block()?)), Token::Console => Err(ParserError::console_statements_are_not_yet_supported(self.token.span).into()), Token::Finalize => Err(ParserError::finalize_statements_are_deprecated(self.token.span).into()), _ => Ok(self.parse_assign_statement()?), } } + /// Returns a [`AssemblyBlock`] AST node if the next tokens represent an assembly block. + fn parse_assembly_block(&mut self) -> Result { + // Parse the span of the assembly block. + let start = self.expect(&Token::Asm)?; + // Parse the instructions in the assembly block, delimited by braces. + let (instructions, _, _) = self.parse_list(Delimiter::Brace, None, |p| p.parse_instruction().map(Some))?; + // Parse the semicolon token. + let end = self.expect(&Token::Semicolon)?; + // Return the assembly block. + Ok(AssemblyBlock { + instructions, + span: start + end, + }) + } + /// Returns a [`AssertStatement`] AST node if the next tokens represent an assertion statement. fn parse_assert_statement(&mut self) -> Result { // Check which variant of the assert statement is being used. diff --git a/compiler/parser/src/test.rs b/compiler/parser/src/test.rs index 08caf27fad..51a59d3b32 100644 --- a/compiler/parser/src/test.rs +++ b/compiler/parser/src/test.rs @@ -111,6 +111,24 @@ impl Namespace for ParseExpressionNamespace { } } +struct ParseInstructionNamespace; + +impl Namespace for ParseInstructionNamespace { + fn parse_type(&self) -> ParseType { + ParseType::Line + } + + fn run_test(&self, test: Test) -> Result { + create_session_if_not_set_then(|s| { + let tokenizer = tokenize(test, s)?; + if all_are_comments(&tokenizer) { + return Ok(yaml_or_fail("")); + } + with_handler(tokenizer, |p| p.parse_instruction()).map(yaml_or_fail) + }) + } +} + struct ParseStatementNamespace; impl Namespace for ParseStatementNamespace { @@ -225,6 +243,7 @@ impl Runner for TestRunner { Some(match name { "Parse" => Box::new(ParseNamespace), "ParseExpression" => Box::new(ParseExpressionNamespace), + "ParseInstruction" => Box::new(ParseInstructionNamespace), "ParseStatement" => Box::new(ParseStatementNamespace), "Serialize" => Box::new(SerializeNamespace), "Input" => Box::new(InputNamespace), diff --git a/compiler/parser/src/tokenizer/lexer.rs b/compiler/parser/src/tokenizer/lexer.rs index 1d92eef35f..4f3fce68f8 100644 --- a/compiler/parser/src/tokenizer/lexer.rs +++ b/compiler/parser/src/tokenizer/lexer.rs @@ -402,6 +402,8 @@ impl Token { match &*identifier { x if x.starts_with("aleo1") => Token::AddressLit(identifier), "address" => Token::Address, + "as" => Token::As, + "asm" => Token::Asm, "assert" => Token::Assert, "assert_eq" => Token::AssertEq, "assert_neq" => Token::AssertNeq, diff --git a/compiler/parser/src/tokenizer/mod.rs b/compiler/parser/src/tokenizer/mod.rs index 4667d01d79..58845d3831 100644 --- a/compiler/parser/src/tokenizer/mod.rs +++ b/compiler/parser/src/tokenizer/mod.rs @@ -83,6 +83,8 @@ mod tests { test_ident 12345 address + as + asm assert assert_eq assert_neq @@ -168,7 +170,7 @@ mod tests { assert_eq!( output, - r#""test" "test{}test" "test{}" "{}test" "test{" "test}" "test{test" "test}test" "te{{}}" test_ident 12345 address assert assert_eq assert_neq async bool const else false field finalize for function group i128 i64 i32 i16 i8 if in inline input let mut private program public return scalar self string struct test then transition true u128 u64 u32 u16 u8 console ! != && ( ) * ** + , - -> => _ . .. / : ; < <= = == > >= [ ] { { } } || ? @ // test + r#""test" "test{}test" "test{}" "{}test" "test{" "test}" "test{test" "test}test" "te{{}}" test_ident 12345 address as asm assert assert_eq assert_neq async bool const else false field finalize for function group i128 i64 i32 i16 i8 if in inline input let mut private program public return scalar self string struct test then transition true u128 u64 u32 u16 u8 console ! != && ( ) * ** + , - -> => _ . .. / : ; < <= = == > >= [ ] { { } } || ? @ // test /* test */ // "# ); }); diff --git a/compiler/parser/src/tokenizer/token.rs b/compiler/parser/src/tokenizer/token.rs index ebb0a1d9ba..cc976f01d8 100644 --- a/compiler/parser/src/tokenizer/token.rs +++ b/compiler/parser/src/tokenizer/token.rs @@ -108,6 +108,8 @@ pub enum Token { Record, // Regular Keywords + As, + Asm, Assert, AssertEq, AssertNeq, @@ -136,7 +138,6 @@ pub enum Token { Transition, // For imports. Leo, - // Meta Tokens Eof, } @@ -146,6 +147,8 @@ pub enum Token { /// Adding true and false to the keywords of the ABNF grammar makes the lexical grammar ambiguous, /// because true and false are also boolean literals, which are different tokens from keywords. pub const KEYWORD_TOKENS: &[Token] = &[ + Token::As, + Token::Asm, Token::Address, Token::Assert, Token::AssertEq, @@ -201,6 +204,8 @@ impl Token { /// Converts `self` to the corresponding `Symbol` if it `is_keyword`. pub fn keyword_to_symbol(&self) -> Option { Some(match self { + Token::As => sym::As, + Token::Asm => sym::Asm, Token::Address => sym::address, Token::Assert => sym::assert, Token::AssertEq => sym::assert_eq, @@ -335,6 +340,8 @@ impl fmt::Display for Token { U128 => write!(f, "u128"), Record => write!(f, "record"), + As => write!(f, "as"), + Asm => write!(f, "asm"), Assert => write!(f, "assert"), AssertEq => write!(f, "assert_eq"), AssertNeq => write!(f, "assert_neq"), diff --git a/compiler/passes/src/code_generation/mod.rs b/compiler/passes/src/code_generation/mod.rs index 1a441b0abe..c300d234d1 100644 --- a/compiler/passes/src/code_generation/mod.rs +++ b/compiler/passes/src/code_generation/mod.rs @@ -19,6 +19,8 @@ pub use generator::*; mod visit_expressions; +mod visit_instruction; + mod visit_program; mod visit_statements; diff --git a/compiler/passes/src/code_generation/visit_instruction.rs b/compiler/passes/src/code_generation/visit_instruction.rs new file mode 100644 index 0000000000..c771091822 --- /dev/null +++ b/compiler/passes/src/code_generation/visit_instruction.rs @@ -0,0 +1,48 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::CodeGenerator; + +use leo_ast::Instruction; + +use itertools::Itertools; + +impl<'a> CodeGenerator<'a> { + pub(crate) fn visit_instruction(&mut self, instruction: &'a Instruction) -> String { + // Visit the instruction operands. + // Note that parsing guarantees that the operands are either literals, identifiers, or member accesses. + let operands = instruction + .operands + .iter() + .map(|operand| self.visit_expression(operand).0) + .join(" "); + // Construct the new destination registers and add them to mapping. + let destinations = instruction + .destinations + .iter() + .map(|identifier| { + let destination_register = format!("r{}", self.next_register); + // Increment the register counter. + self.next_register += 1; + // Add the destination to the mapping. + self.variable_mapping + .insert(&identifier.name, destination_register.clone()); + destination_register + }) + .join(" "); + format!("{} {} into {};", instruction.opcode, operands, destinations) + } +} diff --git a/compiler/passes/src/code_generation/visit_statements.rs b/compiler/passes/src/code_generation/visit_statements.rs index 04ccb90b1b..06baaa964d 100644 --- a/compiler/passes/src/code_generation/visit_statements.rs +++ b/compiler/passes/src/code_generation/visit_statements.rs @@ -17,9 +17,9 @@ use crate::CodeGenerator; use leo_ast::{ - AssertStatement, AssertVariant, AssignStatement, Block, ConditionalStatement, ConsoleStatement, DecrementStatement, - DefinitionStatement, Expression, ExpressionStatement, IncrementStatement, IterationStatement, Mode, Output, - ReturnStatement, Statement, + AssemblyBlock, AssertStatement, AssertVariant, AssignStatement, Block, ConditionalStatement, ConsoleStatement, + DecrementStatement, DefinitionStatement, Expression, ExpressionStatement, IncrementStatement, IterationStatement, + Mode, Output, ReturnStatement, Statement, }; use itertools::Itertools; @@ -28,6 +28,7 @@ use std::fmt::Write as _; impl<'a> CodeGenerator<'a> { fn visit_statement(&mut self, input: &'a Statement) -> String { match input { + Statement::AssemblyBlock(stmt) => self.visit_assembly_block(stmt), Statement::Assert(stmt) => self.visit_assert(stmt), Statement::Assign(stmt) => self.visit_assign(stmt), Statement::Block(stmt) => self.visit_block(stmt), @@ -42,6 +43,15 @@ impl<'a> CodeGenerator<'a> { } } + fn visit_assembly_block(&mut self, input: &'a AssemblyBlock) -> String { + // For each instruction in the block, visit it and add it to the program. + input + .instructions + .iter() + .map(|inst| self.visit_instruction(inst)) + .join("") + } + fn visit_assert(&mut self, input: &'a AssertStatement) -> String { let mut generate_assert_instruction = |name: &str, left: &'a Expression, right: &'a Expression| { let (left_operand, left_instructions) = self.visit_expression(left); diff --git a/compiler/passes/src/common/replacer/mod.rs b/compiler/passes/src/common/replacer/mod.rs index 19015aeeb8..7d02f1c436 100644 --- a/compiler/passes/src/common/replacer/mod.rs +++ b/compiler/passes/src/common/replacer/mod.rs @@ -14,7 +14,10 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use leo_ast::{Expression, ExpressionReconstructor, Identifier, ProgramReconstructor, StatementReconstructor}; +use leo_ast::{ + Expression, ExpressionReconstructor, Identifier, InstructionReconstructor, ProgramReconstructor, + StatementReconstructor, +}; /// A `Replacer` applies `replacer` to all `Identifier`s in an AST. /// `Replacer`s are used to rename identifiers. @@ -46,6 +49,8 @@ where } } +impl InstructionReconstructor for Replacer where F: Fn(&Identifier) -> Expression {} + impl StatementReconstructor for Replacer where F: Fn(&Identifier) -> Expression {} impl ProgramReconstructor for Replacer where F: Fn(&Identifier) -> Expression {} diff --git a/compiler/passes/src/dead_code_elimination/dead_code_eliminator.rs b/compiler/passes/src/dead_code_elimination/dead_code_eliminator.rs index 6d7c18c5eb..9544349ad8 100644 --- a/compiler/passes/src/dead_code_elimination/dead_code_eliminator.rs +++ b/compiler/passes/src/dead_code_elimination/dead_code_eliminator.rs @@ -17,6 +17,7 @@ use leo_span::Symbol; use indexmap::IndexSet; +use leo_ast::{Instruction, InstructionReconstructor}; #[derive(Default)] pub struct DeadCodeEliminator { @@ -35,3 +36,10 @@ impl DeadCodeEliminator { } } } + +impl InstructionReconstructor for DeadCodeEliminator { + /// Instructions in assembly blocks are not to be eliminated. + fn reconstruct_instruction(&mut self, input: Instruction) -> (Instruction, Self::AdditionalOutput) { + (input, Default::default()) + } +} diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 9c153abe0b..829e8cb5e2 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -16,10 +16,7 @@ use crate::{Assigner, SymbolTable}; -use leo_ast::{ - AccessExpression, BinaryExpression, BinaryOperation, Block, Expression, ExpressionReconstructor, Identifier, - Member, ReturnStatement, Statement, TernaryExpression, TupleExpression, Type, -}; +use leo_ast::*; use leo_span::Symbol; use indexmap::IndexMap; @@ -241,3 +238,5 @@ impl<'a> Flattener<'a> { } } } + +impl InstructionReconstructor for Flattener<'_> {} diff --git a/compiler/passes/src/function_inlining/assignment_renamer.rs b/compiler/passes/src/function_inlining/assignment_renamer.rs index 2ce3bcd92f..2d8ac394b6 100644 --- a/compiler/passes/src/function_inlining/assignment_renamer.rs +++ b/compiler/passes/src/function_inlining/assignment_renamer.rs @@ -17,8 +17,8 @@ use crate::{Assigner, RenameTable}; use leo_ast::{ AssignStatement, ConditionalStatement, ConsoleStatement, DefinitionStatement, Expression, ExpressionReconstructor, - Identifier, IterationStatement, ProgramReconstructor, Statement, StatementReconstructor, StructExpression, - StructVariableInitializer, + Identifier, InstructionReconstructor, IterationStatement, ProgramReconstructor, Statement, StatementReconstructor, + StructExpression, StructVariableInitializer, }; use leo_span::Symbol; @@ -103,6 +103,8 @@ impl ExpressionReconstructor for AssignmentRenamer { } } +impl InstructionReconstructor for AssignmentRenamer {} + impl StatementReconstructor for AssignmentRenamer { /// Rename the left-hand side of the assignment statement. fn reconstruct_assign(&mut self, input: AssignStatement) -> (Statement, Self::AdditionalOutput) { diff --git a/compiler/passes/src/function_inlining/function_inliner.rs b/compiler/passes/src/function_inlining/function_inliner.rs index c027f3b7a9..13b63bcbc2 100644 --- a/compiler/passes/src/function_inlining/function_inliner.rs +++ b/compiler/passes/src/function_inlining/function_inliner.rs @@ -16,7 +16,7 @@ use crate::{Assigner, AssignmentRenamer, CallGraph}; -use leo_ast::Function; +use leo_ast::{Function, InstructionReconstructor}; use leo_span::Symbol; use indexmap::IndexMap; @@ -40,3 +40,5 @@ impl<'a> FunctionInliner<'a> { } } } + +impl InstructionReconstructor for FunctionInliner<'_> {} diff --git a/compiler/passes/src/loop_unrolling/mod.rs b/compiler/passes/src/loop_unrolling/mod.rs index 87c2fbd663..ff3353ddc0 100644 --- a/compiler/passes/src/loop_unrolling/mod.rs +++ b/compiler/passes/src/loop_unrolling/mod.rs @@ -20,9 +20,6 @@ pub(crate) use range_iterator::*; pub mod unroller; pub use unroller::*; -pub mod unroll_expression; -pub use unroll_expression::*; - pub mod unroll_program; pub use unroll_program::*; diff --git a/compiler/passes/src/loop_unrolling/unroller.rs b/compiler/passes/src/loop_unrolling/unroller.rs index 334088a666..c555d5a5e2 100644 --- a/compiler/passes/src/loop_unrolling/unroller.rs +++ b/compiler/passes/src/loop_unrolling/unroller.rs @@ -14,15 +14,12 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use leo_ast::{ - Block, DeclarationType, DefinitionStatement, Expression, IntegerType, IterationStatement, Literal, Statement, - StatementReconstructor, Type, Value, -}; -use std::cell::RefCell; +use crate::{Clusivity, LoopBound, RangeIterator, SymbolTable}; +use leo_ast::*; use leo_errors::emitter::Handler; -use crate::{Clusivity, LoopBound, RangeIterator, SymbolTable}; +use std::cell::RefCell; pub struct Unroller<'a> { /// The symbol table for the function being processed. @@ -214,3 +211,9 @@ impl<'a> Unroller<'a> { block } } + +impl ExpressionReconstructor for Unroller<'_> { + type AdditionalOutput = (); +} + +impl InstructionReconstructor for Unroller<'_> {} diff --git a/compiler/passes/src/static_single_assignment/mod.rs b/compiler/passes/src/static_single_assignment/mod.rs index 32c718bc1a..7d97358d73 100644 --- a/compiler/passes/src/static_single_assignment/mod.rs +++ b/compiler/passes/src/static_single_assignment/mod.rs @@ -52,6 +52,8 @@ mod rename_expression; +mod rename_instruction; + mod rename_program; mod rename_statement; diff --git a/compiler/passes/src/static_single_assignment/rename_instruction.rs b/compiler/passes/src/static_single_assignment/rename_instruction.rs new file mode 100644 index 0000000000..58310b0a6d --- /dev/null +++ b/compiler/passes/src/static_single_assignment/rename_instruction.rs @@ -0,0 +1,65 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::StaticSingleAssigner; + +use leo_ast::{Expression, ExpressionConsumer, Instruction, InstructionConsumer, Statement}; + +impl InstructionConsumer for StaticSingleAssigner<'_> { + type Output = (Instruction, Vec); + + fn consume_instruction(&mut self, input: Instruction) -> Self::Output { + let mut statements = Vec::new(); + // First consume the operands of the instruction. + let operands = input + .operands + .into_iter() + .map(|operand| { + let (value, mut stmts) = self.consume_expression(operand); + statements.append(&mut stmts); + value + }) + .collect(); + + // Then assign a new unique name to the left-hand-side of the assignment. + // Note that this order is necessary to ensure that the right-hand-side uses the correct name when consuming a complex assignment. + self.is_lhs = true; + let destinations = input + .destinations + .into_iter() + .map(|destination| { + if let (Expression::Identifier(destination), mut stmts) = self.consume_identifier(destination) { + statements.append(&mut stmts); + destination + } else { + unreachable!("`consume_identifier` always returns an identifier") + } + }) + .collect(); + self.is_lhs = false; + + // Finally, reconstruct the instruction. + ( + Instruction { + opcode: input.opcode, + operands, + destinations, + span: input.span, + }, + statements, + ) + } +} diff --git a/compiler/passes/src/static_single_assignment/rename_statement.rs b/compiler/passes/src/static_single_assignment/rename_statement.rs index 37c2eb0977..78f53bbcf0 100644 --- a/compiler/passes/src/static_single_assignment/rename_statement.rs +++ b/compiler/passes/src/static_single_assignment/rename_statement.rs @@ -17,18 +17,41 @@ use crate::{RenameTable, StaticSingleAssigner}; use leo_ast::{ - AssertStatement, AssertVariant, AssignStatement, Block, CallExpression, ConditionalStatement, ConsoleStatement, - DecrementStatement, DefinitionStatement, Expression, ExpressionConsumer, ExpressionStatement, Identifier, - IncrementStatement, IterationStatement, ReturnStatement, Statement, StatementConsumer, TernaryExpression, - TupleExpression, + AssemblyBlock, AssertStatement, AssertVariant, AssignStatement, Block, CallExpression, ConditionalStatement, + ConsoleStatement, DecrementStatement, DefinitionStatement, Expression, ExpressionConsumer, ExpressionStatement, + Identifier, IncrementStatement, InstructionConsumer, IterationStatement, ReturnStatement, Statement, + StatementConsumer, TernaryExpression, TupleExpression, }; use leo_span::Symbol; use indexmap::IndexSet; +use itertools::Itertools; impl StatementConsumer for StaticSingleAssigner<'_> { type Output = Vec; + /// Consumes the instructions in an `AssemblyBlock`, returning the renamed instructions. + fn consume_assembly_block(&mut self, input: AssemblyBlock) -> Self::Output { + // Allocate a new vector to store the renamed statements. + let mut statements = Vec::new(); + // Reconstruct each instruction in the assembly block. + let instructions = input + .instructions + .into_iter() + .map(|instruction| { + let (instruction, stmts) = self.consume_instruction(instruction); + statements.extend(stmts); + instruction + }) + .collect_vec(); + statements.push(Statement::AssemblyBlock(AssemblyBlock { + instructions, + span: input.span, + })); + // Return the renamed statements. + statements + } + /// Consumes the expressions in an `AssertStatement`, returning the list of simplified statements. fn consume_assert(&mut self, input: AssertStatement) -> Self::Output { let (variant, mut statements) = match input.variant { diff --git a/compiler/passes/src/symbol_table_creation/creator.rs b/compiler/passes/src/symbol_table_creation/creator.rs index d837d7e395..18c715dbd6 100644 --- a/compiler/passes/src/symbol_table_creation/creator.rs +++ b/compiler/passes/src/symbol_table_creation/creator.rs @@ -43,6 +43,8 @@ impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a> { type Output = (); } +impl<'a> InstructionVisitor<'a> for SymbolTableCreator<'a> {} + impl<'a> StatementVisitor<'a> for SymbolTableCreator<'a> {} impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a> { diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expression.rs similarity index 89% rename from compiler/passes/src/type_checking/check_expressions.rs rename to compiler/passes/src/type_checking/check_expression.rs index 2c1c274eee..989c0bd35e 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expression.rs @@ -438,72 +438,13 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { } fn visit_call(&mut self, input: &'a CallExpression, expected: &Self::AdditionalInput) -> Self::Output { - match &*input.function { - // Note that the parser guarantees that `input.function` is always an identifier. - Expression::Identifier(ident) => { - // Note: The function symbol lookup is performed outside of the `if let Some(func) ...` block to avoid a RefCell lifetime bug in Rust. - // Do not move it into the `if let Some(func) ...` block or it will keep `self.symbol_table_creation` alive for the entire block and will be very memory inefficient! - let func = self.symbol_table.borrow().lookup_fn_symbol(ident.name).cloned(); - - if let Some(func) = func { - // Check that the call is valid. - // Note that this unwrap is safe since we always set the variant before traversing the body of the function. - match self.variant.unwrap() { - // If the function is not a transition function, it can only call "inline" functions. - Variant::Inline | Variant::Standard => { - if !matches!(func.variant, Variant::Inline) { - self.emit_err(TypeCheckerError::can_only_call_inline_function(input.span)); - } - } - // If the function is a transition function, then check that the call is not to another local transition function. - Variant::Transition => { - if matches!(func.variant, Variant::Transition) && input.external.is_none() { - self.emit_err(TypeCheckerError::cannot_invoke_call_to_local_transition_function( - input.span, - )); - } - } - } - - // Check that the call is not to an external `inline` function. - if func.variant == Variant::Inline && input.external.is_some() { - self.emit_err(TypeCheckerError::cannot_call_external_inline_function(input.span)); - } - - let ret = self.assert_and_return_type(func.output_type, expected, input.span()); - - // Check number of function arguments. - if func.input.len() != input.arguments.len() { - self.emit_err(TypeCheckerError::incorrect_num_args_to_call( - func.input.len(), - input.arguments.len(), - input.span(), - )); - } - - // Check function argument types. - func.input - .iter() - .zip(input.arguments.iter()) - .for_each(|(expected, argument)| { - self.visit_expression(argument, &Some(expected.type_())); - }); - - // Add the call to the call graph. - let caller_name = match self.function { - None => unreachable!("`self.function` is set every time a function is visited."), - Some(func) => func, - }; - self.call_graph.add_edge(caller_name, ident.name); - - Some(ret) - } else { - self.emit_err(TypeCheckerError::unknown_sym("function", ident.name, ident.span())); - None - } - } - _ => unreachable!("Parser guarantees that `input.function` is always an identifier."), - } + self.check_function_call( + &input.function, + &input.arguments, + input.external.is_some(), + expected, + input.span, + ) } fn visit_struct_init(&mut self, input: &'a StructExpression, additional: &Self::AdditionalInput) -> Self::Output { diff --git a/compiler/passes/src/type_checking/check_instruction.rs b/compiler/passes/src/type_checking/check_instruction.rs new file mode 100644 index 0000000000..bafec3bb05 --- /dev/null +++ b/compiler/passes/src/type_checking/check_instruction.rs @@ -0,0 +1,344 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::{TypeChecker, VariableType}; + +use leo_ast::{ExpressionVisitor, Instruction, InstructionVisitor, IntegerType, Node, Opcode, Type}; +use leo_errors::TypeCheckerError; + +use itertools::Itertools; + +impl<'a> TypeChecker<'a> { + // Helper to check that the structure of the instruction is well-formed. + fn check_instruction_is_well_formed( + &mut self, + instruction: &'a Instruction, + ) -> bool { + // A flag to indicate if the instruction is well-formed. + let mut is_well_formed = true; + // Check that the number of operands is NUM_OPERANDS. + if instruction.operands.len() != NUM_OPERANDS { + is_well_formed = false; + self.emit_err(TypeCheckerError::malformed_instruction( + format!("Expected {NUM_OPERANDS} operands."), + instruction.span, + )); + }; + // Check that the number of destinations is NUM_DESTINATIONS. + if instruction.destinations.len() != NUM_DESTINATIONS { + is_well_formed = false; + self.emit_err(TypeCheckerError::malformed_instruction( + format!("Expected {NUM_DESTINATIONS} destination registers."), + instruction.span, + )); + }; + is_well_formed + } + + // Helper to type check standard instructions. + fn check_instruction( + &mut self, + instruction: &'a Instruction, + expected_types: &[([Type; NUM_OPERANDS], [Type; NUM_DESTINATIONS])], + ) { + // Check that the types of the operands match one of the expected operand types. + println!("NUM_OPERANDS: {}", NUM_OPERANDS); + println!("NUM_DESTINATIONS: {}", NUM_DESTINATIONS); + println!("instruction: {:?}", instruction); + // Check that the structure of the instruction is well-formed. + if self.check_instruction_is_well_formed::(instruction) { + // Get the types of the operands. + let operand_types = instruction + .operands + .iter() + .map(|operand| self.visit_expression(operand, &None)) + .collect_vec(); + + println!("operand_types: {:?}", operand_types); + + let destination_types = expected_types + .iter() + .find(|(expected_operand_types, _)| { + operand_types + .iter() + .zip_eq(expected_operand_types.iter()) + .all(|(operand_type, expected_type)| match operand_type { + Some(operand_type) => operand_type.eq_flat(expected_type), + None => false, + }) + }) + .map(|(_, expected_destination_types)| expected_destination_types); + // If the destination types are found, add the destination registers to the symbol table. + // Otherwise, emit an error. + match destination_types { + Some(destination_types) => { + for (destination, destination_type) in + instruction.destinations.iter().zip_eq(destination_types.iter()) + { + self.insert_variable( + destination.name, + destination_type.clone(), + destination.span, + VariableType::Mut, + ); + } + } + None => self.emit_err(TypeCheckerError::invalid_instruction_operand_types( + &instruction.opcode, + expected_types + .iter() + .map(|(operand_types, _)| format!("({})", operand_types.iter().join(", "))) + .join(", "), + instruction.span, + )), + } + } + } + + // Helper to type check commit instructions. + fn check_commit_instruction(&mut self, instruction: &'a Instruction, output_type: Type) { + // Check that the structure of the instruction is well-formed. + if self.check_instruction_is_well_formed::<2, 1>(instruction) { + // Check that the second operand is a scalar. + let second_type = self.visit_expression(&instruction.operands[1], &None); + self.assert_type(&second_type, &Type::Scalar, instruction.operands[1].span()); + // Add the destination register to the symbol table. + let destination = &instruction.destinations[0]; + self.insert_variable(destination.name, output_type, destination.span, VariableType::Mut); + } + } +} + +macro_rules! declare_types { + ($( + ( + $($operand: expr),* => $($destination: expr),* + ) + ),*) => { + &[ + $(([$($operand),*], [$($destination),*])),* + ] + }; +} + +impl<'a> InstructionVisitor<'a> for TypeChecker<'a> { + fn visit_instruction(&mut self, instruction: &'a Instruction) { + match instruction.opcode { + Opcode::Abs | Opcode::AbsWrapped => self.check_instruction(instruction, declare_types!( + (Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)) + )), + Opcode::Add | Opcode::Div | Opcode::Sub => self.check_instruction(instruction, declare_types!( + (Type::Field, Type::Field => Type::Field), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)) + )), + Opcode::AddWrapped + | Opcode::DivWrapped + | Opcode::MulWrapped + | Opcode::Rem + | Opcode::RemWrapped + | Opcode::SubWrapped => self.check_instruction(instruction, declare_types!( + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)) + )), + Opcode::AssertEq | Opcode::AssertNeq => { + // Check that the instruction is well-formed. + if self.check_instruction_is_well_formed::<2, 0>(instruction) { + // Check that the operands are the same type. + let lhs = self.visit_expression(&instruction.operands[0], &None); + let rhs = self.visit_expression(&instruction.operands[1], &None); + self.check_eq_types(&lhs, &rhs, instruction.span); + } + } + Opcode::CommitBHP256 | Opcode::CommitBHP512 | Opcode::CommitBHP768 | Opcode::CommitBHP1024 => self.check_commit_instruction(instruction, Type::Field), + Opcode::CommitPED64 | Opcode::CommitPED128 => self.check_commit_instruction(instruction, Type::Group), + Opcode::Double => self.check_instruction(instruction, declare_types!( + (Type::Field => Type::Field), + (Type::Group => Type::Group) + )), + Opcode::GreaterThan + | Opcode::GreaterThanOrEqual + | Opcode::LessThan + | Opcode::LessThanOrEqual => self.check_instruction(instruction, declare_types!( + (Type::Field, Type::Field => Type::Boolean), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Boolean), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Boolean), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Boolean), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Boolean), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Boolean), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Boolean), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Boolean), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Boolean), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Boolean), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Boolean), + (Type::Scalar, Type::Scalar => Type::Boolean) + )), + Opcode::HashBHP256 + | Opcode::HashBHP512 + | Opcode::HashBHP768 + | Opcode::HashBHP1024 + | Opcode::HashPED64 + | Opcode::HashPED128 + | Opcode::HashPSD2 + | Opcode::HashPSD4 + | Opcode::HashPSD8 => { + // Check that the instruction is well-formed. + if self.check_instruction_is_well_formed::<1, 1>(instruction) { + // Add the destination to the symbol table. + let destination = &instruction.destinations[0]; + self.insert_variable(destination.name, Type::Boolean, destination.span, VariableType::Mut); + } + } + Opcode::Inv + | Opcode::Square + | Opcode::SquareRoot => self.check_instruction(instruction, declare_types!( + (Type::Field => Type::Field) + )), + Opcode::IsEq | Opcode::IsNeq => { + // Check that the instruction is well formed. + if self.check_instruction_is_well_formed::<2, 1>(instruction) { + // Check that the operands are of the same type. + let lhs = self.visit_expression(&instruction.operands[0], &None); + let rhs = self.visit_expression(&instruction.operands[1], &None); + self.check_eq_types(&lhs, &rhs, instruction.span); + // Add the destination to the symbol table. + let destination = &instruction.destinations[0]; + self.insert_variable(destination.name, Type::Boolean, destination.span, VariableType::Mut); + } + } + Opcode::Modulo => self.check_instruction(instruction, declare_types!( + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)) + )), + Opcode::Mul => self.check_instruction(instruction, declare_types!( + (Type::Field, Type::Field => Type::Field), + (Type::Group, Type::Scalar => Type::Group), + (Type::Scalar, Type::Group => Type::Group), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)) + )), + Opcode::Nand | Opcode::Nor => self.check_instruction(instruction, declare_types!( + (Type::Boolean, Type::Boolean => Type::Boolean) + )), + Opcode::Neg => self.check_instruction(instruction, declare_types!( + (Type::Field => Type::Field), + (Type::Group => Type::Group), + (Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)) + )), + Opcode::And | Opcode::Not | Opcode::Or | Opcode::Xor => self.check_instruction(instruction, declare_types!( + (Type::Boolean, Type::Boolean => Type::Boolean), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)) + )), + Opcode::Pow + | Opcode::PowWrapped + | Opcode::Shl + | Opcode::ShlWrapped + | Opcode::Shr + | Opcode::ShrWrapped => self.check_instruction(instruction, declare_types!( + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::I8)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::I16)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::I32)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::I64)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::I128)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U8)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U16)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U64)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U128)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U128)), + (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U128)) + )), + Opcode::Ternary => self.check_instruction(instruction, declare_types!( + (Type::Boolean, Type::Boolean, Type::Boolean => Type::Boolean), + (Type::Boolean, Type::Field, Type::Field => Type::Field), + (Type::Boolean, Type::Group, Type::Group => Type::Group), + (Type::Boolean, Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8) => Type::Integer(IntegerType::I8)), + (Type::Boolean, Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16) => Type::Integer(IntegerType::I16)), + (Type::Boolean, Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32) => Type::Integer(IntegerType::I32)), + (Type::Boolean, Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64) => Type::Integer(IntegerType::I64)), + (Type::Boolean, Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128) => Type::Integer(IntegerType::I128)), + (Type::Boolean, Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8) => Type::Integer(IntegerType::U8)), + (Type::Boolean, Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16) => Type::Integer(IntegerType::U16)), + (Type::Boolean, Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32) => Type::Integer(IntegerType::U32)), + (Type::Boolean, Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64) => Type::Integer(IntegerType::U64)), + (Type::Boolean, Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128) => Type::Integer(IntegerType::U128)), + (Type::Boolean, Type::Scalar, Type::Scalar => Type::Scalar) + )), + } + } +} diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index c8af36d342..befff787c2 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -300,6 +300,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } }); + self.is_top_level = true; self.visit_block(&function.block); // If the function has a return type, then check that it has a return. @@ -391,6 +392,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } // Type check the finalize block. + self.is_top_level = true; self.visit_block(&finalize.block); // Check that the return type is defined. Note that the component types are already checked. diff --git a/compiler/passes/src/type_checking/check_statements.rs b/compiler/passes/src/type_checking/check_statement.rs similarity index 78% rename from compiler/passes/src/type_checking/check_statements.rs rename to compiler/passes/src/type_checking/check_statement.rs index 5c6f6a475f..1c9eead71b 100644 --- a/compiler/passes/src/type_checking/check_statements.rs +++ b/compiler/passes/src/type_checking/check_statement.rs @@ -14,12 +14,11 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{TypeChecker, VariableSymbol, VariableType}; +use crate::{TypeChecker, VariableType}; use itertools::Itertools; use leo_ast::*; use leo_errors::TypeCheckerError; -use leo_span::{Span, Symbol}; impl<'a> StatementVisitor<'a> for TypeChecker<'a> { fn visit_statement(&mut self, input: &'a Statement) { @@ -30,6 +29,7 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { } match input { + Statement::AssemblyBlock(stmt) => self.visit_assembly_block(stmt), Statement::Assert(stmt) => self.visit_assert(stmt), Statement::Assign(stmt) => self.visit_assign(stmt), Statement::Block(stmt) => self.visit_block(stmt), @@ -44,6 +44,21 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { } } + fn visit_assembly_block(&mut self, input: &'a AssemblyBlock) { + // Check that the assembly block is at the top level of the function body. + if !self.is_top_level { + self.emit_err(TypeCheckerError::asm_block_cannot_be_nested(input.span)); + } + // Check that the assembly block is not in an `inline` function. + if matches!(self.variant, Some(Variant::Inline)) { + self.emit_err(TypeCheckerError::asm_block_cannot_be_in_inline_function(input.span)); + } + // Type check the assembly block. + input.instructions.iter().for_each(|instruction| { + self.visit_instruction(instruction); + }); + } + fn visit_assert(&mut self, input: &'a AssertStatement) { match &input.variant { AssertVariant::Assert(expr) => { @@ -94,7 +109,34 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { // Create a new scope for the then-block. let scope_index = self.create_child_scope(); - input.statements.iter().for_each(|stmt| self.visit_statement(stmt)); + // Store the previous level. + let previous_is_top_level = self.is_top_level; + + input.statements.iter().for_each(|stmt| { + match stmt { + Statement::AssemblyBlock(_) => {} + Statement::Assert(_) => {} + Statement::Assign(_) => {} + Statement::Block(_) => {} + Statement::Conditional(_) => {} + Statement::Console(_) => {} + Statement::Decrement(_) => {} + Statement::Definition(_) => {} + Statement::Expression(_) => {} + Statement::Increment(_) => {} + Statement::Iteration(_) => {} + Statement::Return(_) => {} + } + // Set the `is_top_level` flag. + self.is_top_level &= match stmt { + Statement::Block(_) | Statement::Conditional(_) | Statement::Iteration(_) => false, + _ => true, + }; + // Visit the statement. + self.visit_statement(stmt); + // Reset the `is_top_level` flag. + self.is_top_level = previous_is_top_level; + }); // Exit the scope for the then-block. self.exit_scope(scope_index); @@ -153,37 +195,7 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { } fn visit_decrement(&mut self, input: &'a DecrementStatement) { - if !self.is_finalize { - self.emit_err(TypeCheckerError::increment_or_decrement_outside_finalize(input.span())); - } - - // Assert that the first operand is a mapping. - let mapping_type = self.visit_identifier(&input.mapping, &None); - self.assert_mapping_type(&mapping_type, input.span()); - - match mapping_type { - None => self.emit_err(TypeCheckerError::could_not_determine_type( - input.mapping, - input.mapping.span, - )), - Some(Type::Mapping(mapping_type)) => { - // Check that the index matches the key type of the mapping. - let index_type = self.visit_expression(&input.index, &None); - self.assert_type(&index_type, &mapping_type.key, input.index.span()); - - // Check that the amount matches the value type of the mapping. - let amount_type = self.visit_expression(&input.amount, &None); - self.assert_type(&amount_type, &mapping_type.value, input.amount.span()); - - // Check that the amount type is incrementable. - self.assert_field_group_scalar_int_type(&amount_type, input.amount.span()); - } - Some(mapping_type) => self.emit_err(TypeCheckerError::expected_one_type_of( - "mapping", - mapping_type, - input.mapping.span, - )), - } + self.check_mapping_access(&input.mapping, &input.index, &input.amount, input.span); } fn visit_definition(&mut self, input: &'a DefinitionStatement) { @@ -217,25 +229,10 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { // Check the expression on the left-hand side. self.visit_expression(&input.value, &Some(input.type_.clone())); - // TODO: Dedup with unrolling pass. - // Helper to insert the variables into the symbol table. - let insert_variable = |symbol: Symbol, type_: Type, span: Span, declaration: VariableType| { - if let Err(err) = self.symbol_table.borrow_mut().insert_variable( - symbol, - VariableSymbol { - type_, - span, - declaration, - }, - ) { - self.handler.emit_err(err); - } - }; - // Insert the variables in the into the symbol table. match &input.place { Expression::Identifier(identifier) => { - insert_variable(identifier.name, input.type_.clone(), identifier.span, declaration) + self.insert_variable(identifier.name, input.type_.clone(), identifier.span, declaration); } Expression::Tuple(tuple_expression) => { let tuple_type = match &input.type_ { @@ -257,7 +254,7 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { )) } }; - insert_variable(identifier.name, type_.clone(), identifier.span, declaration) + self.insert_variable(identifier.name, type_.clone(), identifier.span, declaration); }); } _ => self.emit_err(TypeCheckerError::lhs_must_be_identifier_or_tuple(input.place.span())), @@ -278,37 +275,7 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { } fn visit_increment(&mut self, input: &'a IncrementStatement) { - if !self.is_finalize { - self.emit_err(TypeCheckerError::increment_or_decrement_outside_finalize(input.span())); - } - - // Assert that the first operand is a mapping. - let mapping_type = self.visit_identifier(&input.mapping, &None); - self.assert_mapping_type(&mapping_type, input.span()); - - match mapping_type { - None => self.emit_err(TypeCheckerError::could_not_determine_type( - input.mapping, - input.mapping.span, - )), - Some(Type::Mapping(mapping_type)) => { - // Check that the index matches the key type of the mapping. - let index_type = self.visit_expression(&input.index, &None); - self.assert_type(&index_type, &mapping_type.key, input.index.span()); - - // Check that the amount matches the value type of the mapping. - let amount_type = self.visit_expression(&input.amount, &None); - self.assert_type(&amount_type, &mapping_type.value, input.amount.span()); - - // Check that the amount type is incrementable. - self.assert_field_group_scalar_int_type(&amount_type, input.amount.span()); - } - Some(mapping_type) => self.emit_err(TypeCheckerError::expected_one_type_of( - "mapping", - mapping_type, - input.mapping.span, - )), - } + self.check_mapping_access(&input.mapping, &input.index, &input.amount, input.span); } fn visit_iteration(&mut self, input: &'a IterationStatement) { @@ -319,16 +286,12 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { let scope_index = self.create_child_scope(); // Add the loop variable to the scope of the loop body. - if let Err(err) = self.symbol_table.borrow_mut().insert_variable( + self.insert_variable( input.variable.name, - VariableSymbol { - type_: input.type_.clone(), - span: input.span(), - declaration: VariableType::Const, - }, - ) { - self.handler.emit_err(err); - } + input.type_.clone(), + input.variable.span, + VariableType::Const, + ); let prior_has_return = core::mem::take(&mut self.has_return); let prior_has_finalize = core::mem::take(&mut self.has_finalize); diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 0ba10fbf35..440b6ea785 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -14,9 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{CallGraph, StructGraph, SymbolTable}; +use crate::{CallGraph, StructGraph, SymbolTable, VariableSymbol, VariableType}; -use leo_ast::{Identifier, IntegerType, Node, Type, Variant}; +use leo_ast::{Expression, ExpressionVisitor, Identifier, IntegerType, Node, Type, Variant}; use leo_core::*; use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{Span, Symbol}; @@ -48,6 +48,9 @@ pub struct TypeChecker<'a> { pub(crate) is_imported: bool, /// Whether or not we are currently traversing a return statement. pub(crate) is_return: bool, + /// Whether or not we are the top level of a function body. + /// This is used to check that assembly blocks are not nested. + pub(crate) is_top_level: bool, } const BOOLEAN_TYPE: Type = Type::Boolean; @@ -113,6 +116,7 @@ impl<'a> TypeChecker<'a> { is_finalize: false, is_imported: false, is_return: false, + is_top_level: true, } } @@ -147,6 +151,29 @@ impl<'a> TypeChecker<'a> { self.handler.emit_err(err); } + /// Helper to insert the variables into the symbol table. + pub(crate) fn insert_variable( + &mut self, + symbol: Symbol, + type_: Type, + span: Span, + declaration: VariableType, + ) -> bool { + if let Err(err) = self.symbol_table.borrow_mut().insert_variable( + symbol, + VariableSymbol { + type_, + span, + declaration, + }, + ) { + self.handler.emit_err(err); + false + } else { + true + } + } + /// Emits an error to the handler if the given type is invalid. fn check_type(&self, is_valid: impl Fn(&Type) -> bool, error_string: String, type_: &Option, span: Span) { if let Some(type_) = type_ { @@ -157,15 +184,18 @@ impl<'a> TypeChecker<'a> { } /// Emits an error if the two given types are not equal. - pub(crate) fn check_eq_types(&self, t1: &Option, t2: &Option, span: Span) { + /// Returns `true` if the types are equal, and `false` otherwise. + pub(crate) fn check_eq_types(&self, t1: &Option, t2: &Option, span: Span) -> bool { match (t1, t2) { (Some(t1), Some(t2)) if !Type::eq_flat(t1, t2) => { - self.emit_err(TypeCheckerError::type_should_be(t1, t2, span)) + self.emit_err(TypeCheckerError::type_should_be(t1, t2, span)); + false } (Some(type_), None) | (None, Some(type_)) => { - self.emit_err(TypeCheckerError::type_should_be("no type", type_, span)) + self.emit_err(TypeCheckerError::type_should_be("no type", type_, span)); + false } - _ => {} + _ => true, } } @@ -430,6 +460,119 @@ impl<'a> TypeChecker<'a> { span, ) } + + // A helper to type check accesses to a mapping. + pub(crate) fn check_mapping_access( + &mut self, + mapping: &'a Identifier, + key: &'a Expression, + value: &'a Expression, + span: Span, + ) { + if !self.is_finalize { + self.emit_err(TypeCheckerError::increment_or_decrement_outside_finalize(span)); + } + + // Assert that the first operand is a mapping. + let mapping_type = self.visit_identifier(&mapping, &None); + self.assert_mapping_type(&mapping_type, span); + + match mapping_type { + None => self.emit_err(TypeCheckerError::could_not_determine_type(mapping, mapping.span)), + Some(Type::Mapping(mapping_type)) => { + // Check that the key matches the key type of the mapping. + let key_type = self.visit_expression(key, &None); + self.assert_type(&key_type, &mapping_type.key, key.span()); + + // Check that the value matches the value type of the mapping. + let value_type = self.visit_expression(value, &None); + self.assert_type(&value_type, &mapping_type.value, value.span()); + + // Check that the amount type is incrementable. + self.assert_field_group_scalar_int_type(&value_type, value.span()); + } + Some(mapping_type) => self.emit_err(TypeCheckerError::expected_one_type_of( + "mapping", + mapping_type, + mapping.span, + )), + } + } + + // A helper to check function calls. + pub(crate) fn check_function_call( + &mut self, + function: &'a Expression, + arguments: &'a [Expression], + is_external: bool, + expected: &Option, + span: Span, + ) -> Option { + match function { + // Note that the parser guarantees that `input.function` is always an identifier. + Expression::Identifier(ident) => { + // Note: The function symbol lookup is performed outside of the `if let Some(func) ...` block to avoid a RefCell lifetime bug in Rust. + // Do not move it into the `if let Some(func) ...` block or it will keep `self.symbol_table_creation` alive for the entire block and will be very memory inefficient! + let func = self.symbol_table.borrow().lookup_fn_symbol(ident.name).cloned(); + + if let Some(func) = func { + // Check that the call is valid. + // Note that this unwrap is safe since we always set the variant before traversing the body of the function. + match self.variant.unwrap() { + // If the function is not a transition function, it can only call "inline" functions. + Variant::Inline | Variant::Standard => { + if !matches!(func.variant, Variant::Inline) { + self.emit_err(TypeCheckerError::can_only_call_inline_function(span)); + } + } + // If the function is a transition function, then check that the call is not to another local transition function. + Variant::Transition => { + if matches!(func.variant, Variant::Transition) && !is_external { + self.emit_err(TypeCheckerError::cannot_invoke_call_to_local_transition_function(span)); + } + } + } + + // Check that the call is not to an external `inline` function. + if func.variant == Variant::Inline && is_external { + self.emit_err(TypeCheckerError::cannot_call_external_inline_function(span)); + } + + let ret = self.assert_and_return_type(func.output_type, expected, span); + + // Check number of function arguments. + if func.input.len() != arguments.len() { + self.emit_err(TypeCheckerError::incorrect_num_args_to_call( + func.input.len(), + arguments.len(), + span, + )); + } + + // Check function argument types. + func.input + .iter() + .zip(arguments.iter()) + .for_each(|(expected, argument)| { + self.visit_expression(argument, &Some(expected.type_())); + }); + + // Add the call to the call graph. + let caller_name = match self.function { + None => unreachable!("`self.function` is set every time a function is visited."), + Some(func) => func, + }; + self.call_graph.add_edge(caller_name, ident.name); + + Some(ret) + } else { + self.emit_err(TypeCheckerError::unknown_sym("function", ident.name, ident.span())); + None + } + } + _ => unreachable!("Parser guarantees that `input.function` is always an identifier."), + } + } } fn types_to_string(types: &[Type]) -> String { diff --git a/compiler/passes/src/type_checking/mod.rs b/compiler/passes/src/type_checking/mod.rs index e6ffe75cdb..997726f46a 100644 --- a/compiler/passes/src/type_checking/mod.rs +++ b/compiler/passes/src/type_checking/mod.rs @@ -14,15 +14,17 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -pub mod check_expressions; +pub mod check_expression; +pub use check_expression::*; -pub use check_expressions::*; +pub mod check_instruction; +pub use check_instruction::*; pub mod check_program; pub use check_program::*; -pub mod check_statements; -pub use check_statements::*; +pub mod check_statement; +pub use check_statement::*; pub mod checker; pub use checker::*; diff --git a/compiler/span/src/lib.rs b/compiler/span/src/lib.rs index 7bc511f832..03dbe28720 100644 --- a/compiler/span/src/lib.rs +++ b/compiler/span/src/lib.rs @@ -15,6 +15,7 @@ // along with the Leo library. If not, see . #![forbid(unsafe_code)] +#![recursion_limit = "256"] pub mod symbol; pub use symbol::{sym, Symbol}; diff --git a/compiler/span/src/symbol.rs b/compiler/span/src/symbol.rs index 6b3c1aac3d..b9ee8a31e2 100644 --- a/compiler/span/src/symbol.rs +++ b/compiler/span/src/symbol.rs @@ -176,6 +176,7 @@ symbols! { True: "true", // general keywords + Asm: "asm", assert, assert_eq, assert_neq, @@ -216,6 +217,26 @@ symbols! { _nonce, program, + // Aleo Instructions + As: "as", + bhp256, + bhp512, + bhp768, + bhp1024, + by, + call, + cast, + into, + is, + ped64, + ped128, + psd2, + psd4, + psd8, + sqrt, + ternary, + w, // For wrapped operations + // input file registers, state, diff --git a/errors/src/errors/parser/parser_errors.rs b/errors/src/errors/parser/parser_errors.rs index 2022c93145..d063b64a0c 100644 --- a/errors/src/errors/parser/parser_errors.rs +++ b/errors/src/errors/parser/parser_errors.rs @@ -283,4 +283,25 @@ create_messages!( msg: format!("`console` statements are not yet supported."), help: Some("Consider using `assert`, `assert_eq`, or `assert_neq` instead.".to_string()), } + + @formatted + expected_identifier_with_name { + args: (name: impl Display), + msg: format!("Expected an identifier with name `{name}`."), + help: None, + } + + @formatted + invalid_opcode { + args: (), + msg: format!("Expected a valid opcode."), + help: None, + } + + @formatted + invalid_instruction_operand { + args: (), + msg: format!("Invalid instruction operand. Expected a literal, identifier, struct/record access, `self.caller`, or program ID."), + help: None, + } ); diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index 33d3049687..782b67aaae 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -573,4 +573,32 @@ create_messages!( msg: format!("Cannot call an external `inline` function."), help: None, } + + @formatted + malformed_instruction { + args: (message: impl Display), + msg: format!("{message}"), + help: None, + } + + @formatted + invalid_instruction_operand_types { + args: (op: impl Display, message: impl Display), + msg: format!("The operand types are invalid. {op} accepts one of the following: {message}"), + help: None, + } + + @formatted + asm_block_cannot_be_nested { + args: (), + msg: format!("An `asm` block cannot be defined in a conditional or loop."), + help: None, + } + + @formatted + asm_block_cannot_be_in_inline_function { + args: (), + msg: format!("An `asm` block cannot be defined in an `inline` function."), + help: None, + } ); diff --git a/tests/expectations/compiler/address/binary.out b/tests/expectations/compiler/address/binary.out index 14c13756bb..6c3cc1c69b 100644 --- a/tests/expectations/compiler/address/binary.out +++ b/tests/expectations/compiler/address/binary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: af4bf950a53dee2547324d1d139661bc2f881f1a7e9941fe34a85b3745c6958d - unrolled_ast: af4bf950a53dee2547324d1d139661bc2f881f1a7e9941fe34a85b3745c6958d - ssa_ast: 71af510447b440ecf9517b244604dead0fb36905201d7205e1da396acd0de0fe - flattened_ast: 5b0842e447b4e1f92f4bcd22824ed5e12c51c8db145d1541763d10ad3dc1f37a - inlined_ast: 5b0842e447b4e1f92f4bcd22824ed5e12c51c8db145d1541763d10ad3dc1f37a - dce_ast: 946b0fe81e942060d870c228afb1a31c42501fb8f9c481d35d7908b226af5cbe + - initial_ast: 0e45c28abc0ba8f9a070924a14d820e3a36d2193f352448f4bc8ee8f10c34428 + unrolled_ast: 0e45c28abc0ba8f9a070924a14d820e3a36d2193f352448f4bc8ee8f10c34428 + ssa_ast: cdcd033acc0dccc8c0d8ecc721c309cb82c037f9b1f7aefeadb47d558e05beca + flattened_ast: a9c322479e098298b4952ccd8f3ae4650d6cb7f51bbb023ba03b5cd51034a3ee + inlined_ast: a9c322479e098298b4952ccd8f3ae4650d6cb7f51bbb023ba03b5cd51034a3ee + dce_ast: 81d8c9eb1546fa8fdd5500006849a20cb1e983fc21de8e9558998b8b62472ac5 bytecode: 31bab7a79a7dfdfbcd4a7a3f26cd813b48d7c1438dec3fd4905a81845161dba1 diff --git a/tests/expectations/compiler/address/branch.out b/tests/expectations/compiler/address/branch.out index a90a7e26ce..00ceb4b8b0 100644 --- a/tests/expectations/compiler/address/branch.out +++ b/tests/expectations/compiler/address/branch.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b45e54f18036a13051f622f2d8230240aaee77231e39a1b7cdb196615fb4829e - unrolled_ast: b45e54f18036a13051f622f2d8230240aaee77231e39a1b7cdb196615fb4829e - ssa_ast: 0d44a08f0cace01d86fec36ea409e6424ff21f9ee8834f53062569af8c35579e - flattened_ast: c1b6954bff1ce18c0bb3be1cd6392a554a15989c90939c99e375221b1003e3b7 - inlined_ast: c1b6954bff1ce18c0bb3be1cd6392a554a15989c90939c99e375221b1003e3b7 - dce_ast: c1b6954bff1ce18c0bb3be1cd6392a554a15989c90939c99e375221b1003e3b7 + - initial_ast: 48cc9b2eca50a5395194230c414a4db801b1b2747524a7e65e1e4773c8ce11c0 + unrolled_ast: 48cc9b2eca50a5395194230c414a4db801b1b2747524a7e65e1e4773c8ce11c0 + ssa_ast: f4ddd3de2ff4fa2f716421a03504598584f23cf3713dd5e91ec7e51dd6db1caf + flattened_ast: 07b1fde82dc39030926894fca202a79474bb63e286fad7a20492911b6d4f08c5 + inlined_ast: 07b1fde82dc39030926894fca202a79474bb63e286fad7a20492911b6d4f08c5 + dce_ast: 07b1fde82dc39030926894fca202a79474bb63e286fad7a20492911b6d4f08c5 bytecode: b192f4b7f52da46a22cec3aec7e8c14b6e3fad7c40b9d0c0990255902fb596ef diff --git a/tests/expectations/compiler/address/equal.out b/tests/expectations/compiler/address/equal.out index 0e5ce69463..5c9f36b03d 100644 --- a/tests/expectations/compiler/address/equal.out +++ b/tests/expectations/compiler/address/equal.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 439fd89a480274e3cf43dbc8e9ebc50188b2dc6288fa2ce7da9d8c0211fae8ec - unrolled_ast: 439fd89a480274e3cf43dbc8e9ebc50188b2dc6288fa2ce7da9d8c0211fae8ec - ssa_ast: 96122b72b05f839341f0f808bf47523fc976c219e1284c2fad253ebc159d84ff - flattened_ast: f9458e7824444415aa9f3feec4924461f49dee915429e63dec244806d3812722 - inlined_ast: f9458e7824444415aa9f3feec4924461f49dee915429e63dec244806d3812722 - dce_ast: f9458e7824444415aa9f3feec4924461f49dee915429e63dec244806d3812722 + - initial_ast: 30bc7072b061a82eabcdaad997239bbeb59fe5ac711eab2e148c9e9f6e206888 + unrolled_ast: 30bc7072b061a82eabcdaad997239bbeb59fe5ac711eab2e148c9e9f6e206888 + ssa_ast: dfd529d8e0af40d71f12d5c07d1f6f1a365ef7bee32ed944ddcdfc8e9016fcec + flattened_ast: e0162bad0e3e561db5b1b2e9e586804bf19431fa88a14a4bab3e5659feb938cc + inlined_ast: e0162bad0e3e561db5b1b2e9e586804bf19431fa88a14a4bab3e5659feb938cc + dce_ast: e0162bad0e3e561db5b1b2e9e586804bf19431fa88a14a4bab3e5659feb938cc bytecode: 4903abf35d22e4264aae4bf26b908108d11d981d069c247793cea817dd8851a7 diff --git a/tests/expectations/compiler/address/ternary.out b/tests/expectations/compiler/address/ternary.out index c4b606ec75..0711aaac8d 100644 --- a/tests/expectations/compiler/address/ternary.out +++ b/tests/expectations/compiler/address/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 08283a817bc0589f8382ac381dea3345b55a4a04c87b1ad743e4ce05d2439ac4 - unrolled_ast: 08283a817bc0589f8382ac381dea3345b55a4a04c87b1ad743e4ce05d2439ac4 - ssa_ast: 6b09114518e99d698d0709d7b78fb8fa521e87cc98eb32af8898b344cd611b6d - flattened_ast: 1041763865cf86407bf30dae2b003ec9094e91e79c3e5b493b54fbd67cdd8f24 - inlined_ast: 1041763865cf86407bf30dae2b003ec9094e91e79c3e5b493b54fbd67cdd8f24 - dce_ast: 1041763865cf86407bf30dae2b003ec9094e91e79c3e5b493b54fbd67cdd8f24 + - initial_ast: 1acab6889bc7168ef7312b37b1af658c126cd6b7955fe421d668b728f4d22b45 + unrolled_ast: 1acab6889bc7168ef7312b37b1af658c126cd6b7955fe421d668b728f4d22b45 + ssa_ast: d5ba1e5147ca7c5ccd0f9d32367a70f4477afa373c0a6a73f0c7b846c3fc9124 + flattened_ast: 4f90e7d8f680f12bece196f3eb8be74c35fd94511902e8cb58bd1e8ef8777c53 + inlined_ast: 4f90e7d8f680f12bece196f3eb8be74c35fd94511902e8cb58bd1e8ef8777c53 + dce_ast: 4f90e7d8f680f12bece196f3eb8be74c35fd94511902e8cb58bd1e8ef8777c53 bytecode: 5cbdf4a6a290f80540d2653153c57495eaf45432bc7ce44d52af2b5d0594951c diff --git a/tests/expectations/compiler/assembly/assembly.out b/tests/expectations/compiler/assembly/assembly.out new file mode 100644 index 0000000000..460cccb2ae --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly.out @@ -0,0 +1,11 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - initial_ast: d0725a7e0e729114b8cd54afc6b10412d84a15742ae6c12f60aba1676c4b7566 + unrolled_ast: d0725a7e0e729114b8cd54afc6b10412d84a15742ae6c12f60aba1676c4b7566 + ssa_ast: 22981ac2db8108536bd67526d33619a2441424115d8a1e4d2691d3e9248e4963 + flattened_ast: 02600d807e502eed2ef7c21fb0a73fb9beabf48b2f6fef022b71543e4636e6c5 + inlined_ast: 02600d807e502eed2ef7c21fb0a73fb9beabf48b2f6fef022b71543e4636e6c5 + dce_ast: 02600d807e502eed2ef7c21fb0a73fb9beabf48b2f6fef022b71543e4636e6c5 + bytecode: 897bea510b0004df84a28144ea171a0a68c5d351e6d3acd4f9aca376226f272e diff --git a/tests/expectations/compiler/assembly/assembly_in_conditional_fail.out b/tests/expectations/compiler/assembly/assembly_in_conditional_fail.out new file mode 100644 index 0000000000..3a6168b867 --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_in_conditional_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'return'\n --> compiler-test:10:13\n |\n 10 | return d;\n | ^^^^^^" diff --git a/tests/expectations/compiler/assembly/assembly_in_inline_fail.out b/tests/expectations/compiler/assembly/assembly_in_inline_fail.out new file mode 100644 index 0000000000..e8899cb288 --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_in_inline_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'return'\n --> compiler-test:8:9\n |\n 8 | return c;\n | ^^^^^^" diff --git a/tests/expectations/compiler/assembly/assembly_in_loop_fail.out b/tests/expectations/compiler/assembly/assembly_in_loop_fail.out new file mode 100644 index 0000000000..cbe8b825a8 --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_in_loop_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'y'\n --> compiler-test:11:13\n |\n 11 | y = z + z;\n | ^" diff --git a/tests/expectations/compiler/assembly/assembly_incorrect_number_of_operands_fail.out b/tests/expectations/compiler/assembly/assembly_incorrect_number_of_operands_fail.out new file mode 100644 index 0000000000..b1ccd6f840 --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_incorrect_number_of_operands_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'let'\n --> compiler-test:9:9\n |\n 9 | let f: u8 = d + 1u8;\n | ^^^" diff --git a/tests/expectations/compiler/assembly/assembly_incorrect_operand_types_fail.out b/tests/expectations/compiler/assembly/assembly_incorrect_operand_types_fail.out new file mode 100644 index 0000000000..6490b1ccd1 --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_incorrect_operand_types_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'let'\n --> compiler-test:11:9\n |\n 11 | let f: u8 = d + 1u8;\n | ^^^" diff --git a/tests/expectations/compiler/assembly/assembly_shadow_variable_fail.out b/tests/expectations/compiler/assembly/assembly_shadow_variable_fail.out new file mode 100644 index 0000000000..39b94ffaaf --- /dev/null +++ b/tests/expectations/compiler/assembly/assembly_shadow_variable_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found 'return'\n --> compiler-test:8:9\n |\n 8 | return a;\n | ^^^^^^" diff --git a/tests/expectations/compiler/boolean/and.out b/tests/expectations/compiler/boolean/and.out index 4450152833..2e48bb5ffa 100644 --- a/tests/expectations/compiler/boolean/and.out +++ b/tests/expectations/compiler/boolean/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 800f83913bb57aac57e0574c67deda923814503eaa812fb82280a7ffd64f038f - unrolled_ast: 800f83913bb57aac57e0574c67deda923814503eaa812fb82280a7ffd64f038f - ssa_ast: e0015762d1fb228999fd2ef236fae8fcf8bd6e6bbd0ce37fad230a708ca063d2 - flattened_ast: 4e7759584ade51a19ff90284e5ee1ac91af6dad5cd966568b708ead553a8a4bd - inlined_ast: 4e7759584ade51a19ff90284e5ee1ac91af6dad5cd966568b708ead553a8a4bd - dce_ast: 4e7759584ade51a19ff90284e5ee1ac91af6dad5cd966568b708ead553a8a4bd + - initial_ast: dfb03eec064d4367c0b5980f985ba8238a4581b377d8620b34cbc37f8c8d5c43 + unrolled_ast: dfb03eec064d4367c0b5980f985ba8238a4581b377d8620b34cbc37f8c8d5c43 + ssa_ast: cd538902ce95b691da2dcb4e57f05dfc16c11e74b0990b2516cfdfcc6593a3b9 + flattened_ast: 35fcb16c6b6ebe2fe9eb307f3bf336461f492d863c3f4223094ac8b6d125abda + inlined_ast: 35fcb16c6b6ebe2fe9eb307f3bf336461f492d863c3f4223094ac8b6d125abda + dce_ast: 35fcb16c6b6ebe2fe9eb307f3bf336461f492d863c3f4223094ac8b6d125abda bytecode: e3deaf24a91bcb77628f7af29d4ad6d0ba67215617d6cfe753168543123ce7d2 diff --git a/tests/expectations/compiler/boolean/conditional.out b/tests/expectations/compiler/boolean/conditional.out index 3461b4bd45..16bb52d4cd 100644 --- a/tests/expectations/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/boolean/conditional.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 080edd413ce668be563c96e2625ba86d935b529a25ff2d009a41c36d63e90867 - unrolled_ast: 080edd413ce668be563c96e2625ba86d935b529a25ff2d009a41c36d63e90867 - ssa_ast: 42925975f1f91dc72941e3c018d6c0595824086f50fa5e6398f21649a57c6661 - flattened_ast: de891bab08a157399fdceeeccc7c3d4fd70cc3f75d1ca694a4fcd0344fdaac20 - inlined_ast: de891bab08a157399fdceeeccc7c3d4fd70cc3f75d1ca694a4fcd0344fdaac20 - dce_ast: de891bab08a157399fdceeeccc7c3d4fd70cc3f75d1ca694a4fcd0344fdaac20 + - initial_ast: 2742d28a7142828ae8154a63ce24abf4090d1c579a44f596224663fcae7984ba + unrolled_ast: 2742d28a7142828ae8154a63ce24abf4090d1c579a44f596224663fcae7984ba + ssa_ast: 092df4b48bce416f43c3ebd7d2b5091746e77e68fa15e61e511b3629a20184c7 + flattened_ast: 7046448faf180f75707b44b745a1e0c32433bc0270de6ddec43de21ffa35bd4f + inlined_ast: 7046448faf180f75707b44b745a1e0c32433bc0270de6ddec43de21ffa35bd4f + dce_ast: 7046448faf180f75707b44b745a1e0c32433bc0270de6ddec43de21ffa35bd4f bytecode: d0d3f79c32e6cb17c98afa2f1d4861d0f71d7f805a87712b3491ef0a9e1b4892 diff --git a/tests/expectations/compiler/boolean/equal.out b/tests/expectations/compiler/boolean/equal.out index c2f5c470d8..49f73da8bf 100644 --- a/tests/expectations/compiler/boolean/equal.out +++ b/tests/expectations/compiler/boolean/equal.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ad12566d0b8f3bef282b67823b427a74e56acbcc34acaa4f939097fb451ea7d9 - unrolled_ast: ad12566d0b8f3bef282b67823b427a74e56acbcc34acaa4f939097fb451ea7d9 - ssa_ast: 453e77387be9254ded9019b6c362721f766ebf5a5b2d3604e51ae81452fac4e8 - flattened_ast: b39344c70e1a23869b236146ace198addf0801b348deedfb3e4ff1e3c4ace904 - inlined_ast: b39344c70e1a23869b236146ace198addf0801b348deedfb3e4ff1e3c4ace904 - dce_ast: b39344c70e1a23869b236146ace198addf0801b348deedfb3e4ff1e3c4ace904 + - initial_ast: b10bb4c2fd7aa939feb34b02e1c7ff23af36605ff7527f7284d780a1cbdf6223 + unrolled_ast: b10bb4c2fd7aa939feb34b02e1c7ff23af36605ff7527f7284d780a1cbdf6223 + ssa_ast: d9ed992d0fb559578f1002f8d0ac8cd3b10751adf3b0fd32967b22d5a355ec63 + flattened_ast: 544a42d7842784673a9504658391cef8ec290fbe1687c341a40ea94a106b8c68 + inlined_ast: 544a42d7842784673a9504658391cef8ec290fbe1687c341a40ea94a106b8c68 + dce_ast: 544a42d7842784673a9504658391cef8ec290fbe1687c341a40ea94a106b8c68 bytecode: e742ac3b95a8971f2018963aba6d915ea53205c21443d0b11ad52a42ad443b97 diff --git a/tests/expectations/compiler/boolean/not_equal.out b/tests/expectations/compiler/boolean/not_equal.out index 1a18fffc4e..e9b20ff616 100644 --- a/tests/expectations/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/boolean/not_equal.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5c885cc9e6d5df3602e09f7b53cb49ee4bca3a57d647044d4d321de32c4cdd90 - unrolled_ast: 5c885cc9e6d5df3602e09f7b53cb49ee4bca3a57d647044d4d321de32c4cdd90 - ssa_ast: 211f4122a90e6a117dc4fe2e7ca3c3e21bdc09a4c7992b212b6c34c283e896f6 - flattened_ast: 84fd34b95b75f6d72b28164a9cb2ac80fa4149564c8c187b0ead1e14d2299a63 - inlined_ast: 84fd34b95b75f6d72b28164a9cb2ac80fa4149564c8c187b0ead1e14d2299a63 - dce_ast: 84fd34b95b75f6d72b28164a9cb2ac80fa4149564c8c187b0ead1e14d2299a63 + - initial_ast: 41a3feebe352ca7386c25e555e84259895db221fde21a710fd018647ac4f23e2 + unrolled_ast: 41a3feebe352ca7386c25e555e84259895db221fde21a710fd018647ac4f23e2 + ssa_ast: 6891f2c502f2991279675af094b147933fce01488c68b5d69b1a0693edca8efb + flattened_ast: 122c49ada6d29dd3903a8ff75bd0eca7f1d02f9bbff680ae5d80866d12334fb6 + inlined_ast: 122c49ada6d29dd3903a8ff75bd0eca7f1d02f9bbff680ae5d80866d12334fb6 + dce_ast: 122c49ada6d29dd3903a8ff75bd0eca7f1d02f9bbff680ae5d80866d12334fb6 bytecode: 1db874ad15d9bb70df7372ed3250cc6d0f65992e17788cd90c656ef1e1ceb63e diff --git a/tests/expectations/compiler/boolean/operator_methods.out b/tests/expectations/compiler/boolean/operator_methods.out index af94d2a854..04c0df6ef4 100644 --- a/tests/expectations/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/boolean/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3fda93baba12b9f280ffad75a662dfd16def0a7a1414de4cd29aa0e5afff85cc - unrolled_ast: 3fda93baba12b9f280ffad75a662dfd16def0a7a1414de4cd29aa0e5afff85cc - ssa_ast: 0ae9482705f95c26507f0040b972c76267a30eaa265f95764c758613d841932b - flattened_ast: 1e61c9d9ccdae7fb4aed4d7332538438839bef08a322f52fabcf46eac7bfc9c8 - inlined_ast: 1e61c9d9ccdae7fb4aed4d7332538438839bef08a322f52fabcf46eac7bfc9c8 - dce_ast: ab80f3a28ba9de58b165074c3ffae7e5be48e721bf17219252cecc0a6fb8b6e4 + - initial_ast: 58241bb3f5640a64c62859a1cd45f8122ba523e69b0335c538b8077995f7153a + unrolled_ast: 58241bb3f5640a64c62859a1cd45f8122ba523e69b0335c538b8077995f7153a + ssa_ast: 3c063412e7d20e41d4eb6e297c1d5aa99af7285931e94867bf508814545a5645 + flattened_ast: 87140ae323cdb03fd64af5df9167c535d960428f943b3e28f0f59583b5488178 + inlined_ast: 87140ae323cdb03fd64af5df9167c535d960428f943b3e28f0f59583b5488178 + dce_ast: 01ca98da583f496ea6b6042e203ca59660e8ed437cbadfe683a45dd1996ec4f6 bytecode: fedea8c873d237103657ba0902968bf5be3e854c95b2720b28fda529c5b87ff1 diff --git a/tests/expectations/compiler/boolean/or.out b/tests/expectations/compiler/boolean/or.out index 1a98731649..89ecc52066 100644 --- a/tests/expectations/compiler/boolean/or.out +++ b/tests/expectations/compiler/boolean/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3281347d18634932dba7502590f4ed0a45e15205fecdfb11846a1ac9de0a7c10 - unrolled_ast: 3281347d18634932dba7502590f4ed0a45e15205fecdfb11846a1ac9de0a7c10 - ssa_ast: f1ecffe7065e9782af5bf452b6ea547bfb5026a4c56e0c3105077c85ce196216 - flattened_ast: cf5034c292702654bd282c10c8d1abafed8ed328f8e6cd0a01b286438809afd5 - inlined_ast: cf5034c292702654bd282c10c8d1abafed8ed328f8e6cd0a01b286438809afd5 - dce_ast: cf5034c292702654bd282c10c8d1abafed8ed328f8e6cd0a01b286438809afd5 + - initial_ast: 0715a9de60a7591838cc8e2d8299891da00e549a1f3d4303d04c38acca3e6031 + unrolled_ast: 0715a9de60a7591838cc8e2d8299891da00e549a1f3d4303d04c38acca3e6031 + ssa_ast: 059bbf8243e5adfd000631fdd0561aec9f1f5fc5826a14d22edb3d62ca3ffad4 + flattened_ast: 6458a3034ac36166b801405702880b7319282e84ca4f88b4a06f14cf4644d2d3 + inlined_ast: 6458a3034ac36166b801405702880b7319282e84ca4f88b4a06f14cf4644d2d3 + dce_ast: 6458a3034ac36166b801405702880b7319282e84ca4f88b4a06f14cf4644d2d3 bytecode: e859520fd52dbdf69b14a3c3d9bad64bf6165084fb949912224eda3ccab9b638 diff --git a/tests/expectations/compiler/console/assert.out b/tests/expectations/compiler/console/assert.out index b57b331725..7d7af03fec 100644 --- a/tests/expectations/compiler/console/assert.out +++ b/tests/expectations/compiler/console/assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 75a36838e40b40528abbeb2a752b51db98a9eb6537aa3ec5d812a0e0ce3c64b9 - unrolled_ast: 75a36838e40b40528abbeb2a752b51db98a9eb6537aa3ec5d812a0e0ce3c64b9 - ssa_ast: 0c66a00da3384b853fd83ecb3747abf1101af0c39849fd75af793a68537f714d - flattened_ast: 7a2b73a748d86babab5ca7a4f9e513cfd028dcbadc7df8baeb7774ffb54c1b43 - inlined_ast: 7a2b73a748d86babab5ca7a4f9e513cfd028dcbadc7df8baeb7774ffb54c1b43 - dce_ast: 7a2b73a748d86babab5ca7a4f9e513cfd028dcbadc7df8baeb7774ffb54c1b43 + - initial_ast: 5ef46fc3795993cc87749ee93487e0f039860caaa04c1bd36a89c1d2cb810563 + unrolled_ast: 5ef46fc3795993cc87749ee93487e0f039860caaa04c1bd36a89c1d2cb810563 + ssa_ast: 46a516b49a3770b90c267882273e1b73f1eeace3595c303b40678dadc65c97e1 + flattened_ast: 83900b2b66f6ffa1e2d78a99b9506477699a3e96f8a37d338ff4f7c2192a218e + inlined_ast: 83900b2b66f6ffa1e2d78a99b9506477699a3e96f8a37d338ff4f7c2192a218e + dce_ast: 83900b2b66f6ffa1e2d78a99b9506477699a3e96f8a37d338ff4f7c2192a218e bytecode: fdc5659b97d4dbfea710ca848dcffa29bcd4da3a7a54739fb916e5292284a1a4 diff --git a/tests/expectations/compiler/console/conditional_assert.out b/tests/expectations/compiler/console/conditional_assert.out index 4265227f8e..a68aa7bc28 100644 --- a/tests/expectations/compiler/console/conditional_assert.out +++ b/tests/expectations/compiler/console/conditional_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c97efd0956a3c8d6a511b38d61f3f3bdd34d95ad2f78242d2816c723d1676997 - unrolled_ast: c97efd0956a3c8d6a511b38d61f3f3bdd34d95ad2f78242d2816c723d1676997 - ssa_ast: 0a690ca166cfd10c1b57d3df756032f10b003cc0d006bf27f41901b6af2ce95e - flattened_ast: 083a9af2e592de0c827b15230cd2307daae4b90e324e35714f474d50cbb59162 - inlined_ast: 083a9af2e592de0c827b15230cd2307daae4b90e324e35714f474d50cbb59162 - dce_ast: 083a9af2e592de0c827b15230cd2307daae4b90e324e35714f474d50cbb59162 + - initial_ast: 04c2e301509d197910f0aa32d710207581d242b9ee32e9f8b87eaa9ac6e1d695 + unrolled_ast: 04c2e301509d197910f0aa32d710207581d242b9ee32e9f8b87eaa9ac6e1d695 + ssa_ast: 1a2923b86b816be6c5f03d97237a36d27a4de4c65b546c223e2d9acc921367b0 + flattened_ast: 727b91e66561ef735e3471679d35b0aea80d1523da1492b307216922fbfc8e5f + inlined_ast: 727b91e66561ef735e3471679d35b0aea80d1523da1492b307216922fbfc8e5f + dce_ast: 727b91e66561ef735e3471679d35b0aea80d1523da1492b307216922fbfc8e5f bytecode: 9006475518263541b3a855db6907377b638ef28f2a44caf4e26db7991c3b58ef diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out index c33d13b8fa..2431e74efa 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 91862d403b538c1100f31dc5979ffee097a3c71173315bda9b00e2b2fbd246cb - unrolled_ast: 91862d403b538c1100f31dc5979ffee097a3c71173315bda9b00e2b2fbd246cb - ssa_ast: 869edce87a429184f914c6ff72592de2e8dc1395f8b413237857c4111a796d39 - flattened_ast: a2b862ac405e65f5dd9258cff25237c23ea457bfa8b5c449da49248d326f28d0 - inlined_ast: a2b862ac405e65f5dd9258cff25237c23ea457bfa8b5c449da49248d326f28d0 - dce_ast: df34074e0922066553939fcbf28b572addaaf4bcd83f6cd42222780f1ec6622b + - initial_ast: d12524dabc11a4fd8823a289053cd5f07b211d6634607b6f733e65dc8018b72e + unrolled_ast: d12524dabc11a4fd8823a289053cd5f07b211d6634607b6f733e65dc8018b72e + ssa_ast: a2434dcc775806e779751964ee8ff4190e6f29daca4e8a8eaf6e1218a1ef0a7b + flattened_ast: 0631c6539b99a170e2a91e6ea0f22ba333134269ecbd4101457b569d0845561b + inlined_ast: 0631c6539b99a170e2a91e6ea0f22ba333134269ecbd4101457b569d0845561b + dce_ast: 3e559933dad07658386f14ac9a53ee413402f6a11e8af8ee87000297e43bcc91 bytecode: ba841e355e57f9ad4c4a01b358d4e21d960453a5f0590715b16544c7cdde20b4 diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out index 2bfd540ec7..fc82f0bd68 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3264d91e7918b4576be9b02519ad678de98bd28789f866076a2db87f8bf6de13 - unrolled_ast: 3264d91e7918b4576be9b02519ad678de98bd28789f866076a2db87f8bf6de13 - ssa_ast: bc7b8721cbfb437ea6eb609ec335e9e22ddabb3f9240488801f9f193cf14b403 - flattened_ast: b237061bd9ae5a830947d80f051bbee4e7ced839dee6a1fb28f868aa3c7a4537 - inlined_ast: b237061bd9ae5a830947d80f051bbee4e7ced839dee6a1fb28f868aa3c7a4537 - dce_ast: c67c332f52173ca72aa22ee4a365ce953f9b4f18767ecaba69bd2c7184a0fafe + - initial_ast: 885492b08b160c7e78ec372892d43ddb267b4c3a28be6121dcb66a9ea5f7f722 + unrolled_ast: 885492b08b160c7e78ec372892d43ddb267b4c3a28be6121dcb66a9ea5f7f722 + ssa_ast: 560526d66a33430fda14b14c74456efe2734fcce40f88d8bb55cd0d361ee8462 + flattened_ast: d2b3aaffe74502f9b9d32ed1bc2e8f1d58dfbb26c80816a07f3703896924da76 + inlined_ast: d2b3aaffe74502f9b9d32ed1bc2e8f1d58dfbb26c80816a07f3703896924da76 + dce_ast: ff074fd2f49b84f027d19ab7a4d32109e1694c37281e280bfa91ab31dff556ce bytecode: 4f6a5b2268ffc7810d1d7fca88c7d7ec7c92b080fc2c752e3faf737f37a58e64 diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit.out b/tests/expectations/compiler/core/algorithms/bhp256_commit.out index 854ad0fb29..40e9b73fa7 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f7ace4c6722a161a5d16489b3e0fa4734bae59f500fbe619bcade17e3cb559e7 - unrolled_ast: f7ace4c6722a161a5d16489b3e0fa4734bae59f500fbe619bcade17e3cb559e7 - ssa_ast: 649adcba3bd743536eab0aaf9d81ca0b72911c7b9b5d83f23c73a481102c36e0 - flattened_ast: 133fcd28e2d6767664071a0af992bc9601e481ac2ea9f17faf624f144c43bc4b - inlined_ast: 133fcd28e2d6767664071a0af992bc9601e481ac2ea9f17faf624f144c43bc4b - dce_ast: 3df14b9911324d85dd9f114e9db7ebb9f163f5dbac6669c033431c01b44758e0 + - initial_ast: ec40893fbb10a898e8c6a142a048ffb724b82014b516b09ebb6d3e3bc62b6952 + unrolled_ast: ec40893fbb10a898e8c6a142a048ffb724b82014b516b09ebb6d3e3bc62b6952 + ssa_ast: 9c0738d8cf0a1bdb2179d78971641d44c5c0a2637d8483f28ffe73f50b9cc4f5 + flattened_ast: 2720b3db8445ad226696bb4b210e5364bec0a82e0df01c21e2468cf02bb75ef8 + inlined_ast: 2720b3db8445ad226696bb4b210e5364bec0a82e0df01c21e2468cf02bb75ef8 + dce_ast: 87ebd71eee7366648b5955db206a88fa2ef592ef25a583d46c057757387e3bda bytecode: d323d7074e8595ad95520b70580a5c41a57541aac1eb7aa680e674fb699f90ed diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash.out b/tests/expectations/compiler/core/algorithms/bhp256_hash.out index 3583536e4a..98b8966171 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fae17dce96224c854538e0acdd1d2ccfd1755aec4e48913d67febd5155025f32 - unrolled_ast: fae17dce96224c854538e0acdd1d2ccfd1755aec4e48913d67febd5155025f32 - ssa_ast: c5ef5cf3a66b8fd09c4fb651bec9feec382af6aa025ca54f2514fcba1b781d30 - flattened_ast: 3dab7bf9e471da6c3f524c510c64c6b5a8850ea4e4b644f3a5513c9d5fcf622a - inlined_ast: 3dab7bf9e471da6c3f524c510c64c6b5a8850ea4e4b644f3a5513c9d5fcf622a - dce_ast: e0a7d58415cc69357806e74261e06204cbadbdd6acbecf3c80c7abd3a77be1f1 + - initial_ast: e0d2ccbbb02117624109fd1fd2f82a9d7a721775270d1bd42b9e3705b5e4e03e + unrolled_ast: e0d2ccbbb02117624109fd1fd2f82a9d7a721775270d1bd42b9e3705b5e4e03e + ssa_ast: c3c04d972e51930ea378c2b7adead4b045927c755c6c5edb6f8c0a66587e8d39 + flattened_ast: 2f56937654411010379d01025a273ff574d480329f58fac57b8eeb02634beed0 + inlined_ast: 2f56937654411010379d01025a273ff574d480329f58fac57b8eeb02634beed0 + dce_ast: 54992b69ba275eca7d88fb104abafd522e51e4497b6942b07af752835d1c8412 bytecode: a838bb972d5c9fab64c81f1c874d90795edc4a6385b524fcf6f90d8513e2a05b diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit.out b/tests/expectations/compiler/core/algorithms/bhp512_commit.out index 97cde26927..5265d68950 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c4a71c6a0f72897bfd540fc6bbf6d440d1f827746cecabd5094a9eba1ba249c0 - unrolled_ast: c4a71c6a0f72897bfd540fc6bbf6d440d1f827746cecabd5094a9eba1ba249c0 - ssa_ast: 7118572de7aef8ba01b0211cfa1e40d92c5d856256f91e5ffddd5621b935e2b8 - flattened_ast: de6afb7703d3e89ab7a00c33683a690bdc401e58278bd27164b623088835570d - inlined_ast: de6afb7703d3e89ab7a00c33683a690bdc401e58278bd27164b623088835570d - dce_ast: 5a3c26e31d0810f8bccf1efe46988141b50f5d8c37e15b585accb74c3514bdb8 + - initial_ast: b7f5ade442cf015cca6b8927cc075c39a237e42b3569fd9a109f08b1d7af62c3 + unrolled_ast: b7f5ade442cf015cca6b8927cc075c39a237e42b3569fd9a109f08b1d7af62c3 + ssa_ast: ccd163dad3f6aa30a8887dd4b9b32f8abe977c7393973bcb1620a30b395f199e + flattened_ast: d4b48a893501384088e63598448df2df914c50c5d4994e4eb423012cda1d36ee + inlined_ast: d4b48a893501384088e63598448df2df914c50c5d4994e4eb423012cda1d36ee + dce_ast: a46a4907a1c713e16d3612f7c458f861b587b19ef22a8e2ec40d8a71fd7724ee bytecode: 12b55db95d5f6e760a8ebb0604264fb1b09b771d247d093eaed4dec8c28a579b diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash.out b/tests/expectations/compiler/core/algorithms/bhp512_hash.out index 81312d00cf..049c50b7a6 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4fe2842db5a366b9cc40a7d61e5f601471ab00369d754eeb06c63063b166eb0b - unrolled_ast: 4fe2842db5a366b9cc40a7d61e5f601471ab00369d754eeb06c63063b166eb0b - ssa_ast: 907da2b9128857218e5c3a6f94e66f6fea60002fb84edfc152737a02cf7dacd1 - flattened_ast: 75c3f273bfeb27f285138e30b1cbc97f1b45d310dd8bd59278bea1c44ae66f6b - inlined_ast: 75c3f273bfeb27f285138e30b1cbc97f1b45d310dd8bd59278bea1c44ae66f6b - dce_ast: 5ffda7837ed85713d10352862a479bfb31165902a21de31c849c25cfb8e6657a + - initial_ast: 2024369e5a01d6b87124c1581c1f587df08880bf14e1081236b5adfc2a202921 + unrolled_ast: 2024369e5a01d6b87124c1581c1f587df08880bf14e1081236b5adfc2a202921 + ssa_ast: d94420dc23b9a3ae819bfaf586ba80c26463002c070809a156dcd417f21800c6 + flattened_ast: d2cb74fa04a18c71ff4f989ce5b5e40c8c146977391f0395d5166b1bde8958f4 + inlined_ast: d2cb74fa04a18c71ff4f989ce5b5e40c8c146977391f0395d5166b1bde8958f4 + dce_ast: 1098e18aff7d208e982bb57548ebf67789f98bfb2baeee6811bf12bc026b9aee bytecode: fca69f7905d164b970b57988810e4629b009cdbfc1ad5952459ef579a40b616c diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit.out b/tests/expectations/compiler/core/algorithms/bhp768_commit.out index a146946138..5139421470 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d70daf2abc3e9a8ba4424c3c370c2037c973e05c2048ed0dc1d7ff72f14bc60a - unrolled_ast: d70daf2abc3e9a8ba4424c3c370c2037c973e05c2048ed0dc1d7ff72f14bc60a - ssa_ast: 782104fd26bd70f18b2a7baedd9594ffa0c7879e0a8e9fdfd8e66f03b51102c6 - flattened_ast: 8e4b0058f7016f503300ac68760852dff28900eaa79215926464b924665ebcb6 - inlined_ast: 8e4b0058f7016f503300ac68760852dff28900eaa79215926464b924665ebcb6 - dce_ast: efdd14f5229f37fcf190afeecde9c42699a7a936c219cb6f90be3b31cbf5bb87 + - initial_ast: d4bbc5939b3cece22627d36726a7ff445ae52c20f5c0cd469cc586e7ea9c93bc + unrolled_ast: d4bbc5939b3cece22627d36726a7ff445ae52c20f5c0cd469cc586e7ea9c93bc + ssa_ast: 8259032e8c2614d1c5b1e372110e82eaf2859b37759a2ff1d1e0e048305093a3 + flattened_ast: c7d48b1b751a55f8ad29c4fbecb4318c8cfe548bbc5fc1602ce84bceb189c202 + inlined_ast: c7d48b1b751a55f8ad29c4fbecb4318c8cfe548bbc5fc1602ce84bceb189c202 + dce_ast: 64ddd0226240aa367edb403907342142e174074c2cce7284ab949223432cdf2f bytecode: ed946f317a1fbdd2a8f9a2274d8cb72326308007df1d2f02d82893fe00453844 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash.out b/tests/expectations/compiler/core/algorithms/bhp768_hash.out index d055a390f9..0e5b3b8f11 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8a14b07c6c839a99d03dd0500335bda9fd2b8deec52b42edaf4ddf3aa3735037 - unrolled_ast: 8a14b07c6c839a99d03dd0500335bda9fd2b8deec52b42edaf4ddf3aa3735037 - ssa_ast: ea512a03053a33e37bb817d6c4592043329e98e1f9a115fd101d74ccd239e2c2 - flattened_ast: 68fd19aa7e43e46b9ffa4f23e518e0b3d818b9ad10f8521c3be324241fb36521 - inlined_ast: 68fd19aa7e43e46b9ffa4f23e518e0b3d818b9ad10f8521c3be324241fb36521 - dce_ast: 898d04af13dec567b07cfea58295650ffc76b709d617c7545632ebc6a550aefd + - initial_ast: 1fd17568e0092e860d4bb1ec7cb587f54ed35537602b5e3099a9eff2925a2914 + unrolled_ast: 1fd17568e0092e860d4bb1ec7cb587f54ed35537602b5e3099a9eff2925a2914 + ssa_ast: 493b2c05958bcdb8a50f78b88c24adc6c8854ce3effad8379c7604e930cfb894 + flattened_ast: 4972c19999c03ca655d58226adfbd04e8cd7c5d13438433454363b88185b3a4d + inlined_ast: 4972c19999c03ca655d58226adfbd04e8cd7c5d13438433454363b88185b3a4d + dce_ast: b08c6123568a97a5995d7242fef8cde16f75071c7d16bd5501f75a252c8b1ff7 bytecode: 15c8e5674fa814192d9b8f836c92615685079bf9fb97bbfca8e3d5ca836a1cdf diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit.out index 894731d0e4..a30b8630b3 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c57c36b9b59e05c91849e91969a79474d5fcb49d284be8140ffaac4746ae7191 - unrolled_ast: c57c36b9b59e05c91849e91969a79474d5fcb49d284be8140ffaac4746ae7191 - ssa_ast: 586af29b0b79edf5f19a4bd494d8428f22a87f851119d7f74eab9b535810468d - flattened_ast: f72217bcb7185ae66114addb89c1bcf61da6ff200ece88309aa50dc3f5ebefd9 - inlined_ast: f72217bcb7185ae66114addb89c1bcf61da6ff200ece88309aa50dc3f5ebefd9 - dce_ast: d5dad9bef9df7ffdf27685563189b9900543e153761cf5ded8e16a58b48dd07b + - initial_ast: 24c6e610ce7b9635e80ea5bb5c50d5abb744e3d3ad1b7ca5a81a5341c0f6e6a4 + unrolled_ast: 24c6e610ce7b9635e80ea5bb5c50d5abb744e3d3ad1b7ca5a81a5341c0f6e6a4 + ssa_ast: 7e7f2c021716923b4307072b0541aa19a036c52fd143de7ed5b90c6d9f24aba2 + flattened_ast: 166aa4c72e92ecdfe0130d962da74537905cfe690af70b3c2dadc342a1b54bed + inlined_ast: 166aa4c72e92ecdfe0130d962da74537905cfe690af70b3c2dadc342a1b54bed + dce_ast: 02550f88f11d9f11b54ee18c99dad4d23ac7997cff088335733fb246e884ec98 bytecode: 52babd5fc1693c9b41d1f8e26d7c5c91f27c9409c8a49c56374c14f068a69715 diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out index 06d77ed616..08fe5cdbb7 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c00a32cd00345e923e87dcd16427c9f2ec733022431e38cceefbb5ab6143b161 - unrolled_ast: c00a32cd00345e923e87dcd16427c9f2ec733022431e38cceefbb5ab6143b161 - ssa_ast: 29ecb3770403a15ee05a695260ebc6f7b8e313b4614e3a1f06de34b4d03ff147 - flattened_ast: 9711e4d72e2e9e85b24e3b4b3e73cc939a05a5846733c0eb15dab5c5b54a054a - inlined_ast: 9711e4d72e2e9e85b24e3b4b3e73cc939a05a5846733c0eb15dab5c5b54a054a - dce_ast: 3a8d12872135e283b8f21c4207fa37fe7969ea75b810aa227aeeca69c90a1a5a + - initial_ast: 4b82f07fa0e0a27a4f425c2305b8ce2315b3fa2dfff16b277b320b2ebbf17abf + unrolled_ast: 4b82f07fa0e0a27a4f425c2305b8ce2315b3fa2dfff16b277b320b2ebbf17abf + ssa_ast: d7ec8db7ee8dbddd3ac97892ce7e4e68b5bd723ebd4818af0497789e00d239a8 + flattened_ast: 4fad6be9307476904ee666811160b8154d0b9ad3fa5bd8a555329fe685d148ae + inlined_ast: 4fad6be9307476904ee666811160b8154d0b9ad3fa5bd8a555329fe685d148ae + dce_ast: 80c8a39f17df6c40de49c4017a95f6c7f7824c6ff2fee455e19b3e0d6d781083 bytecode: 2dd437da2efd160fbba1cb573e9ac61d046ff0afbbffd8f98fa1aebefdde98c5 diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit.out index c8c24f8058..aa91172d0a 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4eaa587c05eb4f4a65f33d94cd12a1ce47a55263726b7619578846c620735b3d - unrolled_ast: 4eaa587c05eb4f4a65f33d94cd12a1ce47a55263726b7619578846c620735b3d - ssa_ast: 3e1a3d03f465a60b2ceb2fc480551d9d498beb758a6b378ae6558117ec2955a7 - flattened_ast: 2448c3c0819a99113f4acb509371009619592a984911b836f9787a386cf1e617 - inlined_ast: 2448c3c0819a99113f4acb509371009619592a984911b836f9787a386cf1e617 - dce_ast: 0fd6329efebd5d284865f633a0459df53b14e8cee46ba18004ac90038c79b856 + - initial_ast: 51304ad79575f4406c4ef19b77a9b6fc46a5006e1ba268b4b9ccca27b412775a + unrolled_ast: 51304ad79575f4406c4ef19b77a9b6fc46a5006e1ba268b4b9ccca27b412775a + ssa_ast: 640e442514ccb92fe7458f456f849ffd71181890a44341e41b73cabe2094d76e + flattened_ast: 441d6c3d2db3e8bcabb212975bb54338567972642712c687fa7215f8061c4096 + inlined_ast: 441d6c3d2db3e8bcabb212975bb54338567972642712c687fa7215f8061c4096 + dce_ast: 7a2ee65823a84e3aac4be7967114f848bdfe03c74091505bc7aff3b1abcf8491 bytecode: c4131bb0900a47f3b000722e7218a8b030927e34f2952bed289bc5fe6437a995 diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out index a98ceae830..aa5c4b6901 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8693aac7091d75fe65a52352decb2ce24e225dae9396cb45809575f7c3cbd8d9 - unrolled_ast: 8693aac7091d75fe65a52352decb2ce24e225dae9396cb45809575f7c3cbd8d9 - ssa_ast: 5a33864a3f91c0d4a63171ed36ef709b7e75593a3181b4ed3f11be873ce2b9a2 - flattened_ast: 8a13f93c69d995ea32ab518a4287d77dd9e37e4e1f15fd257361c58a0f853e7b - inlined_ast: 8a13f93c69d995ea32ab518a4287d77dd9e37e4e1f15fd257361c58a0f853e7b - dce_ast: dd061aec3f3a5e3ae3ee930dcdf543adc041f27d5c9d3004f43deff18c3e68ee + - initial_ast: 629707b6d5edf614f9f22dc3d9e68b4d9ef3f6862f1c788f3248fc3402c3e75e + unrolled_ast: 629707b6d5edf614f9f22dc3d9e68b4d9ef3f6862f1c788f3248fc3402c3e75e + ssa_ast: aa46266ef15deb6689fa9b15c86edd21dcbb7f407cfd4b18e9db2d577726f7b5 + flattened_ast: a43a7f853600ee7a3e5d5c09719e61029986c6916134b8c65d855bd414898b69 + inlined_ast: a43a7f853600ee7a3e5d5c09719e61029986c6916134b8c65d855bd414898b69 + dce_ast: 1402bddace7901d3963ea7111a6039bd0ddbfd56c09d81226871278ae134426e bytecode: 39222c7508c1ea4a59a42f8a65904f2ec657bbb2d3e8d750a7a475816a2bc2b6 diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out index 43a994a1fe..7a517dd290 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5b68dd17af0f5bab6f5cc67f2b47a35760041ef9ff4df7ea8f010559bae5781a - unrolled_ast: 5b68dd17af0f5bab6f5cc67f2b47a35760041ef9ff4df7ea8f010559bae5781a - ssa_ast: ef60c984ccfa580d1285dbbfe0d43553f1fd22b2d3a23f677e41a6d9943135ba - flattened_ast: e2383f7bb4b70472e366c8285f017807b15eb2bffb747ff31cfcf4078318f186 - inlined_ast: e2383f7bb4b70472e366c8285f017807b15eb2bffb747ff31cfcf4078318f186 - dce_ast: d48a8f76789c725ba2b15efce543d5a575f24866642ac722b31c759def6040e9 + - initial_ast: 58965e2ae6e3db9ca2a7cc5d6e1be83250c4dc64937e6514f1c587fcff72fc3d + unrolled_ast: 58965e2ae6e3db9ca2a7cc5d6e1be83250c4dc64937e6514f1c587fcff72fc3d + ssa_ast: e8bcc93a4eaf1fbe6689c19f49553c6b0f82d21b30b7f3db7b92b726c26d9e37 + flattened_ast: d8d3ee523da29532a5213009df85b548cc9954489746c61f538665b4164c3d3c + inlined_ast: d8d3ee523da29532a5213009df85b548cc9954489746c61f538665b4164c3d3c + dce_ast: b34ad580b0596253962cead0a656fb818da79b175d41076ea3fc4f5e632c477d bytecode: ec61486b3488918a8a8db406b9d6c8a4fd73b865c7add4cd2646b6ed4738c648 diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out index 2db30e7ef0..d64f6599cf 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9c2d420ea86a2611aed31072a96be5973fe931cb5208834dbbaaa85832dad479 - unrolled_ast: 9c2d420ea86a2611aed31072a96be5973fe931cb5208834dbbaaa85832dad479 - ssa_ast: c1b75e3e3caf0094fc3a3a955dfbfbd844d86a9da4ffbad5646cf2d079c8fc49 - flattened_ast: 42ab17eace07ba9fa174e1dd7f509045476ae4e3dab1393fe302973880bc4da8 - inlined_ast: 42ab17eace07ba9fa174e1dd7f509045476ae4e3dab1393fe302973880bc4da8 - dce_ast: c29e475b3798613746f0aca803383facd5f988c0fe619ab155ae55baed2fd400 + - initial_ast: ed3e5f12a0728eaf0d51a2655ebead5dfaead4c69fb62fcd11c4ce21c681c9ba + unrolled_ast: ed3e5f12a0728eaf0d51a2655ebead5dfaead4c69fb62fcd11c4ce21c681c9ba + ssa_ast: cac885d7fba27577e4614b90051d22055e8f6292b9d68f10e281ec09b38b25f0 + flattened_ast: b40b045e3ebb20ec91e831776cbb1d3cbe3fb0859f17e2705ca0c47a56a0c6e5 + inlined_ast: b40b045e3ebb20ec91e831776cbb1d3cbe3fb0859f17e2705ca0c47a56a0c6e5 + dce_ast: fcbbf26d1e067cd72a9d976757a5f1baaeda408e707feb1668c8cf60af74b0f2 bytecode: 36b4ead8db1862fcd7831096b07f40256c01e8039c41be29c007a334cd2343f9 diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out index 608d2c8493..51ff83a972 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 417887bbb9a8fddcc52848e4517ffd59dcaaf35512e1166df3838f0a15f7ac74 - unrolled_ast: 417887bbb9a8fddcc52848e4517ffd59dcaaf35512e1166df3838f0a15f7ac74 - ssa_ast: 95bf4aa7a18c4e152ae24292bcba2cef5c3fc2c7bea6cdc80d146f3e31ebe984 - flattened_ast: a698ca5479fd0b3b6e7a4d55f9f0c06c1390f920145357a2e3e46e8b453f5ad5 - inlined_ast: a698ca5479fd0b3b6e7a4d55f9f0c06c1390f920145357a2e3e46e8b453f5ad5 - dce_ast: b2cbcf19bf6f16d14311ac2c98820ca4ac8d34c2a14bf69784ab5f15114e297f + - initial_ast: 78551bc27cfc67da8165278a3d51d5609c046ca77a634f6079e661f8c75230f7 + unrolled_ast: 78551bc27cfc67da8165278a3d51d5609c046ca77a634f6079e661f8c75230f7 + ssa_ast: bd12a6a5734d36eba668fe48330147f2fc4052722d46d2fc6290c3d1b4f3be18 + flattened_ast: b76fd3ae5876aa57e353d0692c1aebe6706c7cee7ceb69bcf71e58607721bc13 + inlined_ast: b76fd3ae5876aa57e353d0692c1aebe6706c7cee7ceb69bcf71e58607721bc13 + dce_ast: 34a899386291125256f4b783bdd8a730fb81ab45f2e5a3ac2113f70cf7a2a408 bytecode: 7353ae74ad6fd49fadd68e4f452d31569c2c09189cf5840ff49af032a7aab3cd diff --git a/tests/expectations/compiler/definition/out_of_order.out b/tests/expectations/compiler/definition/out_of_order.out index fe0e28b5ed..e0dc460e56 100644 --- a/tests/expectations/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/definition/out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9845d8aaec21f191c73e190b478e592e3e910b0dfd071cf86e692082f7ff9f23 - unrolled_ast: 9845d8aaec21f191c73e190b478e592e3e910b0dfd071cf86e692082f7ff9f23 - ssa_ast: a24e603330c02f87b70ed3e3f6467fc471d6d9d032f17eb023f37df005ceff85 - flattened_ast: bc4a52e6fb7998c2a8a454306e75598177546db8f32a5a79e95ead68abc72880 - inlined_ast: bc4a52e6fb7998c2a8a454306e75598177546db8f32a5a79e95ead68abc72880 - dce_ast: bc4a52e6fb7998c2a8a454306e75598177546db8f32a5a79e95ead68abc72880 + - initial_ast: 4535a0c89c87c4ce88631ce4bb1d9b936c1137d1c6552166377643abdb19c0c2 + unrolled_ast: 4535a0c89c87c4ce88631ce4bb1d9b936c1137d1c6552166377643abdb19c0c2 + ssa_ast: 043faace340564c556330ecf1854b9a673299c0c1f6445d62a753e0a7a81c7ce + flattened_ast: 3d0b99442220da1cd95623f74c019ec4c7510f2d4a0e661ecfcd872e69492ae7 + inlined_ast: 3d0b99442220da1cd95623f74c019ec4c7510f2d4a0e661ecfcd872e69492ae7 + dce_ast: 3d0b99442220da1cd95623f74c019ec4c7510f2d4a0e661ecfcd872e69492ae7 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/field/add.out b/tests/expectations/compiler/field/add.out index 407f7d747c..90287a9ad2 100644 --- a/tests/expectations/compiler/field/add.out +++ b/tests/expectations/compiler/field/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 179113dfb723097a26a7181bbb64ed56e7ca3ebf57cf782077d9743b64595446 - unrolled_ast: 179113dfb723097a26a7181bbb64ed56e7ca3ebf57cf782077d9743b64595446 - ssa_ast: 499f15e97d7e5d5dcc0be12e85176e6f160cc2b65d66b0667f640a3d0e64f369 - flattened_ast: 9c98dfcdcb403983efb0b1078246ca9e3c3e8fe913f6ceabbd9a87b63f3fc3a4 - inlined_ast: 9c98dfcdcb403983efb0b1078246ca9e3c3e8fe913f6ceabbd9a87b63f3fc3a4 - dce_ast: 9c98dfcdcb403983efb0b1078246ca9e3c3e8fe913f6ceabbd9a87b63f3fc3a4 + - initial_ast: d010351ab16a17a07ba39a4416ffb42a3a3b64d3651080aa09378c602baa7915 + unrolled_ast: d010351ab16a17a07ba39a4416ffb42a3a3b64d3651080aa09378c602baa7915 + ssa_ast: f4f292738cc5d29df59f43a9fa9b3c2270f46100115793361e191896d6359171 + flattened_ast: 8c945a9b407a46bc21fba52fcf778e8325c63c3eee5892bcccb2ce79e26d1af5 + inlined_ast: 8c945a9b407a46bc21fba52fcf778e8325c63c3eee5892bcccb2ce79e26d1af5 + dce_ast: 8c945a9b407a46bc21fba52fcf778e8325c63c3eee5892bcccb2ce79e26d1af5 bytecode: 230d4f2bda3933eb4fafc4dda4ce0087e74e4cbd9c65349746da561cbb3f99da diff --git a/tests/expectations/compiler/field/div.out b/tests/expectations/compiler/field/div.out index 3b86e02c0c..f0f45bca92 100644 --- a/tests/expectations/compiler/field/div.out +++ b/tests/expectations/compiler/field/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 873e6714527c41b8cf2b3db3236b443e8ead62c4580b57b4088c46c378524598 - unrolled_ast: 873e6714527c41b8cf2b3db3236b443e8ead62c4580b57b4088c46c378524598 - ssa_ast: d451c529bc4b3207205083e58d6521f0ea5526d63d1f77c42b40854f917316cf - flattened_ast: 0840cf638ec3532c7702d10bbbfcf2fbfc8c8f7c54e532acb4ac46cbb7c8ed61 - inlined_ast: 0840cf638ec3532c7702d10bbbfcf2fbfc8c8f7c54e532acb4ac46cbb7c8ed61 - dce_ast: 0840cf638ec3532c7702d10bbbfcf2fbfc8c8f7c54e532acb4ac46cbb7c8ed61 + - initial_ast: 1b8eb41d5897dcbaed66c2504c8b6486fcf0285732603c4cd54062a3498676af + unrolled_ast: 1b8eb41d5897dcbaed66c2504c8b6486fcf0285732603c4cd54062a3498676af + ssa_ast: ea144a049b9a6e7b53bb3809554dc719e5d391a045bab09ce9d5309605d4b58b + flattened_ast: 120268a394905aff85298b94600dc31ee24e1073c876ccad27c0b9a26705c61b + inlined_ast: 120268a394905aff85298b94600dc31ee24e1073c876ccad27c0b9a26705c61b + dce_ast: 120268a394905aff85298b94600dc31ee24e1073c876ccad27c0b9a26705c61b bytecode: fa960590c979aea4bdfe07b7d37060bb593f73f745974241e2db578bd7ba2ced diff --git a/tests/expectations/compiler/field/eq.out b/tests/expectations/compiler/field/eq.out index 6b12190d10..1a72ba4c18 100644 --- a/tests/expectations/compiler/field/eq.out +++ b/tests/expectations/compiler/field/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 63d16c8101f9ede853a5be9d493bc61bbe57449e99499e42254a1e2d6448e3d2 - unrolled_ast: 63d16c8101f9ede853a5be9d493bc61bbe57449e99499e42254a1e2d6448e3d2 - ssa_ast: df4cad7af230e0feb2036b920bde4aa81ed297a9ee8269aa95ded280610bde49 - flattened_ast: f1d531bbe1b2e0bf0f30a1f7e86cce88c834fee9eb4d06548508907ad5f2dd24 - inlined_ast: f1d531bbe1b2e0bf0f30a1f7e86cce88c834fee9eb4d06548508907ad5f2dd24 - dce_ast: f1d531bbe1b2e0bf0f30a1f7e86cce88c834fee9eb4d06548508907ad5f2dd24 + - initial_ast: c732942d5d8e12bfbafafab615cfe8dc5546e03bcbaa0bfe55c8c0f8d2844864 + unrolled_ast: c732942d5d8e12bfbafafab615cfe8dc5546e03bcbaa0bfe55c8c0f8d2844864 + ssa_ast: b331836f2412701dbb9702a56007e9b71548eccd3b034e890c67424fb54c5a60 + flattened_ast: 7a1df4f36cf63a902587d2283aee2172aea3b1f327b816faad919e38d5607566 + inlined_ast: 7a1df4f36cf63a902587d2283aee2172aea3b1f327b816faad919e38d5607566 + dce_ast: 7a1df4f36cf63a902587d2283aee2172aea3b1f327b816faad919e38d5607566 bytecode: e8cc0536d26ff27b9fe9ff3ad45b575185b9f60c9d3910481ab66843af0f2171 diff --git a/tests/expectations/compiler/field/field.out b/tests/expectations/compiler/field/field.out index 29358957f2..66b08b8670 100644 --- a/tests/expectations/compiler/field/field.out +++ b/tests/expectations/compiler/field/field.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 39173e607485c0706438ee8f9d8ffeac0e21c3ed08df932d9edaba8b15334ca9 - unrolled_ast: 39173e607485c0706438ee8f9d8ffeac0e21c3ed08df932d9edaba8b15334ca9 - ssa_ast: c6231cc87d5244b147045a8958342a3f9aae2a7108215b265c517fccab0ae697 - flattened_ast: eb4b8640cee5f68e7a358638a4f2dd80fa9f5e12df485cb41af7f041042c4495 - inlined_ast: eb4b8640cee5f68e7a358638a4f2dd80fa9f5e12df485cb41af7f041042c4495 - dce_ast: eb4b8640cee5f68e7a358638a4f2dd80fa9f5e12df485cb41af7f041042c4495 + - initial_ast: 971c33a1e6abaaefd1e137884a7046ec28002bc2f3959e5494795729150c8ff0 + unrolled_ast: 971c33a1e6abaaefd1e137884a7046ec28002bc2f3959e5494795729150c8ff0 + ssa_ast: dab95910928c290a43fffc6cfb94bdbf794f929ced2d1b0791c68bdd68ea5e7e + flattened_ast: 765e3d298fb1511ffe286a66d3acee4ef587cc7eb327345f47e5a2d1cadfca80 + inlined_ast: 765e3d298fb1511ffe286a66d3acee4ef587cc7eb327345f47e5a2d1cadfca80 + dce_ast: 765e3d298fb1511ffe286a66d3acee4ef587cc7eb327345f47e5a2d1cadfca80 bytecode: eeb44a4faf22686de577f93db551bd83246583158dcecb35d2dc454e0693e419 diff --git a/tests/expectations/compiler/field/mul.out b/tests/expectations/compiler/field/mul.out index c6cff13f72..300bcca510 100644 --- a/tests/expectations/compiler/field/mul.out +++ b/tests/expectations/compiler/field/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6b2150ffe972e2a329964dd76f061f3af94a9b15ce821ad4bb1cedd6b0134483 - unrolled_ast: 6b2150ffe972e2a329964dd76f061f3af94a9b15ce821ad4bb1cedd6b0134483 - ssa_ast: 610db9a9ab1fe344961c36a0fe5170902b9ca4cf036094b0a5f6fc9d8cfa7b72 - flattened_ast: 384e746fcbe1428be942f6ee12041562e0c1ae98b398c26da1d62fdb57181343 - inlined_ast: 384e746fcbe1428be942f6ee12041562e0c1ae98b398c26da1d62fdb57181343 - dce_ast: 384e746fcbe1428be942f6ee12041562e0c1ae98b398c26da1d62fdb57181343 + - initial_ast: 9965659ef6235dd9a571ec77eb744bfc0751cc67cdaa8394478ef9426a427bcd + unrolled_ast: 9965659ef6235dd9a571ec77eb744bfc0751cc67cdaa8394478ef9426a427bcd + ssa_ast: 05c2204fac5cd5c683ee0d4e0a917e9fa5a4363cf3760654820a5054522991f6 + flattened_ast: e36c2e6ee2b119fa51488e1bc3746d19e3ca4078a5d4fe589f500315386be40b + inlined_ast: e36c2e6ee2b119fa51488e1bc3746d19e3ca4078a5d4fe589f500315386be40b + dce_ast: e36c2e6ee2b119fa51488e1bc3746d19e3ca4078a5d4fe589f500315386be40b bytecode: 90662aea378f911f2798c1ece956f7a2566fd99d99a87d8285f1476edf468e43 diff --git a/tests/expectations/compiler/field/negate.out b/tests/expectations/compiler/field/negate.out index 028c8f42b2..5c080f58f3 100644 --- a/tests/expectations/compiler/field/negate.out +++ b/tests/expectations/compiler/field/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: cde2a91af921e65b79849153ed229de8c9a0af850ee62ac23363d0f8d8b82899 - unrolled_ast: cde2a91af921e65b79849153ed229de8c9a0af850ee62ac23363d0f8d8b82899 - ssa_ast: ebba08995e71307851655254c51deb67364ee12aa4320f9efa32c16668d26cf6 - flattened_ast: 7111dab311b76ad61366abb7a6e40586f44e17da7f8784eb6f8431dd0c41bd42 - inlined_ast: 7111dab311b76ad61366abb7a6e40586f44e17da7f8784eb6f8431dd0c41bd42 - dce_ast: 7111dab311b76ad61366abb7a6e40586f44e17da7f8784eb6f8431dd0c41bd42 + - initial_ast: bc11fefa35293d7b0ae3227514f133db6f99f3592b7b52ffcbad529d4089cd53 + unrolled_ast: bc11fefa35293d7b0ae3227514f133db6f99f3592b7b52ffcbad529d4089cd53 + ssa_ast: b197d80583b425fd4517275a78d0a8376c2fac245060a83dcb820863a46e6ff5 + flattened_ast: 1639c5560ce5b97293879d93663c8af732a55fa9fb7cdffcc8a4d82f1b7564e4 + inlined_ast: 1639c5560ce5b97293879d93663c8af732a55fa9fb7cdffcc8a4d82f1b7564e4 + dce_ast: 1639c5560ce5b97293879d93663c8af732a55fa9fb7cdffcc8a4d82f1b7564e4 bytecode: 57bdcce5ea2ea7890a6a4786e4795f5c458da4b6b29f6295f86e15f11479f3e6 diff --git a/tests/expectations/compiler/field/operator_methods.out b/tests/expectations/compiler/field/operator_methods.out index 91671a4286..0ec4ab9df0 100644 --- a/tests/expectations/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/field/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6926fc7a56a99fb841bff97631e39b332f998908009c9c0f83e0f0b4d1a0b8f3 - unrolled_ast: 6926fc7a56a99fb841bff97631e39b332f998908009c9c0f83e0f0b4d1a0b8f3 - ssa_ast: 842449a3e29d8cd788deae538a1642bc89e326ed45768ee5121095e4293f553f - flattened_ast: c48dab53c83532533096307cda1460de12397de310e2b6622f644dcace4f4391 - inlined_ast: c48dab53c83532533096307cda1460de12397de310e2b6622f644dcace4f4391 - dce_ast: c5d03ece7d274dc56be11aa850f15744fa5a84399ed4d5fc7dfde1cf6af2268e + - initial_ast: 19b82c2ec9413706bcec1b3a675f4466602a4869e33ea4bcb49443faa936e5f9 + unrolled_ast: 19b82c2ec9413706bcec1b3a675f4466602a4869e33ea4bcb49443faa936e5f9 + ssa_ast: 9ec8b1abe65cd097fdbd250a8f193f9f5469a40c34cd655d907bef641b885487 + flattened_ast: 4755034cd0f840171ccbcdbe2420a21eb27a253458fa4d04b8d4f1de48c91e88 + inlined_ast: 4755034cd0f840171ccbcdbe2420a21eb27a253458fa4d04b8d4f1de48c91e88 + dce_ast: 9aaa256e13e9a2482a1f5529261e87d7741039654469f83dd67e065f8fbab545 bytecode: f6b06c8195fece8a8c55a0c4684f0135bbaadda789d192091b60afd9aa6c8874 diff --git a/tests/expectations/compiler/field/pow.out b/tests/expectations/compiler/field/pow.out index e98a660b96..c6b5f65727 100644 --- a/tests/expectations/compiler/field/pow.out +++ b/tests/expectations/compiler/field/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 999b1553693e9c919a3a12b6fe2d9aefa0f7414eb294e9277585b8fa9d771c36 - unrolled_ast: 999b1553693e9c919a3a12b6fe2d9aefa0f7414eb294e9277585b8fa9d771c36 - ssa_ast: e2884225fe46a4d894ee2561635254b1079c889b26dc382128a590a40f3fe5d6 - flattened_ast: e36bb3f053c14fea5b6be293c43d32da60b06324b6cfe29a84ea2c1ce0d10015 - inlined_ast: e36bb3f053c14fea5b6be293c43d32da60b06324b6cfe29a84ea2c1ce0d10015 - dce_ast: e36bb3f053c14fea5b6be293c43d32da60b06324b6cfe29a84ea2c1ce0d10015 + - initial_ast: 34dc8055e284923414186f8ddab27e64f5b39d59f30d699ffc326f9da0ddf290 + unrolled_ast: 34dc8055e284923414186f8ddab27e64f5b39d59f30d699ffc326f9da0ddf290 + ssa_ast: 663c958f29433a915302f77a2a031a37dca0b256e0eed5b15de26890a7a576a2 + flattened_ast: ecaecabe4277782cfae0a2affe83470688716722c63c4e7ac6e9b8a89c4c9f18 + inlined_ast: ecaecabe4277782cfae0a2affe83470688716722c63c4e7ac6e9b8a89c4c9f18 + dce_ast: ecaecabe4277782cfae0a2affe83470688716722c63c4e7ac6e9b8a89c4c9f18 bytecode: 7540a269502febfe91bebfc15030891bde7667f921d5d8d9d22efbcf16410543 diff --git a/tests/expectations/compiler/field/sub.out b/tests/expectations/compiler/field/sub.out index 5f85337c0a..0839489d49 100644 --- a/tests/expectations/compiler/field/sub.out +++ b/tests/expectations/compiler/field/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 64dda97ee29caaad409d6138d57d8ed852caee9e40486539e03fcc570c7c3d1a - unrolled_ast: 64dda97ee29caaad409d6138d57d8ed852caee9e40486539e03fcc570c7c3d1a - ssa_ast: b893aa52ba3b0404bcfdcd8f9708df62cb91b70ba5e9417e1455fc7710c6ceb6 - flattened_ast: bbf216c1e754d2012edb4ef4896499255d956bf4f39c0b9852ee45f75d914a0b - inlined_ast: bbf216c1e754d2012edb4ef4896499255d956bf4f39c0b9852ee45f75d914a0b - dce_ast: bbf216c1e754d2012edb4ef4896499255d956bf4f39c0b9852ee45f75d914a0b + - initial_ast: d3321e35a0efb09fe64d67cb04e92abc881477d3f5a48328d9a5513d74e48ec0 + unrolled_ast: d3321e35a0efb09fe64d67cb04e92abc881477d3f5a48328d9a5513d74e48ec0 + ssa_ast: d26a86991c68340118d8cf513b82aebee246f1d5620610ea1650f46202ae818a + flattened_ast: 26a729358ac53eae6a6f8c8b38aa44f92052f2fd30be13238241e812042d5938 + inlined_ast: 26a729358ac53eae6a6f8c8b38aa44f92052f2fd30be13238241e812042d5938 + dce_ast: 26a729358ac53eae6a6f8c8b38aa44f92052f2fd30be13238241e812042d5938 bytecode: ef0f05392652587de58875f041bb805a5a1172a153d96973638342d143798863 diff --git a/tests/expectations/compiler/field/ternary.out b/tests/expectations/compiler/field/ternary.out index 6da4110c38..8bcc585b05 100644 --- a/tests/expectations/compiler/field/ternary.out +++ b/tests/expectations/compiler/field/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1ea7ba67b3f77b976b2ec3493afe6958ea64055e10f7a15f33235ff62dd488ee - unrolled_ast: 1ea7ba67b3f77b976b2ec3493afe6958ea64055e10f7a15f33235ff62dd488ee - ssa_ast: dd0df684331375510fdd96af15bd2aadb8932f3eff2fabb9d1b8dba199728b48 - flattened_ast: 60cf4f7e83d3ffc10b362b701749b0d5afcf8307e099bc5c7908c9ccb4df3efc - inlined_ast: 60cf4f7e83d3ffc10b362b701749b0d5afcf8307e099bc5c7908c9ccb4df3efc - dce_ast: 60cf4f7e83d3ffc10b362b701749b0d5afcf8307e099bc5c7908c9ccb4df3efc + - initial_ast: efa865919f71086f3b0750f2ca0021bb7e89b1d75dcaf36004dd807b75e2ddce + unrolled_ast: efa865919f71086f3b0750f2ca0021bb7e89b1d75dcaf36004dd807b75e2ddce + ssa_ast: 8ee7a8e37ac18702375a926e47b063fe87b68cf8c05001c6365c6bca5b84337f + flattened_ast: 041a15aa5fa09da1bafaa793f28127296ffd932e8a9a6232670c0ef5fc3c0d7c + inlined_ast: 041a15aa5fa09da1bafaa793f28127296ffd932e8a9a6232670c0ef5fc3c0d7c + dce_ast: 041a15aa5fa09da1bafaa793f28127296ffd932e8a9a6232670c0ef5fc3c0d7c bytecode: b65dba415908458745a14bfc52abda70a0899732f807ba22f56776ab3fcbf589 diff --git a/tests/expectations/compiler/finalize/decrement.out b/tests/expectations/compiler/finalize/decrement.out index a94787f896..b07465f93d 100644 --- a/tests/expectations/compiler/finalize/decrement.out +++ b/tests/expectations/compiler/finalize/decrement.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6fa465e63f2b8e880d621cb1758b3d1c0edfa9ce09e6d4f0f28bbe6c2ca2b955 - unrolled_ast: 6fa465e63f2b8e880d621cb1758b3d1c0edfa9ce09e6d4f0f28bbe6c2ca2b955 - ssa_ast: 6fa465e63f2b8e880d621cb1758b3d1c0edfa9ce09e6d4f0f28bbe6c2ca2b955 - flattened_ast: 4b8969d1adf68074bc7a8458a9146e128041bf929f2f6a4e76a16ad2769b81b1 - inlined_ast: 4b8969d1adf68074bc7a8458a9146e128041bf929f2f6a4e76a16ad2769b81b1 - dce_ast: 4b8969d1adf68074bc7a8458a9146e128041bf929f2f6a4e76a16ad2769b81b1 + - initial_ast: 8d49c4429df36f41f522fb2fce5c0a9a6a72985f55d69e628bfa76285dde1c71 + unrolled_ast: 8d49c4429df36f41f522fb2fce5c0a9a6a72985f55d69e628bfa76285dde1c71 + ssa_ast: 8d49c4429df36f41f522fb2fce5c0a9a6a72985f55d69e628bfa76285dde1c71 + flattened_ast: 80a4e3cfcafbb8d03052c030c270af8eb40b25d52fe8d82c82acbc3981403806 + inlined_ast: 80a4e3cfcafbb8d03052c030c270af8eb40b25d52fe8d82c82acbc3981403806 + dce_ast: 80a4e3cfcafbb8d03052c030c270af8eb40b25d52fe8d82c82acbc3981403806 bytecode: 39aa8516297ece27331b633a72466d2ff0122d36beca663a48bc07589e2d3e15 diff --git a/tests/expectations/compiler/finalize/finalize.out b/tests/expectations/compiler/finalize/finalize.out index b35c485aa8..120e48cf1b 100644 --- a/tests/expectations/compiler/finalize/finalize.out +++ b/tests/expectations/compiler/finalize/finalize.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9ffd4f34e261ee315a2ee29353e707b35c300e928aca532743142a538957c4ce - unrolled_ast: 9ffd4f34e261ee315a2ee29353e707b35c300e928aca532743142a538957c4ce - ssa_ast: 9ea8f3743b9bcf1584319472ca0a80707f117616d687d4c401b34fb10b44703a - flattened_ast: a4eca8b80af9863d59ebfb837fa5dae061fca7d52315d3a9f5778e6dc4b75716 - inlined_ast: a4eca8b80af9863d59ebfb837fa5dae061fca7d52315d3a9f5778e6dc4b75716 - dce_ast: a4eca8b80af9863d59ebfb837fa5dae061fca7d52315d3a9f5778e6dc4b75716 + - initial_ast: 4e6724b00b231ff7a060266dac705c8ef3e849d47bcdbb278827cea3433ac5b5 + unrolled_ast: 4e6724b00b231ff7a060266dac705c8ef3e849d47bcdbb278827cea3433ac5b5 + ssa_ast: 20f57f09cbc1bd8da94e0684b957aa1f75de1206dde7659be5c4003a2b28b1ee + flattened_ast: 619b08e511f5670fa53659b21050e9ea7e3cb00da4504286428064a4a3da2aab + inlined_ast: 619b08e511f5670fa53659b21050e9ea7e3cb00da4504286428064a4a3da2aab + dce_ast: 619b08e511f5670fa53659b21050e9ea7e3cb00da4504286428064a4a3da2aab bytecode: 6db857dc2b80ea257d141b3980404e050024771f95c5f9b74f899145b2001432 diff --git a/tests/expectations/compiler/finalize/finalize_with_return.out b/tests/expectations/compiler/finalize/finalize_with_return.out index 9c8f3f741e..adb7506b48 100644 --- a/tests/expectations/compiler/finalize/finalize_with_return.out +++ b/tests/expectations/compiler/finalize/finalize_with_return.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 809ffb6b3ce9e51d58f18a841bbbe79e87bf3b5c0ac2d82d226b3cb66427f235 - unrolled_ast: 809ffb6b3ce9e51d58f18a841bbbe79e87bf3b5c0ac2d82d226b3cb66427f235 - ssa_ast: efeab621ea3b6113ae3ef1f326cbd75668ce034b81a1bb09a55c9a671f62c127 - flattened_ast: 06fea09c85a281be025d66565aa362f80f2036c88c284fbfb5f9b874a605916b - inlined_ast: 06fea09c85a281be025d66565aa362f80f2036c88c284fbfb5f9b874a605916b - dce_ast: 06fea09c85a281be025d66565aa362f80f2036c88c284fbfb5f9b874a605916b + - initial_ast: 7a4166afc57dda75142219b60bc5203a067336358a3e3088e4b1c3326c301070 + unrolled_ast: 7a4166afc57dda75142219b60bc5203a067336358a3e3088e4b1c3326c301070 + ssa_ast: d0681a14dc66f2df297024ab28f946efb17df84e69cab4f2904dbd70f3372a3a + flattened_ast: bf1b503b594abed63624ff89a6078ab13755de4dcc6fcb4f9e40c00d759e0608 + inlined_ast: bf1b503b594abed63624ff89a6078ab13755de4dcc6fcb4f9e40c00d759e0608 + dce_ast: bf1b503b594abed63624ff89a6078ab13755de4dcc6fcb4f9e40c00d759e0608 bytecode: 9f1144202f6b114409c379f7ecc4b480dd81daaf0f6f8b244efd20c520f7b76c diff --git a/tests/expectations/compiler/finalize/increment.out b/tests/expectations/compiler/finalize/increment.out index b96f8a2516..23f122c48e 100644 --- a/tests/expectations/compiler/finalize/increment.out +++ b/tests/expectations/compiler/finalize/increment.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 19378936c22e4e747e16e132bbc727115598dfbd17068349cb300525cde35556 - unrolled_ast: 19378936c22e4e747e16e132bbc727115598dfbd17068349cb300525cde35556 - ssa_ast: 19378936c22e4e747e16e132bbc727115598dfbd17068349cb300525cde35556 - flattened_ast: c55a0edeb6a52dd728e5500ff5b1d387186321c8a3d68f2d0638628bbb05696e - inlined_ast: c55a0edeb6a52dd728e5500ff5b1d387186321c8a3d68f2d0638628bbb05696e - dce_ast: c55a0edeb6a52dd728e5500ff5b1d387186321c8a3d68f2d0638628bbb05696e + - initial_ast: fb4dd554dda11331a8701f74e22f876b7cde7ec30b20679b1f3b9b4247cd5f59 + unrolled_ast: fb4dd554dda11331a8701f74e22f876b7cde7ec30b20679b1f3b9b4247cd5f59 + ssa_ast: fb4dd554dda11331a8701f74e22f876b7cde7ec30b20679b1f3b9b4247cd5f59 + flattened_ast: a6467dec22abcaf175be479b6af0197dbbefd05b56cc0b4c5c84b2aecdba70dd + inlined_ast: a6467dec22abcaf175be479b6af0197dbbefd05b56cc0b4c5c84b2aecdba70dd + dce_ast: a6467dec22abcaf175be479b6af0197dbbefd05b56cc0b4c5c84b2aecdba70dd bytecode: 49afa4d378578bc680308083733b31b8272f9c952fe8dbc133398676e3f0d2ba diff --git a/tests/expectations/compiler/finalize/inline_in_finalize.out b/tests/expectations/compiler/finalize/inline_in_finalize.out index 700c103a80..e621078346 100644 --- a/tests/expectations/compiler/finalize/inline_in_finalize.out +++ b/tests/expectations/compiler/finalize/inline_in_finalize.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 66c08e3fa6b22b7663e949d6ea72455bca2c26a573ba094f084310a086a4cf0b - unrolled_ast: 66c08e3fa6b22b7663e949d6ea72455bca2c26a573ba094f084310a086a4cf0b - ssa_ast: b86f0471ac1a09039a4ce147e87b0c41b9c3378dba0cb560b4a2fe41533781c2 - flattened_ast: 52f744a6cf805739c77995f73c2f626ad2403301c5dc6e007b9c2092869f5224 - inlined_ast: b7ef966c924c7fd055476fd974079af70e235aed43d8cbff30c7eadad8e342c7 - dce_ast: b7ef966c924c7fd055476fd974079af70e235aed43d8cbff30c7eadad8e342c7 + - initial_ast: b64752eb927472bbcbf2aa74c0dacc493babcebc85d38e6bfeca0f9dc99a598d + unrolled_ast: b64752eb927472bbcbf2aa74c0dacc493babcebc85d38e6bfeca0f9dc99a598d + ssa_ast: 7ce4aaf427a4a04fd2677c3e9f8002f7974227a28e05755474bb46714be5cf53 + flattened_ast: 9064be6675ff64a43c9eca162085cf1c0dfb2c96d701244a590aa145d18ded67 + inlined_ast: 9568bb638e68ffdd37564a93cd41998c56500f85432ce7fb6b775426cfa4e67e + dce_ast: 9568bb638e68ffdd37564a93cd41998c56500f85432ce7fb6b775426cfa4e67e bytecode: cc321ba26e486e2c153e774573e880a340d698f08c7d24602f883aef1c900b73 diff --git a/tests/expectations/compiler/finalize/mapping.out b/tests/expectations/compiler/finalize/mapping.out index de3d71843f..1f4dbc6016 100644 --- a/tests/expectations/compiler/finalize/mapping.out +++ b/tests/expectations/compiler/finalize/mapping.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6e57e1c0c5d4df7eaf414939293c79c156c77f9ee78064dd35572f0d54ec2b85 - unrolled_ast: 6e57e1c0c5d4df7eaf414939293c79c156c77f9ee78064dd35572f0d54ec2b85 - ssa_ast: 4c6468604104edfe6a6d2a5f4d80c557b001bc60b1e4098f80eda119afdbb292 - flattened_ast: bb26f3622ed2fa2f301ac07069ae281a5e5bea1d52fec8cdb03b03131ad0b4f6 - inlined_ast: bb26f3622ed2fa2f301ac07069ae281a5e5bea1d52fec8cdb03b03131ad0b4f6 - dce_ast: bb26f3622ed2fa2f301ac07069ae281a5e5bea1d52fec8cdb03b03131ad0b4f6 + - initial_ast: f7a1badb36b3c29ba9b0dc52413ab291604e63eff4874e74a07d4570b1e10c70 + unrolled_ast: f7a1badb36b3c29ba9b0dc52413ab291604e63eff4874e74a07d4570b1e10c70 + ssa_ast: e81bd2fc61d05028b196b2018a5feb2081085b21ac395c81793aee1194f19545 + flattened_ast: ebec28f46582cc533823aa3ef237423b6ef42e9b4d6437f894165f22747c7c08 + inlined_ast: ebec28f46582cc533823aa3ef237423b6ef42e9b4d6437f894165f22747c7c08 + dce_ast: ebec28f46582cc533823aa3ef237423b6ef42e9b4d6437f894165f22747c7c08 bytecode: 1da5a78fcb6f77bd197de7dce1e7e94e7a9d30a6ec26703a645b25ab7c65cc08 diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index 4edd293a7c..34c6c7c432 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 01eca8ffd19d37c08eee234033181ccb72873bc1fff02a90e1863e24c9e2d446 - unrolled_ast: 01eca8ffd19d37c08eee234033181ccb72873bc1fff02a90e1863e24c9e2d446 - ssa_ast: 9e151de216e44ca801adec05a7b534cbe347c3a64f31d570a9f33591a90af191 - flattened_ast: 9f1b62847c7b725e934fd72fb9a6ab076a6d1c778957bb93e6d2e4c7c0910c58 - inlined_ast: 9f1b62847c7b725e934fd72fb9a6ab076a6d1c778957bb93e6d2e4c7c0910c58 - dce_ast: 9f1b62847c7b725e934fd72fb9a6ab076a6d1c778957bb93e6d2e4c7c0910c58 + - initial_ast: b97acd413ae8adeff0b4a22a2c7535f88b35023da10d40c5090f8b316d025043 + unrolled_ast: b97acd413ae8adeff0b4a22a2c7535f88b35023da10d40c5090f8b316d025043 + ssa_ast: 65651cd89e513df781e5aecc3ba7f7f59c5b5de16102836ffd8766a6ba04b594 + flattened_ast: 21718b8ced0ec21b1986030afeaf7fac258a5b4aab1ea55edbe3aa0718751cf5 + inlined_ast: 21718b8ced0ec21b1986030afeaf7fac258a5b4aab1ea55edbe3aa0718751cf5 + dce_ast: 21718b8ced0ec21b1986030afeaf7fac258a5b4aab1ea55edbe3aa0718751cf5 bytecode: 434d585ff5cbe799cf645514abda7bc7ad069563501ded68fc716e583390fefa diff --git a/tests/expectations/compiler/function/dead_code_elimination.out b/tests/expectations/compiler/function/dead_code_elimination.out index 838bae428c..d376edf6e2 100644 --- a/tests/expectations/compiler/function/dead_code_elimination.out +++ b/tests/expectations/compiler/function/dead_code_elimination.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d7414ef76b5d83ba8daed6e65487425048596937d5a6f783a313d3264d5db267 - unrolled_ast: d7414ef76b5d83ba8daed6e65487425048596937d5a6f783a313d3264d5db267 - ssa_ast: 6722ef50ccdf19eaaa57f68a249a6eb01ba78ec8ec60da0d8d664613324287aa - flattened_ast: 58ed29011b87aad89fe50f62402f441c9aa53fc2e18c3a188d94d0a88734236d - inlined_ast: 1c57a7047a0523c5f576e5df33fa9b70cf2baedfb8149266686837ba2827c44e - dce_ast: 48e52aa4ba7d5f4c5126ec93a14ec29772f80c73cc2d6ab5c77001f920b4c65b + - initial_ast: 804f0dc783e9bbd5ee2d963142c719bc26895356b15aac440af098ee12e35fe1 + unrolled_ast: 804f0dc783e9bbd5ee2d963142c719bc26895356b15aac440af098ee12e35fe1 + ssa_ast: 557e25cff837530f09ac5e730edc9f51e8049b944dfd2ff7cffdc737da7cde1a + flattened_ast: 246a401d6e883100bc89a955cacf77974b768fea63241a2c8e36cccda4d9facf + inlined_ast: 3d849d30e48e2397d6de36e1623cb8d89c0621fc6a023e244adda03c8ffb4127 + dce_ast: eb28f0208edf3bd18a17e843f512bf7a8f9d4b417a62c33590ac0ece47464a52 bytecode: bc387336869a1d12a90c9fb923466f737bad08d04a165a8b611256868f960201 diff --git a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out index 71c16ec631..6f56b812e7 100644 --- a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4635467db62681996e855b4233873bf65abd26ae9659332c67a1d28dfdcd3a88 - unrolled_ast: 4635467db62681996e855b4233873bf65abd26ae9659332c67a1d28dfdcd3a88 - ssa_ast: 478e60c54d2fcb05625042228bb467278257e7392d846fd49ccd5c43fcbcbd5e - flattened_ast: 12157cdc9233e60a00d749cc033465d3aeafa625fb769223717e0e87c5cdf9d6 - inlined_ast: 11c63116821757047efeec64483fbc8b22edff09ddc745d80670bf02895dd62e - dce_ast: d531e3256e104e13c05125353b768cf9aa2bc3913f3ba0edb4f04b25ae8dd18c + - initial_ast: 0f4886a7667140d88ab6718e10de6cc3b881ed4bdc985e06a3011499769aa039 + unrolled_ast: 0f4886a7667140d88ab6718e10de6cc3b881ed4bdc985e06a3011499769aa039 + ssa_ast: 9b30676b80091a969ebfe4a9b143f61a1530df0dafbcb2ecc18e93f1aedd65d5 + flattened_ast: c7d4d929d8b2e1e5536ddc826e516e406c0bfaeb98e62ebe4b24e7c183d36e41 + inlined_ast: d210923b07934d2bc266e339d6cc3986b236b4ae163630f6c622a88675debfa8 + dce_ast: 983c0877193308df98586cec4fef58401871f30899734b9ee7188f61c283d0bc bytecode: f0b23d05369e0db4f6f4cf1b10923caea289d78e911ed7250c13b828b2ae68d5 diff --git a/tests/expectations/compiler/function/flatten_test.out b/tests/expectations/compiler/function/flatten_test.out index 5ed1b405e6..213dce9579 100644 --- a/tests/expectations/compiler/function/flatten_test.out +++ b/tests/expectations/compiler/function/flatten_test.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1466ddb8b93b0839823f5bbcd2f36d10f6bcdd9bb2b379f2522705e9d12b9269 - unrolled_ast: 1466ddb8b93b0839823f5bbcd2f36d10f6bcdd9bb2b379f2522705e9d12b9269 - ssa_ast: 4b0d37e1a94183ddfd5ed2fc4e299319dfa92833a6fe44e4c3072f138fbdcb89 - flattened_ast: 86ba35dae4811e723d31c96db49d7bd74d7b412d131045fde4c69aa29775a0a8 - inlined_ast: 86ba35dae4811e723d31c96db49d7bd74d7b412d131045fde4c69aa29775a0a8 - dce_ast: 86ba35dae4811e723d31c96db49d7bd74d7b412d131045fde4c69aa29775a0a8 + - initial_ast: 8dee8b17d7599d314801f347043f906f4d8f4273f10bc8996c0967e480c27935 + unrolled_ast: 8dee8b17d7599d314801f347043f906f4d8f4273f10bc8996c0967e480c27935 + ssa_ast: 2ae4f64774eba2c1b0fc8aead29051b8d9a1d3df148c4f417e91c8b07173ebb1 + flattened_ast: caaf5f658f29b4f99c2e0f1ff66e8bca9868e699cbe9570468def131c71935e5 + inlined_ast: caaf5f658f29b4f99c2e0f1ff66e8bca9868e699cbe9570468def131c71935e5 + dce_ast: caaf5f658f29b4f99c2e0f1ff66e8bca9868e699cbe9570468def131c71935e5 bytecode: 2a939858f2f71f1bbe25bd039899cdb71254e56acc203eb6d60dbb5c191a4224 diff --git a/tests/expectations/compiler/function/flatten_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_tuples_of_structs.out index 7c43eced6e..1a491539e2 100644 --- a/tests/expectations/compiler/function/flatten_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_tuples_of_structs.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1d67938a04428cdc95cf4e513c4ba1789f9a48ede3c780212403923927ee38d7 - unrolled_ast: 1d67938a04428cdc95cf4e513c4ba1789f9a48ede3c780212403923927ee38d7 - ssa_ast: fcb491ed70f47943f57a15be8c8c2b8750b4ca5408dee5d3e0ce57cc4ef5879e - flattened_ast: 812e7afbfb2c8ca1d31815b42a59337fc6e6eeb98acebf794fe7539013ad1fb9 - inlined_ast: 812e7afbfb2c8ca1d31815b42a59337fc6e6eeb98acebf794fe7539013ad1fb9 - dce_ast: 812e7afbfb2c8ca1d31815b42a59337fc6e6eeb98acebf794fe7539013ad1fb9 + - initial_ast: 155b32e895031f22f556bbe900901bd80b051626104d80ce653671bb1b94b511 + unrolled_ast: 155b32e895031f22f556bbe900901bd80b051626104d80ce653671bb1b94b511 + ssa_ast: ceefeaf82e8b8890efdd3f30ddec07a70646b4e407bfaa0365661b83a43603a4 + flattened_ast: e8973618733b90d538f703b90f3b1d376619a0322f1c5afb25ecd80d31066ef6 + inlined_ast: e8973618733b90d538f703b90f3b1d376619a0322f1c5afb25ecd80d31066ef6 + dce_ast: e8973618733b90d538f703b90f3b1d376619a0322f1c5afb25ecd80d31066ef6 bytecode: 27556a268723e0d8ffc4210290babab1ad098d9c8a77ad2dc84195d98059deac diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out index 4c5cdee62c..0f5a4db359 100644 --- a/tests/expectations/compiler/function/function_call.out +++ b/tests/expectations/compiler/function/function_call.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ed7e4dbd69ff4231ff48a6527734c7837b872f12a444668b071298b5cdd15d99 - unrolled_ast: ed7e4dbd69ff4231ff48a6527734c7837b872f12a444668b071298b5cdd15d99 - ssa_ast: e5afe402b1d3eeb7f1465a197952931597c2a8147aa624a15c985cad460479ce - flattened_ast: 8583c9afe3f11178c11fd4ff9e7babd3ed3a74719484084d1af353b7844dddc8 - inlined_ast: 303725110ce5af01a45222f852d1096172a8aba363ef3b192bc026d2144fdf7c - dce_ast: 303725110ce5af01a45222f852d1096172a8aba363ef3b192bc026d2144fdf7c + - initial_ast: 43abf11536b3c18ed3536519f661a30f12e920daa935598d37dad5c0ceeadc6a + unrolled_ast: 43abf11536b3c18ed3536519f661a30f12e920daa935598d37dad5c0ceeadc6a + ssa_ast: 57b44ddd869230bd9a6634b53bd3813f71688cf0a9f4e2afa1cb98c68f2c505c + flattened_ast: 04ac321e968a82c7bffae5c27c20bed4e50bb14f805b1ad518445c74b511497e + inlined_ast: a1826767297ebe4f53d4cdfc081592776ce3e97f26d860722997b1efec0fddb7 + dce_ast: a1826767297ebe4f53d4cdfc081592776ce3e97f26d860722997b1efec0fddb7 bytecode: 713ce56eafa3f358be317894fd3ddf287a03422f855a304ee64becfcbd1f8590 diff --git a/tests/expectations/compiler/function/function_call_inline.out b/tests/expectations/compiler/function/function_call_inline.out index 9b12818c6f..f7b1c4c306 100644 --- a/tests/expectations/compiler/function/function_call_inline.out +++ b/tests/expectations/compiler/function/function_call_inline.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 42426e586a4fe69f06466e4621a8cf4547408ad38c108a85bf0beaf812859a66 - unrolled_ast: 42426e586a4fe69f06466e4621a8cf4547408ad38c108a85bf0beaf812859a66 - ssa_ast: 4b33649beef6673aafce25c35c16c034fb41ec33fdf562751b7e51d712caf309 - flattened_ast: e2ee2ee7c6e1c187de5977f44b0a39e11d946243990eb48df92b3a3e939b3906 - inlined_ast: aae0684cc29719b75d1af553fae21f9cafd04d15fd211eeb4d8cebbf913bcd6c - dce_ast: aae0684cc29719b75d1af553fae21f9cafd04d15fd211eeb4d8cebbf913bcd6c + - initial_ast: 803dbae49c7db5de16cca0d3ca7a77f8dda9c05454ac762f247b892c07440a0c + unrolled_ast: 803dbae49c7db5de16cca0d3ca7a77f8dda9c05454ac762f247b892c07440a0c + ssa_ast: 85dd0a458b74aaaecf3c85f013b6f1e53900e54a10f5e0300c26ffd12ecafce4 + flattened_ast: 478862cb9b0dd9ee5b5ac904ce06cdf5217a382f8426ab64fccff20fa26eb22c + inlined_ast: 4ea01512e5dd7a9e6d4b9a5e92e37fca94f5008b45b5bd8b12217140fc61f6f5 + dce_ast: 4ea01512e5dd7a9e6d4b9a5e92e37fca94f5008b45b5bd8b12217140fc61f6f5 bytecode: 6c18f3614147617dbd01fb1404fc8c75c0a788872cec905ad5566a443f7f2e91 diff --git a/tests/expectations/compiler/function/function_call_out_of_order.out b/tests/expectations/compiler/function/function_call_out_of_order.out index 5aaff207a0..ad3fd1ca65 100644 --- a/tests/expectations/compiler/function/function_call_out_of_order.out +++ b/tests/expectations/compiler/function/function_call_out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4b891db2ba8f6ee0f2299622ecd387e6565c8b97045ff75808e559d7ee34c074 - unrolled_ast: 4b891db2ba8f6ee0f2299622ecd387e6565c8b97045ff75808e559d7ee34c074 - ssa_ast: f67f11e78a102b6eba419bb394cdf10b6bf8b1f2245c2fd022aa03db7750535a - flattened_ast: eddea7cbfc19bcdd6880741cc2446dd88b2d070c334dcf7e3780e71061c803f4 - inlined_ast: 9220160485ed7aa28cd86b329b9805a7da3e1fb03d9526881ea356c9bc4f3f03 - dce_ast: 9220160485ed7aa28cd86b329b9805a7da3e1fb03d9526881ea356c9bc4f3f03 + - initial_ast: 533e16d82c0b61f073c8723b3837845a87d055507f78c374a3c1b587c156d7e7 + unrolled_ast: 533e16d82c0b61f073c8723b3837845a87d055507f78c374a3c1b587c156d7e7 + ssa_ast: 6fb4a1c04ff58a23325e2d952ce1dde70f6ab69c372e9e1ff2e537b89f077782 + flattened_ast: ced54eed5aff3935c926ffa42409b848bbb6808e911eda5aa3d7cbfccb071e56 + inlined_ast: 6887127b4291ffefbdd0799df825715838879dbcde5814e615ebcefc45cdd6bd + dce_ast: 6887127b4291ffefbdd0799df825715838879dbcde5814e615ebcefc45cdd6bd bytecode: a190851c7a73c1068c1c5819c3e064535d56273dffbc007874376c094399cd9e diff --git a/tests/expectations/compiler/function/helper_function_with_interface.out b/tests/expectations/compiler/function/helper_function_with_interface.out index 8d567fc1d7..edcf76ebc9 100644 --- a/tests/expectations/compiler/function/helper_function_with_interface.out +++ b/tests/expectations/compiler/function/helper_function_with_interface.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f2e92898c37a090de2d3761e2275789fb830f34c012632e5f64aa6a3f0ef99d4 - unrolled_ast: f2e92898c37a090de2d3761e2275789fb830f34c012632e5f64aa6a3f0ef99d4 - ssa_ast: 1a3a76269ca94c73013e99da1a17e64a0d8a04b1c7b166c1807f867a4a5af7f2 - flattened_ast: 59b5dbde723c99720b27b663fbe81a7e01804ded9cc1b8a7defe220315360b9a - inlined_ast: 59b5dbde723c99720b27b663fbe81a7e01804ded9cc1b8a7defe220315360b9a - dce_ast: 59b5dbde723c99720b27b663fbe81a7e01804ded9cc1b8a7defe220315360b9a + - initial_ast: bf81660ef47bc5173d87eeb187e78c68a13da67d8bce29a8627ce39bb429c495 + unrolled_ast: bf81660ef47bc5173d87eeb187e78c68a13da67d8bce29a8627ce39bb429c495 + ssa_ast: 9d22b23fa45397d588c3bf1708d082b0e3ca808a567cee486a98c244807c2287 + flattened_ast: de9ba2074adfb994e2af87271ff5fc84abdcfa498ff422a3fbd6d027e98a342e + inlined_ast: de9ba2074adfb994e2af87271ff5fc84abdcfa498ff422a3fbd6d027e98a342e + dce_ast: de9ba2074adfb994e2af87271ff5fc84abdcfa498ff422a3fbd6d027e98a342e bytecode: 56875e297f05e4c60762445a3ac97b57e4a0f12d69180bb7207ef62f950b0b25 diff --git a/tests/expectations/compiler/function/private_input_output.out b/tests/expectations/compiler/function/private_input_output.out index 8a1826ff76..690eee377d 100644 --- a/tests/expectations/compiler/function/private_input_output.out +++ b/tests/expectations/compiler/function/private_input_output.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2d1182494129f414a987c520aeb8fcfaaa9019d688f810d8ba5589accbb11747 - unrolled_ast: 2d1182494129f414a987c520aeb8fcfaaa9019d688f810d8ba5589accbb11747 - ssa_ast: 7ae7272d7babd64cc7845463755decb6073b095b04ae52e76197c68bc081cdf6 - flattened_ast: c39c24be2f2e4792f87bf1e8dcd123064e1a9f31fec6923f8daf7800e6b9cd2a - inlined_ast: c39c24be2f2e4792f87bf1e8dcd123064e1a9f31fec6923f8daf7800e6b9cd2a - dce_ast: c39c24be2f2e4792f87bf1e8dcd123064e1a9f31fec6923f8daf7800e6b9cd2a + - initial_ast: 2e69964a85881158381394e4ff654b68729cdefc47e18a490d1964ce139c7df1 + unrolled_ast: 2e69964a85881158381394e4ff654b68729cdefc47e18a490d1964ce139c7df1 + ssa_ast: 20bedad7d2aa59918496987a104e3af7933f2ee3f4821a2087eeb19ac1d26a7a + flattened_ast: af9d10051d3a06360a343d5137638d9da699b8e14f845e96481f3da851c6e2c8 + inlined_ast: af9d10051d3a06360a343d5137638d9da699b8e14f845e96481f3da851c6e2c8 + dce_ast: af9d10051d3a06360a343d5137638d9da699b8e14f845e96481f3da851c6e2c8 bytecode: 6d5fea51d9eec1cf3a5037b123147f9d532855197e3891ff870fbe700dd08d3f diff --git a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out index 17471b4e5e..a126719a6b 100644 --- a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out +++ b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5a6e8de67b7ddf2a34dd7bf302b73001f4cdf9f64517806622ed3787d35eadcc - unrolled_ast: 5a6e8de67b7ddf2a34dd7bf302b73001f4cdf9f64517806622ed3787d35eadcc - ssa_ast: 4d554be19b3abc0c13bccd5225bc75011e8a77ec764de362788b9d221bae09c4 - flattened_ast: faf9aeb6811760108ec7fd83ddf1d08314719c707e9818bebd9cf9b7e0adbff2 - inlined_ast: faf9aeb6811760108ec7fd83ddf1d08314719c707e9818bebd9cf9b7e0adbff2 - dce_ast: faf9aeb6811760108ec7fd83ddf1d08314719c707e9818bebd9cf9b7e0adbff2 + - initial_ast: b6be69b39b654f4f5ec38997088c0fc9365df935212c3ca4b6c2e12ddfdaf988 + unrolled_ast: b6be69b39b654f4f5ec38997088c0fc9365df935212c3ca4b6c2e12ddfdaf988 + ssa_ast: 3aa1b95fd7b27e005f5ae6f72235772d3a7096f6824532c21e4cb2ca26d76bdc + flattened_ast: 73d2d984100d8b9a914388fb5958b72d304d8c75748a6f8e79d26ea3f1fe8ab9 + inlined_ast: 73d2d984100d8b9a914388fb5958b72d304d8c75748a6f8e79d26ea3f1fe8ab9 + dce_ast: 73d2d984100d8b9a914388fb5958b72d304d8c75748a6f8e79d26ea3f1fe8ab9 bytecode: 76a90286cb4903577bb9b0d219abe140fd8e2ef8a74df48a82d986e8efc4235d diff --git a/tests/expectations/compiler/function/program_function_empty_body.out b/tests/expectations/compiler/function/program_function_empty_body.out index 56c9503bf2..cff708b660 100644 --- a/tests/expectations/compiler/function/program_function_empty_body.out +++ b/tests/expectations/compiler/function/program_function_empty_body.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc - unrolled_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc - ssa_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc - flattened_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc - inlined_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc - dce_ast: 6a343455b83835e5e2bc4760238b988d508dbf8a73b078f95bbd92c825f931bc + - initial_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 + unrolled_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 + ssa_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 + flattened_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 + inlined_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 + dce_ast: 744b5f2818f184e7820422f986134b74d08bd19a089baa2c4ab428e22f922189 bytecode: a26eca302425b77f7d017763631062a040d57f8557dd53a31bfe4d17584ab0e2 diff --git a/tests/expectations/compiler/function/program_function_unit_type.out b/tests/expectations/compiler/function/program_function_unit_type.out index 8bd7329981..58f9007320 100644 --- a/tests/expectations/compiler/function/program_function_unit_type.out +++ b/tests/expectations/compiler/function/program_function_unit_type.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 - unrolled_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 - ssa_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 - flattened_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 - inlined_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 - dce_ast: 46c8f1a9f3ac3b544211d70cbf18eb2c30e659096e36309b268ecebfb8901047 + - initial_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 + unrolled_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 + ssa_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 + flattened_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 + inlined_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 + dce_ast: 4b061433c93d1f1462707e04b18935c91a5d5e916cab418cb403f4082fa53d13 bytecode: 8f6238b1942bb3cf2eb7d0eed9745dffaf088c884c423992f0d23b989f3954ff diff --git a/tests/expectations/compiler/function/program_function_with_mode.out b/tests/expectations/compiler/function/program_function_with_mode.out index 6daf37f2d3..10a0f06d9f 100644 --- a/tests/expectations/compiler/function/program_function_with_mode.out +++ b/tests/expectations/compiler/function/program_function_with_mode.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b240780b5255b2ceb6f095c0a4a2061bc060fb06d9ad0725f1e4aa1de1ab2500 - unrolled_ast: b240780b5255b2ceb6f095c0a4a2061bc060fb06d9ad0725f1e4aa1de1ab2500 - ssa_ast: 52bc08100046182123c83e77a8f89b24a92f6c5dedb09115361d500e08f92443 - flattened_ast: a1af6ce731eb84ce6f493bfffa4c34d682203f41f036a54613bc22b74e135d7a - inlined_ast: a1af6ce731eb84ce6f493bfffa4c34d682203f41f036a54613bc22b74e135d7a - dce_ast: a1af6ce731eb84ce6f493bfffa4c34d682203f41f036a54613bc22b74e135d7a + - initial_ast: 834bcf79dba5b17151873d65aae76491d63c41e884526abd4d63ad69f094eb7a + unrolled_ast: 834bcf79dba5b17151873d65aae76491d63c41e884526abd4d63ad69f094eb7a + ssa_ast: cbd0feae420cd1b3ffc250f12be9c23d96b123f4766d220d4b995a3a6f683ff5 + flattened_ast: 900bdd01e1c1871a4f3720f67574bcc292ec2015d394ab5324d26956ab0e81f7 + inlined_ast: 900bdd01e1c1871a4f3720f67574bcc292ec2015d394ab5324d26956ab0e81f7 + dce_ast: 900bdd01e1c1871a4f3720f67574bcc292ec2015d394ab5324d26956ab0e81f7 bytecode: 70d3806e31f660faa4eff783ad05a73cf249a0a1ac7c29046fd8f1b2cec656b1 diff --git a/tests/expectations/compiler/function/record_in_conditional_return.out b/tests/expectations/compiler/function/record_in_conditional_return.out index e2348abf56..29022ebfa3 100644 --- a/tests/expectations/compiler/function/record_in_conditional_return.out +++ b/tests/expectations/compiler/function/record_in_conditional_return.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b1f55a3fca7009125740595eb1d8a6c5e3266c45f6c9d54d1eb7693a5f95adb3 - unrolled_ast: b1f55a3fca7009125740595eb1d8a6c5e3266c45f6c9d54d1eb7693a5f95adb3 - ssa_ast: 70eeac70fcfbbda44e87ab2ddcf47e3fac9ed9cfab8c1873b1873c4bd4ab502d - flattened_ast: 34f60217fff78d0c47fdc7ac7c64994fd0c0234193cb5ff71a28bdf6ed645ab2 - inlined_ast: 34f60217fff78d0c47fdc7ac7c64994fd0c0234193cb5ff71a28bdf6ed645ab2 - dce_ast: 34f60217fff78d0c47fdc7ac7c64994fd0c0234193cb5ff71a28bdf6ed645ab2 + - initial_ast: 8a3d9ae21cf3321e95d94d05a81e1173342b6b48937bebb0c108e55af82bebd8 + unrolled_ast: 8a3d9ae21cf3321e95d94d05a81e1173342b6b48937bebb0c108e55af82bebd8 + ssa_ast: 11709910baca08bf8ca4d742a66b9617e96f23a5ae1d17825426848717571c92 + flattened_ast: d1ac9fd7fc80e227ed114478d55f59da5a449f27b670e8878eb140b4d31b7ed4 + inlined_ast: d1ac9fd7fc80e227ed114478d55f59da5a449f27b670e8878eb140b4d31b7ed4 + dce_ast: d1ac9fd7fc80e227ed114478d55f59da5a449f27b670e8878eb140b4d31b7ed4 bytecode: f5572172f6812e0eb6e906c230138c76d1344fd15522b8b2ee98156d6c92ca0a diff --git a/tests/expectations/compiler/function/self.out b/tests/expectations/compiler/function/self.out index 1d11a2da86..5d617bf63d 100644 --- a/tests/expectations/compiler/function/self.out +++ b/tests/expectations/compiler/function/self.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a1273726570fc7a7cc2a27f2689258df5f6fb26964aab84c89f5a771d4841ea3 - unrolled_ast: a1273726570fc7a7cc2a27f2689258df5f6fb26964aab84c89f5a771d4841ea3 - ssa_ast: 028b589972bfceff9fb375e832f0595848ec7b7ec7a791995c7d360f0397e68a - flattened_ast: ef3ca55705d6cf89c60d2f7b62a11bb6aef71a03dc92f86ddd7ea61ff8faca72 - inlined_ast: ef3ca55705d6cf89c60d2f7b62a11bb6aef71a03dc92f86ddd7ea61ff8faca72 - dce_ast: ef3ca55705d6cf89c60d2f7b62a11bb6aef71a03dc92f86ddd7ea61ff8faca72 + - initial_ast: ba5cd28141707b2c29d95668886fb47a2d757d1dd04b8b22ced142cd4c4455b6 + unrolled_ast: ba5cd28141707b2c29d95668886fb47a2d757d1dd04b8b22ced142cd4c4455b6 + ssa_ast: fbc53ccf9a0f130fa4ea0174cbff95a20fa8f358f787e3b5eaf71e56f259880a + flattened_ast: 9e4598e64e53ddf3ff7079e784d4079ef59cb217c43b7e5e29544e0de1ee65e4 + inlined_ast: 9e4598e64e53ddf3ff7079e784d4079ef59cb217c43b7e5e29544e0de1ee65e4 + dce_ast: 9e4598e64e53ddf3ff7079e784d4079ef59cb217c43b7e5e29544e0de1ee65e4 bytecode: e62ba6ed16c820d4f4a8c2569bf96add46e3b8ce999e5fc77fa99c1769ca2dbd diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 5df274032e..1d95fc7a7c 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8a63ddc2632d093e0c5acb7a3a51a41d588188ac05f5e0e8b309bf4ff85755e6 - unrolled_ast: 8a63ddc2632d093e0c5acb7a3a51a41d588188ac05f5e0e8b309bf4ff85755e6 - ssa_ast: 93527404a2273693c87ef75e9b4598a512e27de7d682be813baf7abe536755d8 - flattened_ast: fb8eb972c5e55fb0850d3515770b9dc207fd2ede668ef8fa4da72269a7d5a043 - inlined_ast: fb8eb972c5e55fb0850d3515770b9dc207fd2ede668ef8fa4da72269a7d5a043 - dce_ast: fb8eb972c5e55fb0850d3515770b9dc207fd2ede668ef8fa4da72269a7d5a043 + - initial_ast: 30116629ebb2c0de05aef2f5a3ede9daaadd2325c729d5c21c9763d3e24d61d1 + unrolled_ast: 30116629ebb2c0de05aef2f5a3ede9daaadd2325c729d5c21c9763d3e24d61d1 + ssa_ast: c046a770c8b047200ab26ff800ce8faadd284ed2b56021a295e81460b9ec7349 + flattened_ast: 2bdc41bb6c3a74107f6510c3382ebef055beb59b91d1d5eb6c57224b5ca8bfc7 + inlined_ast: 2bdc41bb6c3a74107f6510c3382ebef055beb59b91d1d5eb6c57224b5ca8bfc7 + dce_ast: 2bdc41bb6c3a74107f6510c3382ebef055beb59b91d1d5eb6c57224b5ca8bfc7 bytecode: 12e9627877abc9f4f519aeb445a200162f2c962b8ec7ecf49564c35abf14caa4 diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 1a9d4bc492..93f52ab6c0 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - unrolled_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - ssa_ast: ae9e7dbaa1df8397ba6bf8c0b76d51efcf363f75cb7e22c2fa3bea29cb0e895d - flattened_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - inlined_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - dce_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 + - initial_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + unrolled_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + ssa_ast: 72bcca5cd8aa5307dd32ae190ddacb02931260104a4ab368c0f050a7d0e07310 + flattened_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + inlined_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + dce_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b bytecode: ec93d62ff5b281dc94a2adea7451851a6101494b2539a653869f8cf5dc8d64b7 diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 1a9d4bc492..93f52ab6c0 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - unrolled_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - ssa_ast: ae9e7dbaa1df8397ba6bf8c0b76d51efcf363f75cb7e22c2fa3bea29cb0e895d - flattened_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - inlined_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - dce_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 + - initial_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + unrolled_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + ssa_ast: 72bcca5cd8aa5307dd32ae190ddacb02931260104a4ab368c0f050a7d0e07310 + flattened_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + inlined_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + dce_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b bytecode: ec93d62ff5b281dc94a2adea7451851a6101494b2539a653869f8cf5dc8d64b7 diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index 947263719a..84db2504fa 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5ece34df030e2e1b8c4978490da897a4790980be8e3db6ba59a1bca995e34514 - unrolled_ast: 5ece34df030e2e1b8c4978490da897a4790980be8e3db6ba59a1bca995e34514 - ssa_ast: ea25750a75ae1aad0c436fd1c4af381f3b1ff1f389bbc07344f8d8dae74eef91 - flattened_ast: 10a306c6d15ca0748be2fa6240161fefa8e8918911ee4d19534d00eba3e71b9e - inlined_ast: 10a306c6d15ca0748be2fa6240161fefa8e8918911ee4d19534d00eba3e71b9e - dce_ast: e30460693f49873aed22a929ff3649ec4374083e0e3ec53be38cca118e072a72 + - initial_ast: 905353de8985f51c398a2a68e06225766fffb8b970e8009a02a0b2fb84e02e07 + unrolled_ast: 905353de8985f51c398a2a68e06225766fffb8b970e8009a02a0b2fb84e02e07 + ssa_ast: d970971da38d275b575f525e5e8b236b8ea8e0240568b1cfe1617cdbb23483e6 + flattened_ast: b69f4b18ca318282bd070482754a0c3538cf9dda295ccf57d3568607eaa4014c + inlined_ast: b69f4b18ca318282bd070482754a0c3538cf9dda295ccf57d3568607eaa4014c + dce_ast: dbdeee9b291d24f349451893ae649f6b680f3aaa41fcbabbf9940070bc105e58 bytecode: f4e3e6e24725b59bf53b5513c9a4cb9311fce35216e95ddb0b8192c9bdddbd60 diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 1a9d4bc492..93f52ab6c0 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - unrolled_ast: d46f9e78fe7243c6eaf708f6503761fcf1a264c79af6e709587e8c5cb40ef332 - ssa_ast: ae9e7dbaa1df8397ba6bf8c0b76d51efcf363f75cb7e22c2fa3bea29cb0e895d - flattened_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - inlined_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 - dce_ast: 6a94a55b67bf6e0a76416d5f200029415ea0968b89d79a4f22bedc92ae54ff12 + - initial_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + unrolled_ast: 1959755a9de2b5c4da8e7ee3077e883697db84befbdf0eac5fcbbd681b5f7fd3 + ssa_ast: 72bcca5cd8aa5307dd32ae190ddacb02931260104a4ab368c0f050a7d0e07310 + flattened_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + inlined_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b + dce_ast: d5a66b5c32b2adf4d4027481868544e048f3217d5a8be624185083a52a20276b bytecode: ec93d62ff5b281dc94a2adea7451851a6101494b2539a653869f8cf5dc8d64b7 diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index c274334781..611552b587 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 30d2a04c0577317210def067a5155151eb522249e78b6416c45ea69c1c65a10b - unrolled_ast: 30d2a04c0577317210def067a5155151eb522249e78b6416c45ea69c1c65a10b - ssa_ast: e86a8817d2bbcbf9bcf1fa4e6b3491d07691532c8371e8c06ea597c916683dce - flattened_ast: fea850a724c312c42466e22afa2b21380f9637174fd275237cbdf593b8b0c9dd - inlined_ast: fea850a724c312c42466e22afa2b21380f9637174fd275237cbdf593b8b0c9dd - dce_ast: fea850a724c312c42466e22afa2b21380f9637174fd275237cbdf593b8b0c9dd + - initial_ast: bc2e3969b3cacede51784775dbc1eecd69f8b086872575d21e3c5805c90182a8 + unrolled_ast: bc2e3969b3cacede51784775dbc1eecd69f8b086872575d21e3c5805c90182a8 + ssa_ast: 26da1a6a87e7edefef24a0107bd1e0c6a0b90eea4f8d3e2642035bde01d3c9e5 + flattened_ast: b4aa99e863059eb860a052cb416e3e3bb92e08866795c56f357f494fe7fc5e48 + inlined_ast: b4aa99e863059eb860a052cb416e3e3bb92e08866795c56f357f494fe7fc5e48 + dce_ast: b4aa99e863059eb860a052cb416e3e3bb92e08866795c56f357f494fe7fc5e48 bytecode: 9dd44babd234f3b33af51d04ffd422308692b59caa5f1d6c3b765d0d8e795644 diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index 65bc4dd82f..01e690b43d 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f15fa0ac6f61834601639168787aaeba57abe293e45e559a2e17456aa61a2d69 - unrolled_ast: f15fa0ac6f61834601639168787aaeba57abe293e45e559a2e17456aa61a2d69 - ssa_ast: e131305123f3f30fd02823739a124336f59950def015a2e16f6ae0d7da276214 - flattened_ast: 2369a4344b21218b00ff06f027f54e81240ee05e02297c039822ebdddc9b6282 - inlined_ast: 2369a4344b21218b00ff06f027f54e81240ee05e02297c039822ebdddc9b6282 - dce_ast: 2369a4344b21218b00ff06f027f54e81240ee05e02297c039822ebdddc9b6282 + - initial_ast: dc6d3a994b98a206294b918b87de62bfbf8700a6d0ee2997fe07d621c32283eb + unrolled_ast: dc6d3a994b98a206294b918b87de62bfbf8700a6d0ee2997fe07d621c32283eb + ssa_ast: 1f709b5390c4ff9d744c519d5326ef74670011b041b40ec7ee2f8cfe64f9d1c9 + flattened_ast: 51cfb24135e0d2daf19316c7b6b17bf8b132cdeb86ade4d0f36e64dcac648090 + inlined_ast: 51cfb24135e0d2daf19316c7b6b17bf8b132cdeb86ade4d0f36e64dcac648090 + dce_ast: 51cfb24135e0d2daf19316c7b6b17bf8b132cdeb86ade4d0f36e64dcac648090 bytecode: b3cef3c4dcd879fc92c9a2082e4820b102bf0ce47335b5e432b17a5c1b55da81 diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index ade84bb62b..7f985d9846 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1f2eb7c4e5443c57cf49ce470cfa8229fb67e162c041c6fb7fe9ecd46b5a3546 - unrolled_ast: 1f2eb7c4e5443c57cf49ce470cfa8229fb67e162c041c6fb7fe9ecd46b5a3546 - ssa_ast: 41032ad876b2160b388f01d716655ddd073b8cd7d185faa01002eeac19840597 - flattened_ast: 98d83fec655c25d2889cb6405068c46de336976f1468efb7e9bc30d434a5cb56 - inlined_ast: 98d83fec655c25d2889cb6405068c46de336976f1468efb7e9bc30d434a5cb56 - dce_ast: 98d83fec655c25d2889cb6405068c46de336976f1468efb7e9bc30d434a5cb56 + - initial_ast: 80e5fa4ba9b5515c4287ad85000595f663578469fb9d279f86f8c5f559eddeab + unrolled_ast: 80e5fa4ba9b5515c4287ad85000595f663578469fb9d279f86f8c5f559eddeab + ssa_ast: aef2a651c7e7a68c164ed5f5d3e5ce0e7ecfed5f82795821ab06b4478ae7feba + flattened_ast: 1f540a5ed720ea11898a70724f49f365f227fb2ef7c69f57c4cfe038c9bedd16 + inlined_ast: 1f540a5ed720ea11898a70724f49f365f227fb2ef7c69f57c4cfe038c9bedd16 + dce_ast: 1f540a5ed720ea11898a70724f49f365f227fb2ef7c69f57c4cfe038c9bedd16 bytecode: 96c9838c6cd113e26c1cb3abcb9aebb52e622fec38cab2a13ebaad1683a1c15d diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index 6825599919..bd8fadeecd 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7840ca57eb2f32d2f6a3fdcb58a8fda5a15600ca31d8fd3a149129de61c30a13 - unrolled_ast: 7840ca57eb2f32d2f6a3fdcb58a8fda5a15600ca31d8fd3a149129de61c30a13 - ssa_ast: 084403de451d50b3941abf9a007cc223e8ec038cc04e2204bb2483d92b861fb6 - flattened_ast: ec3eec8f9dd98b80fe3621ab58494a4a0b3ff0e60edbec554ddc2a4138dd4fc9 - inlined_ast: ec3eec8f9dd98b80fe3621ab58494a4a0b3ff0e60edbec554ddc2a4138dd4fc9 - dce_ast: 8f4373695fb9563b015f6a125615b320fd1cfae3e968ea36788c23b7895f2c95 + - initial_ast: 0bf8fa697f3a2ec0da07bb55f1a8d2a74d7ab0eafa30f3d3bdb42df6bc2c7c23 + unrolled_ast: 0bf8fa697f3a2ec0da07bb55f1a8d2a74d7ab0eafa30f3d3bdb42df6bc2c7c23 + ssa_ast: 30eb602504c504c2986fe77d9b9a44ba352c1bf85003201124f5f48a7b8d1189 + flattened_ast: 3c854f624fb8cd53e078c6b9561dcd6c012088732c40f6364eb285f9425fda6d + inlined_ast: 3c854f624fb8cd53e078c6b9561dcd6c012088732c40f6364eb285f9425fda6d + dce_ast: b0c5df1853f45cd84d7f40923802c37c62903e71086aae74bc5a89d37498b1b9 bytecode: b84dd86ea59ed7d470a54bb67005b019859cd5c9377923b37a49f1f44e87fa36 diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index 8e6ac76337..76121b1f1f 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7da2673aada54bb5a17fd1783f3346b49389a8f5a3777c7e43c717453e627868 - unrolled_ast: 7da2673aada54bb5a17fd1783f3346b49389a8f5a3777c7e43c717453e627868 - ssa_ast: bb05e4f93c78ac321b3dc25afdcf2fac45dc1db9a4c01e139a576594deda8b2b - flattened_ast: 5230f944fffccae1af7e94f6e46f49b69b4f9ac21c32e2c0e7026a2d6e6071d2 - inlined_ast: 5230f944fffccae1af7e94f6e46f49b69b4f9ac21c32e2c0e7026a2d6e6071d2 - dce_ast: 5230f944fffccae1af7e94f6e46f49b69b4f9ac21c32e2c0e7026a2d6e6071d2 + - initial_ast: 2d58c92c6061ca53ae4905d4d5719b1af7b79e12802d89694edf553b4ae85f65 + unrolled_ast: 2d58c92c6061ca53ae4905d4d5719b1af7b79e12802d89694edf553b4ae85f65 + ssa_ast: ee4bfc8577e49c4972185bd1d44101213e8767791087edfe21075a96786dd666 + flattened_ast: 7a17cab768b0337f5f82795060a7cde1bf3c75a3b010239ca3aad606d6a6da8c + inlined_ast: 7a17cab768b0337f5f82795060a7cde1bf3c75a3b010239ca3aad606d6a6da8c + dce_ast: 7a17cab768b0337f5f82795060a7cde1bf3c75a3b010239ca3aad606d6a6da8c bytecode: ab93704b9e34e4588d4b5e1ae347f661a182ce16fac8a45c1d95232b38564d23 diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index f41d4303f6..652f0f8eca 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 57a4673db7fd8ba95410ee15a34570a15b168a7734c03bfa1a915a799bc41060 - unrolled_ast: 57a4673db7fd8ba95410ee15a34570a15b168a7734c03bfa1a915a799bc41060 - ssa_ast: c7ef2a2666b54099f49f96b949ecb811c4fb87fd008cfce40c1d3cf4698b2b90 - flattened_ast: a682efda5ec163a12aa62f6a300ed5dd1d26a3195b10fb5ed9b955bee472e69a - inlined_ast: a682efda5ec163a12aa62f6a300ed5dd1d26a3195b10fb5ed9b955bee472e69a - dce_ast: a682efda5ec163a12aa62f6a300ed5dd1d26a3195b10fb5ed9b955bee472e69a + - initial_ast: 06a89b95e165c99f1b72d520838c2b651a5dacc42a106324a1b037b766b7935a + unrolled_ast: 06a89b95e165c99f1b72d520838c2b651a5dacc42a106324a1b037b766b7935a + ssa_ast: 179cc9ceb1acb18722d1ba469a404355986182f2d2e9a2cb35c6dc8db27f2de7 + flattened_ast: 8262cbc03be7285524a31175609b9339418b15304937b05d5e7eeb5bef85ac17 + inlined_ast: 8262cbc03be7285524a31175609b9339418b15304937b05d5e7eeb5bef85ac17 + dce_ast: 8262cbc03be7285524a31175609b9339418b15304937b05d5e7eeb5bef85ac17 bytecode: 8389291206b5fde26edad53fd7cbfa30f4594fe5818a2cbb1a02b193a0382693 diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index 41115e2584..df66f0ab47 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d480245307585a82b32001602c1578995329184c78e513e5707ac7dba987643b - unrolled_ast: d480245307585a82b32001602c1578995329184c78e513e5707ac7dba987643b - ssa_ast: 06f768499bd95e8a28d39bff5a586be2d3518f2440a12e81694c9330aeeda753 - flattened_ast: e7bb6ed0aa06551efb54e4bfd79adca38b28d5d2ea71f670f7467f6ef4e2de98 - inlined_ast: e7bb6ed0aa06551efb54e4bfd79adca38b28d5d2ea71f670f7467f6ef4e2de98 - dce_ast: e7bb6ed0aa06551efb54e4bfd79adca38b28d5d2ea71f670f7467f6ef4e2de98 + - initial_ast: e71c1a7605693803c49bde4b4c13cb74e93cb14314657b25eb361056cc22e0e9 + unrolled_ast: e71c1a7605693803c49bde4b4c13cb74e93cb14314657b25eb361056cc22e0e9 + ssa_ast: 59188e1fb87583fb19af1337aeec15fb6745756788554271fa12c416743be5db + flattened_ast: 3f14c818b37f22af043bd27b1adef4c79bd261b016c0147781108de607294271 + inlined_ast: 3f14c818b37f22af043bd27b1adef4c79bd261b016c0147781108de607294271 + dce_ast: 3f14c818b37f22af043bd27b1adef4c79bd261b016c0147781108de607294271 bytecode: cdbe7fcbbe006b5e22012279653209cfb5ba4db73631553c0eddd44a59e4a581 diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index cea7415b95..4a92f2bf8c 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8fe0d1d02e535dadd5bc65feccbd4fce90ac88a34606c9cf93bdc8678d563855 - unrolled_ast: 8fe0d1d02e535dadd5bc65feccbd4fce90ac88a34606c9cf93bdc8678d563855 - ssa_ast: b3624f2d15152428a37fae2e9bb6bb0bc72384b153bd57246379d6261ceeb9cb - flattened_ast: 02643666dc4ebb26b5d599c20472a82e10947e8ed6779e340e503b05db694198 - inlined_ast: 02643666dc4ebb26b5d599c20472a82e10947e8ed6779e340e503b05db694198 - dce_ast: 02643666dc4ebb26b5d599c20472a82e10947e8ed6779e340e503b05db694198 + - initial_ast: 7786c34a25e85791bed04a7d14c808b4bc1553ec862aa77c8f85de1bb4d83d2c + unrolled_ast: 7786c34a25e85791bed04a7d14c808b4bc1553ec862aa77c8f85de1bb4d83d2c + ssa_ast: 7c3b11155cb2a77f80dd217eb596cc08ecc82a3248456b7c505ec8e75f73f9a6 + flattened_ast: be946396185fcecbf2b12649d6b7ea474a7a376342f74c2ad8d36ab47df03c9d + inlined_ast: be946396185fcecbf2b12649d6b7ea474a7a376342f74c2ad8d36ab47df03c9d + dce_ast: be946396185fcecbf2b12649d6b7ea474a7a376342f74c2ad8d36ab47df03c9d bytecode: e96081d4904a9d73c7ce8bb9cd6357c90051b37b97961e254aff910cb2d73827 diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index 03fb73aeeb..1501bcfd77 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3d30382990b5ec3eadf87cbf0a3cee8ae17e4d783e2fada3f1d790b8c599e637 - unrolled_ast: 3d30382990b5ec3eadf87cbf0a3cee8ae17e4d783e2fada3f1d790b8c599e637 - ssa_ast: f78b3c57cfa8409ba3b603ee42373705efaff4a625fcd29597abd90d63db8316 - flattened_ast: 4571065f061a5059794566a2c12ba08b726d97932b7bf756cea7a934f8e0e022 - inlined_ast: 4571065f061a5059794566a2c12ba08b726d97932b7bf756cea7a934f8e0e022 - dce_ast: 4571065f061a5059794566a2c12ba08b726d97932b7bf756cea7a934f8e0e022 + - initial_ast: 0ccb2ef846730c478a1ccc6c97a9127af6f61c30781d2be15e065f4bd04e88ab + unrolled_ast: 0ccb2ef846730c478a1ccc6c97a9127af6f61c30781d2be15e065f4bd04e88ab + ssa_ast: 96b19ce0a17df5c2fc09043b3b300a692635a2d8935fb4de049cd68af6877be6 + flattened_ast: 4544b288873439a9f3cb6bcaaf053cd87d99b3c42b1f75678031bd910dd21b0f + inlined_ast: 4544b288873439a9f3cb6bcaaf053cd87d99b3c42b1f75678031bd910dd21b0f + dce_ast: 4544b288873439a9f3cb6bcaaf053cd87d99b3c42b1f75678031bd910dd21b0f bytecode: e96081d4904a9d73c7ce8bb9cd6357c90051b37b97961e254aff910cb2d73827 diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index 9699996dc5..83cdc5c878 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: df82f756e1442522f5165ec1edcff81bc4d5424c68b531c8749bd458744ac9ff - unrolled_ast: df82f756e1442522f5165ec1edcff81bc4d5424c68b531c8749bd458744ac9ff - ssa_ast: 2b8f96c04fcd1d1be970ec1c688fbc2a9c29f949cab7afac3770399940d4c6e4 - flattened_ast: 89d0593675ffaa7570e879c725925a7d581dc39a2768679872e9f861bfacc882 - inlined_ast: 89d0593675ffaa7570e879c725925a7d581dc39a2768679872e9f861bfacc882 - dce_ast: 89d0593675ffaa7570e879c725925a7d581dc39a2768679872e9f861bfacc882 + - initial_ast: 7b42bb33cb93340706bd7531ce1757fe1e529fabc7e666371cd3b3166bb52723 + unrolled_ast: 7b42bb33cb93340706bd7531ce1757fe1e529fabc7e666371cd3b3166bb52723 + ssa_ast: 979d0b2a4c9e790c3202550db1bac2caadb0c401f60a1f64e1d70eb64eba4cd7 + flattened_ast: 8fe76a592479254f9b9f5508aa73631b191fb5c4ff5c33bbabd1f4e07175d20e + inlined_ast: 8fe76a592479254f9b9f5508aa73631b191fb5c4ff5c33bbabd1f4e07175d20e + dce_ast: 8fe76a592479254f9b9f5508aa73631b191fb5c4ff5c33bbabd1f4e07175d20e bytecode: e96081d4904a9d73c7ce8bb9cd6357c90051b37b97961e254aff910cb2d73827 diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 1615a3d36e..0e149faa14 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 025a397209d0b0588108a4f99e637103d60d654fbf284776073e58f209656910 - unrolled_ast: 025a397209d0b0588108a4f99e637103d60d654fbf284776073e58f209656910 - ssa_ast: e729b830c6d0231f85e8a78630c296cfcbd98133b4b6d2559719d39af7af6f14 - flattened_ast: f1333af91e0503c15ec6db132e8b8994b28cb07e06961044108563ec435b5288 - inlined_ast: f1333af91e0503c15ec6db132e8b8994b28cb07e06961044108563ec435b5288 - dce_ast: f1333af91e0503c15ec6db132e8b8994b28cb07e06961044108563ec435b5288 + - initial_ast: 8897fd959eaa19198fccf8cef95e3447a908119a985a42f4b5439d205752eb8f + unrolled_ast: 8897fd959eaa19198fccf8cef95e3447a908119a985a42f4b5439d205752eb8f + ssa_ast: 760f8e13da8a1e7339aed127a4601a75b8dd9e4e61cbb80c191194bb1d1404dd + flattened_ast: a705ae6ce680c83594ac12418c0274e8b62f30e218acda379492417195a2dc2e + inlined_ast: a705ae6ce680c83594ac12418c0274e8b62f30e218acda379492417195a2dc2e + dce_ast: a705ae6ce680c83594ac12418c0274e8b62f30e218acda379492417195a2dc2e bytecode: e96081d4904a9d73c7ce8bb9cd6357c90051b37b97961e254aff910cb2d73827 diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index b5a02075b3..28d8b5254e 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 049ebcc8aee7c4a87355659266eca71d3f480dda69a4771deb75ffcb71187d30 - unrolled_ast: 049ebcc8aee7c4a87355659266eca71d3f480dda69a4771deb75ffcb71187d30 - ssa_ast: 43ce028a30c30e2d672fb95b2694fa54803eba972b996466dbd392780b3baf74 - flattened_ast: 8e4057902e9231d5a558ee8f9d24a0019389f9d93d786ae99c7ed1aa989f29c5 - inlined_ast: 8e4057902e9231d5a558ee8f9d24a0019389f9d93d786ae99c7ed1aa989f29c5 - dce_ast: 8e4057902e9231d5a558ee8f9d24a0019389f9d93d786ae99c7ed1aa989f29c5 + - initial_ast: c95b95cafe81cecbf3487a55b7081dcbd0f2e2d0a5a0f70b11f558c0515e21fe + unrolled_ast: c95b95cafe81cecbf3487a55b7081dcbd0f2e2d0a5a0f70b11f558c0515e21fe + ssa_ast: db21f1ceb41e7887286d98be680b0ee167c4483832f0e5ff1e8323e8ccdbc941 + flattened_ast: 80a2659eddf1a1b74477c0d339e84ae5d10fc68ea26a1ddc14d2fc7d24b2708a + inlined_ast: 80a2659eddf1a1b74477c0d339e84ae5d10fc68ea26a1ddc14d2fc7d24b2708a + dce_ast: 80a2659eddf1a1b74477c0d339e84ae5d10fc68ea26a1ddc14d2fc7d24b2708a bytecode: a94d1d8f79e69b746fcaf829916aae3f08c540aff13fd5d5a828addaded23621 diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index cf8221e073..40b6af50a1 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 281257417e814b4b023b3012dafaf43f595b9081073568ee63d4cce70fd728eb - unrolled_ast: 281257417e814b4b023b3012dafaf43f595b9081073568ee63d4cce70fd728eb - ssa_ast: 3187bd21eb4e27414cee29208aabe782444c2bc3228b372c90a852a632bae9d9 - flattened_ast: 9a1fd8fbc9feaabe3fba14d803512de5dffd9f92f96847a9295e2bdcec2b259a - inlined_ast: 9a1fd8fbc9feaabe3fba14d803512de5dffd9f92f96847a9295e2bdcec2b259a - dce_ast: 9a1fd8fbc9feaabe3fba14d803512de5dffd9f92f96847a9295e2bdcec2b259a + - initial_ast: d7d520b36fab32c8eb8f3b2911313d67262acfd0788915e5c122d87a9aa37b55 + unrolled_ast: d7d520b36fab32c8eb8f3b2911313d67262acfd0788915e5c122d87a9aa37b55 + ssa_ast: abeac1b3440434bf58a82ab76125c36879ece5f4c81242006e8b479bc828fbf2 + flattened_ast: de2d0f1e4366c32fba42c07155eab2d12f799854cfefd6c17ae8d5c1f6a43742 + inlined_ast: de2d0f1e4366c32fba42c07155eab2d12f799854cfefd6c17ae8d5c1f6a43742 + dce_ast: de2d0f1e4366c32fba42c07155eab2d12f799854cfefd6c17ae8d5c1f6a43742 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index e3f3e5b9c1..1686716bcc 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9170fa221e6b6c73e935324f4ea604bc595014b4b8c0bad157b340a5dd66ad25 - unrolled_ast: 9170fa221e6b6c73e935324f4ea604bc595014b4b8c0bad157b340a5dd66ad25 - ssa_ast: 804feefc20b612249c7c44144033728c6e1354b152f196e262f135c652d2ecba - flattened_ast: a2f0d1256d3e08215e96cf625f61eea6f55c786e1f23f028d110252a40ad75c7 - inlined_ast: a2f0d1256d3e08215e96cf625f61eea6f55c786e1f23f028d110252a40ad75c7 - dce_ast: a2f0d1256d3e08215e96cf625f61eea6f55c786e1f23f028d110252a40ad75c7 + - initial_ast: e47e801876b1ba857d00b49553d2a338c90fcdd6108b32d53bf82c0f525464b9 + unrolled_ast: e47e801876b1ba857d00b49553d2a338c90fcdd6108b32d53bf82c0f525464b9 + ssa_ast: 430913d7c92069e50d247ac169b820721a4c7075c4b70a2d7a5547bb7b8a6a15 + flattened_ast: 79cba27ab77d25444622de18f6fe8014de7695a30f9f3e7e3cd5e99951b03f7d + inlined_ast: 79cba27ab77d25444622de18f6fe8014de7695a30f9f3e7e3cd5e99951b03f7d + dce_ast: 79cba27ab77d25444622de18f6fe8014de7695a30f9f3e7e3cd5e99951b03f7d bytecode: 33b0428205d23a2e03c265edac88f7b98fcfb7769b86ee0508128e68069b5b46 diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index 32459e970c..2a7a4b0607 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 09800387836633ae681573ed23071c36ba768b04e4d1ace2e68dd81ff58e1f8f - unrolled_ast: 09800387836633ae681573ed23071c36ba768b04e4d1ace2e68dd81ff58e1f8f - ssa_ast: 2f02ad7d8893241fe0701045abf0417e023fc9952e3def17623d4f24df34964b - flattened_ast: 3848bb69bf1487f5d678279b17a82d7d8996b0ab03c0aff50f18619d9b31a3d8 - inlined_ast: 3848bb69bf1487f5d678279b17a82d7d8996b0ab03c0aff50f18619d9b31a3d8 - dce_ast: 3848bb69bf1487f5d678279b17a82d7d8996b0ab03c0aff50f18619d9b31a3d8 + - initial_ast: f48c5bb783907ef964636f576f00f9b620b0d25d3fd028145cfa0773634d08d2 + unrolled_ast: f48c5bb783907ef964636f576f00f9b620b0d25d3fd028145cfa0773634d08d2 + ssa_ast: 3037ce6966aa5a1a8adffa605eb14477fb857d48ada54de08daf46b882eda2c8 + flattened_ast: ca9b531d3e64ba65cbd6dc9ea4ba44e026eaf1e83e8df502326a4d035cd5cbae + inlined_ast: ca9b531d3e64ba65cbd6dc9ea4ba44e026eaf1e83e8df502326a4d035cd5cbae + dce_ast: ca9b531d3e64ba65cbd6dc9ea4ba44e026eaf1e83e8df502326a4d035cd5cbae bytecode: 6f3edf18242106629627faa1e59807276fabe9703a44c467ab0869035a916e59 diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index 7fb5793bd7..b79e0a848e 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b807f509b3094310b447d8eaa0605962905cfb9abbc45e214c8e307c43695515 - unrolled_ast: b807f509b3094310b447d8eaa0605962905cfb9abbc45e214c8e307c43695515 - ssa_ast: 480bc825f7733fbe9440be43fc32101d634c72cf63c22042865eeb8d54700454 - flattened_ast: 6f04dd20f5e62b04236fcf7c47eba78eb6af0555d6278afc2fc347a691790dbd - inlined_ast: 6f04dd20f5e62b04236fcf7c47eba78eb6af0555d6278afc2fc347a691790dbd - dce_ast: 6f04dd20f5e62b04236fcf7c47eba78eb6af0555d6278afc2fc347a691790dbd + - initial_ast: 9ef97ecfa9df165090427eedaf457ca7b0f2de3ce1ece191f2fbc007dce2182d + unrolled_ast: 9ef97ecfa9df165090427eedaf457ca7b0f2de3ce1ece191f2fbc007dce2182d + ssa_ast: 9c75d4d7be32850b04a661d6095fe10b90b0f79d7246efd8c651407cb4a351a1 + flattened_ast: 32adf56836f77e34e4cf0ac5ac6dfd10049c6a4e27f483a4814d28267d635875 + inlined_ast: 32adf56836f77e34e4cf0ac5ac6dfd10049c6a4e27f483a4814d28267d635875 + dce_ast: 32adf56836f77e34e4cf0ac5ac6dfd10049c6a4e27f483a4814d28267d635875 bytecode: d3d6361fcc04fcc6102c91ec93ca087f2248b8868883a216282223937942b9ff diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index f3c506507b..06678eff85 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c240883b826b167ea2db9025caf789512a88cb52568c9f67e3c8a3b94efcbe54 - unrolled_ast: c240883b826b167ea2db9025caf789512a88cb52568c9f67e3c8a3b94efcbe54 - ssa_ast: 20e0b2fb427dcf7c1c7ed9a4e3c2f22f3980b4402fe8b8415c618baa4676aa34 - flattened_ast: d7ea40e2c1f9478f7c14c6a29d1c4cb6616aa820a00609531f29444be505c258 - inlined_ast: d7ea40e2c1f9478f7c14c6a29d1c4cb6616aa820a00609531f29444be505c258 - dce_ast: d7ea40e2c1f9478f7c14c6a29d1c4cb6616aa820a00609531f29444be505c258 + - initial_ast: f9d96ee8f30e5351f076b3d0d9999c73c7b6f1a6729de3623d3186342670900e + unrolled_ast: f9d96ee8f30e5351f076b3d0d9999c73c7b6f1a6729de3623d3186342670900e + ssa_ast: 34b52b3ec2f03f1621d68618e7bd6ee7c80d23f818963c5c00b5bdcb65ac34d9 + flattened_ast: 8c26d2fb459a2d0a53b407a93a37cabe2da007ceb9e9dddbf831753a85497524 + inlined_ast: 8c26d2fb459a2d0a53b407a93a37cabe2da007ceb9e9dddbf831753a85497524 + dce_ast: 8c26d2fb459a2d0a53b407a93a37cabe2da007ceb9e9dddbf831753a85497524 bytecode: d865e47d55dd534c79a7f0abc2a97c569a9195a3579412a415379b6131003628 diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index 2ef10508f9..fa79874509 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d3f8cbc4837ba1b9754b3855afc124ad5b80b2993588799f5418eeda0f2633fe - unrolled_ast: d3f8cbc4837ba1b9754b3855afc124ad5b80b2993588799f5418eeda0f2633fe - ssa_ast: 5d2245475f2786417fbd3f2bfb1fb8c04bbdd4f5604c1e199057c7005cd528a3 - flattened_ast: 7c6e8b9ac6e3cbfe263e20973e0bae98348b6713c4d5daf9359448412284152d - inlined_ast: 7c6e8b9ac6e3cbfe263e20973e0bae98348b6713c4d5daf9359448412284152d - dce_ast: 7c6e8b9ac6e3cbfe263e20973e0bae98348b6713c4d5daf9359448412284152d + - initial_ast: f8e5bc20d32211ff88e48b916e26454a88eee8b62a37c756391754ad7e186aec + unrolled_ast: f8e5bc20d32211ff88e48b916e26454a88eee8b62a37c756391754ad7e186aec + ssa_ast: ac0d76356abb51fbc1554b9f4ed5e2d75329ab29120840284d284a793d9c9915 + flattened_ast: e4dff9013c11444cb3bb0d6289c849961075996db5bec45b713ce72fb4386f82 + inlined_ast: e4dff9013c11444cb3bb0d6289c849961075996db5bec45b713ce72fb4386f82 + dce_ast: e4dff9013c11444cb3bb0d6289c849961075996db5bec45b713ce72fb4386f82 bytecode: 6a831f79614e36f29287d0c38c39352d1563a85cfd3d1ffcda037ce3dd6f32bd diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index 362b80e77f..6312b90409 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: dda837a8180f20e72977f385e2c8a8e6a04ff68df8dc0fda6763ff7de5ce063d - unrolled_ast: dda837a8180f20e72977f385e2c8a8e6a04ff68df8dc0fda6763ff7de5ce063d - ssa_ast: bba57260a95706f4f05130a3faa698016f3d2bf3c6e9dabb2741c205d0600f5f - flattened_ast: 75ef9e42f15a6816413b79c45cde5032579254e797d83831a11dcf91926ac180 - inlined_ast: 75ef9e42f15a6816413b79c45cde5032579254e797d83831a11dcf91926ac180 - dce_ast: 75ef9e42f15a6816413b79c45cde5032579254e797d83831a11dcf91926ac180 + - initial_ast: 49795161b876482e8e778cc7b7800bf0bf495ce76ae17f9b81f82ea8b124ec62 + unrolled_ast: 49795161b876482e8e778cc7b7800bf0bf495ce76ae17f9b81f82ea8b124ec62 + ssa_ast: cd04420bb85a9d651c7a90cc8e9e5e6ec85e0448121a7cf975b59f7cd741cc74 + flattened_ast: 76317cf76b03c68e9121f1ef1f1f736b3acac786b5aca8e6efc2306bf27edd78 + inlined_ast: 76317cf76b03c68e9121f1ef1f1f736b3acac786b5aca8e6efc2306bf27edd78 + dce_ast: 76317cf76b03c68e9121f1ef1f1f736b3acac786b5aca8e6efc2306bf27edd78 bytecode: 0497ce2fbdcd7212261295b10194407589572843d8ab24596f194c486ca2ea8a diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index f5c380930c..491536f0d5 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f726529ab42bbd445cd3c0aeed70d2cd6d1c75746bbb89ef8721c7229ea21016 - unrolled_ast: f726529ab42bbd445cd3c0aeed70d2cd6d1c75746bbb89ef8721c7229ea21016 - ssa_ast: 53e214ec2ba7534cc6379668320cb4a1034467a36d099085b5ac8f36b2827654 - flattened_ast: a6454ab1c865e41906eaabe02ad435c8ab450be97f5673fb98fb1f7c49344ffa - inlined_ast: a6454ab1c865e41906eaabe02ad435c8ab450be97f5673fb98fb1f7c49344ffa - dce_ast: a6454ab1c865e41906eaabe02ad435c8ab450be97f5673fb98fb1f7c49344ffa + - initial_ast: 14d489540dfe6048ccb7d17f094d7251de956fba0cd466d10adef7da2273959f + unrolled_ast: 14d489540dfe6048ccb7d17f094d7251de956fba0cd466d10adef7da2273959f + ssa_ast: d10dacb93bab1997ff662bac26bde98915467313c8f4023df5b191740d540716 + flattened_ast: 839499694e36aaef84f7f8fde33cd0cd49c88ee722f6ff248c4325bb76221343 + inlined_ast: 839499694e36aaef84f7f8fde33cd0cd49c88ee722f6ff248c4325bb76221343 + dce_ast: 839499694e36aaef84f7f8fde33cd0cd49c88ee722f6ff248c4325bb76221343 bytecode: 305c7f46ca9ad5640019699025196349bbc986ebc1532a17600e41d048df3d97 diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 23837a2099..b51a32a54e 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a999ba6783e75155ac4b78f40302f4644deede47b94296098302398581e96e74 - unrolled_ast: a999ba6783e75155ac4b78f40302f4644deede47b94296098302398581e96e74 - ssa_ast: 2325557531c7246271a84aa971309952cfaceb99a1e64b5b3ef57487faa45637 - flattened_ast: 5ee1d1befc3103cac9a91bfe8b7e165a7cc46c8cd524043768255ea9bd48936d - inlined_ast: 5ee1d1befc3103cac9a91bfe8b7e165a7cc46c8cd524043768255ea9bd48936d - dce_ast: 5ee1d1befc3103cac9a91bfe8b7e165a7cc46c8cd524043768255ea9bd48936d + - initial_ast: def029152484b9b3fd9217e6c8c46008898f5f3f1ac2a4407437943a3fc3fdad + unrolled_ast: def029152484b9b3fd9217e6c8c46008898f5f3f1ac2a4407437943a3fc3fdad + ssa_ast: 26f49bc233caf6d1509437585926e2b78abc56bf15e2b433bc472495de44f54c + flattened_ast: 47dc1cc8b3b74f1e179663f80176a794caf7cc19e21bf709505af65cf8128467 + inlined_ast: 47dc1cc8b3b74f1e179663f80176a794caf7cc19e21bf709505af65cf8128467 + dce_ast: 47dc1cc8b3b74f1e179663f80176a794caf7cc19e21bf709505af65cf8128467 bytecode: 9abaadb0253d49dfeee51800854119b7464f14158804826e78f6ab145ffe63e9 diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 3195ade246..5f36cb946b 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 29dc76537853317079fb5eecf438efeff2a20536e87705180122db5661a85433 - unrolled_ast: 29dc76537853317079fb5eecf438efeff2a20536e87705180122db5661a85433 - ssa_ast: a67527b38b38525dc2a8b252ce60795d8f1f57806981550734b236920ed69925 - flattened_ast: 9fb5a9189a34aa4e2b43d9e03522215ff65af82fa8b5ec4b4760299f482a0ba1 - inlined_ast: 9fb5a9189a34aa4e2b43d9e03522215ff65af82fa8b5ec4b4760299f482a0ba1 - dce_ast: 9fb5a9189a34aa4e2b43d9e03522215ff65af82fa8b5ec4b4760299f482a0ba1 + - initial_ast: a9474ce46324ad230c81791815c9950610c13262d552e395e5d0d4b3bb9a7425 + unrolled_ast: a9474ce46324ad230c81791815c9950610c13262d552e395e5d0d4b3bb9a7425 + ssa_ast: 0d6c58664476530a497420037e20da0e84370181673730b6797a96fc8146f113 + flattened_ast: fafa00683c84ea370878e37120bbf427441fff05263cf5abf0128d51eb14d469 + inlined_ast: fafa00683c84ea370878e37120bbf427441fff05263cf5abf0128d51eb14d469 + dce_ast: fafa00683c84ea370878e37120bbf427441fff05263cf5abf0128d51eb14d469 bytecode: 8f31c696966ee1357b25d09dbad473b72482970eafed6a581aa90d13134dfb09 diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index dca98f82a1..afd358743c 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: dba5a3bb2de91ecfd6e2943fe661f46b369279e6b60c904d8e38c7859d2a7ab4 - unrolled_ast: dba5a3bb2de91ecfd6e2943fe661f46b369279e6b60c904d8e38c7859d2a7ab4 - ssa_ast: 2d334ebb3fb5aea4f78dfcf9ef83267de38bc1d914fe990743562755767cb322 - flattened_ast: 3f1992f161804d90681b7500f183f6809881b43689b7dff4b0e0350f12a662d2 - inlined_ast: 3f1992f161804d90681b7500f183f6809881b43689b7dff4b0e0350f12a662d2 - dce_ast: 3f1992f161804d90681b7500f183f6809881b43689b7dff4b0e0350f12a662d2 + - initial_ast: 73c56a74c1a4c8911705367e2f1239b620a18a568fa2279307671f44bc11cf69 + unrolled_ast: 73c56a74c1a4c8911705367e2f1239b620a18a568fa2279307671f44bc11cf69 + ssa_ast: 58b115ec65c054b66c5e10895b25ee66c0ab57e79155d7e8517aa9e95267ce02 + flattened_ast: d1e511b23ab2c51405219d4955137142530c80e6d18c17e9c29fa66b3f74ead1 + inlined_ast: d1e511b23ab2c51405219d4955137142530c80e6d18c17e9c29fa66b3f74ead1 + dce_ast: d1e511b23ab2c51405219d4955137142530c80e6d18c17e9c29fa66b3f74ead1 bytecode: 3b4376c236be3332bde01a7d6beabda973f64e777ee81bc17c2b082c8fb34d80 diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index 557faa0412..1c74d3de78 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fe3697f7d1caadc5b0be81ae4e63d63fc6d0d1a9962c92f146224436f8b0c41d - unrolled_ast: fe3697f7d1caadc5b0be81ae4e63d63fc6d0d1a9962c92f146224436f8b0c41d - ssa_ast: b91dad585db06fc37ad1deabcf694fb17ff054ebc527815c608a6b47cc647d12 - flattened_ast: c3f90dfda9068aed1550ae25cb0e4125e9bce765e4a00616c6e2f542d9921a19 - inlined_ast: c3f90dfda9068aed1550ae25cb0e4125e9bce765e4a00616c6e2f542d9921a19 - dce_ast: c3f90dfda9068aed1550ae25cb0e4125e9bce765e4a00616c6e2f542d9921a19 + - initial_ast: ab5c76d7c60310a3f1d00a7b3c5f4aecd757fa8c2e3a9fad61cf6dd1352da625 + unrolled_ast: ab5c76d7c60310a3f1d00a7b3c5f4aecd757fa8c2e3a9fad61cf6dd1352da625 + ssa_ast: 4714de8283a68ca7717b0c22f6d12560d4df6d3a3255ef12da20306ab748f558 + flattened_ast: ac4a71107453d51c7cd1eb503bf807f0953d8964c20cd901667de8de1ef132c4 + inlined_ast: ac4a71107453d51c7cd1eb503bf807f0953d8964c20cd901667de8de1ef132c4 + dce_ast: ac4a71107453d51c7cd1eb503bf807f0953d8964c20cd901667de8de1ef132c4 bytecode: 4a17c14a9beba81a7b8177ff19eb147431b1d5769cca507dfe8cbce02a29ae1d diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index 43c101eee2..be7817b325 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a38e415c9dddc3301e239a2bc4e8bc4cda3832595c80c6767b0498a31e9bb2ae - unrolled_ast: a38e415c9dddc3301e239a2bc4e8bc4cda3832595c80c6767b0498a31e9bb2ae - ssa_ast: 35e014ae5d9539afb5d94a52c07dcac30796fd0346f871d8dd7475696939879b - flattened_ast: 6f947b23102ec39346fd657f2329f670a18704f2cd2caa5a35b6feebc691526b - inlined_ast: 6f947b23102ec39346fd657f2329f670a18704f2cd2caa5a35b6feebc691526b - dce_ast: 6f947b23102ec39346fd657f2329f670a18704f2cd2caa5a35b6feebc691526b + - initial_ast: 79b4878396b900741e71576dbdbaa24ee745a4fe1825c26a2a045591723542ed + unrolled_ast: 79b4878396b900741e71576dbdbaa24ee745a4fe1825c26a2a045591723542ed + ssa_ast: 1041ce69c0adfe1e17a426d09141d384474cf5e90763dfe88216e7af90598b8b + flattened_ast: da566a68132acc369aff5f60fc72d037a1d4a4fa10192fa3587c19ed5ad9014c + inlined_ast: da566a68132acc369aff5f60fc72d037a1d4a4fa10192fa3587c19ed5ad9014c + dce_ast: da566a68132acc369aff5f60fc72d037a1d4a4fa10192fa3587c19ed5ad9014c bytecode: 5dd12bea92c7275bd2ef924ed8006f84593cd73bd7a517088f3350735d320ed6 diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index cd0f155aa1..95aba836f8 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5cb7f18400477e5c233d7c5a40f7b0fc1dd380d0dac1132461eb497048630e19 - unrolled_ast: 5cb7f18400477e5c233d7c5a40f7b0fc1dd380d0dac1132461eb497048630e19 - ssa_ast: 58deb613e423d7a5c680ab4efb0df87d54f4567a87337cac43b5385a341bda08 - flattened_ast: 7f7e8f021084d372d2951853e4d5912dd13be8f66995b0495f60c7559d83ec9b - inlined_ast: 7f7e8f021084d372d2951853e4d5912dd13be8f66995b0495f60c7559d83ec9b - dce_ast: 7f7e8f021084d372d2951853e4d5912dd13be8f66995b0495f60c7559d83ec9b + - initial_ast: cb9c20b7615641cd4b57c8fb609b29d94e445027783344c0d8d811a1bebea9ee + unrolled_ast: cb9c20b7615641cd4b57c8fb609b29d94e445027783344c0d8d811a1bebea9ee + ssa_ast: 4978a22b81f868e1498ce3a3d2b76dc18be166864cab8dec8987f0507d64b54f + flattened_ast: c0f175103f55aeb56ccb4809a4c2f4fd7b8548de8a72a387d177c73091567162 + inlined_ast: c0f175103f55aeb56ccb4809a4c2f4fd7b8548de8a72a387d177c73091567162 + dce_ast: c0f175103f55aeb56ccb4809a4c2f4fd7b8548de8a72a387d177c73091567162 bytecode: 8514f62e239ece8b0cd2f7bc3c6b259ceeca8b9d921b0a3a167875814febe9d2 diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index 499e0d6038..dd5e98d991 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 75a27a782802300b3cc172cd9d316882b1e6d9060fb4cc846ef8d2d7db26b0fe - unrolled_ast: 75a27a782802300b3cc172cd9d316882b1e6d9060fb4cc846ef8d2d7db26b0fe - ssa_ast: 724df8594df1fed020d4ad386ea25eb54359eec65040ec005f50acc7549c8d9b - flattened_ast: e15ca26e2a432dd7093e23fbaa617defdc16b63473ac6a1c719e7a9a3ddbac0f - inlined_ast: e15ca26e2a432dd7093e23fbaa617defdc16b63473ac6a1c719e7a9a3ddbac0f - dce_ast: e15ca26e2a432dd7093e23fbaa617defdc16b63473ac6a1c719e7a9a3ddbac0f + - initial_ast: 43debe2c0d8a8067d11e6cf5c1b621ad425c3b74e6a0d909f027ede140492c75 + unrolled_ast: 43debe2c0d8a8067d11e6cf5c1b621ad425c3b74e6a0d909f027ede140492c75 + ssa_ast: 8a0d752adda4e8991fb1f5088259ddb0bbdec33bc96a9bfcd370d5aed03791a6 + flattened_ast: 4b8402dccdd28484c444db1fbe8a7c5fc4050aa980511e16385789bfb5fa7d1d + inlined_ast: 4b8402dccdd28484c444db1fbe8a7c5fc4050aa980511e16385789bfb5fa7d1d + dce_ast: 4b8402dccdd28484c444db1fbe8a7c5fc4050aa980511e16385789bfb5fa7d1d bytecode: cf239c5d4821dc939540cb2317a2713906d1f552cf8f31e1ba4e0f37a92b8a35 diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index 17decd466d..0133be8c37 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e7854ad0c98fd2939313666c6c315e1671ca402941cf4a2832c02c1158a933cd - unrolled_ast: e7854ad0c98fd2939313666c6c315e1671ca402941cf4a2832c02c1158a933cd - ssa_ast: ee79e0cd84ec73b44d0ca00d306cf72095160c5d08e8e02e970c8e631b89f72c - flattened_ast: e8f1ed69f803fd1b7bb8a7fcefc489b5d6b355ea35838368ba025f972459bc88 - inlined_ast: e8f1ed69f803fd1b7bb8a7fcefc489b5d6b355ea35838368ba025f972459bc88 - dce_ast: e8f1ed69f803fd1b7bb8a7fcefc489b5d6b355ea35838368ba025f972459bc88 + - initial_ast: b5e6d9d2486117e216d1fb2d25e92cbcd90842a543ece44bdbca794dc55c81e0 + unrolled_ast: b5e6d9d2486117e216d1fb2d25e92cbcd90842a543ece44bdbca794dc55c81e0 + ssa_ast: 48fa635f258af83afc36700ee00e7d7236d421797a5ef65dca69ddfcb177c9ad + flattened_ast: ccb13d28c96726ed30df21d6c94ad13394f76f6b4ed09fba2bb86e4d1917967e + inlined_ast: ccb13d28c96726ed30df21d6c94ad13394f76f6b4ed09fba2bb86e4d1917967e + dce_ast: ccb13d28c96726ed30df21d6c94ad13394f76f6b4ed09fba2bb86e4d1917967e bytecode: 1fdfc70503d61138eccaa03367363c5e3b5c46f439fa5e9666f34f1b795e4998 diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index e021745e96..5ff9a370d4 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6d2d9fdf337248c6f6ba13f0dba6164547855a3352467dff33d6929810f3e864 - unrolled_ast: 6d2d9fdf337248c6f6ba13f0dba6164547855a3352467dff33d6929810f3e864 - ssa_ast: 03858ad60cbdfddf5b82d406c5bf0e58f7a5261ba4b7edc474efb2ef090f969d - flattened_ast: 8478013efd02e41b60fe74a43dc9ff3233dd62da8d5f40bc0654f08f8a11878c - inlined_ast: 8478013efd02e41b60fe74a43dc9ff3233dd62da8d5f40bc0654f08f8a11878c - dce_ast: 8478013efd02e41b60fe74a43dc9ff3233dd62da8d5f40bc0654f08f8a11878c + - initial_ast: 8062b0ba7c17b6566696727fae84298d70f4a59f4546ba682b8bf45baf7dd9e0 + unrolled_ast: 8062b0ba7c17b6566696727fae84298d70f4a59f4546ba682b8bf45baf7dd9e0 + ssa_ast: 0b1f89d93c750404a2fe0a3993be97d93564fa6bc691414de345995ca63474a8 + flattened_ast: 70037fcc3dc6b59fa1170e1bfb040e104237f4e6cefa96dad430028cb16ce627 + inlined_ast: 70037fcc3dc6b59fa1170e1bfb040e104237f4e6cefa96dad430028cb16ce627 + dce_ast: 70037fcc3dc6b59fa1170e1bfb040e104237f4e6cefa96dad430028cb16ce627 bytecode: 7cd3cce37a87bb48f44b2f44e37be5e1821abfc3d73d7ab6a5e7e96c72f8f091 diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index 117f2e4cd9..ffc5eac7fb 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9c94ddcfd6eb76da0b195471d1d1c94e3f1900a33a5379e54c940312bd46c958 - unrolled_ast: 9c94ddcfd6eb76da0b195471d1d1c94e3f1900a33a5379e54c940312bd46c958 - ssa_ast: 7f992f62357bc9183f143a71f6577ef2d83eb39e7a1c84414adee1cfddd65e89 - flattened_ast: 23a42e341e4dea017a3214189f0b64bbb360fe44025f73f54720a028ee8aadec - inlined_ast: 23a42e341e4dea017a3214189f0b64bbb360fe44025f73f54720a028ee8aadec - dce_ast: 23a42e341e4dea017a3214189f0b64bbb360fe44025f73f54720a028ee8aadec + - initial_ast: 8ceb3e397e2187ad07459eb69f0f9967427493783f80b6dbf68a629e8093849f + unrolled_ast: 8ceb3e397e2187ad07459eb69f0f9967427493783f80b6dbf68a629e8093849f + ssa_ast: 47dec9b20ce886f8cd5e5841215129a3b62e1cbcec47cebe8618c0715721167b + flattened_ast: 10b0823cdd2623748b28649648181f557472f2e2c4d8704cd8d7adb80eb0128c + inlined_ast: 10b0823cdd2623748b28649648181f557472f2e2c4d8704cd8d7adb80eb0128c + dce_ast: 10b0823cdd2623748b28649648181f557472f2e2c4d8704cd8d7adb80eb0128c bytecode: 494ae1254dbca57e7dedbc2d9e21e837803b3124a21a87bdba507780a7e14fd7 diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index 92f316b1de..1b9bb0caa8 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 32b1746d931c753cafb85b142d42ebab32a4c6a52be67a8c47c882b7ad9c2304 - unrolled_ast: 32b1746d931c753cafb85b142d42ebab32a4c6a52be67a8c47c882b7ad9c2304 - ssa_ast: 7f0455d1f0d0cacaa894ab0e3861d22dd57de9b4df4b286ecd0fbc24ff6f4ba3 - flattened_ast: bc8b229a1e7bff1c3f42633678191dd86119b6b0055447ddf00318f2d1e553c5 - inlined_ast: bc8b229a1e7bff1c3f42633678191dd86119b6b0055447ddf00318f2d1e553c5 - dce_ast: bc8b229a1e7bff1c3f42633678191dd86119b6b0055447ddf00318f2d1e553c5 + - initial_ast: 6a2878f58d8ccafdfc270c60cb8dab72cfa0a67b7f3181d66a9b7c3412c80031 + unrolled_ast: 6a2878f58d8ccafdfc270c60cb8dab72cfa0a67b7f3181d66a9b7c3412c80031 + ssa_ast: df508de1da95ce09bf6e54c3d5b203b965d9c92aaa6c84c6e5e9b11e663d669d + flattened_ast: 8efc9169f21e376ff9e40f71bf15209d22e3defb9999a4bdf4130f440e778d83 + inlined_ast: 8efc9169f21e376ff9e40f71bf15209d22e3defb9999a4bdf4130f440e778d83 + dce_ast: 8efc9169f21e376ff9e40f71bf15209d22e3defb9999a4bdf4130f440e778d83 bytecode: e6204df8c165d3c5fc23fa09299a67fc651c5ab297ce3d7ddab7766d7b360857 diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index 35c8c8874d..56f4d2517a 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6b89d3bab13e52897bf04b9235e31a3e5bfdab7fe60a2dcc9ab926be141abb4f - unrolled_ast: 6b89d3bab13e52897bf04b9235e31a3e5bfdab7fe60a2dcc9ab926be141abb4f - ssa_ast: 0b44d837ff2020c4a6ede3595577a20231ea57034673a0471fd73e6234ae6232 - flattened_ast: 20be84b5b3ee1bd280628f71c0d075cb74ff40ffa718d8b2efa58352ffd79fba - inlined_ast: 20be84b5b3ee1bd280628f71c0d075cb74ff40ffa718d8b2efa58352ffd79fba - dce_ast: 1771d27db1197238272501b14e8d7da633f18a5c0454038b712cd107599450a5 + - initial_ast: 56958cf9571d6dfabfaf4e18227ce54fd9b763a535d7aec725242cd9313a4bd7 + unrolled_ast: 56958cf9571d6dfabfaf4e18227ce54fd9b763a535d7aec725242cd9313a4bd7 + ssa_ast: 11dab7eb6db4b7bea80a9152dcc70a1297b81d54dd934b37dfab681960e61832 + flattened_ast: f44271dbd181bcaf30d0564fcd30e5d41510165ef0a00bb9d11c7110b4784c8a + inlined_ast: f44271dbd181bcaf30d0564fcd30e5d41510165ef0a00bb9d11c7110b4784c8a + dce_ast: bf253b773de7fbefe2ca492f077f998365c30a2b2dab512cc3d13aaeb7f01bdf bytecode: 3ee7be6b9dbdaa4a046c5ca32ed10de40d57c80c13aba2fa5ee7fd80dd5c1ad3 diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index 807cf79dce..35f5acff63 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1c282a2eae95ea57f270a429860443fd6a81ee9db83a94935cb7c689ed1473d5 - unrolled_ast: 1c282a2eae95ea57f270a429860443fd6a81ee9db83a94935cb7c689ed1473d5 - ssa_ast: 2a8017edf038722b73227c0308af6161a670372d2d99cd496a736d7d86494642 - flattened_ast: c9845d2324396337d84943c519c8329cf5dbbd900458789db557e9f78e6d6a31 - inlined_ast: c9845d2324396337d84943c519c8329cf5dbbd900458789db557e9f78e6d6a31 - dce_ast: c9845d2324396337d84943c519c8329cf5dbbd900458789db557e9f78e6d6a31 + - initial_ast: c7424d01af18b6edde451f0e0a01e18a7060361c442620c4d8eeb93136711ef7 + unrolled_ast: c7424d01af18b6edde451f0e0a01e18a7060361c442620c4d8eeb93136711ef7 + ssa_ast: 8b001b1c73ef17e444c6fd65761b48668c457009d43cc5eb9ce778725e4dca6c + flattened_ast: ee2e578904b0685de576954c7acf23ee026dab4d60ff06339a86e85c7c0337e4 + inlined_ast: ee2e578904b0685de576954c7acf23ee026dab4d60ff06339a86e85c7c0337e4 + dce_ast: ee2e578904b0685de576954c7acf23ee026dab4d60ff06339a86e85c7c0337e4 bytecode: d262f60575627f8c4757304c45cd849e4b92b9ea44f0b342b12fa14c49d717ab diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index 4d5bb57463..c9fc98b7a7 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e3b5454917a0cf6c9476a28ad4e31287c0bc902b0d0b333797e681e88fa64ad5 - unrolled_ast: e3b5454917a0cf6c9476a28ad4e31287c0bc902b0d0b333797e681e88fa64ad5 - ssa_ast: 1a98abd515be7b4f957f31fa905afaa59f4c3b855131f748f5d097b90b7d675e - flattened_ast: e45a94f688f9e5c6774951a95185f0ef6a21add5824cb49e658bf29371de1226 - inlined_ast: e45a94f688f9e5c6774951a95185f0ef6a21add5824cb49e658bf29371de1226 - dce_ast: e45a94f688f9e5c6774951a95185f0ef6a21add5824cb49e658bf29371de1226 + - initial_ast: d83adb68263a41a85cd7440ca574b576caabd34fde3e0977c63cb71caa9fa07f + unrolled_ast: d83adb68263a41a85cd7440ca574b576caabd34fde3e0977c63cb71caa9fa07f + ssa_ast: f353d426c70157c4c1bc79114154fbc94e17963df44f8c0e35fb53ac34f40040 + flattened_ast: 3ea1735b777e0819f0d28086b63b195a356d57579d671e3a31dbbe23c1cac7be + inlined_ast: 3ea1735b777e0819f0d28086b63b195a356d57579d671e3a31dbbe23c1cac7be + dce_ast: 3ea1735b777e0819f0d28086b63b195a356d57579d671e3a31dbbe23c1cac7be bytecode: dfd9659f15094e672f456a9603906d5babfca253c2b3098bc07e49aac07ca022 diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 67c8c960f9..1e0c980779 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b3fc5f1c805eb5f041af70eaae5c932f97d3c8ecbfd87cd0068c5147bab965c2 - unrolled_ast: b3fc5f1c805eb5f041af70eaae5c932f97d3c8ecbfd87cd0068c5147bab965c2 - ssa_ast: 748a5b3183f1217b43b8ef06190693a554b2fce723824bf65e8019c65c44d4e1 - flattened_ast: 282c6fc22a149fa5c6efd58f3c9b40eccb417be5ac26095ee0ec18ecc3567e42 - inlined_ast: 282c6fc22a149fa5c6efd58f3c9b40eccb417be5ac26095ee0ec18ecc3567e42 - dce_ast: 282c6fc22a149fa5c6efd58f3c9b40eccb417be5ac26095ee0ec18ecc3567e42 + - initial_ast: 569e7200ac5e727f349c7ceb0adb464a3592da5e175d2dafc57d7520053af864 + unrolled_ast: 569e7200ac5e727f349c7ceb0adb464a3592da5e175d2dafc57d7520053af864 + ssa_ast: d91404793c4db424cc0c0da65803d7cd745e724d2ed6fa7a2d8b391342f697a6 + flattened_ast: 85ec0ece84052a20cc059df1beec8dea54d86f74b2664b93dc93843e40c6c084 + inlined_ast: 85ec0ece84052a20cc059df1beec8dea54d86f74b2664b93dc93843e40c6c084 + dce_ast: 85ec0ece84052a20cc059df1beec8dea54d86f74b2664b93dc93843e40c6c084 bytecode: 632f8400deb0e0e0aebadd45f557698474142e78ea2628de28c2cd4f6617d413 diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 1431686d58..00ba996da7 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5606e097af75ef020355df5e2f34637790e8bbe96fda0c42b2ebf91062fbfba6 - unrolled_ast: 5606e097af75ef020355df5e2f34637790e8bbe96fda0c42b2ebf91062fbfba6 - ssa_ast: 61f6fef784d65e8455466cbad402d307a756d395281c6bd45480846f16f1c68e - flattened_ast: 839df4abb90146f72f9ff56b2f96c5908a03a30cfd04e6aaa846cfb8170c40d1 - inlined_ast: 839df4abb90146f72f9ff56b2f96c5908a03a30cfd04e6aaa846cfb8170c40d1 - dce_ast: 839df4abb90146f72f9ff56b2f96c5908a03a30cfd04e6aaa846cfb8170c40d1 + - initial_ast: bdd47a949f29d8d680a52ebb93d1ececf96a4f7db5c2083ced9ba0b990d04978 + unrolled_ast: bdd47a949f29d8d680a52ebb93d1ececf96a4f7db5c2083ced9ba0b990d04978 + ssa_ast: 856fab244b83739b4a97925b0f22f38bfa6c9ca7031041ef2f61a3007346675b + flattened_ast: e33d653898485fce72c181fe3320e42d1f6a3e2b738b9baaf6f7d25838b45eb2 + inlined_ast: e33d653898485fce72c181fe3320e42d1f6a3e2b738b9baaf6f7d25838b45eb2 + dce_ast: e33d653898485fce72c181fe3320e42d1f6a3e2b738b9baaf6f7d25838b45eb2 bytecode: f29d4cc186e6bc24ca0b6e70e5845295b29a2c1f1e9f46f635c90e66ef0e588d diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index c1cbd52f37..ea1a97d6a8 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 078c448f122af181952bd73df7b827f019828d16480e4220caa13372f683fd31 - unrolled_ast: 078c448f122af181952bd73df7b827f019828d16480e4220caa13372f683fd31 - ssa_ast: 648f2cd65c4103b62eeb508112a2945b87282b86b7b88466da7d631598304327 - flattened_ast: 1c47bcea52c7244a19943927beb9c2036b01000ee022755e02a07b678fe089ce - inlined_ast: 1c47bcea52c7244a19943927beb9c2036b01000ee022755e02a07b678fe089ce - dce_ast: 1c47bcea52c7244a19943927beb9c2036b01000ee022755e02a07b678fe089ce + - initial_ast: f047c6448d60751cf34f00dd488da54e08080f71a8343c956c836c752169553d + unrolled_ast: f047c6448d60751cf34f00dd488da54e08080f71a8343c956c836c752169553d + ssa_ast: 95ecec5545b90f9cf5c6892496d7f15c02970dbee1c547352ea941f893d88ba5 + flattened_ast: f607adcfc61a5a1d480145654aaa064376f15038fc20b03fbe75f210e02bf103 + inlined_ast: f607adcfc61a5a1d480145654aaa064376f15038fc20b03fbe75f210e02bf103 + dce_ast: f607adcfc61a5a1d480145654aaa064376f15038fc20b03fbe75f210e02bf103 bytecode: 6a4fa49e165ac0c731dd78a8c05ced2418d69ced736d07ddbb3a07c50bcf6b37 diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 3ffad88640..67a0748203 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 53a2d219204076fa6eed972bb3383814d159a6f40f42c0cf4296f816ac8d2916 - unrolled_ast: 53a2d219204076fa6eed972bb3383814d159a6f40f42c0cf4296f816ac8d2916 - ssa_ast: 3ac91e399deb372a4ceecbb6462941572da0d2a384b8fe6d592ea24f27a0a7d4 - flattened_ast: 29e10f37e5eb1c3d7cfafe3e5ca42ec27c5c3887d57601c18e3179233c4f151e - inlined_ast: 29e10f37e5eb1c3d7cfafe3e5ca42ec27c5c3887d57601c18e3179233c4f151e - dce_ast: 29e10f37e5eb1c3d7cfafe3e5ca42ec27c5c3887d57601c18e3179233c4f151e + - initial_ast: 9be6424c796b3f43682e3cd557a75688d2f689ac7ca93afb1f22baf042f3d45a + unrolled_ast: 9be6424c796b3f43682e3cd557a75688d2f689ac7ca93afb1f22baf042f3d45a + ssa_ast: bf74f40e01a5deea59fe1a441828871bc6572dc9b075043f885928107404ec38 + flattened_ast: bd95958d8ac9db54c335e015b177adfa2b47720be575f902ed30c7d12a747d50 + inlined_ast: bd95958d8ac9db54c335e015b177adfa2b47720be575f902ed30c7d12a747d50 + dce_ast: bd95958d8ac9db54c335e015b177adfa2b47720be575f902ed30c7d12a747d50 bytecode: 07685949b1e45db55522bf01298e4cd0ba6b2818a8212365c12f468ed061a731 diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index be33cca6af..5240c7fb33 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ab0c99a87e7816beaa6618981c8d8d3cf0fbe4cbb1a26d15891248791a1b530d - unrolled_ast: ab0c99a87e7816beaa6618981c8d8d3cf0fbe4cbb1a26d15891248791a1b530d - ssa_ast: 1c907200062ca8354448ecdfc23e2f943d10154850a67f6e7da0eb215851a959 - flattened_ast: 361730e669b78f7a9beab3d9fa6a26bb68ec6003a859681f1146e87a08583086 - inlined_ast: 361730e669b78f7a9beab3d9fa6a26bb68ec6003a859681f1146e87a08583086 - dce_ast: 361730e669b78f7a9beab3d9fa6a26bb68ec6003a859681f1146e87a08583086 + - initial_ast: 7ffb07dd56a87e7905441683df8f9d269e599861deeedfc023af8c745b82180d + unrolled_ast: 7ffb07dd56a87e7905441683df8f9d269e599861deeedfc023af8c745b82180d + ssa_ast: 7e072bd32be2b97956b1241b620b52eef218a3d19cc56371e77995fe9153bcf3 + flattened_ast: d15e8a09745218bd07ddfe7c4f0a1546494283a01d6a2d2395d0071805d0d4ec + inlined_ast: d15e8a09745218bd07ddfe7c4f0a1546494283a01d6a2d2395d0071805d0d4ec + dce_ast: d15e8a09745218bd07ddfe7c4f0a1546494283a01d6a2d2395d0071805d0d4ec bytecode: 1b5ee12236a81275c1c8597e6956c715050077486831d3900e20d9053433ac2d diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index 457263a100..ff7db69b82 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 226d5ca7f311e2eb18a4069f233f0ea2142639faf64c1f37c975c9c6ef960fcf - unrolled_ast: 226d5ca7f311e2eb18a4069f233f0ea2142639faf64c1f37c975c9c6ef960fcf - ssa_ast: 12beb8682c2ba511dafaecf4000a5ff4172e6ce70f00cbd71b68904de34411d2 - flattened_ast: 42ad29e996e2e6159bbb1504538e6109783ade2e7bde85c15f6a39393c5f8eb2 - inlined_ast: 42ad29e996e2e6159bbb1504538e6109783ade2e7bde85c15f6a39393c5f8eb2 - dce_ast: 42ad29e996e2e6159bbb1504538e6109783ade2e7bde85c15f6a39393c5f8eb2 + - initial_ast: 9f974f7e34f0e1c484d872c452a942e19f27856508a422469f1f506702dae43b + unrolled_ast: 9f974f7e34f0e1c484d872c452a942e19f27856508a422469f1f506702dae43b + ssa_ast: 070c777f23fe3fab8338bc47a5d5bc31874476a2ed0b35c30577148314bd417b + flattened_ast: b4446867dd5a09acde470ead5f1952b28b6634999197ef1446da15e366cfa2c4 + inlined_ast: b4446867dd5a09acde470ead5f1952b28b6634999197ef1446da15e366cfa2c4 + dce_ast: b4446867dd5a09acde470ead5f1952b28b6634999197ef1446da15e366cfa2c4 bytecode: 6431d8554d06ea3522030d1a433ef1f39fe17ac974b4ac60f8d18afc2a5e1f71 diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index ee61db8bb3..aa11da9512 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a2e35f61bd0b4923c588b8cd59fcbdd26bece9be0b9ddd3c99f81b0dd56338d5 - unrolled_ast: a2e35f61bd0b4923c588b8cd59fcbdd26bece9be0b9ddd3c99f81b0dd56338d5 - ssa_ast: 83733fe8a9f0c6774a59023658db4ba6a6b64c139fe12a57854509ae73b8bf6d - flattened_ast: 6cf98da8956399be277b0899491aaf166274765f54d7faf79af993c554c8d8ec - inlined_ast: 6cf98da8956399be277b0899491aaf166274765f54d7faf79af993c554c8d8ec - dce_ast: 6cf98da8956399be277b0899491aaf166274765f54d7faf79af993c554c8d8ec + - initial_ast: 95562e2441b914af641db3e31dbe525ef56a88a6dbdef328b982aeb1ad21ba94 + unrolled_ast: 95562e2441b914af641db3e31dbe525ef56a88a6dbdef328b982aeb1ad21ba94 + ssa_ast: c811f298cac9f83c68d19559c35987966c59d9508112ce924536e130640cb067 + flattened_ast: 67a7c1f5a898a8bef578a8e4225df06b0124cae29856e7a59a6fbeb0a54fbf25 + inlined_ast: 67a7c1f5a898a8bef578a8e4225df06b0124cae29856e7a59a6fbeb0a54fbf25 + dce_ast: 67a7c1f5a898a8bef578a8e4225df06b0124cae29856e7a59a6fbeb0a54fbf25 bytecode: a61fbd6923f8bf087a21d6e2779b62e264d63a92071f34a762adc7eaf9cbbe28 diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 0bdb5f2fe9..1d60238dfb 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b355dc40937fc9c274f66259f6712fdb51d01603d3b466c1dbb4f964b17e1a79 - unrolled_ast: b355dc40937fc9c274f66259f6712fdb51d01603d3b466c1dbb4f964b17e1a79 - ssa_ast: 29dce3af75d158d4d722934e72377d4811fad6d0f5544a83e215d0befebe18fa - flattened_ast: 9f31c0e8d7a641d6eb4f80ace284a894eb5b3d524ec9c332a054777226296abc - inlined_ast: 9f31c0e8d7a641d6eb4f80ace284a894eb5b3d524ec9c332a054777226296abc - dce_ast: 9f31c0e8d7a641d6eb4f80ace284a894eb5b3d524ec9c332a054777226296abc + - initial_ast: 32e7d94b14b5c936c3b98b7be3fd717c176913ff8471b111cd5e70d92be49fd2 + unrolled_ast: 32e7d94b14b5c936c3b98b7be3fd717c176913ff8471b111cd5e70d92be49fd2 + ssa_ast: 2654f5a6b34a66bab855c6c3863569690952383c512e08cc81b3feeac31ab956 + flattened_ast: 01918e9ad1664491e7c14028fdee219661d3577db4ced476e221cfee574f84a7 + inlined_ast: 01918e9ad1664491e7c14028fdee219661d3577db4ced476e221cfee574f84a7 + dce_ast: 01918e9ad1664491e7c14028fdee219661d3577db4ced476e221cfee574f84a7 bytecode: 5dad432ec3e9573b92eac45865218e8dc3c93ef477d7293d2a6867528faf0826 diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index 832e05e97d..b0ed9ca282 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e68750d37fbd7249a0a36126a496257714d1bed91c92f81eaaac96bc5a315a3d - unrolled_ast: e68750d37fbd7249a0a36126a496257714d1bed91c92f81eaaac96bc5a315a3d - ssa_ast: 7660a58caad701434628d57b8cdaa2263873e648c6a7f62043592e625c077ade - flattened_ast: 738f79592b405b5349ae190f14796978a3c0b5c38e0e0c0d22bb3e8193c5fb73 - inlined_ast: 738f79592b405b5349ae190f14796978a3c0b5c38e0e0c0d22bb3e8193c5fb73 - dce_ast: 738f79592b405b5349ae190f14796978a3c0b5c38e0e0c0d22bb3e8193c5fb73 + - initial_ast: 0a52ae1c99017fdbacb21702c82e0f3eae3f1075b334cd7546626fe7091f2166 + unrolled_ast: 0a52ae1c99017fdbacb21702c82e0f3eae3f1075b334cd7546626fe7091f2166 + ssa_ast: 4babc1295951b06118d55697e5aa9cf55ccde0f350c8507b8d78d73b27570abd + flattened_ast: 4a92d5e3796cbeecb2488138db1a12184f523130dcf0d15ccbb6ed4582588c70 + inlined_ast: 4a92d5e3796cbeecb2488138db1a12184f523130dcf0d15ccbb6ed4582588c70 + dce_ast: 4a92d5e3796cbeecb2488138db1a12184f523130dcf0d15ccbb6ed4582588c70 bytecode: 9d7d64b8d70d040e6e587e10d48e14c46ff63bffe4379f954f7749deffdf593b diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index 257a446642..f951b500b0 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c2f3bd5431b74d90ec46c36f3dabd0b8ef55360dd67e8823183f2d574399f10a - unrolled_ast: c2f3bd5431b74d90ec46c36f3dabd0b8ef55360dd67e8823183f2d574399f10a - ssa_ast: 10c1684314e40ac52692ecbaef808dde4254dcb703126a65f6edc204cb71ff79 - flattened_ast: 35af048146e13b8e29c6e8afacd73bc1bccc033b657232068415a0ed15fa74e7 - inlined_ast: 35af048146e13b8e29c6e8afacd73bc1bccc033b657232068415a0ed15fa74e7 - dce_ast: 35af048146e13b8e29c6e8afacd73bc1bccc033b657232068415a0ed15fa74e7 + - initial_ast: a70045ee26f6e3d1c45e0bf76bb393279b5330d7fbe831f86bed7d885ee391b0 + unrolled_ast: a70045ee26f6e3d1c45e0bf76bb393279b5330d7fbe831f86bed7d885ee391b0 + ssa_ast: 6612aa44d90e358a882867c77e89d1a54dd7a8b7a4fe06501246a0c3f59f61b5 + flattened_ast: 893e91c8815176601e70e01e7758a6eb930f5db3f63d5c0f87982097185731f8 + inlined_ast: 893e91c8815176601e70e01e7758a6eb930f5db3f63d5c0f87982097185731f8 + dce_ast: 893e91c8815176601e70e01e7758a6eb930f5db3f63d5c0f87982097185731f8 bytecode: 2e49ec96b230329d29aafbfb7dd025dfc1d94a410f17972055b103e5a1629646 diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index 0615049ef6..4b70a6d1a8 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4e987bf633b7f75ffe9c26430fdf31f952690856f5f3e81e70a37ce4e6db7a9b - unrolled_ast: 4e987bf633b7f75ffe9c26430fdf31f952690856f5f3e81e70a37ce4e6db7a9b - ssa_ast: 5c70a71177bc58e06867ec661facaa14945d01a5ec9432eb0d1bf589d8d295d8 - flattened_ast: 0bd3d3f23e14c3475259c9dc71d61cd3f2fcd3e3d3cf69da32481f033dcd2044 - inlined_ast: 0bd3d3f23e14c3475259c9dc71d61cd3f2fcd3e3d3cf69da32481f033dcd2044 - dce_ast: 0bd3d3f23e14c3475259c9dc71d61cd3f2fcd3e3d3cf69da32481f033dcd2044 + - initial_ast: a55e74520f6042a8cbc85b182ce803a2f51afb9c428bde4f75261fa6682cdae6 + unrolled_ast: a55e74520f6042a8cbc85b182ce803a2f51afb9c428bde4f75261fa6682cdae6 + ssa_ast: 20557f488b67b66a44c4f932ac739392246379e45c47d722280344aebd1184a5 + flattened_ast: 818892fc65d519509f43e127308f39c1036f6cd74719707c3ba17ea8e803287d + inlined_ast: 818892fc65d519509f43e127308f39c1036f6cd74719707c3ba17ea8e803287d + dce_ast: 818892fc65d519509f43e127308f39c1036f6cd74719707c3ba17ea8e803287d bytecode: ae49e3dc309ac1fae7c4285e37e5a2dca653f25dfb4fbed5cab087d203c4c94f diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index 0c419d2ecd..2a67fed4e1 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 42ef6e17e9ce3447c220f1aba36faec7ae1359a2f82ca73104b7dd3aeebf2fa7 - unrolled_ast: 42ef6e17e9ce3447c220f1aba36faec7ae1359a2f82ca73104b7dd3aeebf2fa7 - ssa_ast: ca342636bc6d95e433b72d65d99440689af0da3ebce4d6fdb2ffcde0c4ecdf91 - flattened_ast: 30b152a6e109f3f335c2b32a3834ae5e50a1128af27ff995362485de38ae0c85 - inlined_ast: 30b152a6e109f3f335c2b32a3834ae5e50a1128af27ff995362485de38ae0c85 - dce_ast: 30b152a6e109f3f335c2b32a3834ae5e50a1128af27ff995362485de38ae0c85 + - initial_ast: 40a9b6087d1cfabac70c78ca4caedb396fc35a2c2e13fcf3e3228157460ea8c0 + unrolled_ast: 40a9b6087d1cfabac70c78ca4caedb396fc35a2c2e13fcf3e3228157460ea8c0 + ssa_ast: 7d1a77d0fe1a92a92a79f260bfa1c33820296a0d8660cfe59447f28b1fc3058e + flattened_ast: 7d82305cae239fc4f554a10828bea695c7c1d1c21d0b9d7450c7856c5c09a599 + inlined_ast: 7d82305cae239fc4f554a10828bea695c7c1d1c21d0b9d7450c7856c5c09a599 + dce_ast: 7d82305cae239fc4f554a10828bea695c7c1d1c21d0b9d7450c7856c5c09a599 bytecode: afd97c7c25711fe41717b8f2cc653082f5d81466b099a490dae43e058605e7e4 diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index dbd8670658..c80be7cd35 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f63bd997a8fd51ae6dabfe0a1f9d642c0f28ba4a593aba6e3491016d8e90e705 - unrolled_ast: f63bd997a8fd51ae6dabfe0a1f9d642c0f28ba4a593aba6e3491016d8e90e705 - ssa_ast: d1d7fb6696426a5a4f110828891add9addcf44fa9412129e677986b6f4dfee49 - flattened_ast: 04ba36ab1a209f4011492b0af604fddc3655ece716593c0548515f82a35395cb - inlined_ast: 04ba36ab1a209f4011492b0af604fddc3655ece716593c0548515f82a35395cb - dce_ast: 04ba36ab1a209f4011492b0af604fddc3655ece716593c0548515f82a35395cb + - initial_ast: cb40e0f8e46417e7c94825ac4f823739845a21037cd1430602750fd9a235529c + unrolled_ast: cb40e0f8e46417e7c94825ac4f823739845a21037cd1430602750fd9a235529c + ssa_ast: 4f793645647e8ca60bffc69650f6741bdb4897eebc15b021c5e7ee5651000093 + flattened_ast: f32ba1c20d8d14e0d143a537c7c749cfc8fcb811b9ba889535b474309c2819b3 + inlined_ast: f32ba1c20d8d14e0d143a537c7c749cfc8fcb811b9ba889535b474309c2819b3 + dce_ast: f32ba1c20d8d14e0d143a537c7c749cfc8fcb811b9ba889535b474309c2819b3 bytecode: f7802d16ffb5304531ce00063506d55ff82a24dd6aa659e96c46c37b597ec3e9 diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index 8105587ac2..781897d561 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 781bfce16bae43749ebefb34df714227ec93b477e31478263f32374dc2b469a9 - unrolled_ast: 781bfce16bae43749ebefb34df714227ec93b477e31478263f32374dc2b469a9 - ssa_ast: 95f843a41fdc15c1948545f7dc68e5af2953a64728382d18ca96ec588fe3d5dc - flattened_ast: e2fd5403df811e2bfb3599842bfe3a0d5ee1f926569a66da5b920609fc6bb7d4 - inlined_ast: e2fd5403df811e2bfb3599842bfe3a0d5ee1f926569a66da5b920609fc6bb7d4 - dce_ast: e2fd5403df811e2bfb3599842bfe3a0d5ee1f926569a66da5b920609fc6bb7d4 + - initial_ast: a8f5ab56286bad75c490629faf457204ad26e4a98a47c978d5ce5bb63e0f569a + unrolled_ast: a8f5ab56286bad75c490629faf457204ad26e4a98a47c978d5ce5bb63e0f569a + ssa_ast: c038efdeb34102df9844b4cd5af6f360ed1660b135e610d9c09cdc4bf189c883 + flattened_ast: f6fe63cbf963b079df4c78079d5c4f11395969e42d312dfdd0449ab5b73938f1 + inlined_ast: f6fe63cbf963b079df4c78079d5c4f11395969e42d312dfdd0449ab5b73938f1 + dce_ast: f6fe63cbf963b079df4c78079d5c4f11395969e42d312dfdd0449ab5b73938f1 bytecode: 4098055f0ddcaeedbeb57f3ba3914a9ef47ad8cd114258f04ff47dedff6d9a00 diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index 07a1fcbf37..7e2f55ff8a 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3de1faff250ff5813904e8e2b7b0c8cd7d7d0b9541208fe4aba7252adb67630a - unrolled_ast: 3de1faff250ff5813904e8e2b7b0c8cd7d7d0b9541208fe4aba7252adb67630a - ssa_ast: 90859050e09dcde8362d150eb305f4ff1351d60c63953f6b926595d613be7da8 - flattened_ast: 7872bf6de336f453809a46b974eca88602223da8006bc457e5cbb42b5229f807 - inlined_ast: 7872bf6de336f453809a46b974eca88602223da8006bc457e5cbb42b5229f807 - dce_ast: 7872bf6de336f453809a46b974eca88602223da8006bc457e5cbb42b5229f807 + - initial_ast: cf1c9d60249fe4ac6604abec991c80fbac22059b26090fe344e17dc297241706 + unrolled_ast: cf1c9d60249fe4ac6604abec991c80fbac22059b26090fe344e17dc297241706 + ssa_ast: 198638ce81c22faa829fa3c73b2038a59d4d5deb7e5cd2163717bd059d31acbc + flattened_ast: 579204cb1e4d8a993bf0371268c383a13e35bbc4ace46a341e1ce785b01fb1ee + inlined_ast: 579204cb1e4d8a993bf0371268c383a13e35bbc4ace46a341e1ce785b01fb1ee + dce_ast: 579204cb1e4d8a993bf0371268c383a13e35bbc4ace46a341e1ce785b01fb1ee bytecode: 5246d0c0e3bcae2402ea4d869b25ea506f69b9f2b151c0a437a80c53f6b06820 diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index 58ec92e4c2..e66cd27e01 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2d56d2f748e6ac9b276e18b2168096c0ddc5f43c2202a0656d2f9300cb05e818 - unrolled_ast: 2d56d2f748e6ac9b276e18b2168096c0ddc5f43c2202a0656d2f9300cb05e818 - ssa_ast: 4ea47db3de3c1bbc84cc4620070cce3f6e5f6764e03a9b44fea2463b9a6a61be - flattened_ast: a37fa26f4af62d04e8cd9e32d1f792f4b51262479cb5e1d456b11c0d82a76b6f - inlined_ast: a37fa26f4af62d04e8cd9e32d1f792f4b51262479cb5e1d456b11c0d82a76b6f - dce_ast: a37fa26f4af62d04e8cd9e32d1f792f4b51262479cb5e1d456b11c0d82a76b6f + - initial_ast: 657ea0ce1c16a2a1d5905825b4c9c992e79f4c10d15750b221d1efc2b2e392aa + unrolled_ast: 657ea0ce1c16a2a1d5905825b4c9c992e79f4c10d15750b221d1efc2b2e392aa + ssa_ast: 85ab1d91f179cff7328c00d07d055e806216e3b170394d2d161c36808b3c29ae + flattened_ast: 783a5784003f09ec02e4e65b4c9124caf01a18b02ec8fc6136177f55605d23e2 + inlined_ast: 783a5784003f09ec02e4e65b4c9124caf01a18b02ec8fc6136177f55605d23e2 + dce_ast: 783a5784003f09ec02e4e65b4c9124caf01a18b02ec8fc6136177f55605d23e2 bytecode: 6958108d2957c63c3584130ff20bfffaac82cc978c77da23b73c4633a75f1b4f diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 382fb6254f..70209b0a8c 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2154123c075212d946e7293a04308e053248816e3acf154646da3062ce9404a4 - unrolled_ast: 2154123c075212d946e7293a04308e053248816e3acf154646da3062ce9404a4 - ssa_ast: 0ca8a34a361e6be28153bf314b7762dd6bf8155c8390878f5918541c839d5ace - flattened_ast: 53bfa1c6c4a95e2bcd36ec6be5c9239a2ee52d358e0190683476682543e44e43 - inlined_ast: 53bfa1c6c4a95e2bcd36ec6be5c9239a2ee52d358e0190683476682543e44e43 - dce_ast: 53bfa1c6c4a95e2bcd36ec6be5c9239a2ee52d358e0190683476682543e44e43 + - initial_ast: 0e4f3d38e77f89283bf573a51680b246ed9296b7116864bee0511ba67c846ac8 + unrolled_ast: 0e4f3d38e77f89283bf573a51680b246ed9296b7116864bee0511ba67c846ac8 + ssa_ast: 9ecf4cf70a9718a2ddd3b70cd71cdcfd970d8f5ebe6fd5fc20f31aedf6f21a0c + flattened_ast: a4a4525999691ce13e5bc213d9642d4b92f1dadb10dddb14b5996ca863e2f5da + inlined_ast: a4a4525999691ce13e5bc213d9642d4b92f1dadb10dddb14b5996ca863e2f5da + dce_ast: a4a4525999691ce13e5bc213d9642d4b92f1dadb10dddb14b5996ca863e2f5da bytecode: f2fe31979d1155f5b72ae5746b03fd87c6f2f45da939acffade988230a8e2ad4 diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index ebf67f1920..51645ff8b9 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1819ff40b94d1e54432d40e3f8f3e2b500fff76f321c8d2798cb1623bb060de3 - unrolled_ast: 1819ff40b94d1e54432d40e3f8f3e2b500fff76f321c8d2798cb1623bb060de3 - ssa_ast: bce25bcb1376beab03517fcbb0231baf7f2b997a79e39a0c54666268aaf8a2f9 - flattened_ast: faf31d65e557e571505d53c1026252c28c46bc1dfbb007de1a86d8c1251f8d7d - inlined_ast: faf31d65e557e571505d53c1026252c28c46bc1dfbb007de1a86d8c1251f8d7d - dce_ast: faf31d65e557e571505d53c1026252c28c46bc1dfbb007de1a86d8c1251f8d7d + - initial_ast: 61f2ba1d04b9bb528541c68aa85ddca73c6f45024b5992097634875a17462d5e + unrolled_ast: 61f2ba1d04b9bb528541c68aa85ddca73c6f45024b5992097634875a17462d5e + ssa_ast: 05a88101275069021a72d3ea8d88f59fad3d08dbf67de6125240cf85825cba56 + flattened_ast: 2631b8999e83626c509263925e9c9b484cbd4493d3e299c62306c65f0255872c + inlined_ast: 2631b8999e83626c509263925e9c9b484cbd4493d3e299c62306c65f0255872c + dce_ast: 2631b8999e83626c509263925e9c9b484cbd4493d3e299c62306c65f0255872c bytecode: 610f6da5a1bfe09e95c9fcc99b8905d5889d879fa9e09167fc9dfbe512faab0d diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index 4def19f124..e0ad3dc0c8 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0c972f5b48ba5679885f8ba8a0c823267996240bdb51a6c23b96a2309549e395 - unrolled_ast: 0c972f5b48ba5679885f8ba8a0c823267996240bdb51a6c23b96a2309549e395 - ssa_ast: ab9ab3ee550ed4ba677ec9ddf7d04719f9ff3fc3669e4caf532076670a550197 - flattened_ast: 7771f004f9eb830376745296300ee1132f37e0e0611f11e8e02fd290b377622c - inlined_ast: 7771f004f9eb830376745296300ee1132f37e0e0611f11e8e02fd290b377622c - dce_ast: 7771f004f9eb830376745296300ee1132f37e0e0611f11e8e02fd290b377622c + - initial_ast: 5f29d7e18bb9596752c25e0eb675e2ae2751092308dddccfa1ad2ff78aed7b27 + unrolled_ast: 5f29d7e18bb9596752c25e0eb675e2ae2751092308dddccfa1ad2ff78aed7b27 + ssa_ast: 9b5d6b342508cc591719986f484f9b514c52a4f92c63c4873bc405bdc3001df0 + flattened_ast: 2f17a871b379b6355573b24ecfabfd101653dced15f053f57d700ef575b37f0c + inlined_ast: 2f17a871b379b6355573b24ecfabfd101653dced15f053f57d700ef575b37f0c + dce_ast: 2f17a871b379b6355573b24ecfabfd101653dced15f053f57d700ef575b37f0c bytecode: d8edabcfee75bc808014904105c76f84c9acef35797c0e25bbf339e768d853b8 diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index 4e31d044bf..f944a4ce4a 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: afe493d5ccec11a491c803608ef0236d140ab4bec7b9e65b2799fa44d5390784 - unrolled_ast: afe493d5ccec11a491c803608ef0236d140ab4bec7b9e65b2799fa44d5390784 - ssa_ast: f1e715bf69409f35a85b1738975077c6fdb1f2354ea0f73e57a64f3b7ce73a8c - flattened_ast: 6a1fb0193d47926466894eb84e3cf235cb893a6bca01881c685fb86a048c9a63 - inlined_ast: 6a1fb0193d47926466894eb84e3cf235cb893a6bca01881c685fb86a048c9a63 - dce_ast: 6a1fb0193d47926466894eb84e3cf235cb893a6bca01881c685fb86a048c9a63 + - initial_ast: f8371a2b73d95c636fd071b78f02e4d2d712c2597e6009aa94ef0363ad3514b4 + unrolled_ast: f8371a2b73d95c636fd071b78f02e4d2d712c2597e6009aa94ef0363ad3514b4 + ssa_ast: f0ad4b0c3cf317c789bd828ae4dac46a2a1a34a1ee0b3ec4ed6b22d734b7ef2e + flattened_ast: f11df2edad72fdc4e2303725b0ac71e788279773dabfd6a6b2c5be0f7b169bf8 + inlined_ast: f11df2edad72fdc4e2303725b0ac71e788279773dabfd6a6b2c5be0f7b169bf8 + dce_ast: f11df2edad72fdc4e2303725b0ac71e788279773dabfd6a6b2c5be0f7b169bf8 bytecode: 7625de6e12d49943dc9afd004ecbced1ca28e58e37ee87bf8f7896de8230b61b diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index 75af3d574c..3f334bfad8 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b08b7012cad1e466225f9e0cdba7b907a14ed1d0c3b1e9692feba8650a74478c - unrolled_ast: b08b7012cad1e466225f9e0cdba7b907a14ed1d0c3b1e9692feba8650a74478c - ssa_ast: 04594cd2713912aebd82538d8e140d3fe8ad489fb41ecf6b0b31e515cff40c45 - flattened_ast: 0748407f0dd950b2aa9ddae84120f9401311e77ccabc2bbfdb16d64c6a662cfb - inlined_ast: 0748407f0dd950b2aa9ddae84120f9401311e77ccabc2bbfdb16d64c6a662cfb - dce_ast: 0748407f0dd950b2aa9ddae84120f9401311e77ccabc2bbfdb16d64c6a662cfb + - initial_ast: bbb7f6e8ded41844b9b6125e9e80af133f4bfe4325f42a18402f820a16f8b6fd + unrolled_ast: bbb7f6e8ded41844b9b6125e9e80af133f4bfe4325f42a18402f820a16f8b6fd + ssa_ast: 6b08b0cda86cb2fd18396cfe0ba0ce036baed49f82fd70ce0826a5b3b67ca553 + flattened_ast: 17099e31495746e52f62b87119e3cd030398f7692b2a352e6d91125dfc6986be + inlined_ast: 17099e31495746e52f62b87119e3cd030398f7692b2a352e6d91125dfc6986be + dce_ast: 17099e31495746e52f62b87119e3cd030398f7692b2a352e6d91125dfc6986be bytecode: ff7764c9bd18a9bedde5cf440934d90d38f8e75b7a882e506899e54c81de578a diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index 8c9de77b98..c374f8ae2b 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c0d1bfa4459c6a7f94c59adf491054ed67bea3aefc772e943dcaee45b4bcb3d0 - unrolled_ast: c0d1bfa4459c6a7f94c59adf491054ed67bea3aefc772e943dcaee45b4bcb3d0 - ssa_ast: ccd90f4b485926da4d3e98ed7d371614fcfb732c0008f9e2f0e124536aa52c16 - flattened_ast: 3477100ef9525d882b17e9435d8b37497b8efdeb467895b00d52f6c0719ae4ed - inlined_ast: 3477100ef9525d882b17e9435d8b37497b8efdeb467895b00d52f6c0719ae4ed - dce_ast: 3477100ef9525d882b17e9435d8b37497b8efdeb467895b00d52f6c0719ae4ed + - initial_ast: 4083a1dcaf3773172721f70357c63add5fb60d137a5a7e662b15c36c6eb27c56 + unrolled_ast: 4083a1dcaf3773172721f70357c63add5fb60d137a5a7e662b15c36c6eb27c56 + ssa_ast: d1a0046d1270ce6f72f62a74d1a0d07a1d01820c3fd4de61e1c22e9035db89da + flattened_ast: 72a6669647268aa5902095f333c2539a093b6eae4229b5a1e6f612f90af39135 + inlined_ast: 72a6669647268aa5902095f333c2539a093b6eae4229b5a1e6f612f90af39135 + dce_ast: 72a6669647268aa5902095f333c2539a093b6eae4229b5a1e6f612f90af39135 bytecode: bb7257ac8246f75ff2fa570e93351842aeac6b6b1711f233bc29427df8e5105a diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index dfff540a84..ef2342ba5b 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 89485f7c64ecc857747203041f87caba668dc281bac43ce33fb2ac56fb68c2eb - unrolled_ast: 89485f7c64ecc857747203041f87caba668dc281bac43ce33fb2ac56fb68c2eb - ssa_ast: 9562ee3ed8f2389c5ae89a7d817b72afe237caaa942b12411bad9fe79384549f - flattened_ast: ec10b4536ae14fb0aae6874b189ab15d80452e1605fecf1d34ccb67848c33d4b - inlined_ast: ec10b4536ae14fb0aae6874b189ab15d80452e1605fecf1d34ccb67848c33d4b - dce_ast: ec10b4536ae14fb0aae6874b189ab15d80452e1605fecf1d34ccb67848c33d4b + - initial_ast: 97466e67497231503c48fd623b138ea2afec7c0e2615c8ff06b3e01060b05be8 + unrolled_ast: 97466e67497231503c48fd623b138ea2afec7c0e2615c8ff06b3e01060b05be8 + ssa_ast: 1e2c9e3adb058706a15f510fad971435c4c810ca35602ccf5c6f4d3e6b3b4214 + flattened_ast: 8af86b6b3aa4226323c8c76d4b93e046548dc1a603c1c6087748d88bdf77d0d0 + inlined_ast: 8af86b6b3aa4226323c8c76d4b93e046548dc1a603c1c6087748d88bdf77d0d0 + dce_ast: 8af86b6b3aa4226323c8c76d4b93e046548dc1a603c1c6087748d88bdf77d0d0 bytecode: 82f078cb2577720b3ec0efb950478d85280f6d2cd4282c48f229ecd2286591f9 diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index ceaa610ff3..1e717c6818 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: eecbf39e1d25a542f6eeb36a50f49a96e432d424d6bed35676e9e3fa4d97aaa0 - unrolled_ast: eecbf39e1d25a542f6eeb36a50f49a96e432d424d6bed35676e9e3fa4d97aaa0 - ssa_ast: 17432df3d1c6504ce57a8ba77f2ab699bd250b44338db7cbb2061e7567822c9b - flattened_ast: 6cc1152fb17f0197e269366aa90378cf19b2495785d70da0db0789f455242b8f - inlined_ast: 6cc1152fb17f0197e269366aa90378cf19b2495785d70da0db0789f455242b8f - dce_ast: fabfd09410dc36bf4c81828ff96c9353e78aa8b721cbb8870eda9dde7aa0c1d2 + - initial_ast: 92447c89385d9a8a20fc08b0d2c01249266aeda2bd5928e5760df82e9e7b0bb4 + unrolled_ast: 92447c89385d9a8a20fc08b0d2c01249266aeda2bd5928e5760df82e9e7b0bb4 + ssa_ast: d89ccd15c83bcb68eca0533db460e0cb2a4c5d5d57a63ecd72dd70eaef976bc0 + flattened_ast: 107ce16937aade05a9b3cf6106b5ae4bee1c147432d6f8e5910b80cacdd3dc3f + inlined_ast: 107ce16937aade05a9b3cf6106b5ae4bee1c147432d6f8e5910b80cacdd3dc3f + dce_ast: 088a2c4be3dc20eb2b3b7bc25874fa9547ed9cace1f95d15d846ef7f0612b962 bytecode: b36da573e89979cf5999abf1135a2443a42c08527c962edca14559769f7c3927 diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index d6ae2e01e6..af059bb311 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4140af4f462e117c1b35ae4d44bdfe87096c801e34556d3b527d2a2db707428e - unrolled_ast: 4140af4f462e117c1b35ae4d44bdfe87096c801e34556d3b527d2a2db707428e - ssa_ast: 41663bab6bec2a78b7626f690f776e09f2310b28430f47c6485f99a80e9d9508 - flattened_ast: 8e003509896e96197f8f3d1615eddf2969c064432ce3a71602b1a6f330bdaa32 - inlined_ast: 8e003509896e96197f8f3d1615eddf2969c064432ce3a71602b1a6f330bdaa32 - dce_ast: 8e003509896e96197f8f3d1615eddf2969c064432ce3a71602b1a6f330bdaa32 + - initial_ast: 54cc91ab14491ee327214870ff82b34730fbd8dcaa148192aeb8a7c987edf3e8 + unrolled_ast: 54cc91ab14491ee327214870ff82b34730fbd8dcaa148192aeb8a7c987edf3e8 + ssa_ast: 829b34d8b805f689fb88a91d4594caa9bf7961a3b2c74c7fb5e4d121fa2d9f47 + flattened_ast: c53db073a4dd7fd10abe8b75ce940a2e666405f293bbbd0cb55a96789d8900a1 + inlined_ast: c53db073a4dd7fd10abe8b75ce940a2e666405f293bbbd0cb55a96789d8900a1 + dce_ast: c53db073a4dd7fd10abe8b75ce940a2e666405f293bbbd0cb55a96789d8900a1 bytecode: 24dbe991a15924dab9a19dc86f6173f85a793bcf6d3b6d33c7fe2c29a9401cc1 diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index f3791165b8..fd5ca26f65 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9a59ecc9ac1f1f3b8aae34cafb282cb1822b3c15468fda671b60b72adea38226 - unrolled_ast: 9a59ecc9ac1f1f3b8aae34cafb282cb1822b3c15468fda671b60b72adea38226 - ssa_ast: 3efabf105c175d8b0a9219e2736719b53e9f557e10d564d08ea20d0494d888bb - flattened_ast: 1d1399f68a015307a219bf22cd6113060d8639f6d8dfe0fbe69d5919a9732c11 - inlined_ast: 1d1399f68a015307a219bf22cd6113060d8639f6d8dfe0fbe69d5919a9732c11 - dce_ast: 1d1399f68a015307a219bf22cd6113060d8639f6d8dfe0fbe69d5919a9732c11 + - initial_ast: c3c7f8df7a8ee403ebe26c62209b1a2a4c7a8543b518bb81f47d9c19e389a666 + unrolled_ast: c3c7f8df7a8ee403ebe26c62209b1a2a4c7a8543b518bb81f47d9c19e389a666 + ssa_ast: 6dc530c38bd57710f2ab483a5b95811fa25b726f7d32e16baa64cf00a95fced9 + flattened_ast: 51f6f705337ace47e9f07038a5fb27cb725fdc6bf00e76e3d9d945195689e9fb + inlined_ast: 51f6f705337ace47e9f07038a5fb27cb725fdc6bf00e76e3d9d945195689e9fb + dce_ast: 51f6f705337ace47e9f07038a5fb27cb725fdc6bf00e76e3d9d945195689e9fb bytecode: 0a5d25027b5d2b5a4fce9b93c6ddd7e245ea50434fe7c19aae907fc1ddb0237d diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index 8ab93b696d..15eec52fb7 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2597bde13c2ef7c9fe072ce17bc42b5130b0fc3bfb64c4d858c2a7f650e7c114 - unrolled_ast: 2597bde13c2ef7c9fe072ce17bc42b5130b0fc3bfb64c4d858c2a7f650e7c114 - ssa_ast: 897d784516bca09246e64e04293d8990efd0779da517b4af05f7d872fae12830 - flattened_ast: 827ba2fb2b5534d207f1832d20b4a94e07c38632e6864c817b13a4a41ed5f0ae - inlined_ast: 827ba2fb2b5534d207f1832d20b4a94e07c38632e6864c817b13a4a41ed5f0ae - dce_ast: 827ba2fb2b5534d207f1832d20b4a94e07c38632e6864c817b13a4a41ed5f0ae + - initial_ast: 9008b4f82dce4fe7450521e42db6a969ef9ae29e651246ddb395148394dbfd39 + unrolled_ast: 9008b4f82dce4fe7450521e42db6a969ef9ae29e651246ddb395148394dbfd39 + ssa_ast: 6e596ff90feee127a391e2a9f382c5ca7981b8ee0260fec963310e339603e613 + flattened_ast: 5bb0db932b28564dc6578672bf55bf04db7a7c96fce654e74f1e54b8813625c0 + inlined_ast: 5bb0db932b28564dc6578672bf55bf04db7a7c96fce654e74f1e54b8813625c0 + dce_ast: 5bb0db932b28564dc6578672bf55bf04db7a7c96fce654e74f1e54b8813625c0 bytecode: 4bae84ce4d6380e7d41b5074b28652bcf2beae9c47004f480f45728d3fc076a8 diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 585db4c5ed..4ede6a6ee1 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 01dce520919d9520ce130b1ce3c52c74584229749adf1bfed0e66159988769c6 - unrolled_ast: 01dce520919d9520ce130b1ce3c52c74584229749adf1bfed0e66159988769c6 - ssa_ast: 15c61b9cac5a6754ede2394501b948292a21bc743dfe721f29264ceef6bbd02c - flattened_ast: 1f10a78b5621be6c2c101bc22d37937739e82e6b85dd645094973246ab8e145e - inlined_ast: 1f10a78b5621be6c2c101bc22d37937739e82e6b85dd645094973246ab8e145e - dce_ast: 1f10a78b5621be6c2c101bc22d37937739e82e6b85dd645094973246ab8e145e + - initial_ast: 3776cd2840a3f03343a4367fb0ac7034f7b6b30177ece9f0f513444211d9f5d0 + unrolled_ast: 3776cd2840a3f03343a4367fb0ac7034f7b6b30177ece9f0f513444211d9f5d0 + ssa_ast: ef89ebc6ef3771ccd1b14640bd120ea7a73eae3d7458e27a1b0ae4d81e18754d + flattened_ast: ce26ca10138da1855ca3bfff450b3d61480ecf697858606e4ff5e2fd8919788c + inlined_ast: ce26ca10138da1855ca3bfff450b3d61480ecf697858606e4ff5e2fd8919788c + dce_ast: ce26ca10138da1855ca3bfff450b3d61480ecf697858606e4ff5e2fd8919788c bytecode: 51091a6c5b24e9575bad691bfd3e499a82465bebc851c624984a65d346a637a4 diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 14f3d26787..7c8327c692 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 812fb111a7bdd9e50cee33179e50004e3d727e1d555ecfd51271624bfafa7572 - unrolled_ast: 812fb111a7bdd9e50cee33179e50004e3d727e1d555ecfd51271624bfafa7572 - ssa_ast: 1106d4d8a8ff8c5e0ad2c4997f2ea9aa68144bffd74340b390746531df6eb6f6 - flattened_ast: ddf2d26132f221a20bb1610cd548717a4d291559f0a3aecbaa50e9082bc1d7d5 - inlined_ast: ddf2d26132f221a20bb1610cd548717a4d291559f0a3aecbaa50e9082bc1d7d5 - dce_ast: ddf2d26132f221a20bb1610cd548717a4d291559f0a3aecbaa50e9082bc1d7d5 + - initial_ast: d48189a6c39a9ab46c258316bf06228364cde1ce7b21506fa9e9d28b53645f96 + unrolled_ast: d48189a6c39a9ab46c258316bf06228364cde1ce7b21506fa9e9d28b53645f96 + ssa_ast: 2e14392e17c1e958961a50cd781f92d02b0a0e26c8ed6d4c24f9497737dbf401 + flattened_ast: 648d98034f8534ddddf420e282aaf9fc57ae753a6dd1aeaa0dda8f5f4ced7991 + inlined_ast: 648d98034f8534ddddf420e282aaf9fc57ae753a6dd1aeaa0dda8f5f4ced7991 + dce_ast: 648d98034f8534ddddf420e282aaf9fc57ae753a6dd1aeaa0dda8f5f4ced7991 bytecode: 000f236df936960490eede733dc994070d896c73e4652e79ed6a078d2631d1af diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index 5f9091171b..d0e18acbb7 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1e4f8afb46a242008539609965e4719edfdcaf6cb608c792f390ad5b60fc89f3 - unrolled_ast: 1e4f8afb46a242008539609965e4719edfdcaf6cb608c792f390ad5b60fc89f3 - ssa_ast: 3a184a80e21152d861bd221475caa916b19b8b2b1a5203bf3979dcb445699b91 - flattened_ast: 9af89b7a6a95af5d2ed34db911150b22701c1f0e4a479807264a15ef434b3082 - inlined_ast: 9af89b7a6a95af5d2ed34db911150b22701c1f0e4a479807264a15ef434b3082 - dce_ast: 9af89b7a6a95af5d2ed34db911150b22701c1f0e4a479807264a15ef434b3082 + - initial_ast: 7d261fcf008aeb4b3d1a6f67130ae74968b2917984cd61639009f132051f7dbb + unrolled_ast: 7d261fcf008aeb4b3d1a6f67130ae74968b2917984cd61639009f132051f7dbb + ssa_ast: 22dc5f9c4e3b8550b279c61b58edf6ea6ebbb6d8115c67b602ed5c6bbfb5fc83 + flattened_ast: ad6d633b4a3bfbe2b5edf8d5b0ff00498cc9fb5beea91e9c41c9964cbd903561 + inlined_ast: ad6d633b4a3bfbe2b5edf8d5b0ff00498cc9fb5beea91e9c41c9964cbd903561 + dce_ast: ad6d633b4a3bfbe2b5edf8d5b0ff00498cc9fb5beea91e9c41c9964cbd903561 bytecode: d1ad9d0c658a951a98f1bb225937352b40b5e2870fd131c6a68c0ee5e25e7b33 diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index a305b9b5f8..88ab912d40 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 39df3243880e09119d10115530293e1818d0003bcad80df891ac736f1ac1f4a9 - unrolled_ast: 39df3243880e09119d10115530293e1818d0003bcad80df891ac736f1ac1f4a9 - ssa_ast: d67bb828f78f8ec2f8facfd985de32958db332f3beae361149a211c0251adb1c - flattened_ast: fd999660c023d3c5c3d1578852098c97ba89c14f1a10808836a64ca730b50142 - inlined_ast: fd999660c023d3c5c3d1578852098c97ba89c14f1a10808836a64ca730b50142 - dce_ast: fd999660c023d3c5c3d1578852098c97ba89c14f1a10808836a64ca730b50142 + - initial_ast: 8972abc10cb2dc892676254e77353917bdb383acf8bb25e4197aa6c81c44b36b + unrolled_ast: 8972abc10cb2dc892676254e77353917bdb383acf8bb25e4197aa6c81c44b36b + ssa_ast: 22a8f6d3b57598d70c5618c624bb24df6b3395d22e714ef485d6e4b8f7cd94ab + flattened_ast: 3c2f473aadf42a6e4ffd5ccf05bda94f214a8850af21dff62aa00a61a77c1949 + inlined_ast: 3c2f473aadf42a6e4ffd5ccf05bda94f214a8850af21dff62aa00a61a77c1949 + dce_ast: 3c2f473aadf42a6e4ffd5ccf05bda94f214a8850af21dff62aa00a61a77c1949 bytecode: 14e6a5f8a524c491e4fd3c49b81f89cf5ffaa68bea3b1ef60b9a86b65a77008f diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 602877003a..6ac1d6e248 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9b17cff9be2c510e22991e80e8d1d918a2830e58bf4361c9bb0f684e47f504e0 - unrolled_ast: 9b17cff9be2c510e22991e80e8d1d918a2830e58bf4361c9bb0f684e47f504e0 - ssa_ast: 53ed82cf21abc64b70249f0161bfe099c78243e14b63ed5d293d4e936709b1a3 - flattened_ast: 811c01719e47893ae4f99ae5c5fbdddd366f00815d62c5b32a0dd9ef71820b92 - inlined_ast: 811c01719e47893ae4f99ae5c5fbdddd366f00815d62c5b32a0dd9ef71820b92 - dce_ast: 811c01719e47893ae4f99ae5c5fbdddd366f00815d62c5b32a0dd9ef71820b92 + - initial_ast: 7ea0ba187dee3b58788b0be73511d35c0d9d81a4796131a70c4052f6809a7851 + unrolled_ast: 7ea0ba187dee3b58788b0be73511d35c0d9d81a4796131a70c4052f6809a7851 + ssa_ast: 0118859a53dfa349e6951d061d6beb7b6d3426f666c4309297c7d6f83be894b2 + flattened_ast: cd9b7494d67047d377f923769b5bae4c3f6eb78ff80a868c6a117c0208239b38 + inlined_ast: cd9b7494d67047d377f923769b5bae4c3f6eb78ff80a868c6a117c0208239b38 + dce_ast: cd9b7494d67047d377f923769b5bae4c3f6eb78ff80a868c6a117c0208239b38 bytecode: f35d4454526e753df023baf1761e228b4e7f75cc66b9268d8685cfd99f574004 diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 4946d42900..6c90a99854 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c13f8929466d335ecb6682c572d568af53e963ec46b2ee06ce1f137b407cb89f - unrolled_ast: c13f8929466d335ecb6682c572d568af53e963ec46b2ee06ce1f137b407cb89f - ssa_ast: 75406ff5c633abb4ff17673cb5d3c28a11d9b71035162b5c8c490c396bd0e065 - flattened_ast: d78f419eabb4e31ea0d259b001d90a1b247dda9071a9bc99dcf7a8f0cd02ce19 - inlined_ast: d78f419eabb4e31ea0d259b001d90a1b247dda9071a9bc99dcf7a8f0cd02ce19 - dce_ast: d78f419eabb4e31ea0d259b001d90a1b247dda9071a9bc99dcf7a8f0cd02ce19 + - initial_ast: ccc4b4ce8aa67f859c041a1904ebb4c9bb050f1b72ba2e9668f2a27a0fbd6aee + unrolled_ast: ccc4b4ce8aa67f859c041a1904ebb4c9bb050f1b72ba2e9668f2a27a0fbd6aee + ssa_ast: 16f299112f2076141503b164c4ff991e76643f9b584178e270f9ef4d17f7709d + flattened_ast: 435625d0830989e04a04aa86b79a87e7d9ab6a6a80fd85ecea85e07539b0d944 + inlined_ast: 435625d0830989e04a04aa86b79a87e7d9ab6a6a80fd85ecea85e07539b0d944 + dce_ast: 435625d0830989e04a04aa86b79a87e7d9ab6a6a80fd85ecea85e07539b0d944 bytecode: 4a98642513ca0ed6ae3eae0b4a7d4e25a43bf2537b52dca4385bf83626aa6348 diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index ceb4b70227..f246acf0ab 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 87d4b6b41fa65dd5fe17a7071a88c7268f53584a143ee3e95361e4dc3d40e4e0 - unrolled_ast: 87d4b6b41fa65dd5fe17a7071a88c7268f53584a143ee3e95361e4dc3d40e4e0 - ssa_ast: af92520a505ceaba6931fc38a61b32f887dd678ef721fd9550db9ad826b76342 - flattened_ast: 95e616a78ca269f7dad625e6ad38bbd330da3aee3130eed456e4ac7bd5c128fd - inlined_ast: 95e616a78ca269f7dad625e6ad38bbd330da3aee3130eed456e4ac7bd5c128fd - dce_ast: 95e616a78ca269f7dad625e6ad38bbd330da3aee3130eed456e4ac7bd5c128fd + - initial_ast: 3fffe7d905d69a2e972b5e4976f3e2fd945dcfb754cb913fc06a1f10e933e12d + unrolled_ast: 3fffe7d905d69a2e972b5e4976f3e2fd945dcfb754cb913fc06a1f10e933e12d + ssa_ast: 16c0c380e3c88f1481eb48f1f0d3ec89723493372276f66116e36866db20b07d + flattened_ast: 90d27a333d11bfd2d4cd6ba95d66e9948901d070e54ecd3c15d6167eebdaab4e + inlined_ast: 90d27a333d11bfd2d4cd6ba95d66e9948901d070e54ecd3c15d6167eebdaab4e + dce_ast: 90d27a333d11bfd2d4cd6ba95d66e9948901d070e54ecd3c15d6167eebdaab4e bytecode: c83bc9d6ff309f026eaeb241d0fda881b4c06b706608171e54822ea576661785 diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index 1932391ac1..f0197ec6d6 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8eb95014dc29775cfee0effe1058bd3547e27a215d593db304869c52fda6fa54 - unrolled_ast: 8eb95014dc29775cfee0effe1058bd3547e27a215d593db304869c52fda6fa54 - ssa_ast: 91ce3f8e0bc1c45cc6e12f57c2d56b0420c01b95175aa72b3fc2d3a0723eb416 - flattened_ast: 36dfdd9afab5263be6b6bf8cbace8e9ef88f7a16fb88d12219480b0ab579ab5f - inlined_ast: 36dfdd9afab5263be6b6bf8cbace8e9ef88f7a16fb88d12219480b0ab579ab5f - dce_ast: 36dfdd9afab5263be6b6bf8cbace8e9ef88f7a16fb88d12219480b0ab579ab5f + - initial_ast: a28e0bd1e8adc8629d2ec2f3d29129de663e1067ffb996f985219e64e59d437d + unrolled_ast: a28e0bd1e8adc8629d2ec2f3d29129de663e1067ffb996f985219e64e59d437d + ssa_ast: 609dc864e22fb375bbaa129b0adee10d8eb07291dabc0176b38d74b72446a5ee + flattened_ast: 63e6552386f85050fd46ef7f52d83f1efbc6278c78ea6feabee9bb7c2f6d93e5 + inlined_ast: 63e6552386f85050fd46ef7f52d83f1efbc6278c78ea6feabee9bb7c2f6d93e5 + dce_ast: 63e6552386f85050fd46ef7f52d83f1efbc6278c78ea6feabee9bb7c2f6d93e5 bytecode: e93a461327025eb76bd362a69b2768d3edcc1864570406e44734686eaec84237 diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index 8d98118a91..dae3869d4a 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 535ec581e824bc5ce8bc762a1eb59db10ad97fe09fdb1f9b4d3833572d5b22e6 - unrolled_ast: 535ec581e824bc5ce8bc762a1eb59db10ad97fe09fdb1f9b4d3833572d5b22e6 - ssa_ast: 7ed38e0e442687c8b2d6c929e7281ee4fceb7b92fdba7a3a5b242fe96a3ed29c - flattened_ast: ec4fb7edc255322670e44af0678a96ccfd0e6291bd4982ab96423d8edfdb286d - inlined_ast: ec4fb7edc255322670e44af0678a96ccfd0e6291bd4982ab96423d8edfdb286d - dce_ast: ec4fb7edc255322670e44af0678a96ccfd0e6291bd4982ab96423d8edfdb286d + - initial_ast: 4ee42a65c8f18e155ad178839eb91058a4c31829c8fda9b447e4b2fac83fb184 + unrolled_ast: 4ee42a65c8f18e155ad178839eb91058a4c31829c8fda9b447e4b2fac83fb184 + ssa_ast: 0beb77d3465754e1b5f7e7310d506195a0fc01cf8353b17c4b9ed850093b122b + flattened_ast: debba75008a1d8db16699f77c05c5ac36dbd508bebaa701613c1a23635985b4d + inlined_ast: debba75008a1d8db16699f77c05c5ac36dbd508bebaa701613c1a23635985b4d + dce_ast: debba75008a1d8db16699f77c05c5ac36dbd508bebaa701613c1a23635985b4d bytecode: 7513cf41cc383d2f32c59f1fc1f0c08d966470080cc680b4e067a299840d447e diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index 7adaede63e..6b3fecaf10 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0e1c11db4d4a43699ef38921552c35ef7b93c2e30675c2c4799c50a9fab29062 - unrolled_ast: 0e1c11db4d4a43699ef38921552c35ef7b93c2e30675c2c4799c50a9fab29062 - ssa_ast: 49913d96c4e66c71feab72547e56eef107fed47107196ce0d124fdaa67817c44 - flattened_ast: e099251afaef6aaff31102dbccd9b1fbdf9fd7a72a0be5c5021bf2b8402b8f20 - inlined_ast: e099251afaef6aaff31102dbccd9b1fbdf9fd7a72a0be5c5021bf2b8402b8f20 - dce_ast: e099251afaef6aaff31102dbccd9b1fbdf9fd7a72a0be5c5021bf2b8402b8f20 + - initial_ast: a3c3274b6d9bcaecbcbe1eef53ecb24a97b693fd60f32d2ff1cfd56f66da753f + unrolled_ast: a3c3274b6d9bcaecbcbe1eef53ecb24a97b693fd60f32d2ff1cfd56f66da753f + ssa_ast: 46d5f7a30ba34f342853bb8db9a3e2034810af7ad45bea67a42d1f786d2efffa + flattened_ast: c4c62dd2216a8f6fe27b75bfc7b88bbd50d5577d85f959fccffc3f70c1127bcd + inlined_ast: c4c62dd2216a8f6fe27b75bfc7b88bbd50d5577d85f959fccffc3f70c1127bcd + dce_ast: c4c62dd2216a8f6fe27b75bfc7b88bbd50d5577d85f959fccffc3f70c1127bcd bytecode: 0d9b72a5e1ee092b054a7f0884c63f028f5fca4db22b6d5c5046b9685481c56f diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 4a5f762484..0f38228b1f 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 43b2f0417daf6a536a31b1744d49b2dcbf40cf5de061f9e3da9dcefd6792b98d - unrolled_ast: 43b2f0417daf6a536a31b1744d49b2dcbf40cf5de061f9e3da9dcefd6792b98d - ssa_ast: 7f0c93a4de416d6a28447c23aefa3b3ae31fef4b239eb2eaf2d37f4ec04776d7 - flattened_ast: 5522b626e26a1b840abcdd2a1b38e59e7eca81290d3292d049c498b9df020f3f - inlined_ast: 5522b626e26a1b840abcdd2a1b38e59e7eca81290d3292d049c498b9df020f3f - dce_ast: 5522b626e26a1b840abcdd2a1b38e59e7eca81290d3292d049c498b9df020f3f + - initial_ast: 68058ef47914a5b235ee2b88750da02360a03ad1894a0b264a22ec6c5caeca60 + unrolled_ast: 68058ef47914a5b235ee2b88750da02360a03ad1894a0b264a22ec6c5caeca60 + ssa_ast: de345cd3f9a6651d06a2b1509df77cee5d4edcb0de7aebc13d93f8b6cb4ac9a2 + flattened_ast: cf2807d381d47393171499d87b910c4565e7ca7a3fec31912560a6b0505e3757 + inlined_ast: cf2807d381d47393171499d87b910c4565e7ca7a3fec31912560a6b0505e3757 + dce_ast: cf2807d381d47393171499d87b910c4565e7ca7a3fec31912560a6b0505e3757 bytecode: e96d849b37da6f6ec972d154166606de44c27e8dffb03e0de68c0bd2193ce816 diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index cc02fb286e..0b23fe3353 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 58b068a891e5a297682dc8dd44a5dbe22c4c2879cec17e385babf2829ef0cfe4 - unrolled_ast: 58b068a891e5a297682dc8dd44a5dbe22c4c2879cec17e385babf2829ef0cfe4 - ssa_ast: 3a7bfd83d227a4e485b8e024eff4523bfa9f4f9e8deb197e991bdcf9ff6906cc - flattened_ast: 7a04a1c69fdfcc4dd1a43111b0592c43f6c7ffdbfc0e439015f7ad5167430a77 - inlined_ast: 7a04a1c69fdfcc4dd1a43111b0592c43f6c7ffdbfc0e439015f7ad5167430a77 - dce_ast: 7a04a1c69fdfcc4dd1a43111b0592c43f6c7ffdbfc0e439015f7ad5167430a77 + - initial_ast: 903a165b4a81947465ec7c7a948477224432817a8916f949414fb8b6a0c724bc + unrolled_ast: 903a165b4a81947465ec7c7a948477224432817a8916f949414fb8b6a0c724bc + ssa_ast: 9511d4a0e90fc0669b447f60d95792cb30a2ba1738e60476ad6026e044fadbc3 + flattened_ast: 51bb23beaffb8d90a82219e5f0643c5fbac7e508f040f1be3290e8e171a1d2b7 + inlined_ast: 51bb23beaffb8d90a82219e5f0643c5fbac7e508f040f1be3290e8e171a1d2b7 + dce_ast: 51bb23beaffb8d90a82219e5f0643c5fbac7e508f040f1be3290e8e171a1d2b7 bytecode: 3397488866433f0960d9e392f25891d8b57a64a2395deb346b904d999546db9f diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index 918020aba9..10f76269b7 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7994a4e560ca41616e3599a817d47a8233dd1baa04b57d5001d000863f693888 - unrolled_ast: 7994a4e560ca41616e3599a817d47a8233dd1baa04b57d5001d000863f693888 - ssa_ast: d9943f4dbd954d7b80396dc68106114c15d05d3382a293d746538de5591b2bdb - flattened_ast: bfe3178061d1208316948c3c384c540974d6e0f427075b960edfbc019257e113 - inlined_ast: bfe3178061d1208316948c3c384c540974d6e0f427075b960edfbc019257e113 - dce_ast: bfe3178061d1208316948c3c384c540974d6e0f427075b960edfbc019257e113 + - initial_ast: e7dced298874a57c6eba6d07b9bd9600efa56576a3967708b98c4ad2b525bd81 + unrolled_ast: e7dced298874a57c6eba6d07b9bd9600efa56576a3967708b98c4ad2b525bd81 + ssa_ast: 3d40fe3120ddf6773f3584e99c8eedefb6ebf21c6746e39e73b26553f4445e40 + flattened_ast: 0a48c2c32410ba0d9ff3179e6bd96b15bc241d6b1c38d50b5693c46e08a92d46 + inlined_ast: 0a48c2c32410ba0d9ff3179e6bd96b15bc241d6b1c38d50b5693c46e08a92d46 + dce_ast: 0a48c2c32410ba0d9ff3179e6bd96b15bc241d6b1c38d50b5693c46e08a92d46 bytecode: e2d82a67993557ac34d9e9945369fa907d4c6213c45feea19ad80bcb3cde4d68 diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 5999517a72..95ab307285 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0f2e756a8c662c6cf5e4a0ebe5b3507522538b902adc26571aea798d431432cd - unrolled_ast: 0f2e756a8c662c6cf5e4a0ebe5b3507522538b902adc26571aea798d431432cd - ssa_ast: 593b75d8bfce8b63b32d18e70a4a6b99deef96e32efed606a6c31118d73d86d9 - flattened_ast: 357fb32b65c461722465b7cde492f9d2f9c36593765f5993d7219293ad78dd20 - inlined_ast: 357fb32b65c461722465b7cde492f9d2f9c36593765f5993d7219293ad78dd20 - dce_ast: 357fb32b65c461722465b7cde492f9d2f9c36593765f5993d7219293ad78dd20 + - initial_ast: cbc2aba26f3dfddbb2c51853516c6cc8d5d7ef076be3b4953e3550ebc1c1cae5 + unrolled_ast: cbc2aba26f3dfddbb2c51853516c6cc8d5d7ef076be3b4953e3550ebc1c1cae5 + ssa_ast: 203938b77c56d88a48918a67bacbe5e1758990fe51225c411d10a27ae047c97e + flattened_ast: 631fae5dd0f8305d55e625652867a27f0d3b7e4fec82aecaab8f9d1e4b7f5ddf + inlined_ast: 631fae5dd0f8305d55e625652867a27f0d3b7e4fec82aecaab8f9d1e4b7f5ddf + dce_ast: 631fae5dd0f8305d55e625652867a27f0d3b7e4fec82aecaab8f9d1e4b7f5ddf bytecode: 9227aa899da4b7ff37558be85d668ca336252c64e0687ea5d62f018b72127a04 diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index 8ce5bf691b..1f74c5d25a 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d56c9a1c3bda7c29819f985704ecb6e35c27962ecdda701cdd3cbf5c47339299 - unrolled_ast: d56c9a1c3bda7c29819f985704ecb6e35c27962ecdda701cdd3cbf5c47339299 - ssa_ast: 5fa2f1d0cc48959a8f3c77e5c413fcf08940d8d17bdad74a14b383248df043cd - flattened_ast: 0749ccaa552a100971b6c8b69749022897abc8b4af32f271c4341146c89a4c25 - inlined_ast: 0749ccaa552a100971b6c8b69749022897abc8b4af32f271c4341146c89a4c25 - dce_ast: 0749ccaa552a100971b6c8b69749022897abc8b4af32f271c4341146c89a4c25 + - initial_ast: a5b9524c2f333798845185b8aef852710db0eff1e5f84cbbe060f85fbd4f19f4 + unrolled_ast: a5b9524c2f333798845185b8aef852710db0eff1e5f84cbbe060f85fbd4f19f4 + ssa_ast: 21da66d25532c01850e32260bd9029014b1e5df07892c7b7cadcdde4b53a7dca + flattened_ast: d555fc590e09b23f6bf29452c582743800ff0fe134d28f0a3196f8995b29fbe2 + inlined_ast: d555fc590e09b23f6bf29452c582743800ff0fe134d28f0a3196f8995b29fbe2 + dce_ast: d555fc590e09b23f6bf29452c582743800ff0fe134d28f0a3196f8995b29fbe2 bytecode: 57be3af9aea4c0676f2aa231ab3f3ad37c1f7c3210ef1428cb0acd9edcd86fe2 diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index 4d18251350..f9fb5caa6d 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 742707b79565934bda1e31b8346336ee3b8c6537141e9388d8e38e231451fcc8 - unrolled_ast: 742707b79565934bda1e31b8346336ee3b8c6537141e9388d8e38e231451fcc8 - ssa_ast: 469e1f04cade5a27c58106f673675bd125a80434633c9dd9850a71972956ef19 - flattened_ast: 276b7994102cc308e942242a8e68474647b0407d774791e8b4848b4625ba033a - inlined_ast: 276b7994102cc308e942242a8e68474647b0407d774791e8b4848b4625ba033a - dce_ast: 276b7994102cc308e942242a8e68474647b0407d774791e8b4848b4625ba033a + - initial_ast: 14e98a2c81a536fe7ad171de4fc5344001348b78fd6184480abc78bc493b222f + unrolled_ast: 14e98a2c81a536fe7ad171de4fc5344001348b78fd6184480abc78bc493b222f + ssa_ast: daef4791f5ad2c7e5aa4a7a598a6cb439618a3b0c413d25228d5a62dbe1daea4 + flattened_ast: a0fca0048065932e68606e5f30424d48fcf9dc97847976cd3732e14ff4b9b6db + inlined_ast: a0fca0048065932e68606e5f30424d48fcf9dc97847976cd3732e14ff4b9b6db + dce_ast: a0fca0048065932e68606e5f30424d48fcf9dc97847976cd3732e14ff4b9b6db bytecode: 14baafe414bb3db0919bce34efa2e0cb9be410e07822419abe1d221c68860ed3 diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index 355cfa3c88..c80e3eab0e 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3c8b0fcec0b009dfcced43755ebab2259bfb2d720823a5a73131944a1cf4cf3e - unrolled_ast: 3c8b0fcec0b009dfcced43755ebab2259bfb2d720823a5a73131944a1cf4cf3e - ssa_ast: 12ee129cc27501a6f34b4a6b38c248bbb0737e743b4b05c41d1d67cd15adbe11 - flattened_ast: 46c3156b85d00b6f5810b5c5140ba1c26915fa3f29f67bf59d4a26670b70278b - inlined_ast: 46c3156b85d00b6f5810b5c5140ba1c26915fa3f29f67bf59d4a26670b70278b - dce_ast: 46c3156b85d00b6f5810b5c5140ba1c26915fa3f29f67bf59d4a26670b70278b + - initial_ast: 781a6674dadbdea13a655b7be2c9444a3003b24a00286812acb99a04b07a72c7 + unrolled_ast: 781a6674dadbdea13a655b7be2c9444a3003b24a00286812acb99a04b07a72c7 + ssa_ast: 62693d18a8f36c6ddcad2cc6376009734b3de9aee26f08b955d8c8d155a684eb + flattened_ast: bc2501aed48275eb80d6ae5c7f21442aa90eb6099c022aca3c9918c82532b35b + inlined_ast: bc2501aed48275eb80d6ae5c7f21442aa90eb6099c022aca3c9918c82532b35b + dce_ast: bc2501aed48275eb80d6ae5c7f21442aa90eb6099c022aca3c9918c82532b35b bytecode: b7db7415e9a7e2872bdc1b803f5427a6632cc201dd4a91e3f11a337c30c37cf5 diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 42fe1fc0a2..96b900851b 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 003af22ca94442ef4c8e430a05528b307e6aee674f3221309155138786057788 - unrolled_ast: 003af22ca94442ef4c8e430a05528b307e6aee674f3221309155138786057788 - ssa_ast: 760de8ab14303d6fc6252412c24fce2ade74aaa1fc54c45e3854054ee24dbe15 - flattened_ast: f04e046302dfdb413f957677c766249d25743d0dbb188c55b5a89c0fffe59c64 - inlined_ast: f04e046302dfdb413f957677c766249d25743d0dbb188c55b5a89c0fffe59c64 - dce_ast: f04e046302dfdb413f957677c766249d25743d0dbb188c55b5a89c0fffe59c64 + - initial_ast: 599418c1209fab18f0fa5402635d66def3d3e4f60ac046d3b44934db26fe3d2e + unrolled_ast: 599418c1209fab18f0fa5402635d66def3d3e4f60ac046d3b44934db26fe3d2e + ssa_ast: 39120dacfb1e7081f81c4b97658d7af5a9c6bb7cea6c17946905340cd4dc859c + flattened_ast: c4fca22ad4b711c6d311da9a9af56c1d67b09eb08f5baa3f2a9f394038624400 + inlined_ast: c4fca22ad4b711c6d311da9a9af56c1d67b09eb08f5baa3f2a9f394038624400 + dce_ast: c4fca22ad4b711c6d311da9a9af56c1d67b09eb08f5baa3f2a9f394038624400 bytecode: 0fae6466a2bf2de1231d59ee8579aaf8576385f781ec07b670799723b45090c1 diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 21d0201f50..21765a5866 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2b8283b54a9752866d8f514e5e359450a68f6e6b2b5fcece58b2a5f2d69ceef2 - unrolled_ast: 2b8283b54a9752866d8f514e5e359450a68f6e6b2b5fcece58b2a5f2d69ceef2 - ssa_ast: bbb27d503b543a2696866f16e04820ce8059726447036216ef6ee8a72735fbfa - flattened_ast: 01995d939ad860b0433f5e925f1697cfcb03fdbe1095fb109bd36737d5b3fd65 - inlined_ast: 01995d939ad860b0433f5e925f1697cfcb03fdbe1095fb109bd36737d5b3fd65 - dce_ast: 01995d939ad860b0433f5e925f1697cfcb03fdbe1095fb109bd36737d5b3fd65 + - initial_ast: 74e5f2eb3bc653e59b16c08b8ce3bbf5aac852a582f2a9186557cd4abd4b02cd + unrolled_ast: 74e5f2eb3bc653e59b16c08b8ce3bbf5aac852a582f2a9186557cd4abd4b02cd + ssa_ast: bbd2d169457dbad0d8f3fbb7819461604dae6b6dae2441e61b17834444d3cc64 + flattened_ast: 34feb83cada747584463d12fbd45f89c7f4ced4470e9d1350569d81703577ac2 + inlined_ast: 34feb83cada747584463d12fbd45f89c7f4ced4470e9d1350569d81703577ac2 + dce_ast: 34feb83cada747584463d12fbd45f89c7f4ced4470e9d1350569d81703577ac2 bytecode: 8b1b03539a77776abeaef8d0d2b0955c2e1ee92abc4418cafd336e2fd7e07d8c diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index de3e3ea82c..7cd13ce315 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 32ebca55eda838e33bfed94a43a234929c744fd0aea33e19a6549ac8e25b0c77 - unrolled_ast: 32ebca55eda838e33bfed94a43a234929c744fd0aea33e19a6549ac8e25b0c77 - ssa_ast: 7f5da7e86442794af8dc46a6c3168e05b0c5045f67cc0b74e404d7eb8253ed10 - flattened_ast: 371ba6ca525d4dcd2945a779b482aca26f353cefa5bad98500450bffc4d89ccd - inlined_ast: 371ba6ca525d4dcd2945a779b482aca26f353cefa5bad98500450bffc4d89ccd - dce_ast: 371ba6ca525d4dcd2945a779b482aca26f353cefa5bad98500450bffc4d89ccd + - initial_ast: 753259637013bab994fbc9492e67753de3525e177b1e94d0d6bdf6d3b68f1a1e + unrolled_ast: 753259637013bab994fbc9492e67753de3525e177b1e94d0d6bdf6d3b68f1a1e + ssa_ast: 2c16a43844ce8a9142389d11076a17e60cf852b4893390a4bc2a3cbdb1ab1ca1 + flattened_ast: e2a221792c98b6baa12ae3d9834cb489d98a6eefea9d96e8c75576d96ba0e9f2 + inlined_ast: e2a221792c98b6baa12ae3d9834cb489d98a6eefea9d96e8c75576d96ba0e9f2 + dce_ast: e2a221792c98b6baa12ae3d9834cb489d98a6eefea9d96e8c75576d96ba0e9f2 bytecode: 0926e920330080c9eb6e3b07960f4ac16ba62c2e93e7d2deaf2be56f21f64457 diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index f5f7badf0c..33dff1d4fe 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 66f91182ba5ee40cfe7533f4dae47d68f7b326a25ab51e5cbc96303c501acb04 - unrolled_ast: 66f91182ba5ee40cfe7533f4dae47d68f7b326a25ab51e5cbc96303c501acb04 - ssa_ast: 967c94dad4c8543cc8533de1e4dc272f57ed62ca9956e372e23eb890bfe679b6 - flattened_ast: 5777b015a1adf3f2a59d9d12e08ed8b9a4a2f115c9dbab627b0fb8e4c3c9275e - inlined_ast: 5777b015a1adf3f2a59d9d12e08ed8b9a4a2f115c9dbab627b0fb8e4c3c9275e - dce_ast: 5777b015a1adf3f2a59d9d12e08ed8b9a4a2f115c9dbab627b0fb8e4c3c9275e + - initial_ast: 03a14e38ad61d17c679d9a1aa98593cffd580e7a9c061069c95bd4f1a90dedaa + unrolled_ast: 03a14e38ad61d17c679d9a1aa98593cffd580e7a9c061069c95bd4f1a90dedaa + ssa_ast: 839b66f353aef1a8a897e0138145f554efaa33ecbef49771781dc06af124ff6d + flattened_ast: 4722bfb4f1a25ead09e5010148aac8b45dcc2d5da4673f625ec962cf0b336230 + inlined_ast: 4722bfb4f1a25ead09e5010148aac8b45dcc2d5da4673f625ec962cf0b336230 + dce_ast: 4722bfb4f1a25ead09e5010148aac8b45dcc2d5da4673f625ec962cf0b336230 bytecode: 0df63ebe06d4d8d06c00c9b1d9591a683c5d13b9af12d4eb12c57a83ffbba471 diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index 756dd99e12..6efdb419b5 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 470701786751414b766442629342c15258389ab0c3f3589fa4645f14663e743d - unrolled_ast: 470701786751414b766442629342c15258389ab0c3f3589fa4645f14663e743d - ssa_ast: 5beaea9a22140ab10b7f75f899adf4b295ae7980886be645d5c64ca10f480c29 - flattened_ast: 645175bd96f067e856354a5c4574d258195fadd5e4b6597607801f652ea2482f - inlined_ast: 645175bd96f067e856354a5c4574d258195fadd5e4b6597607801f652ea2482f - dce_ast: 645175bd96f067e856354a5c4574d258195fadd5e4b6597607801f652ea2482f + - initial_ast: a2fb8d98b8afb239692f4b76a65f67cb2adead064cb29d694292c5a792ca9441 + unrolled_ast: a2fb8d98b8afb239692f4b76a65f67cb2adead064cb29d694292c5a792ca9441 + ssa_ast: 03459c36af06e235a970662273922d369534f59c12a89b757d1547500f22cf64 + flattened_ast: 49ab32e774a64be08efdf926ceabdf1f3877b94fc466eed13830da57d7acdfc9 + inlined_ast: 49ab32e774a64be08efdf926ceabdf1f3877b94fc466eed13830da57d7acdfc9 + dce_ast: 49ab32e774a64be08efdf926ceabdf1f3877b94fc466eed13830da57d7acdfc9 bytecode: b89559b0fd9e2790ecaef181d2af90bb7015a2c5894a07106eda104d8f572bed diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 27859df3a4..f5427387c5 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0975276579947ad8fb727d22e9861cda43a1c3938a30797eaa220de674cba792 - unrolled_ast: 0975276579947ad8fb727d22e9861cda43a1c3938a30797eaa220de674cba792 - ssa_ast: 7c116f6311daf0321afd5bacfe54252cf25030148239b75e20340f1d3616057d - flattened_ast: bbde81fbdb9bd53b73eaa0ec8a0c21b0c26b18695bb2f826af439d312856bd17 - inlined_ast: bbde81fbdb9bd53b73eaa0ec8a0c21b0c26b18695bb2f826af439d312856bd17 - dce_ast: 751cf9bf0011f1b2cec9c30ba252e5fdb2cfb07b565f7d7d49d3ec46948d8d79 + - initial_ast: 4811ff9f8f0c33486600cc2c9eae9977ec93ec03a0a191d7deb3ae587b817a04 + unrolled_ast: 4811ff9f8f0c33486600cc2c9eae9977ec93ec03a0a191d7deb3ae587b817a04 + ssa_ast: 062c86e9f94ca18e845285df1c4036fa2198083f8f9432a024ed9eb453de1732 + flattened_ast: d69caf4f05da1fca41c13d8e675925d301ca0be2705274f7bb44430575d05872 + inlined_ast: d69caf4f05da1fca41c13d8e675925d301ca0be2705274f7bb44430575d05872 + dce_ast: 0875ca662c0e764c1e57247e9ce00fb984b437595276f30bb878dc77405f4f12 bytecode: 7ab3f946685bbd31ea648dcaf0dadbacbd6e50e63d1093f23f92f3387cab35f6 diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index 7f257a90fa..e00860cd6e 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 02531f7d0e73089e4d2aa0f15880dc8cb7a295397dac03d6222755eab24b9235 - unrolled_ast: 02531f7d0e73089e4d2aa0f15880dc8cb7a295397dac03d6222755eab24b9235 - ssa_ast: 3f53cfb647f82b9eb52bcc7c2f77351ccc5c6dfe85c908dc1dfbe9ba6aa6681d - flattened_ast: f1551f7b9d8b9e98a0e317e10d69a19225f24e13c7d50dbb4efe4885f2b8b923 - inlined_ast: f1551f7b9d8b9e98a0e317e10d69a19225f24e13c7d50dbb4efe4885f2b8b923 - dce_ast: f1551f7b9d8b9e98a0e317e10d69a19225f24e13c7d50dbb4efe4885f2b8b923 + - initial_ast: a8895d84088b020fabb5a3792ca174d5f4874d0be4277593e6c9c8e25f051431 + unrolled_ast: a8895d84088b020fabb5a3792ca174d5f4874d0be4277593e6c9c8e25f051431 + ssa_ast: 46ffa0cce0e987b218c1dd8428fd759a4e2ee5a6026f485f22b92b5d8a53d4ae + flattened_ast: 5e6384c48c75caa6fc6b3c60f70af9f881cc7542a4048d5b463c420c0ae1c4fb + inlined_ast: 5e6384c48c75caa6fc6b3c60f70af9f881cc7542a4048d5b463c420c0ae1c4fb + dce_ast: 5e6384c48c75caa6fc6b3c60f70af9f881cc7542a4048d5b463c420c0ae1c4fb bytecode: 41b5a13222dbf0dd53c84da7f751c736e7356ce05e37db45e764d52e4f04331e diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index 4731f83f41..50368a22a1 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0d3f3887944ec6e8c1081a0d69e88d10ff6a229b2196de24748028053602a217 - unrolled_ast: 0d3f3887944ec6e8c1081a0d69e88d10ff6a229b2196de24748028053602a217 - ssa_ast: 9f55ff931c87f10022a41d9b9856f06afae62a776bbf567231c633f6ba9ddf07 - flattened_ast: 94a6e6ed3c2b112939d7d9c42721028abbf84255f3d371455b6ce2191a8c4bc0 - inlined_ast: 94a6e6ed3c2b112939d7d9c42721028abbf84255f3d371455b6ce2191a8c4bc0 - dce_ast: 94a6e6ed3c2b112939d7d9c42721028abbf84255f3d371455b6ce2191a8c4bc0 + - initial_ast: 49f4cc17dd9a2020abbdb3f0716a6232f6cc7d3613ec62b5c522dfcd592436b2 + unrolled_ast: 49f4cc17dd9a2020abbdb3f0716a6232f6cc7d3613ec62b5c522dfcd592436b2 + ssa_ast: 9629f3d5744933036af354eb8b7fda5ba2658a2bc7b4004c1b06a01dfeda3324 + flattened_ast: fe7a308fc5d32bd12ecce4a7a22fa856eeaf042f683d31ef15ec2095f4c175ac + inlined_ast: fe7a308fc5d32bd12ecce4a7a22fa856eeaf042f683d31ef15ec2095f4c175ac + dce_ast: fe7a308fc5d32bd12ecce4a7a22fa856eeaf042f683d31ef15ec2095f4c175ac bytecode: 8fde7f6968f5d5cc3ce9e9bbd5b9915995375f990bf41f7ac6e8f0a550b7c859 diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index 892f3d2272..95bbc5a52b 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 31492d69c8a7687b2c76f00cff2db072228644cd866887806c0bb36270fd4700 - unrolled_ast: 31492d69c8a7687b2c76f00cff2db072228644cd866887806c0bb36270fd4700 - ssa_ast: d7da3d17b641542c3600b1081960f63a862feced1f2af256db70db3b4b480fba - flattened_ast: bd2706f1637d0d0f5c29fab81cb91fd4b8e1287be8eebd017e655a135ac59204 - inlined_ast: bd2706f1637d0d0f5c29fab81cb91fd4b8e1287be8eebd017e655a135ac59204 - dce_ast: bd2706f1637d0d0f5c29fab81cb91fd4b8e1287be8eebd017e655a135ac59204 + - initial_ast: dc78bf4b3894b64d222c1d40a0d2afcf27fbd19e2796793a49a41c27ef5dd15d + unrolled_ast: dc78bf4b3894b64d222c1d40a0d2afcf27fbd19e2796793a49a41c27ef5dd15d + ssa_ast: 6053cf7791d03a63518219cfc79dcabc198b7f27d91ce5c21bc2d8b0739ff132 + flattened_ast: 9ff18579687fe2b0b034343bdc733f07a63e5e9a994b41ce2dd9df84c8e57805 + inlined_ast: 9ff18579687fe2b0b034343bdc733f07a63e5e9a994b41ce2dd9df84c8e57805 + dce_ast: 9ff18579687fe2b0b034343bdc733f07a63e5e9a994b41ce2dd9df84c8e57805 bytecode: 5f3b856138f21abdccf6f7663995e7109d9a034bebc1c97573aabb9059a3a4ca diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index 94836dae9b..c297290916 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 72cc14de90713951b62afb2c6f00794dd04a12fa6ad4a58fb5b8173cff686b41 - unrolled_ast: 72cc14de90713951b62afb2c6f00794dd04a12fa6ad4a58fb5b8173cff686b41 - ssa_ast: fa54e329fd0842e19f981f63090fac2c1bd42b2e32076005f6a93d12587f9814 - flattened_ast: d9405729b94dd28178fbae2b11a6f8d38d8d2eb942b09789257ae66af7789c79 - inlined_ast: d9405729b94dd28178fbae2b11a6f8d38d8d2eb942b09789257ae66af7789c79 - dce_ast: d9405729b94dd28178fbae2b11a6f8d38d8d2eb942b09789257ae66af7789c79 + - initial_ast: 16e61a5d41df89eff5d7fc8f4c964f7a14c2eca629fcf59339ce9c73ab848ff0 + unrolled_ast: 16e61a5d41df89eff5d7fc8f4c964f7a14c2eca629fcf59339ce9c73ab848ff0 + ssa_ast: 47708f649c3539c5d4a42b6708ee219a0ee801af02ae02f3308e4948b746f091 + flattened_ast: 282c86540f4b0bcf0ad2c82c9c20a8ec7c6397b4406d950182dce7190590ece5 + inlined_ast: 282c86540f4b0bcf0ad2c82c9c20a8ec7c6397b4406d950182dce7190590ece5 + dce_ast: 282c86540f4b0bcf0ad2c82c9c20a8ec7c6397b4406d950182dce7190590ece5 bytecode: b069cb686a859904113693c69a78d951b07809cfec5a01f3178c7057287ba26f diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index e1d750d49d..151f9f15b4 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 721835a5ff0138c81a62ab34528b533123fd692c318cd2eff38facc2688046e6 - unrolled_ast: 721835a5ff0138c81a62ab34528b533123fd692c318cd2eff38facc2688046e6 - ssa_ast: 92445b5a175f352acf8fe0b62d85cc70aab87fba9d2e48ec748cfdaccef9c5b2 - flattened_ast: 73b2c90a88b48b0a9870f19c94bbf886b22e59481146d2fc4af2c6935d67ddeb - inlined_ast: 73b2c90a88b48b0a9870f19c94bbf886b22e59481146d2fc4af2c6935d67ddeb - dce_ast: 73b2c90a88b48b0a9870f19c94bbf886b22e59481146d2fc4af2c6935d67ddeb + - initial_ast: 1d2e3b0b057d68e45c35ebe6cb80125ea68377d4ae07bd0e3f765fd8e48be3a7 + unrolled_ast: 1d2e3b0b057d68e45c35ebe6cb80125ea68377d4ae07bd0e3f765fd8e48be3a7 + ssa_ast: 83f0db056aa2d40487e3d1b40df589528104524ff8cda1ac6438f20133870986 + flattened_ast: 10f7d932625ec11e7d3bac6e9f659afb9996b861449c7938bb6769668029ef1b + inlined_ast: 10f7d932625ec11e7d3bac6e9f659afb9996b861449c7938bb6769668029ef1b + dce_ast: 10f7d932625ec11e7d3bac6e9f659afb9996b861449c7938bb6769668029ef1b bytecode: 699eda9f97d2b6c417a0fba495fdf3ff6f05965d5bc9dbd5f65ff738d5df5d4f diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index 492535cca1..2e384018c4 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 62a567be27d96098ba6bcd9e136aadfcba5d6d6d58274eab4ec03818809cb641 - unrolled_ast: 62a567be27d96098ba6bcd9e136aadfcba5d6d6d58274eab4ec03818809cb641 - ssa_ast: 2a64ad8ea4f81725eead1ad80f31f3e38208d9161304bff1fc7ccf3c90cb7aa3 - flattened_ast: c48774ddd7240e4fed8b0347bfd8cc6b745cbdc52bf33c1fdcda61b65257dbbb - inlined_ast: c48774ddd7240e4fed8b0347bfd8cc6b745cbdc52bf33c1fdcda61b65257dbbb - dce_ast: c48774ddd7240e4fed8b0347bfd8cc6b745cbdc52bf33c1fdcda61b65257dbbb + - initial_ast: a81549d6e16dc11ac0aa109570be3a99151c0fa7a3003fab3033034c62647c10 + unrolled_ast: a81549d6e16dc11ac0aa109570be3a99151c0fa7a3003fab3033034c62647c10 + ssa_ast: f414469bdcfde129a8946c450d8db8bd0c2e78d40c9a71aaa97bcad750fbdd6d + flattened_ast: bfdee53c5268dd6a82e7a3144124fa158e38ec3550e95b5ff235582ace06f7a6 + inlined_ast: bfdee53c5268dd6a82e7a3144124fa158e38ec3550e95b5ff235582ace06f7a6 + dce_ast: bfdee53c5268dd6a82e7a3144124fa158e38ec3550e95b5ff235582ace06f7a6 bytecode: 181e307cfa4facef9fd4cb209e120f102fbd934b6bdaf6208f8578360b8bb707 diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 85a5d55729..3e3966e2fa 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: efe71b996f45113c33226796b7370784a645da43ae2bebadfe52736b2bb5c889 - unrolled_ast: efe71b996f45113c33226796b7370784a645da43ae2bebadfe52736b2bb5c889 - ssa_ast: cba7acecae2b084aadabac69c6b1f5e6dd3a9edd585ce973a31197beff098d62 - flattened_ast: a0c151d9765c85d125ee8d9c1a0ab359fa8c7d47c7cd35ce01b831edb5b53abf - inlined_ast: a0c151d9765c85d125ee8d9c1a0ab359fa8c7d47c7cd35ce01b831edb5b53abf - dce_ast: a0c151d9765c85d125ee8d9c1a0ab359fa8c7d47c7cd35ce01b831edb5b53abf + - initial_ast: f7ab41ba62c5647284826d953d97b129eb69ed1da3aca3befe034e99048bcd51 + unrolled_ast: f7ab41ba62c5647284826d953d97b129eb69ed1da3aca3befe034e99048bcd51 + ssa_ast: fef4365bdaaacf7bd5c0bbce2a67b2bef4cdc9eb48e01eb6b4555be839dde915 + flattened_ast: 8f35a23fe95166e522796b0add0c74ba68ebee977eed492ca732bfae03a88815 + inlined_ast: 8f35a23fe95166e522796b0add0c74ba68ebee977eed492ca732bfae03a88815 + dce_ast: 8f35a23fe95166e522796b0add0c74ba68ebee977eed492ca732bfae03a88815 bytecode: 5e573c847fa4f1ac29236a5eb9a8a5601cdc8ab9fc41d1fe57225be41ca1f38e diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index 5918913c7d..84c17f83dc 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 677f67b7b794e25f016127e50c1e715784a43498abb091afb08b1b781550d901 - unrolled_ast: 677f67b7b794e25f016127e50c1e715784a43498abb091afb08b1b781550d901 - ssa_ast: efa15b003f3e6c0a328ad9f5ad744c4f05febde5c5b7a82c702ca2c3957b074b - flattened_ast: 708d6b2ac2998b534f400d29e904127673d4aa611007ea67d03a4b291f52642e - inlined_ast: 708d6b2ac2998b534f400d29e904127673d4aa611007ea67d03a4b291f52642e - dce_ast: 708d6b2ac2998b534f400d29e904127673d4aa611007ea67d03a4b291f52642e + - initial_ast: cc907953d93cbc62af059152015386129f8c45b08cec9fad46549623fdea3350 + unrolled_ast: cc907953d93cbc62af059152015386129f8c45b08cec9fad46549623fdea3350 + ssa_ast: f621774caba3f6bef16de269c69139b47079252ddfd704af77fcba856da413c3 + flattened_ast: 41d0c6db04d0337a6ad5f7657392ee2dd69f7a6d5f63b1b5b7333729def38917 + inlined_ast: 41d0c6db04d0337a6ad5f7657392ee2dd69f7a6d5f63b1b5b7333729def38917 + dce_ast: 41d0c6db04d0337a6ad5f7657392ee2dd69f7a6d5f63b1b5b7333729def38917 bytecode: e11c7631389943bb7588bb83da0b213b8c135def3ae965cb4898c010e4a61d60 diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index fd4c437b4f..813cdca9cb 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1a896ccb98416a459c5edfa245904e3d344ebd999d8eb5da23ce62ec741792ef - unrolled_ast: 1a896ccb98416a459c5edfa245904e3d344ebd999d8eb5da23ce62ec741792ef - ssa_ast: 8fbc1e30d9439e5e47a30ed4898631f933bb289388513e3481fdb4896b10d223 - flattened_ast: 5ce9d97a005bf5e2054b33ac761ef40d3f7dc90b79087638c68fbc9fe7f2bb7a - inlined_ast: 5ce9d97a005bf5e2054b33ac761ef40d3f7dc90b79087638c68fbc9fe7f2bb7a - dce_ast: 5ce9d97a005bf5e2054b33ac761ef40d3f7dc90b79087638c68fbc9fe7f2bb7a + - initial_ast: d358cbefd19b2c4500cd0d90382145be62c4b8f90b9e452d167db6ba8f62b891 + unrolled_ast: d358cbefd19b2c4500cd0d90382145be62c4b8f90b9e452d167db6ba8f62b891 + ssa_ast: 4275e76371d1ebb2c6474feb32cd7505940f8492e2d0607eb76cc7f7841e4825 + flattened_ast: d20ea0f8244d7d16d2b08ca07cc5e9346900c4b2cfe46b0c211432ed36bc2dae + inlined_ast: d20ea0f8244d7d16d2b08ca07cc5e9346900c4b2cfe46b0c211432ed36bc2dae + dce_ast: d20ea0f8244d7d16d2b08ca07cc5e9346900c4b2cfe46b0c211432ed36bc2dae bytecode: 17d483203a936ddc245bdc0796535ea82eb4e2299e9c0ed1cb64273c004dce73 diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index c9f2b70254..350a161370 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 45cded49e482043c6f99ecf68bdb3d95a9c172f72cb2b8dd45d04379f864914f - unrolled_ast: 45cded49e482043c6f99ecf68bdb3d95a9c172f72cb2b8dd45d04379f864914f - ssa_ast: 54518951d20d3e4ac3a473ca7871f680c7e017e9638779a888f29ade194962b9 - flattened_ast: fadf1c8f0085da6f47d2f9b8da27972ac89e8fa629c3eaedc8b997ba193f9330 - inlined_ast: fadf1c8f0085da6f47d2f9b8da27972ac89e8fa629c3eaedc8b997ba193f9330 - dce_ast: fadf1c8f0085da6f47d2f9b8da27972ac89e8fa629c3eaedc8b997ba193f9330 + - initial_ast: cb5b85a38b108533c142dabd6be1bb2285f54bb3e58994902002bb2026a8a715 + unrolled_ast: cb5b85a38b108533c142dabd6be1bb2285f54bb3e58994902002bb2026a8a715 + ssa_ast: 58faeffb8fff0fcc54fc9b4bce7ee16eea0ed6295ecbcc71076aacc01f227ccd + flattened_ast: 90fd1544b46a4161c1f729e6c259f62f8e752628d94a3062119b651bdcb99a63 + inlined_ast: 90fd1544b46a4161c1f729e6c259f62f8e752628d94a3062119b651bdcb99a63 + dce_ast: 90fd1544b46a4161c1f729e6c259f62f8e752628d94a3062119b651bdcb99a63 bytecode: 1900494d905399f3c3cb4a321ccaceaf771e194ecffde3f9256f8a4236379d72 diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index 4f993d6348..684d448a79 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9ece7486ef6f0e8e674d82ee52c2014814d3f60dac62b1b40e4f88dc6332f8c7 - unrolled_ast: 9ece7486ef6f0e8e674d82ee52c2014814d3f60dac62b1b40e4f88dc6332f8c7 - ssa_ast: 68a33454ce0c3672a579323c73e7ff54393ed2d2d33c392cd6ea0ad1e7210087 - flattened_ast: e600d74aa281e08c42dde9953ab63bc5f53bf5318cbac3df21be079ea8e1c1d4 - inlined_ast: e600d74aa281e08c42dde9953ab63bc5f53bf5318cbac3df21be079ea8e1c1d4 - dce_ast: e600d74aa281e08c42dde9953ab63bc5f53bf5318cbac3df21be079ea8e1c1d4 + - initial_ast: 8fab42abe2e8039555cfc1881757e43e5f717b38a84adf20b51d1c63ad9182c3 + unrolled_ast: 8fab42abe2e8039555cfc1881757e43e5f717b38a84adf20b51d1c63ad9182c3 + ssa_ast: 59cf6b4817996ca5ba54e486f9b16bc73af709e2b51f54fe4eb4a3a19ce55a61 + flattened_ast: 37b7c1a1754c46fdb729111dbe67885cc53e751ab3668535e7f775b30e5b9046 + inlined_ast: 37b7c1a1754c46fdb729111dbe67885cc53e751ab3668535e7f775b30e5b9046 + dce_ast: 37b7c1a1754c46fdb729111dbe67885cc53e751ab3668535e7f775b30e5b9046 bytecode: a933fea3a225baaab4b8d1290eb57e8146b2c9d5b5f26d93c1d9e7b75f4ce004 diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index a0c65af126..e5cf1281c2 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: dfb39354d18a9f1547df93beb4eb440921ab96ca76bb57c3633c076436c69b5a - unrolled_ast: dfb39354d18a9f1547df93beb4eb440921ab96ca76bb57c3633c076436c69b5a - ssa_ast: 7e4a07ee7f13c91f7bc65830119b729ef83d59949cdc83a43134a2d5ec5d4aa0 - flattened_ast: aae9504daf3baca0987ed7fcdc5a50f405673ef6299a53c308fbd7c4145bd3d9 - inlined_ast: aae9504daf3baca0987ed7fcdc5a50f405673ef6299a53c308fbd7c4145bd3d9 - dce_ast: aae9504daf3baca0987ed7fcdc5a50f405673ef6299a53c308fbd7c4145bd3d9 + - initial_ast: 059ebda143bf51d46ad6eb3e4b879a839275e8aa39e272ddef898e87b1107849 + unrolled_ast: 059ebda143bf51d46ad6eb3e4b879a839275e8aa39e272ddef898e87b1107849 + ssa_ast: 0846c35119fdcb2998d75c42249d9935477b99b1961b2ff45e73a055129b444b + flattened_ast: 0ffdf7959c784fffddd9dc4f83f84f00e39d31ed275b4643ba4c5061bb268213 + inlined_ast: 0ffdf7959c784fffddd9dc4f83f84f00e39d31ed275b4643ba4c5061bb268213 + dce_ast: 0ffdf7959c784fffddd9dc4f83f84f00e39d31ed275b4643ba4c5061bb268213 bytecode: 4ff31765b1127b297af44c6e74441b7c065df074c73f29c50a4284a207c399ad diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index 9f77292399..8168faa202 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 152ffc231e294688968f0697d008d822594e89953eb7a9bc8c50bcfb71639732 - unrolled_ast: 152ffc231e294688968f0697d008d822594e89953eb7a9bc8c50bcfb71639732 - ssa_ast: 7235d8d2e90a5cdcfa67d1496322c854fe549409bf174b8929867b69c203bb38 - flattened_ast: f9b91e5d31e12eb5eeeae64949b7866d36faff60003075b05c8d151b2bbb67b3 - inlined_ast: f9b91e5d31e12eb5eeeae64949b7866d36faff60003075b05c8d151b2bbb67b3 - dce_ast: f9b91e5d31e12eb5eeeae64949b7866d36faff60003075b05c8d151b2bbb67b3 + - initial_ast: eef0fb8d4a18921250c30398e170a5ae1f3020060e927bf48ecc355accfbc0e4 + unrolled_ast: eef0fb8d4a18921250c30398e170a5ae1f3020060e927bf48ecc355accfbc0e4 + ssa_ast: 3d028abea47c03c9094aca0d2cae1eeccb2fe2cd5e4f38d270c3ad7411805ec2 + flattened_ast: 90bf7717b0f7e0414264d1bd510575ae7150087a5bad538fce1fbf0e6008211a + inlined_ast: 90bf7717b0f7e0414264d1bd510575ae7150087a5bad538fce1fbf0e6008211a + dce_ast: 90bf7717b0f7e0414264d1bd510575ae7150087a5bad538fce1fbf0e6008211a bytecode: d9eaaabc3cd4c2a71842849ab67c1774ea5b405de5b9e19c2569f55ee2f5ff0d diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 5f4d8598b7..b40d139957 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 30f2caee73df49db72eb48a65af31001564fccdd828198dcbfae59c78d5ff848 - unrolled_ast: 30f2caee73df49db72eb48a65af31001564fccdd828198dcbfae59c78d5ff848 - ssa_ast: cb7be0fc685093bbb72d9a4a5943dc26c271c0e92233928cbc2dddfbbc01bc87 - flattened_ast: d28f84c6a585562bb3a519c26ca9dafaa619871acb8275073e455fe67bad718a - inlined_ast: d28f84c6a585562bb3a519c26ca9dafaa619871acb8275073e455fe67bad718a - dce_ast: d28f84c6a585562bb3a519c26ca9dafaa619871acb8275073e455fe67bad718a + - initial_ast: 2d66d9d4a020ce748698558c77f8aa486b84535bc129c40c4eeeee2b275574f3 + unrolled_ast: 2d66d9d4a020ce748698558c77f8aa486b84535bc129c40c4eeeee2b275574f3 + ssa_ast: 3760658d691a0971a411a668968b6093748ee1b54513e045529a0d8130f7b5c0 + flattened_ast: 46ce9b4f5d1da59981d372a5b1694478396b438534f9ea60b140d1f2b58b2f98 + inlined_ast: 46ce9b4f5d1da59981d372a5b1694478396b438534f9ea60b140d1f2b58b2f98 + dce_ast: 46ce9b4f5d1da59981d372a5b1694478396b438534f9ea60b140d1f2b58b2f98 bytecode: a4e24f8e568e5e919da45bb4f5af3c2e9cee35eefb118416bff06c89854386f3 diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index f7b2c7d95b..55f73d3247 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b27a8b66b4e15a4b2f01e618cf6ee9c7157d58355fb6e71b5216d8a024862bd9 - unrolled_ast: b27a8b66b4e15a4b2f01e618cf6ee9c7157d58355fb6e71b5216d8a024862bd9 - ssa_ast: fa57bafc9b8fb0881aee16b1b589406127a582428a428e698b79f445a3f038ad - flattened_ast: 05f479f4eb618dcedf26be8248a4231cadd24be6e9a13bc0d99786eefe389551 - inlined_ast: 05f479f4eb618dcedf26be8248a4231cadd24be6e9a13bc0d99786eefe389551 - dce_ast: 05f479f4eb618dcedf26be8248a4231cadd24be6e9a13bc0d99786eefe389551 + - initial_ast: be65d97c3cba218a3041b7a497b801adeb35adb31a3090038394ac6e6001dac7 + unrolled_ast: be65d97c3cba218a3041b7a497b801adeb35adb31a3090038394ac6e6001dac7 + ssa_ast: 3287faaafb09ac5b82067b9598046158a6050baa84250eb6165ccb58d452fbb4 + flattened_ast: 7562bf22d3b07dd4f5ca9f93a802138d2f0adc8b1ea7d1baff18a998f763bc01 + inlined_ast: 7562bf22d3b07dd4f5ca9f93a802138d2f0adc8b1ea7d1baff18a998f763bc01 + dce_ast: 7562bf22d3b07dd4f5ca9f93a802138d2f0adc8b1ea7d1baff18a998f763bc01 bytecode: d4c954232923c21fa21d3bda6a7dcc582ea6bb1b83600053839b5f3186c722cf diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index 8a29f9802b..cd3185e93d 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7958c45fbe6812400273968cf53acf0739802db9c8a63f79d90f19f4f5454c24 - unrolled_ast: 7958c45fbe6812400273968cf53acf0739802db9c8a63f79d90f19f4f5454c24 - ssa_ast: da945779aafd95c703bbc42b09f9f8e7e1bd45330cab756f9fdfb01e04c57e8f - flattened_ast: 9b4d44041a020ee7b18ed19a6142f098b3586eb13ab60cd13d691c68e813774a - inlined_ast: 9b4d44041a020ee7b18ed19a6142f098b3586eb13ab60cd13d691c68e813774a - dce_ast: 9b4d44041a020ee7b18ed19a6142f098b3586eb13ab60cd13d691c68e813774a + - initial_ast: 8073fab238d62ddd714ae1e34525c5f0637fb0ec71f2e417e3e77a2827be8b76 + unrolled_ast: 8073fab238d62ddd714ae1e34525c5f0637fb0ec71f2e417e3e77a2827be8b76 + ssa_ast: 1a2e6f1fd8909c94a4b675286aa7af29adcc0c185f256a618c3ec8144785d3e9 + flattened_ast: 448d5e520349655c3cb0a5c9ad8364e0af737aa1e5f797ab92fc71037ef6cdc5 + inlined_ast: 448d5e520349655c3cb0a5c9ad8364e0af737aa1e5f797ab92fc71037ef6cdc5 + dce_ast: 448d5e520349655c3cb0a5c9ad8364e0af737aa1e5f797ab92fc71037ef6cdc5 bytecode: 5e52e11a750dd49054fbc4df94cca7d6d8a6e3500688ab9dff28a2840f2debce diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 8bcf353dda..96acf7efa6 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d4e3a8f41b615757cdf99d4d609a10755ab118378b65eeee6a53ee9550033236 - unrolled_ast: d4e3a8f41b615757cdf99d4d609a10755ab118378b65eeee6a53ee9550033236 - ssa_ast: 564ec318ffcca962776790d045fc1ea06d4d4aa25aa0b954ec4494f3c9656906 - flattened_ast: c5b81cf64a4773e73543bc69f53eabbc60194f7d8fea08d77585a4d5cc5196ce - inlined_ast: c5b81cf64a4773e73543bc69f53eabbc60194f7d8fea08d77585a4d5cc5196ce - dce_ast: c5b81cf64a4773e73543bc69f53eabbc60194f7d8fea08d77585a4d5cc5196ce + - initial_ast: 8b92babd05e9c86afd8f4b5b8a467bad200bb06a5c9e8c83572fec3b027ff1f4 + unrolled_ast: 8b92babd05e9c86afd8f4b5b8a467bad200bb06a5c9e8c83572fec3b027ff1f4 + ssa_ast: 47c819f2b1e997c5bc7e50d64d29ce30a83b3406c212d68c0d63d47ad0097d1d + flattened_ast: 4323f818aa46e8409e827940c0c878efeb21eef238e7fc76a21f9c4205396ca8 + inlined_ast: 4323f818aa46e8409e827940c0c878efeb21eef238e7fc76a21f9c4205396ca8 + dce_ast: 4323f818aa46e8409e827940c0c878efeb21eef238e7fc76a21f9c4205396ca8 bytecode: 4343e01aa9b8faa22e183d62b592ac2fdeadeddce9c27d195579daf09195035d diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index e7a9493fc8..94c2b0a480 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ae45a3f2626e87be344d510c69b9d726f8c1259e3e0384157e6625a78c76b155 - unrolled_ast: ae45a3f2626e87be344d510c69b9d726f8c1259e3e0384157e6625a78c76b155 - ssa_ast: 4c1d249deb66448ff22d88f0414e1a42af6de03ebdbeab5863a6bd3b436e7d4d - flattened_ast: 66f0435dd502095b13769c76c5cfc5a42141eccf4a0057da9406d31aff5748ea - inlined_ast: 66f0435dd502095b13769c76c5cfc5a42141eccf4a0057da9406d31aff5748ea - dce_ast: 66f0435dd502095b13769c76c5cfc5a42141eccf4a0057da9406d31aff5748ea + - initial_ast: 2ee4d95372a3a4faa7798418dcb82ad00f1845a05526cd452caaae5f0ea4a6df + unrolled_ast: 2ee4d95372a3a4faa7798418dcb82ad00f1845a05526cd452caaae5f0ea4a6df + ssa_ast: 93b54c0f1d94c64ae572d187dd5c8f43ec6f66c2583aab48d4866febc46a271c + flattened_ast: cd3bfaf6301f694cd21dd62c17b180428aeda1c1d17581f9a6977793efa92ca4 + inlined_ast: cd3bfaf6301f694cd21dd62c17b180428aeda1c1d17581f9a6977793efa92ca4 + dce_ast: cd3bfaf6301f694cd21dd62c17b180428aeda1c1d17581f9a6977793efa92ca4 bytecode: 929c4b937a8a738bf0965e24eeedbc03e55d101c8e36cfe1291733c1669280a5 diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index dd7d8107f9..096f937ba5 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 89eefed60b3261e0c6af9479c75837ef3ac7de647c99a5876176ce0f8cbe99c0 - unrolled_ast: 89eefed60b3261e0c6af9479c75837ef3ac7de647c99a5876176ce0f8cbe99c0 - ssa_ast: 9a36e16e7906f75a4b58a9e9a7f07a20de1d4eecc3f15d0b2cc5b51c288bf2ab - flattened_ast: 27e4b193adda62809c5ff6b2752e48d939defff47125e36cdd2520baec6511a3 - inlined_ast: 27e4b193adda62809c5ff6b2752e48d939defff47125e36cdd2520baec6511a3 - dce_ast: 27e4b193adda62809c5ff6b2752e48d939defff47125e36cdd2520baec6511a3 + - initial_ast: f4db6573f2cd8aace39e63e4788911da528d0b7bd9ce03dff1383bda65830ea7 + unrolled_ast: f4db6573f2cd8aace39e63e4788911da528d0b7bd9ce03dff1383bda65830ea7 + ssa_ast: 3183e4e7a6375f1ad9b4a2f93ecd4619689a14c834b76ac39d2a60635869af70 + flattened_ast: 147158780cced46ac4c971215471b82e838ee00e25b9a4a70c7b9d6b822a9c86 + inlined_ast: 147158780cced46ac4c971215471b82e838ee00e25b9a4a70c7b9d6b822a9c86 + dce_ast: 147158780cced46ac4c971215471b82e838ee00e25b9a4a70c7b9d6b822a9c86 bytecode: c70650dc5c5f4290173474dc878e9507448aed41f0f9f91348871c76e1a0d743 diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index 2ca950f4db..d5410999e5 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 476bf1f6462e3e5e1088453848e3e857b53bd258b314b5870c4b412b93eec688 - unrolled_ast: 476bf1f6462e3e5e1088453848e3e857b53bd258b314b5870c4b412b93eec688 - ssa_ast: 6c221da2c29f57844de7b134f6d57a6933e17e2a2a8091581790b99da0a00e73 - flattened_ast: 5cf08f6bb13069b1b18b55a7105144b0ef27aaad3b38404a630afa1c3f03a298 - inlined_ast: 5cf08f6bb13069b1b18b55a7105144b0ef27aaad3b38404a630afa1c3f03a298 - dce_ast: 5cf08f6bb13069b1b18b55a7105144b0ef27aaad3b38404a630afa1c3f03a298 + - initial_ast: ff06d0df0889a19be0656c1b1847498d259fc26ee36d74b9642690ff677f07a3 + unrolled_ast: ff06d0df0889a19be0656c1b1847498d259fc26ee36d74b9642690ff677f07a3 + ssa_ast: 361a74a0e1476222e1c1e1fc5326a88dc26e5a2ab6fd9822307e43f76b891b90 + flattened_ast: c4c839321cba4de0e6c783fe0c76782bd74546dc382b60e5181982fcc8c6fb44 + inlined_ast: c4c839321cba4de0e6c783fe0c76782bd74546dc382b60e5181982fcc8c6fb44 + dce_ast: c4c839321cba4de0e6c783fe0c76782bd74546dc382b60e5181982fcc8c6fb44 bytecode: 974c9ba823baf31ab404b852fea45c594b862ef0cc1f75b0a8c929dcbaa9beda diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index 492e089efa..b6ace1130b 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ebb39c461b8481a0a7c7b09eb36ea4fc304c52831a0b6d0310f68da1d8c5d66c - unrolled_ast: ebb39c461b8481a0a7c7b09eb36ea4fc304c52831a0b6d0310f68da1d8c5d66c - ssa_ast: b46aaa0651dc469592695168a757daf19b768a988303450495df7dc69ee27d50 - flattened_ast: 212ee0c5794ce1c1049572a9c9150128c602d0b309a01c79ca7a855d8b8ff7e3 - inlined_ast: 212ee0c5794ce1c1049572a9c9150128c602d0b309a01c79ca7a855d8b8ff7e3 - dce_ast: 212ee0c5794ce1c1049572a9c9150128c602d0b309a01c79ca7a855d8b8ff7e3 + - initial_ast: e8ab7b9e5dd5b4d9c731fd83db0b1196179ab430121c9b0ee225b0b565549335 + unrolled_ast: e8ab7b9e5dd5b4d9c731fd83db0b1196179ab430121c9b0ee225b0b565549335 + ssa_ast: 5416853a74f82a1418a713a45165696de652f482a65cfa2f09eefa2ab019afde + flattened_ast: 948a697a2124ad14f231cef9e38abfaea33b22444f1161b336c999de4cfd00a9 + inlined_ast: 948a697a2124ad14f231cef9e38abfaea33b22444f1161b336c999de4cfd00a9 + dce_ast: 948a697a2124ad14f231cef9e38abfaea33b22444f1161b336c999de4cfd00a9 bytecode: 99be027f5187d87654776502492f4f1978e42cc05f8f8f95182affbca89c3821 diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index 48c002f437..36e66b3dd6 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: de4148f1e080f5c2a7987e500772567847f13af2ef6f00d48e2771e1e2a9a12f - unrolled_ast: de4148f1e080f5c2a7987e500772567847f13af2ef6f00d48e2771e1e2a9a12f - ssa_ast: e4c2a29baf4c409c4e2ff2b822607911d0ae845cce4795ff2fe3ca076b1a673c - flattened_ast: ad6eab48fea0964db8b32915464de08b246e4dea1fb700b918bd4a3f01ec4a39 - inlined_ast: ad6eab48fea0964db8b32915464de08b246e4dea1fb700b918bd4a3f01ec4a39 - dce_ast: ad6eab48fea0964db8b32915464de08b246e4dea1fb700b918bd4a3f01ec4a39 + - initial_ast: d2637f65f093632b8f07a4c1191b2fa2bf5bbe154862315f41aeb72f839c416b + unrolled_ast: d2637f65f093632b8f07a4c1191b2fa2bf5bbe154862315f41aeb72f839c416b + ssa_ast: c79caf5265255b5e9438df58ebf7d853f83be68870a8af86a4337c44985b5895 + flattened_ast: e5118a55e096ab1990fe2fa0b9a1445ac775c4c062cf6f43f6f97a3495dbb531 + inlined_ast: e5118a55e096ab1990fe2fa0b9a1445ac775c4c062cf6f43f6f97a3495dbb531 + dce_ast: e5118a55e096ab1990fe2fa0b9a1445ac775c4c062cf6f43f6f97a3495dbb531 bytecode: b10e55267602daa0dad06640cb8fd5284e816f1186333a8fc5fa9d35af8e18a1 diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index 7b664407dd..c1f6a94d02 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9267e59358dc48676d40b707def027e00573e6403c5ef914b24a54e1bf3ec2ee - unrolled_ast: 9267e59358dc48676d40b707def027e00573e6403c5ef914b24a54e1bf3ec2ee - ssa_ast: 78a32a71f9ad153c60d2a402eef856c7620cf4e2372c5c6fa137261c648f01f0 - flattened_ast: da651dd5fe10a0c60dc0efd3bb55fcae21a06d19cef628f96562a423623b6023 - inlined_ast: da651dd5fe10a0c60dc0efd3bb55fcae21a06d19cef628f96562a423623b6023 - dce_ast: da651dd5fe10a0c60dc0efd3bb55fcae21a06d19cef628f96562a423623b6023 + - initial_ast: 0b8976ba8d6ecbff895ef5357f797f65d2a0e1efc6eeff4f44a018a6d5c6bd53 + unrolled_ast: 0b8976ba8d6ecbff895ef5357f797f65d2a0e1efc6eeff4f44a018a6d5c6bd53 + ssa_ast: c732896c9f9615acfc19273b74830b3aa73b55d53a89a2a49c22770dbe35a2da + flattened_ast: fbc2b2b76cd3a494b36ab2d1e5697684af26e9ddfe186e37e71c5acf1b2a5b13 + inlined_ast: fbc2b2b76cd3a494b36ab2d1e5697684af26e9ddfe186e37e71c5acf1b2a5b13 + dce_ast: fbc2b2b76cd3a494b36ab2d1e5697684af26e9ddfe186e37e71c5acf1b2a5b13 bytecode: 1eb8ed3e4e4f46596178405f771a75b5eb12a6aa0f81de6ad95a5a0a1fa89923 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index ab7d7416a3..cdc98613ac 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 898ffb157e0dceb1d024cacec2daeab027619787907001179f4da352e1bb2ae0 - unrolled_ast: 898ffb157e0dceb1d024cacec2daeab027619787907001179f4da352e1bb2ae0 - ssa_ast: 05fabac2842b95c4af0ec640c01eb470aa715ebf93975b9f5bfbd66cc35fb4ed - flattened_ast: a2451062ac9d92a4a3c752e8a2660ad2dd474a6e0d3cfaf4f2dcd78a1b93666f - inlined_ast: a2451062ac9d92a4a3c752e8a2660ad2dd474a6e0d3cfaf4f2dcd78a1b93666f - dce_ast: a2451062ac9d92a4a3c752e8a2660ad2dd474a6e0d3cfaf4f2dcd78a1b93666f + - initial_ast: 9c14b53bdee78ce5265503d64efad63a49a5ec7240fd26b8d730540aeddb494b + unrolled_ast: 9c14b53bdee78ce5265503d64efad63a49a5ec7240fd26b8d730540aeddb494b + ssa_ast: dae12ee4dd88c9f759da3cfb7d4795dbf193104632bd3c63a0727345f4146a25 + flattened_ast: ce5b6084b339255b83b4cfa7ddb489c6d2b89b2bf32dcf8c5fde2037983da749 + inlined_ast: ce5b6084b339255b83b4cfa7ddb489c6d2b89b2bf32dcf8c5fde2037983da749 + dce_ast: ce5b6084b339255b83b4cfa7ddb489c6d2b89b2bf32dcf8c5fde2037983da749 bytecode: a1de0e06df0187d60cb76010969bb2ad1450e01f2b30f6de978c35898872e782 diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 2f3256be4b..ae14ba86bd 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 055899b68bde27b066c82bbda48532c483167d84019af12e66b5bf23377c7ee1 - unrolled_ast: 055899b68bde27b066c82bbda48532c483167d84019af12e66b5bf23377c7ee1 - ssa_ast: 06f67c3fef3ba46e27c2c97084eaac022f21b861b3a0facc7c8fc7c243801479 - flattened_ast: 19344ec6e2964c932ceee3361b8c1565688c6de4f382307b2ae06e51a42c2326 - inlined_ast: 19344ec6e2964c932ceee3361b8c1565688c6de4f382307b2ae06e51a42c2326 - dce_ast: 19344ec6e2964c932ceee3361b8c1565688c6de4f382307b2ae06e51a42c2326 + - initial_ast: 2bb45fe2d6bb143828759e68f341ab5d82af937ef12ea05fe57da683dddc94a3 + unrolled_ast: 2bb45fe2d6bb143828759e68f341ab5d82af937ef12ea05fe57da683dddc94a3 + ssa_ast: 5afabbb831bcfa7742bd0e8ba1e8a3c23472f479e22d985a4ce92810b95b8bbb + flattened_ast: d2f8faed86c9c8d7e779a01550c262456d48e94a9cacea9c602989b88e66ea74 + inlined_ast: d2f8faed86c9c8d7e779a01550c262456d48e94a9cacea9c602989b88e66ea74 + dce_ast: d2f8faed86c9c8d7e779a01550c262456d48e94a9cacea9c602989b88e66ea74 bytecode: 0295112d7456742abc2395eeab5b9cb4ee8c80a439b0e861404330014260086e diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 4b8b1f4659..aba2bc565c 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: aacae98aeedbd8eb16311d12874e2245ce8c205fbb67f7c5efdb8b3f71d4c605 - unrolled_ast: aacae98aeedbd8eb16311d12874e2245ce8c205fbb67f7c5efdb8b3f71d4c605 - ssa_ast: 7a9ea30b5ebc12987e117322db994faae028794aacc81ad91c48fdcab3c95b3b - flattened_ast: 4e635e9839a156e43a5b384f8236b4e5bfa0bd4b8628248b33bfd4fcdde51268 - inlined_ast: 4e635e9839a156e43a5b384f8236b4e5bfa0bd4b8628248b33bfd4fcdde51268 - dce_ast: 4b8d95f79487158d586ee7a424d94666a27a3cec5506a20ea834045f13da9e28 + - initial_ast: b5d545b7b4a516e63d68211588a56f80490d21bfdfaa86001f5d44416e1366c0 + unrolled_ast: b5d545b7b4a516e63d68211588a56f80490d21bfdfaa86001f5d44416e1366c0 + ssa_ast: d4d72e8e3a0437309be4f675e5aaaa6ffc353034c4cd04c6377d04ee71deefeb + flattened_ast: 0bc0b6ec68ca50a95f29b252d31273b3eafe997afb14273895ef36d2118eab39 + inlined_ast: 0bc0b6ec68ca50a95f29b252d31273b3eafe997afb14273895ef36d2118eab39 + dce_ast: df939888692cd36fa2095f9960448ca767efe6bb818dc151e982d05035dc4886 bytecode: 2bc4334f42205f2800b37e69fac6cacfdf6cac174d71034aaee478be2d1a2ef0 diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index bfd0e17276..cc818f7215 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 42b263a766182f5c5b89bbf28d293717330db5e9af310b31a867a82ba999cb9d - unrolled_ast: 42b263a766182f5c5b89bbf28d293717330db5e9af310b31a867a82ba999cb9d - ssa_ast: fd11513f1819924530b3c799eda59b6a6cbb4d12480cc51021ebcdf9ec030003 - flattened_ast: 262c943aefe96fe5c26afb9a5b65ff24f7823f3f3f19d0243807f3c0bfb277f8 - inlined_ast: 262c943aefe96fe5c26afb9a5b65ff24f7823f3f3f19d0243807f3c0bfb277f8 - dce_ast: 262c943aefe96fe5c26afb9a5b65ff24f7823f3f3f19d0243807f3c0bfb277f8 + - initial_ast: 734b442dadbe52f412897fa0e465d1eae7f4aeedd5d32b16f832a3615edf36c5 + unrolled_ast: 734b442dadbe52f412897fa0e465d1eae7f4aeedd5d32b16f832a3615edf36c5 + ssa_ast: b92c582f6ee036ebad916b9d02aafa52dc98fc140faaeaf16dd00cf4c21a359e + flattened_ast: 216ab73bf4678e9fad33c6a2632312f59f1e83745950bc51b995816d51005c8e + inlined_ast: 216ab73bf4678e9fad33c6a2632312f59f1e83745950bc51b995816d51005c8e + dce_ast: 216ab73bf4678e9fad33c6a2632312f59f1e83745950bc51b995816d51005c8e bytecode: 10d8b6e5560993921b85cea5a03c9e5af008271e9f540aa2a5e2232302ec215a diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index 25ed5e471a..5b903a06ff 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 726693eaa934c838e10f68447e8e16f0a3c0435b33812da3158350f98bceacfb - unrolled_ast: 726693eaa934c838e10f68447e8e16f0a3c0435b33812da3158350f98bceacfb - ssa_ast: fb0e4e20eacae26bd876f7ac928b89bb8a7c6d6437c70962a33918c3f53f7f76 - flattened_ast: fcaa27ce642795aab29e5f6980dc60312d8d6e44f30e3bcd9027de36bbf457ac - inlined_ast: fcaa27ce642795aab29e5f6980dc60312d8d6e44f30e3bcd9027de36bbf457ac - dce_ast: fcaa27ce642795aab29e5f6980dc60312d8d6e44f30e3bcd9027de36bbf457ac + - initial_ast: 96a8b8c3694ff52717a95bdd2eeaa8a7515376988655e35f0427be751915db63 + unrolled_ast: 96a8b8c3694ff52717a95bdd2eeaa8a7515376988655e35f0427be751915db63 + ssa_ast: fb0bad4f7eae9f79ac4a9a74a55d9bace0ff35bf92aeba7c1aab53ae82427db5 + flattened_ast: 4c07f2429458314822d11478897cb77c6aa76d28c0d7b0589c95892f2df9a1b5 + inlined_ast: 4c07f2429458314822d11478897cb77c6aa76d28c0d7b0589c95892f2df9a1b5 + dce_ast: 4c07f2429458314822d11478897cb77c6aa76d28c0d7b0589c95892f2df9a1b5 bytecode: ed321c5f4fbf49d901732c6bc9c133d64b569cefca9a04dcc1445d98beb4b2f7 diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index 7203f43451..ebaa053028 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: eb8202fe7ed9388cba09c6a6ea1027b371753d99fcafeeadc54b6a19d9badac7 - unrolled_ast: eb8202fe7ed9388cba09c6a6ea1027b371753d99fcafeeadc54b6a19d9badac7 - ssa_ast: f87784d1c1cc0621cbbdadc598f81c3431c0f0b8ad06ce6e2405e367a6887633 - flattened_ast: 5b8da1482b72a6b30cfb8a37b4f6db18653e927cb272334c8cf8ef335b5ba1e4 - inlined_ast: 5b8da1482b72a6b30cfb8a37b4f6db18653e927cb272334c8cf8ef335b5ba1e4 - dce_ast: 5b8da1482b72a6b30cfb8a37b4f6db18653e927cb272334c8cf8ef335b5ba1e4 + - initial_ast: e6fd394be2d2097c947b5f739c7625d043e93b23ea411282b83c887777f8cc4b + unrolled_ast: e6fd394be2d2097c947b5f739c7625d043e93b23ea411282b83c887777f8cc4b + ssa_ast: cc428a6906d254a0a8103598215389988fafcb42100e6061c146d9d475a58fd2 + flattened_ast: 0ca744e7ce883289ea57a8fa313f49b288d433e2f42e074afabd1319409a46a1 + inlined_ast: 0ca744e7ce883289ea57a8fa313f49b288d433e2f42e074afabd1319409a46a1 + dce_ast: 0ca744e7ce883289ea57a8fa313f49b288d433e2f42e074afabd1319409a46a1 bytecode: 554ac6af1c9ec6c453966a171f2b21b09c5c1f402d4fb316680b3bfde5842bac diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index 0084b02dc2..c857cec5f2 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a8db086bebdde5dd6002c4f6811241f5f0956bd4687021f65f070ad8ec555580 - unrolled_ast: a8db086bebdde5dd6002c4f6811241f5f0956bd4687021f65f070ad8ec555580 - ssa_ast: 7c74560fa7350efa82d400ee472693e640d63960224c59c319862ff68007ff07 - flattened_ast: 9d587bde21665a6192bbe0f312930f4d9cf42ff9bd910a5925883829786cd92d - inlined_ast: 9d587bde21665a6192bbe0f312930f4d9cf42ff9bd910a5925883829786cd92d - dce_ast: 9d587bde21665a6192bbe0f312930f4d9cf42ff9bd910a5925883829786cd92d + - initial_ast: 786111e9af5ead9a8eb3dcf47bf64a46d434248be052c2c8ad4825256c21b6c7 + unrolled_ast: 786111e9af5ead9a8eb3dcf47bf64a46d434248be052c2c8ad4825256c21b6c7 + ssa_ast: 03c8d7ae0bdce4a25cd2bc6831295873950f9160f5d0276742dd66a913bff722 + flattened_ast: 8d285e8b181459d02784aa2bda4a2aba52b9e0ad7c603bee7ede4e7a1bfeae20 + inlined_ast: 8d285e8b181459d02784aa2bda4a2aba52b9e0ad7c603bee7ede4e7a1bfeae20 + dce_ast: 8d285e8b181459d02784aa2bda4a2aba52b9e0ad7c603bee7ede4e7a1bfeae20 bytecode: 98564fe7ce0c9a43bb88749f61cbbc6a62377e9df7a5711110138e10165d6dc3 diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 9cf41ffb76..36aee3d4a3 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: edb8879b54b4b966ebc55213523408f0ba847c504f5d0ced9a24be35dacebc53 - unrolled_ast: edb8879b54b4b966ebc55213523408f0ba847c504f5d0ced9a24be35dacebc53 - ssa_ast: 9d15b7bbc9533605bc3097cbb840be66c9d4e2a922e63602883d8d83f3a6335f - flattened_ast: de58053cda2d80760c7501f9e3db0af69e7fa40f543ff7cf1b0e40b0711c6730 - inlined_ast: de58053cda2d80760c7501f9e3db0af69e7fa40f543ff7cf1b0e40b0711c6730 - dce_ast: de58053cda2d80760c7501f9e3db0af69e7fa40f543ff7cf1b0e40b0711c6730 + - initial_ast: 44401a811242c231f18bff27f55c2038280cbe22840e27d15728706a470ad8f1 + unrolled_ast: 44401a811242c231f18bff27f55c2038280cbe22840e27d15728706a470ad8f1 + ssa_ast: 6eb5bce3182e9dcac9177869ccb2c7b332e8743d147e91cbc1021379f3a13a1b + flattened_ast: 7c63431e8dd7fef5b274d10aefbddfefaff66fa2b26cb440106ea4fc57b86037 + inlined_ast: 7c63431e8dd7fef5b274d10aefbddfefaff66fa2b26cb440106ea4fc57b86037 + dce_ast: 7c63431e8dd7fef5b274d10aefbddfefaff66fa2b26cb440106ea4fc57b86037 bytecode: 70b6844282763edb6d61664583d2c30b38259b3e2df0c8fc95d1d72ff0514aa7 diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index 7d50e223fe..964112efb3 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: cdf20cc524198a1be8022f73649282f582a2fd25a12c172f0c7acb42b7243ab9 - unrolled_ast: cdf20cc524198a1be8022f73649282f582a2fd25a12c172f0c7acb42b7243ab9 - ssa_ast: 216e0f94a762cae9c6b27ee944c9ecea0840c3f2ffb27524a6448e378553d735 - flattened_ast: dbe52b1feb534c6fbf1e8287647da8c8f110b73b8afad5e832c531ccbf246b79 - inlined_ast: dbe52b1feb534c6fbf1e8287647da8c8f110b73b8afad5e832c531ccbf246b79 - dce_ast: dbe52b1feb534c6fbf1e8287647da8c8f110b73b8afad5e832c531ccbf246b79 + - initial_ast: 04959c54dbf0e3ba1fe3d58fe56042a4765de6928e50594b048eba0767abb4ca + unrolled_ast: 04959c54dbf0e3ba1fe3d58fe56042a4765de6928e50594b048eba0767abb4ca + ssa_ast: b8c5f2bea32c00cc05f8e1048b71a83e38db15033c4d207bc138907cc6734caf + flattened_ast: 8a6ef009492409bae06a436ef4faa2c626c4f6b10c736edbe43695bc74bbec62 + inlined_ast: 8a6ef009492409bae06a436ef4faa2c626c4f6b10c736edbe43695bc74bbec62 + dce_ast: 8a6ef009492409bae06a436ef4faa2c626c4f6b10c736edbe43695bc74bbec62 bytecode: 85db7ab7875d071536eaf1c6f9e37e5ca41ad4039a62e92fd34efc7ccc432ddb diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 87c1c17484..b0bab35557 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3eb27e3c6fac75daca7e66b076b9b228d5eac3fa5fc5f36c29b42d7519d406e8 - unrolled_ast: 3eb27e3c6fac75daca7e66b076b9b228d5eac3fa5fc5f36c29b42d7519d406e8 - ssa_ast: 3014b27dee241fd4f997a1a7e60b5b0e99b83895203d5f3b2e7bdd8fef2135b5 - flattened_ast: 57fb38e9d1c97d359d49225dc4d8c42d3277f8859bc8ed0ff73d8a8aeb44030e - inlined_ast: 57fb38e9d1c97d359d49225dc4d8c42d3277f8859bc8ed0ff73d8a8aeb44030e - dce_ast: 57fb38e9d1c97d359d49225dc4d8c42d3277f8859bc8ed0ff73d8a8aeb44030e + - initial_ast: 54686779d52aec7471fa8787e2094ed1db29e72f5ef37543644ffcf875084a29 + unrolled_ast: 54686779d52aec7471fa8787e2094ed1db29e72f5ef37543644ffcf875084a29 + ssa_ast: ab04ed48857687f7fc356f5a9f1aad85a1115ce906eda58a24ae45c25f216144 + flattened_ast: e8805880d894285126f52bdd3f77eeab757c7229af96de2a6083bf71a1db0ca4 + inlined_ast: e8805880d894285126f52bdd3f77eeab757c7229af96de2a6083bf71a1db0ca4 + dce_ast: e8805880d894285126f52bdd3f77eeab757c7229af96de2a6083bf71a1db0ca4 bytecode: efc50d9c273e04e053737ce892bd545a43ffd8bf293e1a9b60ac1b39f215a653 diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index 2d07f7b7a0..d1694e2c82 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: bbc88045d49d59b365a47238fcb1eec6ef4f7061857d5670a188eb4494e16779 - unrolled_ast: bbc88045d49d59b365a47238fcb1eec6ef4f7061857d5670a188eb4494e16779 - ssa_ast: 26710675440c832642a4932ddb88a831e011eaf156da346c765d294d06beba17 - flattened_ast: 08c494674c216dc09227a09920e518389f2f92f08317e8713ecf1bb443c516b5 - inlined_ast: 08c494674c216dc09227a09920e518389f2f92f08317e8713ecf1bb443c516b5 - dce_ast: 08c494674c216dc09227a09920e518389f2f92f08317e8713ecf1bb443c516b5 + - initial_ast: 8375db209277a8863cc2a73bd9357b77b882c409441fc86dfa5331ab82b83c7d + unrolled_ast: 8375db209277a8863cc2a73bd9357b77b882c409441fc86dfa5331ab82b83c7d + ssa_ast: b27ce611e8df9f013d40e4bd257ac8e20ddff66ea1a852ebbe3652cdca3a95ce + flattened_ast: cbba74518da22e1cd11ed881e33d749db71f62a1a59344a77fb8690a2bc2647f + inlined_ast: cbba74518da22e1cd11ed881e33d749db71f62a1a59344a77fb8690a2bc2647f + dce_ast: cbba74518da22e1cd11ed881e33d749db71f62a1a59344a77fb8690a2bc2647f bytecode: 79ef5c83b542f0975485816623a41084fca121d7a9cbb2b8701d5f819be7f2cb diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index 3f57a6c775..c813bf1f67 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e6d1d672f10e66d894a4e81d01095845b1a42ed474976d0f6cc07d046852255a - unrolled_ast: e6d1d672f10e66d894a4e81d01095845b1a42ed474976d0f6cc07d046852255a - ssa_ast: 0fb901d5786a0d4ede3e59492c23fa2f8c091d6450d460144bb7678c6496f977 - flattened_ast: 8530a2ad8f971963bb3410a8486e8dc12bb3f785f7d368b6872f37ffd82b94c9 - inlined_ast: 8530a2ad8f971963bb3410a8486e8dc12bb3f785f7d368b6872f37ffd82b94c9 - dce_ast: 8530a2ad8f971963bb3410a8486e8dc12bb3f785f7d368b6872f37ffd82b94c9 + - initial_ast: c2eaa8019cda9239a7eff5c24c022ea196b160f3a5a9d5921a9974b20c9ebf81 + unrolled_ast: c2eaa8019cda9239a7eff5c24c022ea196b160f3a5a9d5921a9974b20c9ebf81 + ssa_ast: f09040dc3b59e97a125754566a5297832929246921a6276d2acb25e5e6439cde + flattened_ast: 811c4c6c5fa3953b0e3685ca62ea0327900f3f04196c40e00f42b03111bc1f45 + inlined_ast: 811c4c6c5fa3953b0e3685ca62ea0327900f3f04196c40e00f42b03111bc1f45 + dce_ast: 811c4c6c5fa3953b0e3685ca62ea0327900f3f04196c40e00f42b03111bc1f45 bytecode: 53f7284ec0cee9952b67d8f531abc9fd7efe250af6a77880444ae5a64bcf5282 diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index a227c7a7d1..3e4945ffe1 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0e446a8352497996dd0e00e496da0dde0b4dd3e249632f1d9511dc66d38b6dbc - unrolled_ast: 0e446a8352497996dd0e00e496da0dde0b4dd3e249632f1d9511dc66d38b6dbc - ssa_ast: e306a4621aa5ab55b39817a5a7b0093a3a5e3827e2be287ceafbf2e177cf71fd - flattened_ast: f8bfce3a9a0f0e698cfe4e2d3fb2aaf0d3db7a8714b6c61d23bd7e11347d286b - inlined_ast: f8bfce3a9a0f0e698cfe4e2d3fb2aaf0d3db7a8714b6c61d23bd7e11347d286b - dce_ast: f8bfce3a9a0f0e698cfe4e2d3fb2aaf0d3db7a8714b6c61d23bd7e11347d286b + - initial_ast: 823e1825c6fc4996f4086389f4c88d113dd7383b54e73a2ecd7e93ea592da2c5 + unrolled_ast: 823e1825c6fc4996f4086389f4c88d113dd7383b54e73a2ecd7e93ea592da2c5 + ssa_ast: db991687dc84317d9435a567398ddd6dcf2828403121cf18fb68b9b98e307f9e + flattened_ast: 48306df2bc5e57854b37a2dab0374eca0ef7a89518e4113a2f970eb47cce73f6 + inlined_ast: 48306df2bc5e57854b37a2dab0374eca0ef7a89518e4113a2f970eb47cce73f6 + dce_ast: 48306df2bc5e57854b37a2dab0374eca0ef7a89518e4113a2f970eb47cce73f6 bytecode: 6817590922be3c3e3daabc7006ee52ccbf790f4c133edfb2b20b6d93946f8534 diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index ef40fd9203..592e2bb7d7 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 00b70e003adb5374530f055a6ca7c671357e977ea45c4635269d15af9f23b082 - unrolled_ast: 00b70e003adb5374530f055a6ca7c671357e977ea45c4635269d15af9f23b082 - ssa_ast: 3ba6081289c76d13e2b68519aafd87d7209b88e0c8f30e061c9e75cc158492b6 - flattened_ast: 84f4f03d70d83253069e010860d94b99b60c0b88565245619fae625cdc7af5f5 - inlined_ast: 84f4f03d70d83253069e010860d94b99b60c0b88565245619fae625cdc7af5f5 - dce_ast: 84f4f03d70d83253069e010860d94b99b60c0b88565245619fae625cdc7af5f5 + - initial_ast: b70d63d6a3b67c2c79d08086bfdfd877ab616b9fc69b5f41367da238b5707117 + unrolled_ast: b70d63d6a3b67c2c79d08086bfdfd877ab616b9fc69b5f41367da238b5707117 + ssa_ast: db30aee1b8ada7f6a817138a29875af7ba7158bf25684730573152a2e77dab43 + flattened_ast: 7a181261ce568d7ef186454ba23523c4e0f9db57c6eee289edf4ef5d0d42cadc + inlined_ast: 7a181261ce568d7ef186454ba23523c4e0f9db57c6eee289edf4ef5d0d42cadc + dce_ast: 7a181261ce568d7ef186454ba23523c4e0f9db57c6eee289edf4ef5d0d42cadc bytecode: 9ccdd321e147afa7ed76ec9b6660c2e195eba447dfc9fb3049e3473461610686 diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index 88d606cb97..d7636a27a1 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 52fa8d014a0c43daf68813cc8e56eba15fe3030d17975b37150211b277a49e03 - unrolled_ast: 52fa8d014a0c43daf68813cc8e56eba15fe3030d17975b37150211b277a49e03 - ssa_ast: 7f220d64e2aa471c9d7102de474b3d905d87a6b06849f72a1d1fc12795a22ed9 - flattened_ast: 3639233d66f692e4de497a1858b14ce428ddfdbde008580886533bce4fcc8537 - inlined_ast: 3639233d66f692e4de497a1858b14ce428ddfdbde008580886533bce4fcc8537 - dce_ast: 3639233d66f692e4de497a1858b14ce428ddfdbde008580886533bce4fcc8537 + - initial_ast: 0ffdbb0e5fc6e4f9f17c4337b442267ff14ab4ae05df43ed5486d4df4fa8d4d7 + unrolled_ast: 0ffdbb0e5fc6e4f9f17c4337b442267ff14ab4ae05df43ed5486d4df4fa8d4d7 + ssa_ast: 08e5fd448371e3bbe88956cc22ac8c212ff0c0d04a2877ba22e2cca1e8aa8f10 + flattened_ast: 50345749ebb95cdf7fdd9cc83d0b1b65edd16847ebfdf0d8953a146d0bc38c37 + inlined_ast: 50345749ebb95cdf7fdd9cc83d0b1b65edd16847ebfdf0d8953a146d0bc38c37 + dce_ast: 50345749ebb95cdf7fdd9cc83d0b1b65edd16847ebfdf0d8953a146d0bc38c37 bytecode: 21c6bdc9bd2cdebb8b2b912e0385d324aac170014c87be6722f084ebbc5ed4db diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index 6790fe6662..32071cee2a 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e0d67d3fc32d97e514f540ca35b1c7b0bf731c94654f9972e8821a6757555669 - unrolled_ast: e0d67d3fc32d97e514f540ca35b1c7b0bf731c94654f9972e8821a6757555669 - ssa_ast: af7995ecf79feeaf80b9ce9504d1ddc977870c0df863ad9f9f46d4b9bb7be2b0 - flattened_ast: a8b292eaeed679819c3e5f621e18459f98f5c1634a55265c849943d901f0c2cf - inlined_ast: a8b292eaeed679819c3e5f621e18459f98f5c1634a55265c849943d901f0c2cf - dce_ast: a8b292eaeed679819c3e5f621e18459f98f5c1634a55265c849943d901f0c2cf + - initial_ast: 35d51af7afe61b5cd56f4a3fd4edcae6be9bfdefa10a369ae6f6cd077bbb920e + unrolled_ast: 35d51af7afe61b5cd56f4a3fd4edcae6be9bfdefa10a369ae6f6cd077bbb920e + ssa_ast: 7095bc48e811c20cd05610c68bc05aa483b3eacd92b4daaed015e89dd19b821a + flattened_ast: 22b1893ad4d85daa0615b983a5bd1dc2f1c4e596ee022580f9e98c5028bce913 + inlined_ast: 22b1893ad4d85daa0615b983a5bd1dc2f1c4e596ee022580f9e98c5028bce913 + dce_ast: 22b1893ad4d85daa0615b983a5bd1dc2f1c4e596ee022580f9e98c5028bce913 bytecode: 3553218fd9386759250fd70bcba85e542a360420e40e2e9552438de21101057f diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index fa2bb00107..67a0853850 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f74685e110f50e6bcea61849cdf19353602ba399d112f91a41eb92045b0e27e2 - unrolled_ast: f74685e110f50e6bcea61849cdf19353602ba399d112f91a41eb92045b0e27e2 - ssa_ast: bdb25a73f7c6f9384cb0f47549feafacb9805bff18fea3df28a785922368affc - flattened_ast: 4144c164a96551f3efb1ea77d88fe218327b72d7c0ff44205f552ff5481a7b51 - inlined_ast: 4144c164a96551f3efb1ea77d88fe218327b72d7c0ff44205f552ff5481a7b51 - dce_ast: 4144c164a96551f3efb1ea77d88fe218327b72d7c0ff44205f552ff5481a7b51 + - initial_ast: f365e9d31c8ad37016ee0b2db97c551e3ae576644b6589932037abbc952e78a3 + unrolled_ast: f365e9d31c8ad37016ee0b2db97c551e3ae576644b6589932037abbc952e78a3 + ssa_ast: 4e1cc1c9ba663f0ad6be6d63d103f99cdf8b54e85b4d820c0598681fd83dd47d + flattened_ast: 1ed83cbefedba94370734a46ec2dcc6bee2b70e13b70aefdef4ef4c99e150f2b + inlined_ast: 1ed83cbefedba94370734a46ec2dcc6bee2b70e13b70aefdef4ef4c99e150f2b + dce_ast: 1ed83cbefedba94370734a46ec2dcc6bee2b70e13b70aefdef4ef4c99e150f2b bytecode: 9e7146c34af0d087b4b34caf78d2f65deb95229eb41978c01b9c9fea88766703 diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index d1f29e2fe8..e38a846fb5 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 91ba0338a209a3f73456415eaa4f69da21afe5ea75743c8933fa39648bbc7959 - unrolled_ast: 91ba0338a209a3f73456415eaa4f69da21afe5ea75743c8933fa39648bbc7959 - ssa_ast: 7d4ee2d5f738ca289e95e3c6ad1e4a427fdeaa72390cc666178479a1e21cd0d7 - flattened_ast: 4bedba50d3ef72467b0e67bafd0eff6d092aa5a3bfd89f1c93430445e41105ca - inlined_ast: 4bedba50d3ef72467b0e67bafd0eff6d092aa5a3bfd89f1c93430445e41105ca - dce_ast: 4bedba50d3ef72467b0e67bafd0eff6d092aa5a3bfd89f1c93430445e41105ca + - initial_ast: 6b9100456b6cf91785aa067b4157268a7c26675e7675c03727502387915d45c5 + unrolled_ast: 6b9100456b6cf91785aa067b4157268a7c26675e7675c03727502387915d45c5 + ssa_ast: ac5e94e4c810aad23ff9fe514b8ca4504e56aa39a3884061ec1e0f42e3639bcd + flattened_ast: cc24b03d31bf1fbbb996f04f5bb673a135c479d445cce83d3cbbaeff84aa9125 + inlined_ast: cc24b03d31bf1fbbb996f04f5bb673a135c479d445cce83d3cbbaeff84aa9125 + dce_ast: cc24b03d31bf1fbbb996f04f5bb673a135c479d445cce83d3cbbaeff84aa9125 bytecode: 4b9c1679d96af528d4ed9b013682aefc9c492f96be84961ea92c1a6929168bb6 diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index bd6990bf87..d2ab328f2b 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: bf9c1f7e2437a7e804b99729b7594170a12aa70ff7bb15981cff020672bfbcee - unrolled_ast: bf9c1f7e2437a7e804b99729b7594170a12aa70ff7bb15981cff020672bfbcee - ssa_ast: 1b4f6d17179e7067161fabf7e589cb3681277723a5d724013b7910dfdcde97cd - flattened_ast: 2d41d96fe6053f86fce4ad540ce4f80eae4da959894c0a7756c9e089da04ad1f - inlined_ast: 2d41d96fe6053f86fce4ad540ce4f80eae4da959894c0a7756c9e089da04ad1f - dce_ast: 2d41d96fe6053f86fce4ad540ce4f80eae4da959894c0a7756c9e089da04ad1f + - initial_ast: e43def134fc3b0a6459bedc903edc9dd7450a23303f4c5107dbbedeae239c017 + unrolled_ast: e43def134fc3b0a6459bedc903edc9dd7450a23303f4c5107dbbedeae239c017 + ssa_ast: e15bab443b52e75f6108fc3fd3f7200def56d199cdb6d5a32b540c34e61d3198 + flattened_ast: 1ad03c91d56d4fb493bc14edb12519be6bc80f2b8d9d72569d35843b42f4a8c7 + inlined_ast: 1ad03c91d56d4fb493bc14edb12519be6bc80f2b8d9d72569d35843b42f4a8c7 + dce_ast: 1ad03c91d56d4fb493bc14edb12519be6bc80f2b8d9d72569d35843b42f4a8c7 bytecode: 81333cc939429f1e8d89bb3f11ff35b75521e765dbc3ca0ee97540dc37952d9a diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index 72a27caa0f..58ce062d20 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9fabc1af69f04e169de479f8dfc743dbec447edabd05c348645d8923bf1c045b - unrolled_ast: 9fabc1af69f04e169de479f8dfc743dbec447edabd05c348645d8923bf1c045b - ssa_ast: 317a456d9810008dbdd71081c1289aeee8502daa9eeadde227d3fbfa7c0aa16c - flattened_ast: 66bdb46f660c9dda02c920ec21309a69fd9878c392c84847cd1dc65657b4f9f0 - inlined_ast: 66bdb46f660c9dda02c920ec21309a69fd9878c392c84847cd1dc65657b4f9f0 - dce_ast: 66bdb46f660c9dda02c920ec21309a69fd9878c392c84847cd1dc65657b4f9f0 + - initial_ast: 5c1b622d9c8728d7f7976592a8c383f6cdc85c60130279be2e2518cf8e066dd9 + unrolled_ast: 5c1b622d9c8728d7f7976592a8c383f6cdc85c60130279be2e2518cf8e066dd9 + ssa_ast: 8639da66f1ec1548da20fe94756be1362966a46f4248a3c10b519de70efb192f + flattened_ast: d6d2c0f41969479eb7705e50e3f0918d14d8dcc3f8819b26b82332c880de5170 + inlined_ast: d6d2c0f41969479eb7705e50e3f0918d14d8dcc3f8819b26b82332c880de5170 + dce_ast: d6d2c0f41969479eb7705e50e3f0918d14d8dcc3f8819b26b82332c880de5170 bytecode: f051e00dada12c993b7f40a69f919aea35c55ee397cde828a1bb7fabadb39f2f diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index f25dae502b..f75a23c584 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 68d39b0b099d534561b4712320da13b72c362028af6aaa9d458178d2c33c22bb - unrolled_ast: 68d39b0b099d534561b4712320da13b72c362028af6aaa9d458178d2c33c22bb - ssa_ast: 55be35ea4e54621696512eee88cc29df09de0829bffd08e0fea286c4dbce02e6 - flattened_ast: a01c517df77f672961c9259104ea38226693b878f43168a6a02f9c6d1623ea24 - inlined_ast: a01c517df77f672961c9259104ea38226693b878f43168a6a02f9c6d1623ea24 - dce_ast: a01c517df77f672961c9259104ea38226693b878f43168a6a02f9c6d1623ea24 + - initial_ast: 40f69af415540e761ad580b7f1dcebcc360709315654fe43584f7979103450ea + unrolled_ast: 40f69af415540e761ad580b7f1dcebcc360709315654fe43584f7979103450ea + ssa_ast: bf7d4c51811464597e3a8d69f17c8f3391cc213162090e0d9acfd8708d70bcc3 + flattened_ast: 5770d1a5bb7dcbf7316b44d470b1e0ecb9fb654a870a1cad64c80bde89a09e8a + inlined_ast: 5770d1a5bb7dcbf7316b44d470b1e0ecb9fb654a870a1cad64c80bde89a09e8a + dce_ast: 5770d1a5bb7dcbf7316b44d470b1e0ecb9fb654a870a1cad64c80bde89a09e8a bytecode: dc0e9e85c05c9e036b868585f9bbc765c2ec6a8b456401fa5c21c58b68082942 diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index c4e8ee559c..a2b1489fc3 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5afc21c0bfe762f9041158429dd7fa61f322a3b46d7afa3828070d8ba7c7f1da - unrolled_ast: 5afc21c0bfe762f9041158429dd7fa61f322a3b46d7afa3828070d8ba7c7f1da - ssa_ast: e36a759a21327056409751ed81043379ee5fb9d029127a503a5bbe82c53a5f5f - flattened_ast: 2ac04b1cc91299008820aa8d988fce11f4e1f6fceced38664da0021b1f388cbb - inlined_ast: 2ac04b1cc91299008820aa8d988fce11f4e1f6fceced38664da0021b1f388cbb - dce_ast: 2ac04b1cc91299008820aa8d988fce11f4e1f6fceced38664da0021b1f388cbb + - initial_ast: 0459d603f98df70d12f75f799bfffd51ccb5124ad49ab6509e4ed16b26ad6845 + unrolled_ast: 0459d603f98df70d12f75f799bfffd51ccb5124ad49ab6509e4ed16b26ad6845 + ssa_ast: 733e71c1b4f7676b71d9893818a67e875043cfa0b2547093f0af38fbad856e30 + flattened_ast: e9c93b05798e8cd688c0031a5b3b7f6289c152addf84af24f8213e29488c6b1c + inlined_ast: e9c93b05798e8cd688c0031a5b3b7f6289c152addf84af24f8213e29488c6b1c + dce_ast: e9c93b05798e8cd688c0031a5b3b7f6289c152addf84af24f8213e29488c6b1c bytecode: 50d4e7ba4e53f4cbb291e2fb213c7d7d6e24261197c0a62dcaa6df341ada5804 diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 062a0a7e9a..181b1ebf21 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c58f15d132479a0c98c60fbb82821c5ade35a14a14ca1c81a58d07bfa308375a - unrolled_ast: c58f15d132479a0c98c60fbb82821c5ade35a14a14ca1c81a58d07bfa308375a - ssa_ast: 7c495339daae561935481108ccf551280fc9e627469e316ad80a0c315515a4ab - flattened_ast: 94c9ddab261cde133ba5e8df9aeb58629169ad00d6ce724ff14e8eb04f12f8c7 - inlined_ast: 94c9ddab261cde133ba5e8df9aeb58629169ad00d6ce724ff14e8eb04f12f8c7 - dce_ast: 94c9ddab261cde133ba5e8df9aeb58629169ad00d6ce724ff14e8eb04f12f8c7 + - initial_ast: 4ec4fea4fc319f11b460ae955cc521c76d4cb82c7c2223c04a16edce5698d629 + unrolled_ast: 4ec4fea4fc319f11b460ae955cc521c76d4cb82c7c2223c04a16edce5698d629 + ssa_ast: 22b7f715ea337e8cca2bff8960a959d55fc621f5bff3c216bbe86055923f0e1c + flattened_ast: 0510a8a65225bfe0efdf9d06d4a8db3c360946d1c452137ca0cdaa98ea6cebd4 + inlined_ast: 0510a8a65225bfe0efdf9d06d4a8db3c360946d1c452137ca0cdaa98ea6cebd4 + dce_ast: 0510a8a65225bfe0efdf9d06d4a8db3c360946d1c452137ca0cdaa98ea6cebd4 bytecode: f2757e9d4dd2a331b078e23183869798b8ce892aa472bf12d26d1e2a970c57d6 diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 67708f0e29..6e21147f49 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a12e99d7175573ef19f84059c174591c6e882baba9ae5760b604f8bae52dbebf - unrolled_ast: a12e99d7175573ef19f84059c174591c6e882baba9ae5760b604f8bae52dbebf - ssa_ast: 2552dfa3ff781f9a9965f3afb5f0dfd0bf88b083bca60dda09ad6a7224b09c68 - flattened_ast: d4ff9d1e000b4b2f7cfde2d08c954be8b3c4abb6d5f83c4da65626a45abc2eea - inlined_ast: d4ff9d1e000b4b2f7cfde2d08c954be8b3c4abb6d5f83c4da65626a45abc2eea - dce_ast: d4ff9d1e000b4b2f7cfde2d08c954be8b3c4abb6d5f83c4da65626a45abc2eea + - initial_ast: 38d043709baafdab6fc49d0af268b462742b140b857b3287d28d211c0a728e50 + unrolled_ast: 38d043709baafdab6fc49d0af268b462742b140b857b3287d28d211c0a728e50 + ssa_ast: 1aa07410b10b05b0dc4a9185f3648fdcd4e44c644bfc8725bf58cbadfc3935c2 + flattened_ast: 823eccaf795e4a797b3340bd127f86242638c8a86d4a64f540d40431e2ae4e3f + inlined_ast: 823eccaf795e4a797b3340bd127f86242638c8a86d4a64f540d40431e2ae4e3f + dce_ast: 823eccaf795e4a797b3340bd127f86242638c8a86d4a64f540d40431e2ae4e3f bytecode: 6013dacf54aae0c3cdad036a45deb1e4594ab929d29b46420a53a46cfaab4e29 diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 1b52057fde..df47f95efa 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 026b12498978ddb8262387bf5c073bc6affc3300ece14709f83ebb818a1005e9 - unrolled_ast: 026b12498978ddb8262387bf5c073bc6affc3300ece14709f83ebb818a1005e9 - ssa_ast: 1cb9cb1696bf34f0376cb909b3f0d5681ca97cf4ea027f88389b570290b078b4 - flattened_ast: b6368914885ea0d858f17989dfca1f89167e5d9482b7748dc70eb39823cf2905 - inlined_ast: b6368914885ea0d858f17989dfca1f89167e5d9482b7748dc70eb39823cf2905 - dce_ast: b6368914885ea0d858f17989dfca1f89167e5d9482b7748dc70eb39823cf2905 + - initial_ast: 3885a4400c8ff7da8b32dd340b2259d24f74c49d98d0546243312bf7074665f2 + unrolled_ast: 3885a4400c8ff7da8b32dd340b2259d24f74c49d98d0546243312bf7074665f2 + ssa_ast: 3d4c6b361d22e4131fa6b5f28a98715a6ac6c70eb66b3f7614cfddb6f8f750cf + flattened_ast: 3157e70cf5fab291677b4174cbb91f6c8187f4723af1264f2c7e12b2382e1397 + inlined_ast: 3157e70cf5fab291677b4174cbb91f6c8187f4723af1264f2c7e12b2382e1397 + dce_ast: 3157e70cf5fab291677b4174cbb91f6c8187f4723af1264f2c7e12b2382e1397 bytecode: 7a28f10ed9376765665eacbc7739f0e2241d640a6c4a82abf7036b8bafe73a0f diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index b8d860ebc5..3400d6aca4 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 705b401aec213cbf435097c02683755c1022f365a36701dffa0af7cbc605feca - unrolled_ast: 705b401aec213cbf435097c02683755c1022f365a36701dffa0af7cbc605feca - ssa_ast: f1a3ce4038d3e104bfe80df50bb2dde68d7ecb37393a02eda7e635e1c1f327df - flattened_ast: 0530e5d3e08358efc24b198a1ab74e9874864c918d2cdf739e776879f9737788 - inlined_ast: 0530e5d3e08358efc24b198a1ab74e9874864c918d2cdf739e776879f9737788 - dce_ast: 0530e5d3e08358efc24b198a1ab74e9874864c918d2cdf739e776879f9737788 + - initial_ast: 1d86881bdd7213117438ad8f0819560ecc3fa19da00d7acb15c94c24c9a18d1e + unrolled_ast: 1d86881bdd7213117438ad8f0819560ecc3fa19da00d7acb15c94c24c9a18d1e + ssa_ast: f6f149a91bcd989ac8a4a8eb8f2612c18365bb8ac2661c1e9e9764e626a89966 + flattened_ast: a1f57c64d5486cdc249d8ccefe13c7bf5dacf34a0f98885987f909f89c918858 + inlined_ast: a1f57c64d5486cdc249d8ccefe13c7bf5dacf34a0f98885987f909f89c918858 + dce_ast: a1f57c64d5486cdc249d8ccefe13c7bf5dacf34a0f98885987f909f89c918858 bytecode: a721cf409ef6f324202d71cfa39ab808cf28bb7fb581e62b94b699e973dba18f diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index bbc0c7e301..b430881c8e 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b5e18f9c7607639804dbe02ca8606597cff5e5e9e5f0521622822de4f5980bca - unrolled_ast: b5e18f9c7607639804dbe02ca8606597cff5e5e9e5f0521622822de4f5980bca - ssa_ast: 6d228cfe61adcdce9b215bbb3d10174d501f7d11a834cd03790c5680a3610347 - flattened_ast: 1efdcd5dd9083f12e7b87818640460713677b357aea5ceebde3e61d6d27d213c - inlined_ast: 1efdcd5dd9083f12e7b87818640460713677b357aea5ceebde3e61d6d27d213c - dce_ast: 1efdcd5dd9083f12e7b87818640460713677b357aea5ceebde3e61d6d27d213c + - initial_ast: 6a7ef3f908d79c55ff960e21cba3e530969855caf2536c2010abba6775c67bbc + unrolled_ast: 6a7ef3f908d79c55ff960e21cba3e530969855caf2536c2010abba6775c67bbc + ssa_ast: 4c71785b4033bc5660c9d145548b342f7b8b4bb05e8592a72ab78744190be122 + flattened_ast: 1a3e5da94d0f3ace947a320f21bf572ab1ad8012563e9a66fbaf6c813c324acc + inlined_ast: 1a3e5da94d0f3ace947a320f21bf572ab1ad8012563e9a66fbaf6c813c324acc + dce_ast: 1a3e5da94d0f3ace947a320f21bf572ab1ad8012563e9a66fbaf6c813c324acc bytecode: d141f4ef3f785d0a868f80fa465e961f271c66301506cc5269701f32f46e20d1 diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index 2951678dfe..80dae089a3 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0289fe5a1b3b9f38a5aa3e3b10f84ce5b12e74ee936d0ff3ba1bcc5e077eaf34 - unrolled_ast: 0289fe5a1b3b9f38a5aa3e3b10f84ce5b12e74ee936d0ff3ba1bcc5e077eaf34 - ssa_ast: 7a6cfed3fa7c34234ce344e1c0acd7122dc67ed59602776fd9c5f51219c6e9ef - flattened_ast: fade4ff2c114cdcdfd31ebfa3879fcf2efc43f1cf4cc069647e3684b04cc9e2f - inlined_ast: fade4ff2c114cdcdfd31ebfa3879fcf2efc43f1cf4cc069647e3684b04cc9e2f - dce_ast: fade4ff2c114cdcdfd31ebfa3879fcf2efc43f1cf4cc069647e3684b04cc9e2f + - initial_ast: 71e7085df0b11f567ea6204bdcf26fad6c759373949c4ad1fe54949d0775907c + unrolled_ast: 71e7085df0b11f567ea6204bdcf26fad6c759373949c4ad1fe54949d0775907c + ssa_ast: 8ea0575d78f79b7f25c2ec1fa3991b1df2ec9a837c36b18327cc28a3deafcc8e + flattened_ast: 99a13bce58d1e1e5f6ab2898a442b63cbe76f14b767afa357215f13a28dafe33 + inlined_ast: 99a13bce58d1e1e5f6ab2898a442b63cbe76f14b767afa357215f13a28dafe33 + dce_ast: 99a13bce58d1e1e5f6ab2898a442b63cbe76f14b767afa357215f13a28dafe33 bytecode: 03f172c9475df39921cf7bb70ce0544793ca7d90e3d57397cc5e425ef94c32b3 diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index 6b11ffc8dc..0c74b3f336 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1cba72665d1102f804f3fccb2ebf73f76ed10f974675c216bb1f6bf20fff96c4 - unrolled_ast: 1cba72665d1102f804f3fccb2ebf73f76ed10f974675c216bb1f6bf20fff96c4 - ssa_ast: b7d9af462493e5cc8637349fa61366916adf499048543450c162727bf12273dd - flattened_ast: 29ed8496d287dcc3ef9cc9cb6d35e45dc6b986204704fc73db39b78380fe7d50 - inlined_ast: 29ed8496d287dcc3ef9cc9cb6d35e45dc6b986204704fc73db39b78380fe7d50 - dce_ast: f8c8c8020a2b983010733d2ae27d2cec2cb379d74a92af8727cd5b75c48378b0 + - initial_ast: 60f44279e5cbe65f6fe0f05b83dad371b65863eb7f175b495535abf820cfe587 + unrolled_ast: 60f44279e5cbe65f6fe0f05b83dad371b65863eb7f175b495535abf820cfe587 + ssa_ast: e59cdbb726cb34d4765af299a3b6e51e14f93b16032e437a8c5f516eb66c6361 + flattened_ast: e51aa122bd6b2eae3b300972952cde859d3bcdd720c8db5d1d496ae1bea99ea1 + inlined_ast: e51aa122bd6b2eae3b300972952cde859d3bcdd720c8db5d1d496ae1bea99ea1 + dce_ast: 3a0427fceb512fcd4d113149514140ea60114e1de8d994e631d26ee33bd857c8 bytecode: 6d23c0ce42f90915f6fe75dc44c729d183aef74ea294f3c5c966a069b1a33fdf diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index 81b4dd664d..358fd0405e 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7aef53f4e481743ab5adc8b4e9093f5edca3527a0e155f1c0e9d83285c6e961a - unrolled_ast: 7aef53f4e481743ab5adc8b4e9093f5edca3527a0e155f1c0e9d83285c6e961a - ssa_ast: 90998a5edc6e182a910cf7dc453b95cadc90152ec91897e7f6ae1d52942831e8 - flattened_ast: 4116ca47a89a051b8ba12558a21aa766ea7b8b1931dc73657571138def2296a5 - inlined_ast: 4116ca47a89a051b8ba12558a21aa766ea7b8b1931dc73657571138def2296a5 - dce_ast: 4116ca47a89a051b8ba12558a21aa766ea7b8b1931dc73657571138def2296a5 + - initial_ast: 344daeb0eb4a34379d3805954c8ea2e9b2303fab62261e7c890be60345450e18 + unrolled_ast: 344daeb0eb4a34379d3805954c8ea2e9b2303fab62261e7c890be60345450e18 + ssa_ast: b390e1a8ac86bffd07114c2c7117a66331119cc996639e59561b277c37929abe + flattened_ast: bb5128ea331e654f3a25b37c9141ed3c0832f5c559240e11e5cb1154608912d7 + inlined_ast: bb5128ea331e654f3a25b37c9141ed3c0832f5c559240e11e5cb1154608912d7 + dce_ast: bb5128ea331e654f3a25b37c9141ed3c0832f5c559240e11e5cb1154608912d7 bytecode: 2c82186f9411e3971fe3d8d2107a84618be275c026cfb3e68c9c2b536ee7e899 diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index 24adff72c9..eb263c90b6 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: adada3267028fc128c687cc2b2e560e7454a3b36045270653ad122f5462d5bf5 - unrolled_ast: adada3267028fc128c687cc2b2e560e7454a3b36045270653ad122f5462d5bf5 - ssa_ast: 218e881f156e12dff1f44954a4ce5c60a6608e8f491cf6c70d034bbe00d8b8fc - flattened_ast: 12d2c53c7209c7fae4d076e2610f533fc53956ad97cd47b7374c5500714d9289 - inlined_ast: 12d2c53c7209c7fae4d076e2610f533fc53956ad97cd47b7374c5500714d9289 - dce_ast: 12d2c53c7209c7fae4d076e2610f533fc53956ad97cd47b7374c5500714d9289 + - initial_ast: 672671c8d78ced8101661f43dacf4abb50b0b824bc2c095ec467d21c9bc7c430 + unrolled_ast: 672671c8d78ced8101661f43dacf4abb50b0b824bc2c095ec467d21c9bc7c430 + ssa_ast: f26370af1fc039190f1b6c512ffa838bc9054b0e159d7b58adee15cf2ac8e0b0 + flattened_ast: 9cb9df11b9387c8c88fd503285642f1176e15965e6007dfc441702bb07ba23f4 + inlined_ast: 9cb9df11b9387c8c88fd503285642f1176e15965e6007dfc441702bb07ba23f4 + dce_ast: 9cb9df11b9387c8c88fd503285642f1176e15965e6007dfc441702bb07ba23f4 bytecode: 31c2b5a31097f0c58d879ce7394e2e2f6fa929cfab0ee51d51f437fa2999badf diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index 52be9c944a..9ab0750c8d 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: bb698ebc9399086deae4565b142ffbc4a5e8a20df57f9d0d25119ce42202878e - unrolled_ast: bb698ebc9399086deae4565b142ffbc4a5e8a20df57f9d0d25119ce42202878e - ssa_ast: 22dadf186acd2ea600e61d3a9850962d08b3fc79539a9bca4b582d7339963687 - flattened_ast: a88b64d942969dc33fb248b6d12792c5a0259b3c7348c8941a394e445be14bbf - inlined_ast: a88b64d942969dc33fb248b6d12792c5a0259b3c7348c8941a394e445be14bbf - dce_ast: a88b64d942969dc33fb248b6d12792c5a0259b3c7348c8941a394e445be14bbf + - initial_ast: 02f6e2a0586515147d38b63fdeeef293d9d44c3400b59e6837ab31a20de6edb8 + unrolled_ast: 02f6e2a0586515147d38b63fdeeef293d9d44c3400b59e6837ab31a20de6edb8 + ssa_ast: 58eabdccf45da6836580f381a2efba8a2adf5ce2ba0a4ec64cd39509b965ec77 + flattened_ast: 7e1b4b71ff01c168e19b62e1c7a44f497531597bda2f8c892620ef0aadde83d9 + inlined_ast: 7e1b4b71ff01c168e19b62e1c7a44f497531597bda2f8c892620ef0aadde83d9 + dce_ast: 7e1b4b71ff01c168e19b62e1c7a44f497531597bda2f8c892620ef0aadde83d9 bytecode: cf10196216f488130740d21789f69b9b4d107803b54e8bec5fbad6a69375507c diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index e2579b72e6..d68ee149bc 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e09afcc2d7b8c6fc2abf5558907e978d4c62c99001f0737b96358d51f591ca15 - unrolled_ast: e09afcc2d7b8c6fc2abf5558907e978d4c62c99001f0737b96358d51f591ca15 - ssa_ast: 6b7a2b99bd28a3679d4189fe01c25e550b38fa3739df637796cdf06770f8c6fc - flattened_ast: 3ee1499ae33507b75bbba4656f03e8ee6b5a0ba1e0da6028bbd331370c531b3b - inlined_ast: 3ee1499ae33507b75bbba4656f03e8ee6b5a0ba1e0da6028bbd331370c531b3b - dce_ast: 3ee1499ae33507b75bbba4656f03e8ee6b5a0ba1e0da6028bbd331370c531b3b + - initial_ast: 7494b1fd3617b24d7bf9d8a51749e92fbb3fd870393ad7bee2c80d8eab5013c5 + unrolled_ast: 7494b1fd3617b24d7bf9d8a51749e92fbb3fd870393ad7bee2c80d8eab5013c5 + ssa_ast: a8f92c4c1b49d1ccb35170517cd68e02593bfa6789cc5aa9d43999e51789c8bb + flattened_ast: 50aeea67b33df29c8a91cec342e15b4750aa89afe091f3ae1be816cec3eac796 + inlined_ast: 50aeea67b33df29c8a91cec342e15b4750aa89afe091f3ae1be816cec3eac796 + dce_ast: 50aeea67b33df29c8a91cec342e15b4750aa89afe091f3ae1be816cec3eac796 bytecode: 82393c15429b8c3bc3354f69a541a23f74533e0d2a2f4669ad2f167bd6539a4d diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index 3fdff954c0..a1fe215dde 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d1aa72c27f9fbfb313a3c5c9e1a5ca9f0232527c7ec8eb0b0885529983a0a48e - unrolled_ast: d1aa72c27f9fbfb313a3c5c9e1a5ca9f0232527c7ec8eb0b0885529983a0a48e - ssa_ast: 7f68a3617259688f4d454727b65849540ac22915bb851870240d2d364e6558cc - flattened_ast: d162a783e882c4c65d537a983a2a8cec6b77c2775658ac3c480a3f86a74dc6e1 - inlined_ast: d162a783e882c4c65d537a983a2a8cec6b77c2775658ac3c480a3f86a74dc6e1 - dce_ast: d162a783e882c4c65d537a983a2a8cec6b77c2775658ac3c480a3f86a74dc6e1 + - initial_ast: 9794b599c10daf42506d9282938900ab25f1be45985c4a679c339510368620f7 + unrolled_ast: 9794b599c10daf42506d9282938900ab25f1be45985c4a679c339510368620f7 + ssa_ast: 303597e403830aeaecddf1e204cfd6fbfcec884a6cb48860a4bb3f7268844f11 + flattened_ast: 2b30869fdbdd719520d882df7e5bee91995167f2e23104596b6b761d598ef4f3 + inlined_ast: 2b30869fdbdd719520d882df7e5bee91995167f2e23104596b6b761d598ef4f3 + dce_ast: 2b30869fdbdd719520d882df7e5bee91995167f2e23104596b6b761d598ef4f3 bytecode: 34d3c84f73921c5e8ea3c9b71af860c90983a11174010569f7986bc7b4690856 diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index f0ce30e7a8..d5467d8628 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 300cc30a566efb459fa9924ca9b6c60e004984f366d5414bb427c306adc979da - unrolled_ast: 300cc30a566efb459fa9924ca9b6c60e004984f366d5414bb427c306adc979da - ssa_ast: f66f26db69c2d458bf18de2d7d1bc348d86e2b9de0b4821a8d277fa51dc0939e - flattened_ast: 27d6020de1092d84b87e5549d7505d249cf51fc993b953f2737e0d99dc78370d - inlined_ast: 27d6020de1092d84b87e5549d7505d249cf51fc993b953f2737e0d99dc78370d - dce_ast: 27d6020de1092d84b87e5549d7505d249cf51fc993b953f2737e0d99dc78370d + - initial_ast: 8ed0cc30caecd913e543cecf3e7c11ab957f0d580e464cd29ccf87903849e8b4 + unrolled_ast: 8ed0cc30caecd913e543cecf3e7c11ab957f0d580e464cd29ccf87903849e8b4 + ssa_ast: 9f4004e06cbf6a8f56da2276f8e6e83d3389e3fa11a9ac2f7d41f202c284a96a + flattened_ast: ca007ecfc4045f100cf54bc798683fede8bc8aa7febe2b83124b42fc755ba5c3 + inlined_ast: ca007ecfc4045f100cf54bc798683fede8bc8aa7febe2b83124b42fc755ba5c3 + dce_ast: ca007ecfc4045f100cf54bc798683fede8bc8aa7febe2b83124b42fc755ba5c3 bytecode: 240e913761c1b243df3d955ab56be82cf360f865a1458d1337c5bba09b1c9a0c diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index 0f7f8f6444..690aa01b80 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3194d0196b2fc111446e2f3c7415ed223eb0eddb7b961ce5df07fd1d27bb122e - unrolled_ast: 3194d0196b2fc111446e2f3c7415ed223eb0eddb7b961ce5df07fd1d27bb122e - ssa_ast: 7da779c6f1aea6c737205041396578d65fef400e0b33dbad95f001529321ecaf - flattened_ast: 55fabf15005eb7b482822787d93db714b9cdc9712084f65ee938466698f9cdff - inlined_ast: 55fabf15005eb7b482822787d93db714b9cdc9712084f65ee938466698f9cdff - dce_ast: 55fabf15005eb7b482822787d93db714b9cdc9712084f65ee938466698f9cdff + - initial_ast: 2b5d087e94eaafee7184004070601ae61596e11a675cafe1c009ba63eb69c939 + unrolled_ast: 2b5d087e94eaafee7184004070601ae61596e11a675cafe1c009ba63eb69c939 + ssa_ast: 25e102a9cb705d8de33733f819ba5035508827f2ad2bc1bc5904f53de748d6c2 + flattened_ast: 8b2b4123218b6640a9c9197f66675ff3eb1f31923da4718f682e37f4c25b9d85 + inlined_ast: 8b2b4123218b6640a9c9197f66675ff3eb1f31923da4718f682e37f4c25b9d85 + dce_ast: 8b2b4123218b6640a9c9197f66675ff3eb1f31923da4718f682e37f4c25b9d85 bytecode: 241a5a50c9244c5888a54aeb68d751fcf5f81cc3da3ab19cff1c2b258e03fc2c diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index 98714c76d2..a3712a22f8 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fbfea23087af1d74dc2143b60a24204b783f03f3d9be97bda5c2d814d2f443ae - unrolled_ast: fbfea23087af1d74dc2143b60a24204b783f03f3d9be97bda5c2d814d2f443ae - ssa_ast: f5a5e20e0ba2caea5669f492d71d2941147d2c6e67a261f8e09891d77b60d149 - flattened_ast: 5315c98493a9db25c87af42f4e7bc79d36c4fb709c2830995642151f83944621 - inlined_ast: 5315c98493a9db25c87af42f4e7bc79d36c4fb709c2830995642151f83944621 - dce_ast: 5315c98493a9db25c87af42f4e7bc79d36c4fb709c2830995642151f83944621 + - initial_ast: 74b3aa2f8a2425c9982c5a6f5063e3a6adde7aba559a04f13824bbf7fe8d3a8b + unrolled_ast: 74b3aa2f8a2425c9982c5a6f5063e3a6adde7aba559a04f13824bbf7fe8d3a8b + ssa_ast: d361c9d83da7dffed1803ae2442729cde3f97766f20df0291e065e73c5c80e92 + flattened_ast: df93f1cb960fb47c9fab28f6bb04f419444c08ebc83d2a35e1fb721ed3a5f5a5 + inlined_ast: df93f1cb960fb47c9fab28f6bb04f419444c08ebc83d2a35e1fb721ed3a5f5a5 + dce_ast: df93f1cb960fb47c9fab28f6bb04f419444c08ebc83d2a35e1fb721ed3a5f5a5 bytecode: a44911d526a8e5d7da1619dce04ae1557a436208025369cff33931eb20ad3ab2 diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index 9572a18d6a..c58a82b19a 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6122b0d3cb58e878a388cc226cf9d4bc040df3e5ed021102004d6ec570895602 - unrolled_ast: 6122b0d3cb58e878a388cc226cf9d4bc040df3e5ed021102004d6ec570895602 - ssa_ast: c9a3c5e6975156d3ba280e19dbd5778072ece399a8342e87bcdabb67cdc49029 - flattened_ast: 977b9983869b7e29880b37cd984037184b5413716a569bcbef33a95419acb609 - inlined_ast: 977b9983869b7e29880b37cd984037184b5413716a569bcbef33a95419acb609 - dce_ast: 977b9983869b7e29880b37cd984037184b5413716a569bcbef33a95419acb609 + - initial_ast: 16dded1e5d70999d233a0e2dd2f91f7a17300b1ed477dad8336474d8c39222e8 + unrolled_ast: 16dded1e5d70999d233a0e2dd2f91f7a17300b1ed477dad8336474d8c39222e8 + ssa_ast: 105699de1f31a9b562ae560f5bccfcfa9951c2d61952c9b980a8f1d36e64b210 + flattened_ast: f4832c57bc391cb3ef6bf0e759ae9532e93b691420f604553eedfc8384f99c59 + inlined_ast: f4832c57bc391cb3ef6bf0e759ae9532e93b691420f604553eedfc8384f99c59 + dce_ast: f4832c57bc391cb3ef6bf0e759ae9532e93b691420f604553eedfc8384f99c59 bytecode: 9ff614ee709abb66471b95ed2f6358108616c96a2530d7e4fe7d8df047c5f6e7 diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index 75fda3a4d3..e9824bd852 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 27469b3351184e1494acff8a843225fb251ec9c476d2470735cb6f836a190b91 - unrolled_ast: 27469b3351184e1494acff8a843225fb251ec9c476d2470735cb6f836a190b91 - ssa_ast: 54efe625cac8b167377675109322714c2f12898ab5a9c5395c10dd85c19f8f1d - flattened_ast: e64be501e0e423226e484a90f7bfc99c4492a83fe98a991cc57a1af86573ebb3 - inlined_ast: e64be501e0e423226e484a90f7bfc99c4492a83fe98a991cc57a1af86573ebb3 - dce_ast: e64be501e0e423226e484a90f7bfc99c4492a83fe98a991cc57a1af86573ebb3 + - initial_ast: 633ca73335f3523b66eeec1825cbfba3f09ef480eec18b54424d454384581afc + unrolled_ast: 633ca73335f3523b66eeec1825cbfba3f09ef480eec18b54424d454384581afc + ssa_ast: 02357a633280d828c41deab2df52627623184563f0993f929246b91a2b738830 + flattened_ast: d4ee6bfe713d6ba3e78d650e7ebec89e55b3a5ccf066bc8a5441cf2c8cd946c7 + inlined_ast: d4ee6bfe713d6ba3e78d650e7ebec89e55b3a5ccf066bc8a5441cf2c8cd946c7 + dce_ast: d4ee6bfe713d6ba3e78d650e7ebec89e55b3a5ccf066bc8a5441cf2c8cd946c7 bytecode: f86af89362dd5cc93bb266eac9d4f1c5413a5204f4390af61c3ece1f23f22d70 diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index 7f1e9f35c2..e9746ef405 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ecef776d197016bb917ee83c41a6c000a019dd890c4ad9ec4de4628d55401aba - unrolled_ast: ecef776d197016bb917ee83c41a6c000a019dd890c4ad9ec4de4628d55401aba - ssa_ast: 0431e603923761f3642bea4c7674eff20ccc8a745c38d9332ee661b0968c19cc - flattened_ast: 972f88c94c85c6c2741d5582dcf3fb10178db56e65f71caa85b5297af924f86e - inlined_ast: 972f88c94c85c6c2741d5582dcf3fb10178db56e65f71caa85b5297af924f86e - dce_ast: 972f88c94c85c6c2741d5582dcf3fb10178db56e65f71caa85b5297af924f86e + - initial_ast: 00e1fa3828875ceab89f69c78d2fa1789742b0efd9cd5bbf227f683a6e943498 + unrolled_ast: 00e1fa3828875ceab89f69c78d2fa1789742b0efd9cd5bbf227f683a6e943498 + ssa_ast: c13f83812cc6c077fb97b78b52e5c0627176aafa71f26cea1ee155a25fe47963 + flattened_ast: b6d5f99ebf3cab08d99dcb6767e13608e1323836a99470688336688bb6d6305e + inlined_ast: b6d5f99ebf3cab08d99dcb6767e13608e1323836a99470688336688bb6d6305e + dce_ast: b6d5f99ebf3cab08d99dcb6767e13608e1323836a99470688336688bb6d6305e bytecode: d20b54c7ca0603e085ee81b6cbead9e5f0287ea391d80d47ed25df97a51daa78 diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 1d42db5bee..d4bc06a1ba 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c10b17fcc9ce6b400240da1a0459b59bab5df5ab4814afd9747803da801480f0 - unrolled_ast: c10b17fcc9ce6b400240da1a0459b59bab5df5ab4814afd9747803da801480f0 - ssa_ast: 1029d5387a586719f59593722c1ea8f5419b97d8aeeebe984d22e2e5e692fda6 - flattened_ast: 1df160afe1913e794932db88934823780582e97b28d22648b97547a100239b24 - inlined_ast: 1df160afe1913e794932db88934823780582e97b28d22648b97547a100239b24 - dce_ast: 1df160afe1913e794932db88934823780582e97b28d22648b97547a100239b24 + - initial_ast: 364d498b4c1fa898e9f2ebb2f938d8b76d1ce4f3c92ab45270f8eed087c7adc9 + unrolled_ast: 364d498b4c1fa898e9f2ebb2f938d8b76d1ce4f3c92ab45270f8eed087c7adc9 + ssa_ast: d01d3d7db88a8dc9c23dff52b61eda206d529f760344714eefa34f087366d21d + flattened_ast: f4bf29f6980ebe600a909d40dac73246fb1eca3bf76478400dd6d62ff7e2502a + inlined_ast: f4bf29f6980ebe600a909d40dac73246fb1eca3bf76478400dd6d62ff7e2502a + dce_ast: f4bf29f6980ebe600a909d40dac73246fb1eca3bf76478400dd6d62ff7e2502a bytecode: 7710b74d9f772c456d4a1e183756d567b3f7723306b1e6b5f4cc931f8494e357 diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index 3052e7e8e7..6c0e7f7d07 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3202d4aa18bc6baebc15adf5dc6acb8845a9d27ffc2b8c5f12a9055215f738f8 - unrolled_ast: 3202d4aa18bc6baebc15adf5dc6acb8845a9d27ffc2b8c5f12a9055215f738f8 - ssa_ast: fe5034e47db98c2403eafcf9224bf7f344d25cbf09767ee9fec76499f76589ac - flattened_ast: 2ae01dbe584e02795a941816eaa08496a0c7cc07b182a14a05a72b6d8e420267 - inlined_ast: 2ae01dbe584e02795a941816eaa08496a0c7cc07b182a14a05a72b6d8e420267 - dce_ast: 2ae01dbe584e02795a941816eaa08496a0c7cc07b182a14a05a72b6d8e420267 + - initial_ast: c542f153ff8d633812548b1480a9cf2612e4c7291427b892e37847540b716943 + unrolled_ast: c542f153ff8d633812548b1480a9cf2612e4c7291427b892e37847540b716943 + ssa_ast: ce5a8729478816c541df859a5a55db8713fa2419910e6451d16625837f17ccdb + flattened_ast: 06ed4710572aed47ccffc52f39759069ce46e2c20c6757438eb935fbb3ad9fd8 + inlined_ast: 06ed4710572aed47ccffc52f39759069ce46e2c20c6757438eb935fbb3ad9fd8 + dce_ast: 06ed4710572aed47ccffc52f39759069ce46e2c20c6757438eb935fbb3ad9fd8 bytecode: 521ca5d8ee20c09793be83bbaa47205e8dc6839845b3e3e714b5bf5318ba1f7a diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index d063a4f168..0ee806f4e4 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6b806255efe8c2e9022350dd7419ce603a1728f7e80c55fc7c893881c11c41e6 - unrolled_ast: 6b806255efe8c2e9022350dd7419ce603a1728f7e80c55fc7c893881c11c41e6 - ssa_ast: 967cf0cccde79f8d8cf8d5c5da8541c7b51e9cd759897b92a2e955f60853282f - flattened_ast: ed902c976e8f1eda1286516f5d92040ad1b4fa9c9dba7bb4c194e30cb32258ed - inlined_ast: ed902c976e8f1eda1286516f5d92040ad1b4fa9c9dba7bb4c194e30cb32258ed - dce_ast: ed902c976e8f1eda1286516f5d92040ad1b4fa9c9dba7bb4c194e30cb32258ed + - initial_ast: d94c528665a90a6d295c6e3bab3be19f7a0a063e8374bb1d251af6f597ab9f40 + unrolled_ast: d94c528665a90a6d295c6e3bab3be19f7a0a063e8374bb1d251af6f597ab9f40 + ssa_ast: 5c1cc35a3ff858c6e244dea8c32380ba7ab00c5776f39c96ac1fde0304fd73d6 + flattened_ast: 6201fe3a47ae6ce4504b500c881d794425b9532b27422f084c43bd838e9fa673 + inlined_ast: 6201fe3a47ae6ce4504b500c881d794425b9532b27422f084c43bd838e9fa673 + dce_ast: 6201fe3a47ae6ce4504b500c881d794425b9532b27422f084c43bd838e9fa673 bytecode: e699a9c69f5724cb8dfec843b6b82e47837249aa7f5293ac3c5045ab1a1cc2ca diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index 24a2ed3382..40d7f9b6f8 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 28fb8538b8ee3643466e75141f378deddb799223d83a51da1a728dda8ea719f3 - unrolled_ast: 28fb8538b8ee3643466e75141f378deddb799223d83a51da1a728dda8ea719f3 - ssa_ast: 12a3a904f5b43f0f5a54ca64784cb19ca42e92c267754816e755a77e5a12487c - flattened_ast: 1ecb0d6fe25281e2e4f7388315ab5df921b20057f382266f94bb17106a6fe3bf - inlined_ast: 1ecb0d6fe25281e2e4f7388315ab5df921b20057f382266f94bb17106a6fe3bf - dce_ast: 1ecb0d6fe25281e2e4f7388315ab5df921b20057f382266f94bb17106a6fe3bf + - initial_ast: b9a785adb8233c83e93df80ee3da44e1c78762e5e502bc2962b04bf1be17d1dc + unrolled_ast: b9a785adb8233c83e93df80ee3da44e1c78762e5e502bc2962b04bf1be17d1dc + ssa_ast: d99e61202ae8834b1206318acafe25c09151985fc82f4522345f6a23b58388bd + flattened_ast: 3fa12f9f8dc933fc5043c9a98001fa4bbdcef14f210792672fb09188b5e1ff36 + inlined_ast: 3fa12f9f8dc933fc5043c9a98001fa4bbdcef14f210792672fb09188b5e1ff36 + dce_ast: 3fa12f9f8dc933fc5043c9a98001fa4bbdcef14f210792672fb09188b5e1ff36 bytecode: 817c700c1047a1eef944b8e6eb001bb5b301c98ff80872c134cb5d65e6e739ec diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index 501935aa0c..a54096ff10 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c7d70bd6615205ce47296bdb788ec10c2701a9d87383209efad4d8088de6753c - unrolled_ast: c7d70bd6615205ce47296bdb788ec10c2701a9d87383209efad4d8088de6753c - ssa_ast: 077ad0751860ed38500eaa2e8452fcace1d368e2447f35761ecaab012eaab497 - flattened_ast: b80739cca6a1e9e7b1637adaaaa99942f10ddce3adfbfa396440e04d300103b2 - inlined_ast: b80739cca6a1e9e7b1637adaaaa99942f10ddce3adfbfa396440e04d300103b2 - dce_ast: b80739cca6a1e9e7b1637adaaaa99942f10ddce3adfbfa396440e04d300103b2 + - initial_ast: 78d66283c26f2ec065dc741aeb47fca46119de415f8f43b1f78a47669b7b8b07 + unrolled_ast: 78d66283c26f2ec065dc741aeb47fca46119de415f8f43b1f78a47669b7b8b07 + ssa_ast: 2d8381ef476330ace8ed9587f25535a386edb3d8005712a4fc41c43eb7ff2537 + flattened_ast: 3a6aa7b81eddccf940a75143656768115be01acb050e28198a861bb33ffc5e16 + inlined_ast: 3a6aa7b81eddccf940a75143656768115be01acb050e28198a861bb33ffc5e16 + dce_ast: 3a6aa7b81eddccf940a75143656768115be01acb050e28198a861bb33ffc5e16 bytecode: ea874d6bda8fcbe9a6c2f6ee73161ab55431bc3a3df4bbdb298f18bfa9535461 diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 82b557e0d6..ad4b78f62d 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e87ace87f953afe39ae1aec4aa85d420277afe2190d54480c675fd70f5f9d02a - unrolled_ast: e87ace87f953afe39ae1aec4aa85d420277afe2190d54480c675fd70f5f9d02a - ssa_ast: e2c657b2433b39611b73e33630f6acac37e5215ca545661d28e9fdc241daad01 - flattened_ast: 9e4cf4284856d10b17ebddd07541a780d14a5d171d46f95ccd4d141c6a1a369e - inlined_ast: 9e4cf4284856d10b17ebddd07541a780d14a5d171d46f95ccd4d141c6a1a369e - dce_ast: 9e4cf4284856d10b17ebddd07541a780d14a5d171d46f95ccd4d141c6a1a369e + - initial_ast: 4851c22c82760d53bf92ed3cac9cfee01c52fb0645a2fbd1e11aa34353fcab36 + unrolled_ast: 4851c22c82760d53bf92ed3cac9cfee01c52fb0645a2fbd1e11aa34353fcab36 + ssa_ast: 87d83fb59176919c04b98eab43e583b1ef4052828a9ffdb9e70530b80bed1ab9 + flattened_ast: a1f22d8382fa7f7d67379cadf4c97eec24d32ff2326bb19246710f8086d91e48 + inlined_ast: a1f22d8382fa7f7d67379cadf4c97eec24d32ff2326bb19246710f8086d91e48 + dce_ast: a1f22d8382fa7f7d67379cadf4c97eec24d32ff2326bb19246710f8086d91e48 bytecode: cc2553063e610afba4410eb902aee6984b0b58e341069d9ad7e452fd199f75c5 diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index 292006f54f..5ce44529f9 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0e4efc15e9dd54c167ad0efae7bb63374ebc595d5ecdfd7b16e2eec96d9c377f - unrolled_ast: 0e4efc15e9dd54c167ad0efae7bb63374ebc595d5ecdfd7b16e2eec96d9c377f - ssa_ast: 8399fc3d9d60d72f10039e38948a5387afd26d21196d8fd7156abc1c9faa74a0 - flattened_ast: 963c128c997a0eda734d989de4ef2d0a75eb7e6f9b97dcd460dc636f91640421 - inlined_ast: 963c128c997a0eda734d989de4ef2d0a75eb7e6f9b97dcd460dc636f91640421 - dce_ast: ac4b5d6f5514ffe1b1da56bc7546f61480d1e049c376f06d5bc57464b3fd7036 + - initial_ast: b4a55b862bfbeac32e71fd4c3f3e55f536337a315acf7b149d7b486f0c48f312 + unrolled_ast: b4a55b862bfbeac32e71fd4c3f3e55f536337a315acf7b149d7b486f0c48f312 + ssa_ast: d89ef68256b5eab998f8761bad1fa6049b8bb57751c9ce1ee37e82ad46e57441 + flattened_ast: 9fa3605153bb98df37d571d57e8cf4726bb9f0a53ae4175f8c73d16bc9e85273 + inlined_ast: 9fa3605153bb98df37d571d57e8cf4726bb9f0a53ae4175f8c73d16bc9e85273 + dce_ast: 60899187ba654228fb47faefcc3149dfcc95ad615ee1d28b8be8dbe86668adbb bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index ec108821b1..01957e6fda 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 34bb5ffb6f4400180d4653b7a872ef41c4c0762fbf1704be7f6e597d3e904e59 - unrolled_ast: 34bb5ffb6f4400180d4653b7a872ef41c4c0762fbf1704be7f6e597d3e904e59 - ssa_ast: bc795702efcff2a649a79f209f65d5436d7974feb2597efa72988cd5a760f7a8 - flattened_ast: 5e6cf2ade92e1c5573fe639256a8f8bc312788922b7e55907e72588ceab52a71 - inlined_ast: 5e6cf2ade92e1c5573fe639256a8f8bc312788922b7e55907e72588ceab52a71 - dce_ast: 05f1d5a17fed385d406850244cbb19ba234f22299db350f8318524b7886216cb + - initial_ast: cf50b7223e33b1475a93a26a3e80ad4f870002eb71f99acdd0e226040e624bf6 + unrolled_ast: cf50b7223e33b1475a93a26a3e80ad4f870002eb71f99acdd0e226040e624bf6 + ssa_ast: 7f4b671977609f6514a9aeed37c68f1277b2599da644da44c16dfb7f54810fb1 + flattened_ast: a7c1c6b346d6c3bb9ae2358c4a9d1f8ed29b4091c3b5f76f888e09b1a9e658c0 + inlined_ast: a7c1c6b346d6c3bb9ae2358c4a9d1f8ed29b4091c3b5f76f888e09b1a9e658c0 + dce_ast: 5d75bf61328490bd400f394f8c5c841a38e90be99671aee6efaa28811795a7cf bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index 85248869da..1e5db2a7c7 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f6bd085d2926371833b188a11e15229d4cfbe822d99528b54a6823f91c680d80 - unrolled_ast: f6bd085d2926371833b188a11e15229d4cfbe822d99528b54a6823f91c680d80 - ssa_ast: 8591edc1735aecf5eda9fdf3c1d711d20d34931096761aa481425ef311da1f10 - flattened_ast: 8faf13a95561257f0052f6fc7fe62cf0e959f4d904d329300c1180734e2f8213 - inlined_ast: 8faf13a95561257f0052f6fc7fe62cf0e959f4d904d329300c1180734e2f8213 - dce_ast: 8faf13a95561257f0052f6fc7fe62cf0e959f4d904d329300c1180734e2f8213 + - initial_ast: d6b56da34c5029b370fdc4ff76ad7b0abf5be0a33d7e3be088c94be3df0037a9 + unrolled_ast: d6b56da34c5029b370fdc4ff76ad7b0abf5be0a33d7e3be088c94be3df0037a9 + ssa_ast: bf680f3c63a14f5ae536374085bedeecbde3187ed41216b653e44aef3c9c3208 + flattened_ast: b21ea66a2ec2eb866da1c099c13d73ec2efe2736e10bd2671315a4c42d85ce37 + inlined_ast: b21ea66a2ec2eb866da1c099c13d73ec2efe2736e10bd2671315a4c42d85ce37 + dce_ast: b21ea66a2ec2eb866da1c099c13d73ec2efe2736e10bd2671315a4c42d85ce37 bytecode: b88aaf04313129225fa502629bc4997e455c06134fec78104d6b0227a2fc98ba diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index 0c60fc4ebc..0c3e5eaadd 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 64b505f13172cf9d18f180c6d58296bebd644f861dd8ca204312553570a7d2d5 - unrolled_ast: 64b505f13172cf9d18f180c6d58296bebd644f861dd8ca204312553570a7d2d5 - ssa_ast: d049f4f34fa52bf5d691e4f9e31c63baad7128f6c63469b934e744b0ca17d735 - flattened_ast: 420dd5f54ad85e55df3743d63374e3f5195192b3fc3b5a07120605c9f4bb0e30 - inlined_ast: 420dd5f54ad85e55df3743d63374e3f5195192b3fc3b5a07120605c9f4bb0e30 - dce_ast: 420dd5f54ad85e55df3743d63374e3f5195192b3fc3b5a07120605c9f4bb0e30 + - initial_ast: bbd55eb038bbdcc34c43bfc747fd6ce7041481217559672c144be2b4d64aca66 + unrolled_ast: bbd55eb038bbdcc34c43bfc747fd6ce7041481217559672c144be2b4d64aca66 + ssa_ast: 1facee721b94d1f9bc1d5864753e4ff3c75c3183a08fc35855b82198b1d800e8 + flattened_ast: 9374b31d139bc7c9f29815c40c40cc23b4fdae7c07bf2c8bf30408cdbca8a290 + inlined_ast: 9374b31d139bc7c9f29815c40c40cc23b4fdae7c07bf2c8bf30408cdbca8a290 + dce_ast: 9374b31d139bc7c9f29815c40c40cc23b4fdae7c07bf2c8bf30408cdbca8a290 bytecode: a8ebe7242de33b5e98e7b486f64b67aa14c0661fd8a3b0e850e57ea014f502a4 diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index 6c82cab672..11e3ab0290 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 547210f3b161436d3e94ed5f33a3d515c96cb558d6b7c2d88ebf46b094ea8065 - unrolled_ast: 547210f3b161436d3e94ed5f33a3d515c96cb558d6b7c2d88ebf46b094ea8065 - ssa_ast: 4e66aede3441b08af5970d8cc6c836767e05a2c7c51d4a2e829f306390bcf841 - flattened_ast: 47d4fe543e46da21be791a057d7f9d8ff47b433c8925b92d330a7a26f6765897 - inlined_ast: 47d4fe543e46da21be791a057d7f9d8ff47b433c8925b92d330a7a26f6765897 - dce_ast: 5f23e1a070989119c1a28bce6e18b3edc5fc1811b05fbcc7852a054866f2a1a1 + - initial_ast: 7919cc18d1d700acfc094b1fcc2892e362d2eed3213f6bb5583011b65d04b6a2 + unrolled_ast: 7919cc18d1d700acfc094b1fcc2892e362d2eed3213f6bb5583011b65d04b6a2 + ssa_ast: ef61f8fdd1ebe27fa4aea9d93af5f6782025657492183c0e425cd421cae244f0 + flattened_ast: 6724eed786e387aa5be82c83f86c9d4673d07c470bb68458e03c0ce73f2538b0 + inlined_ast: 6724eed786e387aa5be82c83f86c9d4673d07c470bb68458e03c0ce73f2538b0 + dce_ast: fab8ab63a79dc1b5b97b7ba1f1252f4779cdc324afd436b6dab44379af0c0c72 bytecode: 43507852e6ea9e5cf869a03c94302133470e5d32579620cf12e95614064223ea diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 15ceaca18d..43642f2c67 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8923a186696cc1c76ed9cce9ddf1fe905a4a76c787bfeaae54d0713135c9785e - unrolled_ast: 8923a186696cc1c76ed9cce9ddf1fe905a4a76c787bfeaae54d0713135c9785e - ssa_ast: e41146608c1cfd4fad63374584fa0908b40aad79725a02e7d7cf1782daeae845 - flattened_ast: 6ba829e0dfa82ea1ae9d27413d96a0b142cf96d6f14d29f0126cf7ecbfa8d126 - inlined_ast: 6ba829e0dfa82ea1ae9d27413d96a0b142cf96d6f14d29f0126cf7ecbfa8d126 - dce_ast: 6ba829e0dfa82ea1ae9d27413d96a0b142cf96d6f14d29f0126cf7ecbfa8d126 + - initial_ast: ad419acb9216fd09069f027c141ae0e6369a484e39fc6024eb43d00aff931069 + unrolled_ast: ad419acb9216fd09069f027c141ae0e6369a484e39fc6024eb43d00aff931069 + ssa_ast: 6b8dc8f17179fac6fec9abf2500e44970a0920b2b2c85cb5cb5eb1608fba8595 + flattened_ast: 9398a9188f28180c45fc169bea5f9145c044e65b38f5d044555c1c220d7c1602 + inlined_ast: 9398a9188f28180c45fc169bea5f9145c044e65b38f5d044555c1c220d7c1602 + dce_ast: 9398a9188f28180c45fc169bea5f9145c044e65b38f5d044555c1c220d7c1602 bytecode: 497d7538eec379ede5751c5787659362e7567f22f4d9c8f377a62f2ebf95fb83 diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index 6ea95ca9d4..f8892337c3 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6eb72d6107e7273725f4d0747ef42fd3df86c863016a5773513902ff84022e2d - unrolled_ast: 6eb72d6107e7273725f4d0747ef42fd3df86c863016a5773513902ff84022e2d - ssa_ast: 2d504509adaaded54f14dae15542a0eb94157cadc1a2210b7620a8a4c7333551 - flattened_ast: 87487ab5798c41102fda2615dfd2ad124f96906ac727e8456be0a04d18852f85 - inlined_ast: 87487ab5798c41102fda2615dfd2ad124f96906ac727e8456be0a04d18852f85 - dce_ast: 87487ab5798c41102fda2615dfd2ad124f96906ac727e8456be0a04d18852f85 + - initial_ast: 4c25e00ad1f06d31c8e6bbb4c75561bc392dc49f49b03f487955638984646227 + unrolled_ast: 4c25e00ad1f06d31c8e6bbb4c75561bc392dc49f49b03f487955638984646227 + ssa_ast: a1643d10c6304a53993074da493bf1861cbd6e6f46b59d705503a0c7ab92554f + flattened_ast: b4dd76b43a9875ab92530a15a55dbf1dd6cf47e45ef55bd3cda30d2905231fb2 + inlined_ast: b4dd76b43a9875ab92530a15a55dbf1dd6cf47e45ef55bd3cda30d2905231fb2 + dce_ast: b4dd76b43a9875ab92530a15a55dbf1dd6cf47e45ef55bd3cda30d2905231fb2 bytecode: b295d69a85960d23951d7906d80b47c30eaa713612ca063e6f70bed0e36fb779 diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 18504f8c76..6fe9000c4f 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3ef72b99957a3f834b9286292e77975438791cce512d74751032a54c5efe4068 - unrolled_ast: 3ef72b99957a3f834b9286292e77975438791cce512d74751032a54c5efe4068 - ssa_ast: 424478618e94f6350edad86336a877adb3f65561e4da4243b43a74fd01cd20d3 - flattened_ast: 3f48698144f9a93f0e1c3eb0b54bb652a5854fee69afec857758d31c1d9200ef - inlined_ast: 3f48698144f9a93f0e1c3eb0b54bb652a5854fee69afec857758d31c1d9200ef - dce_ast: 3f48698144f9a93f0e1c3eb0b54bb652a5854fee69afec857758d31c1d9200ef + - initial_ast: ded68ea9bf8d693e925a9b90b028b57e71a164dd361fbf91bb647e909593a59d + unrolled_ast: ded68ea9bf8d693e925a9b90b028b57e71a164dd361fbf91bb647e909593a59d + ssa_ast: 828f29d8f52234c575aa44b994f861eca80b07aaf7df4d457288747b64d8f5c1 + flattened_ast: 30599f627546340b7f462ce91c72d95bebfdba13982d62954debe63e7046a921 + inlined_ast: 30599f627546340b7f462ce91c72d95bebfdba13982d62954debe63e7046a921 + dce_ast: 30599f627546340b7f462ce91c72d95bebfdba13982d62954debe63e7046a921 bytecode: cffeb79a503e9b27acabb15cfb42d54ea3f43fed9f9a5ded7374e4eb6961d1c8 diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 9130e540de..168af35e77 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e77ca25b4959636a5871dca2c2229d9b9626a3445f5ddafc717079aff4360df6 - unrolled_ast: e77ca25b4959636a5871dca2c2229d9b9626a3445f5ddafc717079aff4360df6 - ssa_ast: c06a5ef9d1da4904904830fb71e831da7c23d67e678a165256123ca09fc2e0cb - flattened_ast: 69f9b90759f98d42106226e987c60db25210e6471cda72443f0192d6cea205c3 - inlined_ast: 69f9b90759f98d42106226e987c60db25210e6471cda72443f0192d6cea205c3 - dce_ast: 69f9b90759f98d42106226e987c60db25210e6471cda72443f0192d6cea205c3 + - initial_ast: 3621bacaac98f0c419fc87c8fb762ab23238dbeb0d5c25deda470d4ca5e41c00 + unrolled_ast: 3621bacaac98f0c419fc87c8fb762ab23238dbeb0d5c25deda470d4ca5e41c00 + ssa_ast: 43fbe92a7419dcc47f8417c4745a4031a599597c89eded3ab8379c3a93aefe51 + flattened_ast: 2784d89361b5c81bcb701345c0dc992a9c464a5d22d88b06fc1792cdee077c9b + inlined_ast: 2784d89361b5c81bcb701345c0dc992a9c464a5d22d88b06fc1792cdee077c9b + dce_ast: 2784d89361b5c81bcb701345c0dc992a9c464a5d22d88b06fc1792cdee077c9b bytecode: 0042cfa5fe883c54d18c04df2847071d491cdf6f1833d0e9a2e169c96ecd2402 diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index b6cbd50818..a0fe1f05de 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: bf4cf13b15eb361e70ebfd4e4314012a6c98673613648608fc6c9eacbb5d6d55 - unrolled_ast: bf4cf13b15eb361e70ebfd4e4314012a6c98673613648608fc6c9eacbb5d6d55 - ssa_ast: d0f234da21487724af2dcbca9bc42ca790394e6bb8b2cad73ddd03ad9edf3bd1 - flattened_ast: 89e43dbeca86bdebbcff27b337ebf22619eed4e7e94e1aa8b200a1aad724161f - inlined_ast: 89e43dbeca86bdebbcff27b337ebf22619eed4e7e94e1aa8b200a1aad724161f - dce_ast: 89e43dbeca86bdebbcff27b337ebf22619eed4e7e94e1aa8b200a1aad724161f + - initial_ast: b2a3958dc4e6f86511252a735f634ffba46007365dc5b301d68789494aedb5f8 + unrolled_ast: b2a3958dc4e6f86511252a735f634ffba46007365dc5b301d68789494aedb5f8 + ssa_ast: c4d929001cf4042a8a029f0d4584e6d518ccf75cdb5c9a7967e520bdf8040186 + flattened_ast: d5294034c2233f3fbdf407810219b390cb0b36652e70ad7a3dd0c7eaa8290ef4 + inlined_ast: d5294034c2233f3fbdf407810219b390cb0b36652e70ad7a3dd0c7eaa8290ef4 + dce_ast: d5294034c2233f3fbdf407810219b390cb0b36652e70ad7a3dd0c7eaa8290ef4 bytecode: dedaeab84a7c50d76bc53c8fb37937007409f5fcf347ba122e024119511c5529 diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index 2e6c617c95..eb8eaa1498 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4d3571e3ac9be29fdeeaffc090d0077ac3d845c781ae1ec76be2e1baeff0da80 - unrolled_ast: 4d3571e3ac9be29fdeeaffc090d0077ac3d845c781ae1ec76be2e1baeff0da80 - ssa_ast: 8a6cc69352dd1cccb81f0ff1f73b646ee9d19a949da1a68515b340113b16b131 - flattened_ast: 23cfb28b3a4d305483282a9fb549ef4194693a22290b078b6d6bff70c98f0c67 - inlined_ast: 23cfb28b3a4d305483282a9fb549ef4194693a22290b078b6d6bff70c98f0c67 - dce_ast: 23cfb28b3a4d305483282a9fb549ef4194693a22290b078b6d6bff70c98f0c67 + - initial_ast: 59a7a1da62aa5de1c29bc54f151bfacaa63617c4b4bfe6049936720223dced95 + unrolled_ast: 59a7a1da62aa5de1c29bc54f151bfacaa63617c4b4bfe6049936720223dced95 + ssa_ast: 87a567dd21bf68c2bf74ae4db7dac0a855052de216e1f0f01f55fdf021f07c8a + flattened_ast: a1eb2fc96bc30f5a603b841255416658d3b58470d2a5248b220a18ee4464b7f7 + inlined_ast: a1eb2fc96bc30f5a603b841255416658d3b58470d2a5248b220a18ee4464b7f7 + dce_ast: a1eb2fc96bc30f5a603b841255416658d3b58470d2a5248b220a18ee4464b7f7 bytecode: 314254f7afdccd71d00e9823190312578171c602ebcef017e5aee843aa9636d7 diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index c2ea32b5e8..e016175f2b 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4a02f9ecdc70b12ae94d5128bcdc1d2d5924bcbcdc781079b504b7ba6b6d0a9a - unrolled_ast: 4a02f9ecdc70b12ae94d5128bcdc1d2d5924bcbcdc781079b504b7ba6b6d0a9a - ssa_ast: 32a9bdf1d452ef5892a810463ec4d5ef78337ab9f84f791eb917dd521220d9b7 - flattened_ast: a7be17492218eb2392ac4fde1908070e9388c0ca1e55285b09d5511b8859d9a6 - inlined_ast: a7be17492218eb2392ac4fde1908070e9388c0ca1e55285b09d5511b8859d9a6 - dce_ast: a7be17492218eb2392ac4fde1908070e9388c0ca1e55285b09d5511b8859d9a6 + - initial_ast: f554537f0c557ef2f099c08c84829f14031dc61be70b52d8cee8030e898a8b99 + unrolled_ast: f554537f0c557ef2f099c08c84829f14031dc61be70b52d8cee8030e898a8b99 + ssa_ast: f2e39d2d093ac34650f90a5aff4797dd56d97fe61c6e01064a53d53049188aae + flattened_ast: 5abd662747bd062b358bdef6ff2664993e80cbd5fe8df899fa742399f83d7f09 + inlined_ast: 5abd662747bd062b358bdef6ff2664993e80cbd5fe8df899fa742399f83d7f09 + dce_ast: 5abd662747bd062b358bdef6ff2664993e80cbd5fe8df899fa742399f83d7f09 bytecode: f18cc6c6b3c37ca606a0bc61608df529ddc102ca0844d944f906fec91c4f9b52 diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index 080cdac7b0..482cb557fc 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3fddd97c446668e076512dd4653473da5c29c4edb2c6d7fa583e3bd8481556ad - unrolled_ast: 3fddd97c446668e076512dd4653473da5c29c4edb2c6d7fa583e3bd8481556ad - ssa_ast: aa37a23164561609c026989b4b728eb60bf6a5a3e2ebbc7c06ea1e36c65bafc8 - flattened_ast: 1058743d1fc64584bdf5d37749f2e043618e55f1b139c30172cfe8159a575ebe - inlined_ast: 1058743d1fc64584bdf5d37749f2e043618e55f1b139c30172cfe8159a575ebe - dce_ast: 1058743d1fc64584bdf5d37749f2e043618e55f1b139c30172cfe8159a575ebe + - initial_ast: 1526c55cdcdc9702dbf2922fa0184bc9fba16ba8919bf942e40af39e67b31fa4 + unrolled_ast: 1526c55cdcdc9702dbf2922fa0184bc9fba16ba8919bf942e40af39e67b31fa4 + ssa_ast: 59c5627f4dcc848cb3a4be9045bf8bd73cd3da3a20888c14bb770ef73e7318a7 + flattened_ast: 98dee66c8027c11801316ea9b78076ae519c6288c817c2e8331ee01a856415ee + inlined_ast: 98dee66c8027c11801316ea9b78076ae519c6288c817c2e8331ee01a856415ee + dce_ast: 98dee66c8027c11801316ea9b78076ae519c6288c817c2e8331ee01a856415ee bytecode: afd938366b81cd0861406fd62db4c863d1c8b505f04a4db8bacbb9c43f5b29a3 diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index 18ae21773a..46b5ab3555 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b063ad3f5376903a66607fb60033b220f0c8c58a97984f260ad24b9c6978711e - unrolled_ast: b063ad3f5376903a66607fb60033b220f0c8c58a97984f260ad24b9c6978711e - ssa_ast: ac80a1455fdec82690c6e72c31c6791c10c7c67570c0c83fac2d9cdf6f64a359 - flattened_ast: 354d79f48548ecb179eafadbb532b29b463291b4c0aa6b0588f40fe8adaadbe3 - inlined_ast: 354d79f48548ecb179eafadbb532b29b463291b4c0aa6b0588f40fe8adaadbe3 - dce_ast: 354d79f48548ecb179eafadbb532b29b463291b4c0aa6b0588f40fe8adaadbe3 + - initial_ast: f3ebc41b4bc3e8473ed52a51f33cb7b26bbc1ba5eb5fb53d0075d6bc3881efa4 + unrolled_ast: f3ebc41b4bc3e8473ed52a51f33cb7b26bbc1ba5eb5fb53d0075d6bc3881efa4 + ssa_ast: b2a84633cf718f8cb967d9dff4e8fa0ba1a9fcfdffd01361475bcc5308b8c842 + flattened_ast: f07cb59a074f4db5995f181bec71554fa30c081474d94a5f51c3c7b60c978c01 + inlined_ast: f07cb59a074f4db5995f181bec71554fa30c081474d94a5f51c3c7b60c978c01 + dce_ast: f07cb59a074f4db5995f181bec71554fa30c081474d94a5f51c3c7b60c978c01 bytecode: f547c15f7844d25b54b1ebd86cdd705e3fbdc09564a611fd3cd0f239eff93f53 diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index 0e5c20c2f9..21530f1d8f 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ef1d3454cfb7459465d8fb9ab1e83df214b3a0eee857712b3b3ffeba3e6cf210 - unrolled_ast: ef1d3454cfb7459465d8fb9ab1e83df214b3a0eee857712b3b3ffeba3e6cf210 - ssa_ast: 7b1a00aedaf9e0a5deeedae92b406caac067fc7928008d0459e62b549f2af106 - flattened_ast: 5777ffe416ddd8ffe3fdc64a137eaf4bacd33552f499985a021f318992c692c0 - inlined_ast: 5777ffe416ddd8ffe3fdc64a137eaf4bacd33552f499985a021f318992c692c0 - dce_ast: 5777ffe416ddd8ffe3fdc64a137eaf4bacd33552f499985a021f318992c692c0 + - initial_ast: fd2380291e945155fd03bb8af0e658a09e916277e62dac1d202c3dc180ec3ca9 + unrolled_ast: fd2380291e945155fd03bb8af0e658a09e916277e62dac1d202c3dc180ec3ca9 + ssa_ast: 72533b72bc00c5c264ea8d7f3c2aa18322107a87776e025404c960ebd286c8b1 + flattened_ast: ba8acdd4d9e1b6d05ba5e79654f4709aabb6e558386f4756490923cc257d3519 + inlined_ast: ba8acdd4d9e1b6d05ba5e79654f4709aabb6e558386f4756490923cc257d3519 + dce_ast: ba8acdd4d9e1b6d05ba5e79654f4709aabb6e558386f4756490923cc257d3519 bytecode: b92fd2503ffc225d448965784485e100166c08fe16458b2832978a7ccb123c89 diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index 07f02b733a..e7e5048f6e 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c9b320ad9ebc1c3dd9fe3e5855b19eb33658e6543d94d3036353458c559e42dd - unrolled_ast: c9b320ad9ebc1c3dd9fe3e5855b19eb33658e6543d94d3036353458c559e42dd - ssa_ast: 36b7d7bf6d4deed645a68ffc77e70ca12e184750db54dd9a7d690a1df55807c9 - flattened_ast: 0e3c9686e20fe9cefa06f5e06677db44d7cde90a05bf452645fe4d78ff31aa94 - inlined_ast: 0e3c9686e20fe9cefa06f5e06677db44d7cde90a05bf452645fe4d78ff31aa94 - dce_ast: 0e3c9686e20fe9cefa06f5e06677db44d7cde90a05bf452645fe4d78ff31aa94 + - initial_ast: 03a95d7a38e7dfa5e665e654fb6c30e9e8a408e3194d92cf025ff56468dc8ae3 + unrolled_ast: 03a95d7a38e7dfa5e665e654fb6c30e9e8a408e3194d92cf025ff56468dc8ae3 + ssa_ast: 7c7e98e6c755381fcf98c73258a2804d80cb4575a58d703ac94b8d7adf18cbac + flattened_ast: aca957dd0c2be98da4426076dc5b9315f15c7d53616fc702e162ed04e606e55f + inlined_ast: aca957dd0c2be98da4426076dc5b9315f15c7d53616fc702e162ed04e606e55f + dce_ast: aca957dd0c2be98da4426076dc5b9315f15c7d53616fc702e162ed04e606e55f bytecode: 5c2e38abbf8dbb49fc4211f11a583c8b75ff3355dc64b234008c6bb61f312fbc diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index c26418daf0..9db5ac2087 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ab4e10d6e8df3b3cbfc661713778d45067aa66d52895ba42ce803e1eeae073a8 - unrolled_ast: ab4e10d6e8df3b3cbfc661713778d45067aa66d52895ba42ce803e1eeae073a8 - ssa_ast: 3631d345acef169e3cd240030d9db85434cbbd00436b85da8eab14080a6f5b36 - flattened_ast: 057dca8142bae49572af775a098e68a3afc03ca62925b50b8c2c0e3f1b668552 - inlined_ast: 057dca8142bae49572af775a098e68a3afc03ca62925b50b8c2c0e3f1b668552 - dce_ast: 057dca8142bae49572af775a098e68a3afc03ca62925b50b8c2c0e3f1b668552 + - initial_ast: d5110cd30429582aa08368d467ae7e367fdd6e0fc98d9983601c733ddaec5426 + unrolled_ast: d5110cd30429582aa08368d467ae7e367fdd6e0fc98d9983601c733ddaec5426 + ssa_ast: d7c6bc380c5094cf707d88bde054b8fc01e71f4a893e8d6963a9042e9eb2499c + flattened_ast: d27431ff36a5b5b62797803b870fa7dcce541f2f765de9d0ad0514da43ff3ab4 + inlined_ast: d27431ff36a5b5b62797803b870fa7dcce541f2f765de9d0ad0514da43ff3ab4 + dce_ast: d27431ff36a5b5b62797803b870fa7dcce541f2f765de9d0ad0514da43ff3ab4 bytecode: 87be9771a97c045c6ebd5640f02ca09f79ae9b424c41ac6955c23fd426ae9c23 diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index af00263fc0..ff74095a5e 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d7b554451296c46485218160254b40e42ee5674ffaee32cd8dade3bd1b7909eb - unrolled_ast: d7b554451296c46485218160254b40e42ee5674ffaee32cd8dade3bd1b7909eb - ssa_ast: 5cda29ba1106c568d8a0d0913a34a73bfd3b8ee695d6582638bb542272ef0115 - flattened_ast: d1f4ba6d47af24d5cad53d1031b1b14eec2a258c41f2331641687b5e56e2765c - inlined_ast: d1f4ba6d47af24d5cad53d1031b1b14eec2a258c41f2331641687b5e56e2765c - dce_ast: d1f4ba6d47af24d5cad53d1031b1b14eec2a258c41f2331641687b5e56e2765c + - initial_ast: 0d8727bebbab2cf8490feb76e3c9e9cf040c13214b3ac922aea99461562ed779 + unrolled_ast: 0d8727bebbab2cf8490feb76e3c9e9cf040c13214b3ac922aea99461562ed779 + ssa_ast: eed33228b3f1d2e1876e5e0367fd053480ff0b581a1234e69ad01ff8b7328d1d + flattened_ast: 11e1c52699d6b0f8ef373e30307d76e8578f3326dca31173c6b12bfdd321ff24 + inlined_ast: 11e1c52699d6b0f8ef373e30307d76e8578f3326dca31173c6b12bfdd321ff24 + dce_ast: 11e1c52699d6b0f8ef373e30307d76e8578f3326dca31173c6b12bfdd321ff24 bytecode: 4087dea44779fb2c700e31777a0aa999053335f645cecece86bde0b509f3266d diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index eeb46a0831..4c4467df49 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 744a86f0b02080fcbdb51ab8795b498c6293cc75873d558ed0f886f9f75e9fec - unrolled_ast: 744a86f0b02080fcbdb51ab8795b498c6293cc75873d558ed0f886f9f75e9fec - ssa_ast: 583ec6110210d04aa1474cd477533cf8d4d25d36c1c2d11374a8e0a87576395e - flattened_ast: fe4fda7da71f631fbdcdb2167339867a2e6374697e5f4365fd9ad03a9ca572da - inlined_ast: fe4fda7da71f631fbdcdb2167339867a2e6374697e5f4365fd9ad03a9ca572da - dce_ast: fe4fda7da71f631fbdcdb2167339867a2e6374697e5f4365fd9ad03a9ca572da + - initial_ast: d198e7239ce648201defc82d4912b9ae578bb0a010104bdb7ae7ea7e93ce022b + unrolled_ast: d198e7239ce648201defc82d4912b9ae578bb0a010104bdb7ae7ea7e93ce022b + ssa_ast: 957349314fb2722e668962ebc047e83454226ff51ef980df7050ba76b824eb55 + flattened_ast: 56ed7716dfdba98d85a2b2c942c342e5f97352b0d8fba23dc9e95293ddcd1a22 + inlined_ast: 56ed7716dfdba98d85a2b2c942c342e5f97352b0d8fba23dc9e95293ddcd1a22 + dce_ast: 56ed7716dfdba98d85a2b2c942c342e5f97352b0d8fba23dc9e95293ddcd1a22 bytecode: 38b90d61922501f8a660d56599d9939e5b0238c3987c20a08abfbcc28b42a78b diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index 3711a3737e..843046bcfd 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5f31306e206e987b5bd32a87893b0d23e47c456880e2b9d405abdfb2acd0f6a4 - unrolled_ast: 5f31306e206e987b5bd32a87893b0d23e47c456880e2b9d405abdfb2acd0f6a4 - ssa_ast: 9b23997c821fe06a7bef40899769618577aacb8173a94c1f579c2122364bd6c3 - flattened_ast: 85f0c92fef3f9bb920edbdf7e074e584534a2e9c7f1ff624028ec8e71d1ad16e - inlined_ast: 85f0c92fef3f9bb920edbdf7e074e584534a2e9c7f1ff624028ec8e71d1ad16e - dce_ast: 85f0c92fef3f9bb920edbdf7e074e584534a2e9c7f1ff624028ec8e71d1ad16e + - initial_ast: 96e7590103dc676b0250bb2084057ab511fccb89ccc454aa52f37f9b0afb2d91 + unrolled_ast: 96e7590103dc676b0250bb2084057ab511fccb89ccc454aa52f37f9b0afb2d91 + ssa_ast: 585e2c1616d09f7b9eb8a21b50e66057c06e32f6962fd842c19badd88bb539b1 + flattened_ast: 9da3da450ee351c788677c5f3d5f90d5cfbe6daa99bbf6435fc9ed1426b1c990 + inlined_ast: 9da3da450ee351c788677c5f3d5f90d5cfbe6daa99bbf6435fc9ed1426b1c990 + dce_ast: 9da3da450ee351c788677c5f3d5f90d5cfbe6daa99bbf6435fc9ed1426b1c990 bytecode: dcf677cdf5a9b3aa14bcc744cb4e7638f393334301ad27109301bd7eef063714 diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index fccf360092..db29eab852 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: dade6175723cedb9c5bb47497ea544466d3bec07371d62eee5dd4f7b2ca37e96 - unrolled_ast: dade6175723cedb9c5bb47497ea544466d3bec07371d62eee5dd4f7b2ca37e96 - ssa_ast: 6b863d552bc10406948f6e74acf2682c9af9d89c78b2802dfb118e9badca4b44 - flattened_ast: de14c443c06ce37324afe9cfe9c700638bbd86563286c0be02f7561120c71dc3 - inlined_ast: de14c443c06ce37324afe9cfe9c700638bbd86563286c0be02f7561120c71dc3 - dce_ast: de14c443c06ce37324afe9cfe9c700638bbd86563286c0be02f7561120c71dc3 + - initial_ast: 6f6373ba1612117d9773cc4eab039a3c610937a972b25d1ff6f5cccd506c9781 + unrolled_ast: 6f6373ba1612117d9773cc4eab039a3c610937a972b25d1ff6f5cccd506c9781 + ssa_ast: 4e678f8bbf40a778018786d2ab99c74cf1edcd9a6ed06218a77ee2ce2ccf88cf + flattened_ast: e50f90a8207dcf11d7f63d19c54d27db8459c5260b823eaf6333569bc0c6e445 + inlined_ast: e50f90a8207dcf11d7f63d19c54d27db8459c5260b823eaf6333569bc0c6e445 + dce_ast: e50f90a8207dcf11d7f63d19c54d27db8459c5260b823eaf6333569bc0c6e445 bytecode: b42efbdfdc8e45e9ec1d3c09bd411d1a35618f03edb7d937d7634a4e763e75f9 diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index 5ae2a92dc8..e8414deea7 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3247bc2a685b5768ba5c767017a30d687e9b0e19b77c33ae029a009f7069b71c - unrolled_ast: 3247bc2a685b5768ba5c767017a30d687e9b0e19b77c33ae029a009f7069b71c - ssa_ast: c9d6b6d3dc360353fc1f2c2f9669b241fa53c5dcce86cf90adb2d32374186ee1 - flattened_ast: 1a20cb3f1ab7cb46f1f4e670e9b9c2f3f3425268f9f57d106d5af75690335854 - inlined_ast: 1a20cb3f1ab7cb46f1f4e670e9b9c2f3f3425268f9f57d106d5af75690335854 - dce_ast: 1a20cb3f1ab7cb46f1f4e670e9b9c2f3f3425268f9f57d106d5af75690335854 + - initial_ast: bf461f1f3da3c1e7e0ca3ab38a587f927edfafb59cd252d2384e365c6450b9ef + unrolled_ast: bf461f1f3da3c1e7e0ca3ab38a587f927edfafb59cd252d2384e365c6450b9ef + ssa_ast: 019ea923098ac5e81c17bdfd6099cf5eaefe83a62cc29ad26cb48e69119053af + flattened_ast: 45ff563ce5d177ebf8962ff9395c2a70baa96a852cd721583cd73777675368c2 + inlined_ast: 45ff563ce5d177ebf8962ff9395c2a70baa96a852cd721583cd73777675368c2 + dce_ast: 45ff563ce5d177ebf8962ff9395c2a70baa96a852cd721583cd73777675368c2 bytecode: b10dd4efbabfac0d4db75433e8711f07213062647e3c9e319647a0889144452a diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index 6f18e5da41..74d2b21c5d 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 02cdc03fb580a70ce06d1e73041469c0aa6602d9963b939392bccbaa2d9c9a0a - unrolled_ast: 02cdc03fb580a70ce06d1e73041469c0aa6602d9963b939392bccbaa2d9c9a0a - ssa_ast: f7e38a9248e6b600e66de81916d58cf06da5fea88a86f3571a87c84fe44e1cd1 - flattened_ast: 0a596e8b516e58179eeb97b83bf1b9c36964b1e7190b003595f890b7027debf7 - inlined_ast: 0a596e8b516e58179eeb97b83bf1b9c36964b1e7190b003595f890b7027debf7 - dce_ast: 0a1a05f9306aa44fc244a9827def70aac2dcd94e9d850a8dbefad5076447395f + - initial_ast: aa47ebe22c2479bd1e5e4181ce9984ad46b868c5a883051c9ed2659f52d538d2 + unrolled_ast: aa47ebe22c2479bd1e5e4181ce9984ad46b868c5a883051c9ed2659f52d538d2 + ssa_ast: 8714b1a33d8ca2c4c81573a0cc59423db57355b3bf290bbe58f29c12af898c92 + flattened_ast: 276f9e5cd9648749fd7f991356b0daf67d128c2582a995322623aaa7ef22b0ab + inlined_ast: 276f9e5cd9648749fd7f991356b0daf67d128c2582a995322623aaa7ef22b0ab + dce_ast: bfaf12e8f7988acd8e049d43a5b7bfc4cd7a52bc63611d91127b8475119f10dc bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index f34f02e245..92e2d7e969 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b5fa50ddb319610c951c79e7e85720bafc4d4625da0f8c62dd06bd6288f696d9 - unrolled_ast: b5fa50ddb319610c951c79e7e85720bafc4d4625da0f8c62dd06bd6288f696d9 - ssa_ast: ef74b89c7e6d644db60b731ad9916caf23e83f06ab17ee917e753037a0cf140d - flattened_ast: 48df816dc2ea028abde740d70e5b48479e62420e6a4ad187ef6bfa2e1864c504 - inlined_ast: 48df816dc2ea028abde740d70e5b48479e62420e6a4ad187ef6bfa2e1864c504 - dce_ast: 21154e5f0ae8de65800e415b5aaf804080955cf74e6f58549b847f07ba870093 + - initial_ast: 53940f521dae820ecde56b6a648711ddef12df3306cf744e49279efd70bde00d + unrolled_ast: 53940f521dae820ecde56b6a648711ddef12df3306cf744e49279efd70bde00d + ssa_ast: d75cc7df6e21073e6bddb9458bb801ace1494aa275a3342733c4ed8721301b53 + flattened_ast: eb142cfac239e362255c230041baf070b4a93e0a53c818b4038dc6fc0b695a06 + inlined_ast: eb142cfac239e362255c230041baf070b4a93e0a53c818b4038dc6fc0b695a06 + dce_ast: 33e58220b47be93d9f27d41dc97af2318e87fc119df518e8b15c2e569fd47c02 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 28ee925de4..9a4400b9c7 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e7706cdb97ca3b829a86575ef74ebb8aaaeb5dff4d1cc9d49179bbed1cfaf959 - unrolled_ast: e7706cdb97ca3b829a86575ef74ebb8aaaeb5dff4d1cc9d49179bbed1cfaf959 - ssa_ast: ee493bfb73e20dde837525b0b758d59d254371f152f5560eded84a71e57aae8f - flattened_ast: 46ff8392f48a36958e140ce5a358a498485b5d31ac394846c44ae8e74c86076f - inlined_ast: 46ff8392f48a36958e140ce5a358a498485b5d31ac394846c44ae8e74c86076f - dce_ast: 46ff8392f48a36958e140ce5a358a498485b5d31ac394846c44ae8e74c86076f + - initial_ast: 4db14f2ecb8f1ccf3d9a10c6f6448400fa8f30bbebce139d0c17b99e4db97ffd + unrolled_ast: 4db14f2ecb8f1ccf3d9a10c6f6448400fa8f30bbebce139d0c17b99e4db97ffd + ssa_ast: fa0b9a834fb4118fe6d6ab60081bfd6c770daec6b11800071f729b51795b81d2 + flattened_ast: 8829b307228cbad38d0e2c1a6750b96d9b78515dc99f8469af30ae346975b3b9 + inlined_ast: 8829b307228cbad38d0e2c1a6750b96d9b78515dc99f8469af30ae346975b3b9 + dce_ast: 8829b307228cbad38d0e2c1a6750b96d9b78515dc99f8469af30ae346975b3b9 bytecode: 640898c0221b29b96bb54c04f62f0551ab5015287a2d0465afcd03eb0496922a diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index 96f766ef05..1578dfb6c7 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 49be6ca28b09bc8b6e937b3c0d85be80d61bef080ca276cff9ade683eb524375 - unrolled_ast: 49be6ca28b09bc8b6e937b3c0d85be80d61bef080ca276cff9ade683eb524375 - ssa_ast: 0c8df0c9a504ffc89b5a343d0746ffcc4afa5a4819c975f419e4d86a2e6b2855 - flattened_ast: d1870490a563ad5156c1e550583af41428e338167ee588a6f115bb51dcbb7acd - inlined_ast: d1870490a563ad5156c1e550583af41428e338167ee588a6f115bb51dcbb7acd - dce_ast: d1870490a563ad5156c1e550583af41428e338167ee588a6f115bb51dcbb7acd + - initial_ast: 6954f32794740bab9c6c1c0f024febcdcee53eeb145c264397cdb61e3466687d + unrolled_ast: 6954f32794740bab9c6c1c0f024febcdcee53eeb145c264397cdb61e3466687d + ssa_ast: 63365c2fe83e6b8efc1d7de3de7b8e60ccf429932634b0c4e3442575fd634e5e + flattened_ast: cf4e9297af1a19ed9628ec9fdd22a6ffa1ea7eb4b89e77e607e11dce33c2eb48 + inlined_ast: cf4e9297af1a19ed9628ec9fdd22a6ffa1ea7eb4b89e77e607e11dce33c2eb48 + dce_ast: cf4e9297af1a19ed9628ec9fdd22a6ffa1ea7eb4b89e77e607e11dce33c2eb48 bytecode: 62201638b499e66c0503d022d2521704c9476c18e906af29dba710c86658348a diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index e0bbd04706..a9fabbd01b 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f5b3b17bd093c0341f5bbe9d0718cd5b6c74912b533adde36f9c5da0ff6a6af6 - unrolled_ast: f5b3b17bd093c0341f5bbe9d0718cd5b6c74912b533adde36f9c5da0ff6a6af6 - ssa_ast: d87bf4a15278c93037efe57db3743f27fc09a08eba958612b24f8226db12a1a9 - flattened_ast: 35825530ad88a4714cf076b345a501380859366316436a02a7afc3c2fa6d6655 - inlined_ast: 35825530ad88a4714cf076b345a501380859366316436a02a7afc3c2fa6d6655 - dce_ast: 549ea2d966ca9b043d549740f7f4bbc67986dc9ce227257a1a629ae33ea3d5c0 + - initial_ast: cbf499904045352a886262be52b3d9fd11d54d360f2c08b4d878e736f0b08ce8 + unrolled_ast: cbf499904045352a886262be52b3d9fd11d54d360f2c08b4d878e736f0b08ce8 + ssa_ast: 54defa106ce6b9b1f9413a8c9826d8e60a3038097bb92c5efd63f7795ba71dc3 + flattened_ast: 880fc6a9cdfdc2303f7e17080b1ae257272bac185bcd3c4e627f26c3864dd844 + inlined_ast: 880fc6a9cdfdc2303f7e17080b1ae257272bac185bcd3c4e627f26c3864dd844 + dce_ast: 158e4da27be2d9a3ad884b59fc37eb639e4d3ea825d1aa4ef934848b5143c076 bytecode: 77797810cc7ce1ad77b02dc0da8aad7aa850efdee822ccd282305a30899c9dd3 diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 484471d4c3..cd285bc2f2 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b57fb93fa65fc7987238d460273c8cba16dd1a79a9f5158baa3ef2c1fba64926 - unrolled_ast: b57fb93fa65fc7987238d460273c8cba16dd1a79a9f5158baa3ef2c1fba64926 - ssa_ast: 8571757cdadcb8c59a90deecba6c48727764137eb636b5c5038d512b25407a41 - flattened_ast: 249683377464651592429c5dad882cd0a9d0bd8a1c8554f6a168a92b1431a2b0 - inlined_ast: 249683377464651592429c5dad882cd0a9d0bd8a1c8554f6a168a92b1431a2b0 - dce_ast: 249683377464651592429c5dad882cd0a9d0bd8a1c8554f6a168a92b1431a2b0 + - initial_ast: 28fe42cf38aeeccfd07d782eb16f9bf205cfd811c85f52cc95cff11a69ff3160 + unrolled_ast: 28fe42cf38aeeccfd07d782eb16f9bf205cfd811c85f52cc95cff11a69ff3160 + ssa_ast: fca5b04099db36285a9f7ebc1f7708495a3cdb1ee53b182a0349dc85b8b6bd9f + flattened_ast: 6fe8be42a7d5f839afbfd065cb54761519695450111e47576149c98a777a075b + inlined_ast: 6fe8be42a7d5f839afbfd065cb54761519695450111e47576149c98a777a075b + dce_ast: 6fe8be42a7d5f839afbfd065cb54761519695450111e47576149c98a777a075b bytecode: f3ae8aae74e39312aba21f142a98675531f60dca221ceefec1a5f5168b675daa diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index 3a93f2b1a0..08eda4f1c6 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 871be497192eb6e477d884b6ac795b3261c10e13dec5d83557a2cf2506986a9f - unrolled_ast: 871be497192eb6e477d884b6ac795b3261c10e13dec5d83557a2cf2506986a9f - ssa_ast: 64f6ac62fc058b91f0565eeffe9f8f99c0b73d0a9e6acab8665a20fa82e0763a - flattened_ast: 0352a01ef89390d1cafd1d9c89f53428f2d7a3af41b3deac7360a1b77fecb305 - inlined_ast: 0352a01ef89390d1cafd1d9c89f53428f2d7a3af41b3deac7360a1b77fecb305 - dce_ast: 0352a01ef89390d1cafd1d9c89f53428f2d7a3af41b3deac7360a1b77fecb305 + - initial_ast: 7a5aa4bdcfa83c7405b7d35bbaf0aa2892b2144b6f5f2335adbadac701cd3e08 + unrolled_ast: 7a5aa4bdcfa83c7405b7d35bbaf0aa2892b2144b6f5f2335adbadac701cd3e08 + ssa_ast: 55871ab0b5dceee906cbf98c9cc7c079e9753d96cddf2ed4c229bfe01822f3b2 + flattened_ast: 9851b2aee353d804301873190bf9948da602c1bb0c5442c09904b92ebf2c1621 + inlined_ast: 9851b2aee353d804301873190bf9948da602c1bb0c5442c09904b92ebf2c1621 + dce_ast: 9851b2aee353d804301873190bf9948da602c1bb0c5442c09904b92ebf2c1621 bytecode: 02f54418a16f130b642d241c152edae7921a53c84ce4e6c76a6f021e88816d81 diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 94f6ce6054..c8b05a2d99 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6f815d85e39807361167556d43e362d591bb140a00bc4777be380059b3218736 - unrolled_ast: 6f815d85e39807361167556d43e362d591bb140a00bc4777be380059b3218736 - ssa_ast: 5e5f19ab679d53c26c801641ae634ea9aa8298960cf0460b5e4fafe33b815fe4 - flattened_ast: 86ac35549edf64a46f924de609f931f3bd162568ed5cb804a748f83ff1108fc0 - inlined_ast: 86ac35549edf64a46f924de609f931f3bd162568ed5cb804a748f83ff1108fc0 - dce_ast: 86ac35549edf64a46f924de609f931f3bd162568ed5cb804a748f83ff1108fc0 + - initial_ast: 667d99c0cc6c9e86bff035d22845390bffef266d6584bba4703a4a64b42dc55d + unrolled_ast: 667d99c0cc6c9e86bff035d22845390bffef266d6584bba4703a4a64b42dc55d + ssa_ast: 22550faa0a61541201e9aeb6f770f69e4ab462285e894cf05a3ed004d5503ce3 + flattened_ast: 408ae16c2ba160d1144773b31b7e42bf951244a8acf6898c05aa7cdcb1edaf5b + inlined_ast: 408ae16c2ba160d1144773b31b7e42bf951244a8acf6898c05aa7cdcb1edaf5b + dce_ast: 408ae16c2ba160d1144773b31b7e42bf951244a8acf6898c05aa7cdcb1edaf5b bytecode: 47409f2d1e5aa02662a482ee2c1abfc392d6d46e16b260ed9a96680745e2f237 diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 0b26d662ab..d9a1885957 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 25005e3cb01d03d9a62316ab1303efc28ec19c636b1b814e472b372687552b63 - unrolled_ast: 25005e3cb01d03d9a62316ab1303efc28ec19c636b1b814e472b372687552b63 - ssa_ast: 9a08c16dcad9964d3071074a12b639733e0a23a7d5ec8881dc932e20902e892e - flattened_ast: ad596add937c514080162dd8bc3a49bdc9046775da1b3c650cf6afb9ccd7b39f - inlined_ast: ad596add937c514080162dd8bc3a49bdc9046775da1b3c650cf6afb9ccd7b39f - dce_ast: ad596add937c514080162dd8bc3a49bdc9046775da1b3c650cf6afb9ccd7b39f + - initial_ast: cb33ca4b01b1cd919cdc443de3994bd3e0ad34b9acf59a35d7be93f14039eeca + unrolled_ast: cb33ca4b01b1cd919cdc443de3994bd3e0ad34b9acf59a35d7be93f14039eeca + ssa_ast: 08d0408cff9e2f9fbe35054de966bfe909f6cdcd489c36a0c7144cc774b0eb66 + flattened_ast: 6ac2cf51023fb6555c4229eb563ddb42e5083dbe2da35ea56a9b740544218394 + inlined_ast: 6ac2cf51023fb6555c4229eb563ddb42e5083dbe2da35ea56a9b740544218394 + dce_ast: 6ac2cf51023fb6555c4229eb563ddb42e5083dbe2da35ea56a9b740544218394 bytecode: 40c7270774b37bcbe32743ffb6c4500b87338670c0f188181135c6a069711375 diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index 0269ae71ec..2edec495bd 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d7811788d12d0b5b0031d060b1e487c8f6b2207161304952328056dcb215995b - unrolled_ast: d7811788d12d0b5b0031d060b1e487c8f6b2207161304952328056dcb215995b - ssa_ast: aea74fbf7a1b3ec5db03d101400d5ab27d63b5502139c212eeddb535d7e98d24 - flattened_ast: b455af78c7e7aa177ed96e50be06aab6d444b43a752f65dbe4caf4d83dd20b9a - inlined_ast: b455af78c7e7aa177ed96e50be06aab6d444b43a752f65dbe4caf4d83dd20b9a - dce_ast: b455af78c7e7aa177ed96e50be06aab6d444b43a752f65dbe4caf4d83dd20b9a + - initial_ast: b2f60222a5b4fbc23aeed7c8c5cec30d9a4ae8c0a8547e5b4e7dd9afa52e338a + unrolled_ast: b2f60222a5b4fbc23aeed7c8c5cec30d9a4ae8c0a8547e5b4e7dd9afa52e338a + ssa_ast: fe9f53981eda6c92cac924180f176b0e73858ce193d174ea647743bce495de04 + flattened_ast: 76edb17236025b9a4754e1e3510999b8508b0e31220a0af470fb5775111ffcbb + inlined_ast: 76edb17236025b9a4754e1e3510999b8508b0e31220a0af470fb5775111ffcbb + dce_ast: 76edb17236025b9a4754e1e3510999b8508b0e31220a0af470fb5775111ffcbb bytecode: 1e5f18a7a17246b9383073ddde5d563ef4d68cba62d0ea61812548c152baa1f8 diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 9fa20af5ed..da89d66c4e 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 904ce2692504614925dd2e1c795e942d6a3d95be6386e2d39c80e10853aed58d - unrolled_ast: 904ce2692504614925dd2e1c795e942d6a3d95be6386e2d39c80e10853aed58d - ssa_ast: 1ea35d9b48678da661b4d2c5acc2dc65dde01b05b3e6b599d8597a1cc17e8978 - flattened_ast: 17ec2af58cc3e05d378c752f52cb055ec5c92e5dbf57b0b20dc07e1ef2a8cd84 - inlined_ast: 17ec2af58cc3e05d378c752f52cb055ec5c92e5dbf57b0b20dc07e1ef2a8cd84 - dce_ast: 17ec2af58cc3e05d378c752f52cb055ec5c92e5dbf57b0b20dc07e1ef2a8cd84 + - initial_ast: 164a25e56a03b6b11e546c1aee2ab52bc90c9f3fd1d022ca6fe3f93b95d66343 + unrolled_ast: 164a25e56a03b6b11e546c1aee2ab52bc90c9f3fd1d022ca6fe3f93b95d66343 + ssa_ast: 373b65cd254585b8e4a794dda61a4e8801f442fee7409643c24ef7dba66ce088 + flattened_ast: e4220b74f8e74d87f05e74cc11b2999be27817f51ad514feea6efe65fd321b16 + inlined_ast: e4220b74f8e74d87f05e74cc11b2999be27817f51ad514feea6efe65fd321b16 + dce_ast: e4220b74f8e74d87f05e74cc11b2999be27817f51ad514feea6efe65fd321b16 bytecode: 3f7aa687c1b915adc86646e735591713028a9edbb51ce82964b3343a4cb597d0 diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index 2fb3d917f2..75f0b9502e 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5b50eb42138b8047d2aa92a4dc6ee3aabd9cae993c700c2ec80b9f1ab2158572 - unrolled_ast: 5b50eb42138b8047d2aa92a4dc6ee3aabd9cae993c700c2ec80b9f1ab2158572 - ssa_ast: 9df0962538ec769507a8abf527305d9bd0c55bb42a06f2c1ab2d84527784a14b - flattened_ast: 4783454d1abf799d7550ac6a8bc9e60313808bd867e371d14f5b9cda6a4aef52 - inlined_ast: 4783454d1abf799d7550ac6a8bc9e60313808bd867e371d14f5b9cda6a4aef52 - dce_ast: 4783454d1abf799d7550ac6a8bc9e60313808bd867e371d14f5b9cda6a4aef52 + - initial_ast: 4568fd8d65dea6c28deae66f4dc80c3c7538e1d1c219077ea43624d2f8af9e84 + unrolled_ast: 4568fd8d65dea6c28deae66f4dc80c3c7538e1d1c219077ea43624d2f8af9e84 + ssa_ast: da97f844d4f0e128261de164e0a5ae96f2b74c795a3d1743fca0817ac8b1df4f + flattened_ast: dc34ba2c55278c0946ada3fb97508f4d71d3f294660631ad84e7093ba92098e1 + inlined_ast: dc34ba2c55278c0946ada3fb97508f4d71d3f294660631ad84e7093ba92098e1 + dce_ast: dc34ba2c55278c0946ada3fb97508f4d71d3f294660631ad84e7093ba92098e1 bytecode: d0305b1f09132642d928c6bf349f6153a7da91fefd95b8f16e2e33f182836ddf diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 802ce64ed5..c1f7a83862 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3081b6dcf0d71d95570ad89d560b6944302a26e40efe6c6b6f7c4841c610d8b7 - unrolled_ast: 3081b6dcf0d71d95570ad89d560b6944302a26e40efe6c6b6f7c4841c610d8b7 - ssa_ast: c05f3f4cc6d3421a4b71434e646c1aac0eb9e70c93688e4c74ad631d175f982c - flattened_ast: 5a9df71d9f9675a327af583ce47d2912adc7242b2431461bdb6e0bdb51d22680 - inlined_ast: 5a9df71d9f9675a327af583ce47d2912adc7242b2431461bdb6e0bdb51d22680 - dce_ast: 5a9df71d9f9675a327af583ce47d2912adc7242b2431461bdb6e0bdb51d22680 + - initial_ast: 726b4c6535c160010f8f03bae6bded24f508cf31c0127ef4d55b85a4c18df651 + unrolled_ast: 726b4c6535c160010f8f03bae6bded24f508cf31c0127ef4d55b85a4c18df651 + ssa_ast: 878455d281a51f9d5ff9650312e8ea3dc7f3f3acd2b5fbadfa9dc48696c69bf2 + flattened_ast: f5377ea8dcacb9928c0801037e695eaab882845ab065d9ac697dda7026683237 + inlined_ast: f5377ea8dcacb9928c0801037e695eaab882845ab065d9ac697dda7026683237 + dce_ast: f5377ea8dcacb9928c0801037e695eaab882845ab065d9ac697dda7026683237 bytecode: 42cad1b1ce1e09199ad8861f797a95a2cb43d406825a88becb41a5d318f9341f diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index b4345265c5..bfcaeef8c0 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4c814578eaaf5780b23208a299f264526d26390fbb6e0d68b7cebf54c851d58f - unrolled_ast: 4c814578eaaf5780b23208a299f264526d26390fbb6e0d68b7cebf54c851d58f - ssa_ast: beb29f2d2e0a444f972809410d04a4f4431cfc6777b669cec1f21671fb7fc876 - flattened_ast: 75787bfa50c735748ef3ad59fcec3e56d62ff0d3ebabdd19f463a4839b7df0a7 - inlined_ast: 75787bfa50c735748ef3ad59fcec3e56d62ff0d3ebabdd19f463a4839b7df0a7 - dce_ast: 75787bfa50c735748ef3ad59fcec3e56d62ff0d3ebabdd19f463a4839b7df0a7 + - initial_ast: b8cd4489d5020c5cfed7f9f4037d75b9330718dcb9aadb122d761fe3c9eb1fc3 + unrolled_ast: b8cd4489d5020c5cfed7f9f4037d75b9330718dcb9aadb122d761fe3c9eb1fc3 + ssa_ast: e32172ecbda2c058c60013b654fbe0dc63283cbe61c8aaf536da0d1a31b2fba9 + flattened_ast: 0a134b362e6a33b0f0877afa06f2b89ae0615f32882376878555d59000a9122f + inlined_ast: 0a134b362e6a33b0f0877afa06f2b89ae0615f32882376878555d59000a9122f + dce_ast: 0a134b362e6a33b0f0877afa06f2b89ae0615f32882376878555d59000a9122f bytecode: 3ded1a7996eb0f11477cad2c5c5e8d182e09170240812cbdb636ae16b9b7aa5b diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index 944326fe36..d9f05cc731 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b9d7bcb1d2e63b483d50df63353e036743ead5687e5cd8e196216139c8bb21bc - unrolled_ast: b9d7bcb1d2e63b483d50df63353e036743ead5687e5cd8e196216139c8bb21bc - ssa_ast: 9558905205633f78ed47b7fc0cb43d8d7b964dbb2d8316c4a2bbabbb45a1fb74 - flattened_ast: 46cfabd88848b9cd37ec596eb13f894cf516506961d4a5f1ba2e8a3d8b560740 - inlined_ast: 46cfabd88848b9cd37ec596eb13f894cf516506961d4a5f1ba2e8a3d8b560740 - dce_ast: 46cfabd88848b9cd37ec596eb13f894cf516506961d4a5f1ba2e8a3d8b560740 + - initial_ast: b2900bb115487e110cc122972ee3e4f71547bf997559aae209ecf1e7ededbd85 + unrolled_ast: b2900bb115487e110cc122972ee3e4f71547bf997559aae209ecf1e7ededbd85 + ssa_ast: 8a3ad370cd3e0f22d72c438feb8ee60078311527df527445446de7610d4fe012 + flattened_ast: 733905b5491d7703e0ad389331c0a45957914a0aa1d1f318f5c9661e80532aa6 + inlined_ast: 733905b5491d7703e0ad389331c0a45957914a0aa1d1f318f5c9661e80532aa6 + dce_ast: 733905b5491d7703e0ad389331c0a45957914a0aa1d1f318f5c9661e80532aa6 bytecode: 3a5f76958a4110b8d0388a7e489e68542029338cf78070798ea397107d10c9a6 diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index 7a59cdff05..e1062b34a8 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: afc2125bb26c04f6e5e37ddf486efa1d2ec3fb373b5a98a304441df31552e908 - unrolled_ast: afc2125bb26c04f6e5e37ddf486efa1d2ec3fb373b5a98a304441df31552e908 - ssa_ast: 65590c9a5be6c5ecfa92376f3f45f775a69ad19047a9033e94361198dbee25ee - flattened_ast: 5c04309fa64b931f489402df810c54e7aba1211f084d92726cdddd0cc6243336 - inlined_ast: 5c04309fa64b931f489402df810c54e7aba1211f084d92726cdddd0cc6243336 - dce_ast: 5c04309fa64b931f489402df810c54e7aba1211f084d92726cdddd0cc6243336 + - initial_ast: 164af7401e7ce17e0c6f10afb110df11918f65b421b5cca5ce430c3033b9e708 + unrolled_ast: 164af7401e7ce17e0c6f10afb110df11918f65b421b5cca5ce430c3033b9e708 + ssa_ast: ac121123c3c9d0e21dbdac561da7464fabb8d4886a259e0abd15853a9dc93d07 + flattened_ast: 707ce5f3e15765d164271a226adb6cb07518b76701a1c14ba08ada938de6fd07 + inlined_ast: 707ce5f3e15765d164271a226adb6cb07518b76701a1c14ba08ada938de6fd07 + dce_ast: 707ce5f3e15765d164271a226adb6cb07518b76701a1c14ba08ada938de6fd07 bytecode: f4c9bffb3e7a32c2e6922f2322af66153f047899fdc383d654dceeaee0b75936 diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index 4679a56406..22be595ea6 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5a67486325e1ed6073ff3b51946baecc18d0e69ec09ad7843561d2c762097e84 - unrolled_ast: 5a67486325e1ed6073ff3b51946baecc18d0e69ec09ad7843561d2c762097e84 - ssa_ast: 27076ac9ff23699926621a3bef8d7624cf8128811a873caa3174c4f13da49637 - flattened_ast: 434eb58a7feb217d67026a5e4061604f64a937505ed0612b306eb068a726fad5 - inlined_ast: 434eb58a7feb217d67026a5e4061604f64a937505ed0612b306eb068a726fad5 - dce_ast: 434eb58a7feb217d67026a5e4061604f64a937505ed0612b306eb068a726fad5 + - initial_ast: df9f8beeff87be68bf5df1cad1d5815aae62c6c218a48dc3316862c56156b7a8 + unrolled_ast: df9f8beeff87be68bf5df1cad1d5815aae62c6c218a48dc3316862c56156b7a8 + ssa_ast: 68830522f17802cf12e8bd501083324ec45e7d9c913d30676bdd38e89c5753e7 + flattened_ast: e78ed7c6fa937c8310ab5ec711ad7a819a50d8bbc44fdd109a2ebef080abe7a6 + inlined_ast: e78ed7c6fa937c8310ab5ec711ad7a819a50d8bbc44fdd109a2ebef080abe7a6 + dce_ast: e78ed7c6fa937c8310ab5ec711ad7a819a50d8bbc44fdd109a2ebef080abe7a6 bytecode: f17af0312ab97ed5f1cd2af6b3c745b673cb447581bef6f1c358a81594e02b63 diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index 3fb0cf355c..84934380b2 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0c52f37d6ff3efe6de65305a65eed31a9ecf4da7056af20aa0e4c1933604f253 - unrolled_ast: 0c52f37d6ff3efe6de65305a65eed31a9ecf4da7056af20aa0e4c1933604f253 - ssa_ast: ca5cea87808c7593b0081108fc2af5e512f60244a5941e427746a6eef6dd093d - flattened_ast: c9e2cc1b48f83af3571fbb9c019b14e2160a4c8b188b1cbf622673a0b641b7d9 - inlined_ast: c9e2cc1b48f83af3571fbb9c019b14e2160a4c8b188b1cbf622673a0b641b7d9 - dce_ast: c9e2cc1b48f83af3571fbb9c019b14e2160a4c8b188b1cbf622673a0b641b7d9 + - initial_ast: 783166c4a8215c8ca5be7e47dc5f9a9edb138b83562f5d0d13364b1caecb848d + unrolled_ast: 783166c4a8215c8ca5be7e47dc5f9a9edb138b83562f5d0d13364b1caecb848d + ssa_ast: 8a9675b21ba8ec5859dd01ec533e6aa6f3c43867065f88e8046b71cc596efa0c + flattened_ast: bae70fb64bd1aa4ccf373697578c6fee53f5f63cc94d3a2cf4e3cf1dae25f0f1 + inlined_ast: bae70fb64bd1aa4ccf373697578c6fee53f5f63cc94d3a2cf4e3cf1dae25f0f1 + dce_ast: bae70fb64bd1aa4ccf373697578c6fee53f5f63cc94d3a2cf4e3cf1dae25f0f1 bytecode: e1a8bdccbb21108530629a18d3a73db59da82ece3c0e1f83022f160ed099d90a diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index aba7dcf38e..dd9661b0da 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fdfc8cabc81692dbc56e5e28a6f07df18872b2b307a2a7ef68698f4451df9a16 - unrolled_ast: fdfc8cabc81692dbc56e5e28a6f07df18872b2b307a2a7ef68698f4451df9a16 - ssa_ast: fb36cb3733be081ed0852dcaaa69f4b33af636b4fe2d270cc02a28487f00ffe9 - flattened_ast: 5788793459555260aefda2bb1078307a645960bcd37cdc058bf70663c3f796fd - inlined_ast: 5788793459555260aefda2bb1078307a645960bcd37cdc058bf70663c3f796fd - dce_ast: 5788793459555260aefda2bb1078307a645960bcd37cdc058bf70663c3f796fd + - initial_ast: 4aead2693cb1c31ffe25baaabf8f8dde81e56841049fd441ce16e6bd3c25e774 + unrolled_ast: 4aead2693cb1c31ffe25baaabf8f8dde81e56841049fd441ce16e6bd3c25e774 + ssa_ast: 56a5d518f78ec5d1ff168ff62229367cb5eb10380eab580767b92b2ae95e42da + flattened_ast: 2356e64c92318d5432da698ae61e94f2941c3d1cb5ba2a42e3e9bbcafb765ff2 + inlined_ast: 2356e64c92318d5432da698ae61e94f2941c3d1cb5ba2a42e3e9bbcafb765ff2 + dce_ast: 2356e64c92318d5432da698ae61e94f2941c3d1cb5ba2a42e3e9bbcafb765ff2 bytecode: 83b53d924626a5d279185858585b6a826be3670399330a38b51230716460cac9 diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index 33bf1d58b7..ebe54f29f7 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b1cadc049ad47022d6d0edbf94cc7af9d09783abc8a2c269dfa577f9fcbb88fa - unrolled_ast: b1cadc049ad47022d6d0edbf94cc7af9d09783abc8a2c269dfa577f9fcbb88fa - ssa_ast: 1545f76da55f60b4ba0fb51600604d21c2fed58dfa00448d15cf3350e2d7dacc - flattened_ast: 8fc9715eec00b4beccd1323da8623669682d8cd93ef184750549e1d116e5ded0 - inlined_ast: 8fc9715eec00b4beccd1323da8623669682d8cd93ef184750549e1d116e5ded0 - dce_ast: 8fc9715eec00b4beccd1323da8623669682d8cd93ef184750549e1d116e5ded0 + - initial_ast: 59a412a776ae35045b8bd1e881c71e93cde8a6ed564ea2370c1d6f68ca48f05c + unrolled_ast: 59a412a776ae35045b8bd1e881c71e93cde8a6ed564ea2370c1d6f68ca48f05c + ssa_ast: 6814b5e32c7344062ae92d3991c6a4c411faeda976ce8661853d1b1c9b64e14c + flattened_ast: 3067be1522f58785cc3e117f2111c47ff60a6e8d342bf087e15f4ebdb992db70 + inlined_ast: 3067be1522f58785cc3e117f2111c47ff60a6e8d342bf087e15f4ebdb992db70 + dce_ast: 3067be1522f58785cc3e117f2111c47ff60a6e8d342bf087e15f4ebdb992db70 bytecode: a7d5e36441243461635f13035d4c2b17e257b340d905c6d9368a25aaae6e7c78 diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index a4eeaf818a..55e85a5ae6 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5ae7c2d0952490eb2e363cc2d577f2f76a2b41108a61e24a895275aa7fd4976b - unrolled_ast: 5ae7c2d0952490eb2e363cc2d577f2f76a2b41108a61e24a895275aa7fd4976b - ssa_ast: 7be366e748aee8cd0d8ec5f4f05fdad16983da2b7860c443caa6836aa097cf2c - flattened_ast: 9d54c9dfa92b3338ca90473773f6ae761109214137d1b5f91a08bfe6723ba154 - inlined_ast: 9d54c9dfa92b3338ca90473773f6ae761109214137d1b5f91a08bfe6723ba154 - dce_ast: 9d54c9dfa92b3338ca90473773f6ae761109214137d1b5f91a08bfe6723ba154 + - initial_ast: 623d6f2d4ee64a86a6ac4dd007856f6a4db073ec257945736e940aada83a58b8 + unrolled_ast: 623d6f2d4ee64a86a6ac4dd007856f6a4db073ec257945736e940aada83a58b8 + ssa_ast: ac16cff353353c364575b47546e07c315c98c0113b0a3f9a8c7cd52221b44c99 + flattened_ast: 235e4b4a97ed519142c6282f2269b39e0f1fa92227e0f1a547f29d5cec6baf3c + inlined_ast: 235e4b4a97ed519142c6282f2269b39e0f1fa92227e0f1a547f29d5cec6baf3c + dce_ast: 235e4b4a97ed519142c6282f2269b39e0f1fa92227e0f1a547f29d5cec6baf3c bytecode: 84835e4d314e3795b36935bfc3412ca7794bcbafd8dcedaa48855b1b63e030c3 diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index c0fb69f925..aec4ddccd2 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 39b471a72591df256c5859b6df1c4bc06129fb0a5ebd805d420ff52a8b5b3771 - unrolled_ast: 39b471a72591df256c5859b6df1c4bc06129fb0a5ebd805d420ff52a8b5b3771 - ssa_ast: 1071c082adb922599e57ac8cf549497631abf40034c2debe57ceed71c441b4b2 - flattened_ast: 397785ad8ef12f977d798ff747f8cce7bbeb287d0fd658369256f5b4096ffae3 - inlined_ast: 397785ad8ef12f977d798ff747f8cce7bbeb287d0fd658369256f5b4096ffae3 - dce_ast: 397785ad8ef12f977d798ff747f8cce7bbeb287d0fd658369256f5b4096ffae3 + - initial_ast: 1db9cdf30c93d3a65a2273bacc0a3f4f92fa42ddd8a9ca47bcf0271d94d896e8 + unrolled_ast: 1db9cdf30c93d3a65a2273bacc0a3f4f92fa42ddd8a9ca47bcf0271d94d896e8 + ssa_ast: 91ae347dc97e5c83f6d2325559cd33b4a0a70777758c359b729f7990ff226e37 + flattened_ast: 5172aca1244c8af4ec44c3fe5e722374ac36d67d10bd8f6d8741d3f366d355b0 + inlined_ast: 5172aca1244c8af4ec44c3fe5e722374ac36d67d10bd8f6d8741d3f366d355b0 + dce_ast: 5172aca1244c8af4ec44c3fe5e722374ac36d67d10bd8f6d8741d3f366d355b0 bytecode: 64a3bc8031d302c5bf6b6edb51dbd350c3209b28045d3cfebd6b837c0e246826 diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 4c9510f3c9..c710b2ed31 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 593dd6428166cd9d8e5d54d622da11ee36665699c25b1657db78f5267da63b47 - unrolled_ast: 593dd6428166cd9d8e5d54d622da11ee36665699c25b1657db78f5267da63b47 - ssa_ast: 32d4adb9bcd202c20584120bded3e97314b34c757a15077e17a23d90a64b86f4 - flattened_ast: 366a8cdc2f2d4af6ee7e60712d7963ffdb434e2d98c59c3bc4c3af64e729f38e - inlined_ast: 366a8cdc2f2d4af6ee7e60712d7963ffdb434e2d98c59c3bc4c3af64e729f38e - dce_ast: b0f1845320f15b743729402651a2847594d35f33b929d9a0ace0a580bb51f940 + - initial_ast: a15cdf76c01db309ea242546053586bcdbd05d1969154c6c0aba9715bd69e505 + unrolled_ast: a15cdf76c01db309ea242546053586bcdbd05d1969154c6c0aba9715bd69e505 + ssa_ast: b4440dba070022d80cd5e9b6e5b80597a192c89a634bb3c9d5b435b1829c4ef2 + flattened_ast: 3476132718efef79ec138dda3ef5fbd8804f08580e1bd815d7e839d6c1caae24 + inlined_ast: 3476132718efef79ec138dda3ef5fbd8804f08580e1bd815d7e839d6c1caae24 + dce_ast: 15fc2e67ce43485682b5ff744646bd81945bab1c95652ad48939890147a10ebc bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 204bdd24da..c55e680760 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 973f6e77c92fad134db1a01120e201f883ad312b3c68f4f8a74a203f9bec1f37 - unrolled_ast: 973f6e77c92fad134db1a01120e201f883ad312b3c68f4f8a74a203f9bec1f37 - ssa_ast: a9253596d753bccb9c922e26ff91a950295bb89712205cf69ecbd9109cd9ab5a - flattened_ast: f57634aaf790a3a1c3e576e4bc1534f80a690cfe93a811c4b304da84cb667f04 - inlined_ast: f57634aaf790a3a1c3e576e4bc1534f80a690cfe93a811c4b304da84cb667f04 - dce_ast: 21154e5f0ae8de65800e415b5aaf804080955cf74e6f58549b847f07ba870093 + - initial_ast: 6af13a4c0278f92fd38ea4ef71ceaabc30ffe7f8fa6d43b723c3a461e8f1f833 + unrolled_ast: 6af13a4c0278f92fd38ea4ef71ceaabc30ffe7f8fa6d43b723c3a461e8f1f833 + ssa_ast: fc9fb4f6167c975176c40e38ff4e7fab7e166fa0e44a2bebf2f4254b81360cff + flattened_ast: e721d70282690184b95f67c00ef70c155f95ad46cf5bf9271796633146e3092b + inlined_ast: e721d70282690184b95f67c00ef70c155f95ad46cf5bf9271796633146e3092b + dce_ast: 33e58220b47be93d9f27d41dc97af2318e87fc119df518e8b15c2e569fd47c02 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index ee20ab9270..221d3d8ea1 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 15ed1dc3f0c59f586ccb582f40b66050bcef56928e35a0f289f7b3cbe1c79bc0 - unrolled_ast: 15ed1dc3f0c59f586ccb582f40b66050bcef56928e35a0f289f7b3cbe1c79bc0 - ssa_ast: 399c38f1b33cec850031ed59321509d5acac4cd9670964d84b92e9ea1521ecc0 - flattened_ast: 75fc444954a90b8f61a265a413f59d45026ebf09e32dfcde71ab09b1d725e83a - inlined_ast: 75fc444954a90b8f61a265a413f59d45026ebf09e32dfcde71ab09b1d725e83a - dce_ast: 75fc444954a90b8f61a265a413f59d45026ebf09e32dfcde71ab09b1d725e83a + - initial_ast: 4982e637f017ca4be89f66ac9e98410e60f368db6ca08b91b670b6519269f63b + unrolled_ast: 4982e637f017ca4be89f66ac9e98410e60f368db6ca08b91b670b6519269f63b + ssa_ast: fd3b206c07408a75a7ba90c77ae079fb15471dc924f6fbde671d1757c4113bac + flattened_ast: 55520950aa14fb82221e5828e3dc76e43a792a7e2799c421fb3e009fdfa083dd + inlined_ast: 55520950aa14fb82221e5828e3dc76e43a792a7e2799c421fb3e009fdfa083dd + dce_ast: 55520950aa14fb82221e5828e3dc76e43a792a7e2799c421fb3e009fdfa083dd bytecode: 7af3a41a18b6d5e929c72eb42b1dcf26553676d4297e8477c85c2660199e4843 diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index b037d707bd..68002d927b 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0c7eef2a89c686c4b78b0184bfd84e77c845d9fbd6c39da0b6d011e3a66335a2 - unrolled_ast: 0c7eef2a89c686c4b78b0184bfd84e77c845d9fbd6c39da0b6d011e3a66335a2 - ssa_ast: 904d39cde7eedaa780f566561223b4cc5c504249530ea0cfd4135a45a837172d - flattened_ast: 1792ca92cfb95dbd1e1e6324e4f422db9c90ea35a68ef0c867a40c6a216a32a8 - inlined_ast: 1792ca92cfb95dbd1e1e6324e4f422db9c90ea35a68ef0c867a40c6a216a32a8 - dce_ast: 1792ca92cfb95dbd1e1e6324e4f422db9c90ea35a68ef0c867a40c6a216a32a8 + - initial_ast: 18d6a215ff9b483ccdf2de7cfbef5ccbd3e4daf47a8db0caec8fc603c13e8e93 + unrolled_ast: 18d6a215ff9b483ccdf2de7cfbef5ccbd3e4daf47a8db0caec8fc603c13e8e93 + ssa_ast: 650e29de7f2f61ec311b20306891e50998dee8d411cb2cec4cf322e34f21d5e9 + flattened_ast: 5c6634e8ccfd52a150f5d99188941d55c7b19691726a0f010856113ff7e39611 + inlined_ast: 5c6634e8ccfd52a150f5d99188941d55c7b19691726a0f010856113ff7e39611 + dce_ast: 5c6634e8ccfd52a150f5d99188941d55c7b19691726a0f010856113ff7e39611 bytecode: 1297340f0d83c34cfcd5e861de7b4358083ecfb96f9bdc75ae2f78ffa20831cc diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 271415a94f..231911bbc2 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4122e0f35832c94f02c0402ccd3e119d2959fa0622d853236aee221c9ce75321 - unrolled_ast: 4122e0f35832c94f02c0402ccd3e119d2959fa0622d853236aee221c9ce75321 - ssa_ast: f7da86e7baa8412cedcf072b206aa14bc9066783623248d66016bbdab5b2f609 - flattened_ast: ecca31afbdf9d9cc9576617e607fcc9e6abe332e627032ac0203f39e85421bbc - inlined_ast: ecca31afbdf9d9cc9576617e607fcc9e6abe332e627032ac0203f39e85421bbc - dce_ast: 04c9e598ed205c643415ee43c445b30b6c6006e68eebb3dd6466e0e4ffb32a8a + - initial_ast: 1a91672aee80afbe5c84fdcc4d355a63e8309da77531d436dcfc1443d1dc3e31 + unrolled_ast: 1a91672aee80afbe5c84fdcc4d355a63e8309da77531d436dcfc1443d1dc3e31 + ssa_ast: 84968cb36d83d06ee34d5f7331adfebd507e3bb1e86b038faec0bf11bc8f5bbc + flattened_ast: ac051743e4c719e4bb2c236385d3f8bbee056d23c6d74eeb5765f3f4e6f8e8a0 + inlined_ast: ac051743e4c719e4bb2c236385d3f8bbee056d23c6d74eeb5765f3f4e6f8e8a0 + dce_ast: 0ec061faa5f9399193029b02f676d02cf6cfe73220c0f375f1a9354637b420f7 bytecode: 3a6e5f56da93ca64f10519ad72c0dfe039273274b0e88fecaec58c40d1717488 diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 659a139913..4e49ed2e75 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2900346cde32b37f3ec042632a68bbf406c2393c230cbb66daa7a91599b0b322 - unrolled_ast: 2900346cde32b37f3ec042632a68bbf406c2393c230cbb66daa7a91599b0b322 - ssa_ast: ebac1b96baed77daf97ffbc9a92a30dbcedc3b916dfe712132062f1714da23e5 - flattened_ast: 8a9a73f08d8c89cf849997fd1a0097a01f147da6c77fbe4bd0c27f7fe320af4a - inlined_ast: 8a9a73f08d8c89cf849997fd1a0097a01f147da6c77fbe4bd0c27f7fe320af4a - dce_ast: 8a9a73f08d8c89cf849997fd1a0097a01f147da6c77fbe4bd0c27f7fe320af4a + - initial_ast: 577911818a50c8e0743c5b35a331c37cde756810f1c564f4806afe4c191308ac + unrolled_ast: 577911818a50c8e0743c5b35a331c37cde756810f1c564f4806afe4c191308ac + ssa_ast: 1605df1395ac7b766171d60074b58cf7439fac9e8f0aaae678a08311276014c1 + flattened_ast: 2ed3de0f0c3be567956803b97fa5bd7f6de3c38f69dcbfe500d15765f2d5fdfa + inlined_ast: 2ed3de0f0c3be567956803b97fa5bd7f6de3c38f69dcbfe500d15765f2d5fdfa + dce_ast: 2ed3de0f0c3be567956803b97fa5bd7f6de3c38f69dcbfe500d15765f2d5fdfa bytecode: b4a60f9a659d2a10c8bd120e5849e06315701c890b9a042eb42161693f600082 diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index f057769fa2..52308c8922 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9c30f840d788ab85da87ef4eb9efa6bc038a88a33b214820508bdb7322bded12 - unrolled_ast: 9c30f840d788ab85da87ef4eb9efa6bc038a88a33b214820508bdb7322bded12 - ssa_ast: 998ae7cc01e814ab0ee19eff0dc25ad48a4dac1c5b01fbbec3dfe8679356d2fd - flattened_ast: 4a6a43f2db71c97d71a729a2d1f364ab97552006c237653f47625d49f217e2f0 - inlined_ast: 4a6a43f2db71c97d71a729a2d1f364ab97552006c237653f47625d49f217e2f0 - dce_ast: 4a6a43f2db71c97d71a729a2d1f364ab97552006c237653f47625d49f217e2f0 + - initial_ast: 9911db7cbe65e441b0b7538ac7cd7136a9a4bf28346c1fec39ff38c01cfd53bd + unrolled_ast: 9911db7cbe65e441b0b7538ac7cd7136a9a4bf28346c1fec39ff38c01cfd53bd + ssa_ast: b732f7b07ea5db8fae8784795ef5a6ee51fac108d78b98a47d2f013e69f326b9 + flattened_ast: e5837d022ea0080a7378b60e8339bb748eab6ae86c9faf119d8c429c9268cbc1 + inlined_ast: e5837d022ea0080a7378b60e8339bb748eab6ae86c9faf119d8c429c9268cbc1 + dce_ast: e5837d022ea0080a7378b60e8339bb748eab6ae86c9faf119d8c429c9268cbc1 bytecode: 5bbd2123413f7834055a8f71617bd2569dcc574e486736eeec7810a5a8642ee0 diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index 8abfe305f3..9bd35799f5 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 327cd4390904928b6cf35efe51c5e4886948194480806bca4b925ae96680bfc1 - unrolled_ast: 327cd4390904928b6cf35efe51c5e4886948194480806bca4b925ae96680bfc1 - ssa_ast: 6ddb1e9da49b0932744a0a4a5fe70c002ca2a66051f558848f0eed5ed6a6e438 - flattened_ast: 9e28544d33cb83ddbeac5722db779423fd0e8220afe4f621fbf3dc5b0c76b1e7 - inlined_ast: 9e28544d33cb83ddbeac5722db779423fd0e8220afe4f621fbf3dc5b0c76b1e7 - dce_ast: 9e28544d33cb83ddbeac5722db779423fd0e8220afe4f621fbf3dc5b0c76b1e7 + - initial_ast: 0ed6d16e049197f5bb751558c361558ac6e708bf555d6d410198e9ad3c3c92bd + unrolled_ast: 0ed6d16e049197f5bb751558c361558ac6e708bf555d6d410198e9ad3c3c92bd + ssa_ast: a7556a0c81402efc88b1cdaf65030a48d74f9e0d9c0ca1211e1450e1446cbbb8 + flattened_ast: d771a2781df64b7a42173d65176d07e8ed540a0ba2a0d96f65b82d9d591d0904 + inlined_ast: d771a2781df64b7a42173d65176d07e8ed540a0ba2a0d96f65b82d9d591d0904 + dce_ast: d771a2781df64b7a42173d65176d07e8ed540a0ba2a0d96f65b82d9d591d0904 bytecode: cfc8529a88bc370481e0596e79d20913a011b529a210ef909d9d66c445b9ec98 diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index c169bc1fee..62275293c1 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 442a85256236f5716abada3e8c31c079b56546d5241a86c9575a2ae062540827 - unrolled_ast: 442a85256236f5716abada3e8c31c079b56546d5241a86c9575a2ae062540827 - ssa_ast: dcc25ec939a8a31cf1f7af9a26ffe400d36ea215c2a2c9da0d15ccb737b2681d - flattened_ast: 8eecdaeddfe4b39472ea7df3ed93fa7da28c15bfd7379ec426b00f2ed6431ffc - inlined_ast: 8eecdaeddfe4b39472ea7df3ed93fa7da28c15bfd7379ec426b00f2ed6431ffc - dce_ast: 8eecdaeddfe4b39472ea7df3ed93fa7da28c15bfd7379ec426b00f2ed6431ffc + - initial_ast: 606b9941cb97b7c537eb1cac6f309f7081fa8ca35fca6dda1155547b3bb4c7ad + unrolled_ast: 606b9941cb97b7c537eb1cac6f309f7081fa8ca35fca6dda1155547b3bb4c7ad + ssa_ast: 0d4fc8d84755b9c94b9b5bc5216846dd78dfecf8f4e49ef3715d54c05bb8a773 + flattened_ast: 4c90dca2a41465d376ff031a055e5dfcd1ef4ca4564016f1054d8950a5f315e4 + inlined_ast: 4c90dca2a41465d376ff031a055e5dfcd1ef4ca4564016f1054d8950a5f315e4 + dce_ast: 4c90dca2a41465d376ff031a055e5dfcd1ef4ca4564016f1054d8950a5f315e4 bytecode: c9269f19329dd9d6e5faaa84693b869ff8040297c2ce894b35a244330f1f6ced diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index ef382ca7b0..cd211b9822 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e1f0496bd75c23d6fb4e07f2e967e5132e7b6fe6778a955464ba6fff12e21fe3 - unrolled_ast: e1f0496bd75c23d6fb4e07f2e967e5132e7b6fe6778a955464ba6fff12e21fe3 - ssa_ast: 71850a7915199e9a2e49667a0c7fb4628dadb93aa69137909d1229d0f10f4c5e - flattened_ast: 54779c1fa9fe4e7563504a8f07241e2d241ebfb02fa1f57b8f48544f8739055d - inlined_ast: 54779c1fa9fe4e7563504a8f07241e2d241ebfb02fa1f57b8f48544f8739055d - dce_ast: 54779c1fa9fe4e7563504a8f07241e2d241ebfb02fa1f57b8f48544f8739055d + - initial_ast: 840b4a4a1c7f6bef38cbc27c72c922df8c85eb5eeda9ee9413d960870c0936de + unrolled_ast: 840b4a4a1c7f6bef38cbc27c72c922df8c85eb5eeda9ee9413d960870c0936de + ssa_ast: be7a25b62cad4875ceaf6fa6819a318935e3d4f1f38038f46c63578542542732 + flattened_ast: 9dda61d5cff0a2df92d77459dffc3f90ce3a15c756f94b7ce39df9b4e85c138d + inlined_ast: 9dda61d5cff0a2df92d77459dffc3f90ce3a15c756f94b7ce39df9b4e85c138d + dce_ast: 9dda61d5cff0a2df92d77459dffc3f90ce3a15c756f94b7ce39df9b4e85c138d bytecode: 0ed67d20829238f0a85c90cdeefb7d0463ffc0bdc7ba9523550c62849a69176b diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 1475c50d8a..17309d9573 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a8325d66093d93f8378a5e19b30856077750bec2f0581735b80561a0180af49b - unrolled_ast: a8325d66093d93f8378a5e19b30856077750bec2f0581735b80561a0180af49b - ssa_ast: 514e0a25eb0a59ce6de775b1b8218f51aedbe1c711c338eb563cb4483f412c2e - flattened_ast: ad2452326217e256b8d915c2c9156e191ee5ff0737cc5c721db1e9a6e56a0fd5 - inlined_ast: ad2452326217e256b8d915c2c9156e191ee5ff0737cc5c721db1e9a6e56a0fd5 - dce_ast: ad2452326217e256b8d915c2c9156e191ee5ff0737cc5c721db1e9a6e56a0fd5 + - initial_ast: a1bdb1e4fd9a9549cf7b2e10e8069d7cbff1173839ba3bbb54bc9397cb951613 + unrolled_ast: a1bdb1e4fd9a9549cf7b2e10e8069d7cbff1173839ba3bbb54bc9397cb951613 + ssa_ast: a7f9af4e375d9e7a7ac9e104019d2fffe38d197d2056a39d25a12d1d6d736c29 + flattened_ast: b02e43e8df91959b1742d3d762004fdf228654e5bef41bcca57d13700d9f8f07 + inlined_ast: b02e43e8df91959b1742d3d762004fdf228654e5bef41bcca57d13700d9f8f07 + dce_ast: b02e43e8df91959b1742d3d762004fdf228654e5bef41bcca57d13700d9f8f07 bytecode: a302075ca2b4aac635c7d45ad379a2b599cfcf7092c99fd104a5c1e5de7ce50f diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index 10bc98f9e3..306d1bca58 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a2eed438beb0fb1924c816a910aae00589b11de0da62226aebc9c3d1faffe8a5 - unrolled_ast: a2eed438beb0fb1924c816a910aae00589b11de0da62226aebc9c3d1faffe8a5 - ssa_ast: 100318f3918fc545497f851f6a19bb455d522148de6599bb15a294738ad66e49 - flattened_ast: 698150b9405efb682dd60a1d235b2e6cb9a862060cbcf2a2806da1d1d890431b - inlined_ast: 698150b9405efb682dd60a1d235b2e6cb9a862060cbcf2a2806da1d1d890431b - dce_ast: 698150b9405efb682dd60a1d235b2e6cb9a862060cbcf2a2806da1d1d890431b + - initial_ast: 7a68c2c390efd1b9e9d38fa9ece4aa54fdf8843a28d9de94352f87c91ce4f6f2 + unrolled_ast: 7a68c2c390efd1b9e9d38fa9ece4aa54fdf8843a28d9de94352f87c91ce4f6f2 + ssa_ast: b9426be7ece2be9650a0b59ef17152f0f4613a18327487b602b40c93ace2f448 + flattened_ast: 34ffd930cf70a81d9d83d3a9a0ec464959a2871d98c59048d1e2c9191455003e + inlined_ast: 34ffd930cf70a81d9d83d3a9a0ec464959a2871d98c59048d1e2c9191455003e + dce_ast: 34ffd930cf70a81d9d83d3a9a0ec464959a2871d98c59048d1e2c9191455003e bytecode: d095ae12af5337bd905f4f2cbb4b480905afe97216959e968bee1a5c6910af2a diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index 0475efbee4..c7131ad70d 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 30c2fa6afdd640ed915f0b16104397c295c8cfe6aa23ae38fa71ef152dae88c3 - unrolled_ast: 30c2fa6afdd640ed915f0b16104397c295c8cfe6aa23ae38fa71ef152dae88c3 - ssa_ast: 0168badbc647c09912b30b7a7bea508cc3e35d39065278e1c8c8104f5f49acfd - flattened_ast: a986ff3547fba993b81cce679bfdf11a6cbc53c9870d4f9aff1c1c5846fe5779 - inlined_ast: a986ff3547fba993b81cce679bfdf11a6cbc53c9870d4f9aff1c1c5846fe5779 - dce_ast: a986ff3547fba993b81cce679bfdf11a6cbc53c9870d4f9aff1c1c5846fe5779 + - initial_ast: 3fda0868db54a2f96416babd0ee0f76bf15cceb432763a63ffe6348b2f6fb629 + unrolled_ast: 3fda0868db54a2f96416babd0ee0f76bf15cceb432763a63ffe6348b2f6fb629 + ssa_ast: 5ff8e3ee8a68d47386f83afe8d100f40c9ef23f1d483a59e70aacbdae4691dbd + flattened_ast: 425d0f0392ec156206147b8ef5635b75fd3ae3c2d70c03acc4a4da7e9ee4715e + inlined_ast: 425d0f0392ec156206147b8ef5635b75fd3ae3c2d70c03acc4a4da7e9ee4715e + dce_ast: 425d0f0392ec156206147b8ef5635b75fd3ae3c2d70c03acc4a4da7e9ee4715e bytecode: f0b8958f3f4c4311e2308c5aed950b9a660d3eacdea6299d6e78c33e064c9cd1 diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index 24e7f4ed14..0f1f10608e 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 77904693232a619edb9dfd847a2e5f372aa37539e300f7baa081017f54688d64 - unrolled_ast: 77904693232a619edb9dfd847a2e5f372aa37539e300f7baa081017f54688d64 - ssa_ast: e96e5f845a68746524fd9ce325d766afecf8bd5c1c6f4a9696360ea6de45c485 - flattened_ast: e35df553d77d5cdf6dd3f2f963416b9e0172c8482177f98a8dc5d9100212060a - inlined_ast: e35df553d77d5cdf6dd3f2f963416b9e0172c8482177f98a8dc5d9100212060a - dce_ast: e35df553d77d5cdf6dd3f2f963416b9e0172c8482177f98a8dc5d9100212060a + - initial_ast: b86708fe4670b0ea8fa51319b04c5055ffce9b2f69c024b5163c8d3ad4c51a9f + unrolled_ast: b86708fe4670b0ea8fa51319b04c5055ffce9b2f69c024b5163c8d3ad4c51a9f + ssa_ast: 013c00193ffb672f34e7b63529428c80b4e4b4ee373f381711e086482969a9be + flattened_ast: 248a8d33e415a71144c89cbbf597e6bfd656eeb495318b679930beb7ce6b923a + inlined_ast: 248a8d33e415a71144c89cbbf597e6bfd656eeb495318b679930beb7ce6b923a + dce_ast: 248a8d33e415a71144c89cbbf597e6bfd656eeb495318b679930beb7ce6b923a bytecode: abb8c69d4bd2b5834d385969f49c8ead068036e07c0afe9a96c6c022ce3d491f diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 4d73235e82..5373dfca2a 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0d6e55e99c314cd034fd91f9714bd8d6de3a3d988991cdcf52c57b4f1b37b548 - unrolled_ast: 0d6e55e99c314cd034fd91f9714bd8d6de3a3d988991cdcf52c57b4f1b37b548 - ssa_ast: 7d9986e5155ad64bf59b8b8f85cff39b1278ede15241c15b7602d7bb862e64e0 - flattened_ast: 227779e9b08f9f2c30486b2aae031354b40767978dd73d82d47e4fcb0977660f - inlined_ast: 227779e9b08f9f2c30486b2aae031354b40767978dd73d82d47e4fcb0977660f - dce_ast: 227779e9b08f9f2c30486b2aae031354b40767978dd73d82d47e4fcb0977660f + - initial_ast: 6a2bf09684dd19aee4c36ef5a7a6ebd1ea731102e3bae5fcf9b208858e9cc38c + unrolled_ast: 6a2bf09684dd19aee4c36ef5a7a6ebd1ea731102e3bae5fcf9b208858e9cc38c + ssa_ast: e7a2f3615616cc7dc3d36e17e9e3ac5fe073fa9fbf6d77dc0cad02d85b059d2a + flattened_ast: f01ee2e48f96721e3aee9e96392c797b0b5e0d1420154e93308b295bd01885f6 + inlined_ast: f01ee2e48f96721e3aee9e96392c797b0b5e0d1420154e93308b295bd01885f6 + dce_ast: f01ee2e48f96721e3aee9e96392c797b0b5e0d1420154e93308b295bd01885f6 bytecode: e15f4b54f9f4f2380c49a61ea310f77ebc2837f0058dac3255a3743d3ce31b49 diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index 7e63d2079d..31ca64dd57 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8957d366fe7f99c4a3629a197c2acba651509e1045d176fff4d767557fdc1bb5 - unrolled_ast: 8957d366fe7f99c4a3629a197c2acba651509e1045d176fff4d767557fdc1bb5 - ssa_ast: c2c58c4275c84281ba279cd27da5fbc87220f0c7e29cb34bfb0979c1a3d6757f - flattened_ast: a931b17e4b6d87ab9dc1f70adfd00462502c6e25290060fcc43225882f7a5db1 - inlined_ast: a931b17e4b6d87ab9dc1f70adfd00462502c6e25290060fcc43225882f7a5db1 - dce_ast: a931b17e4b6d87ab9dc1f70adfd00462502c6e25290060fcc43225882f7a5db1 + - initial_ast: f8b451b0b10e469688f12db805ea7dfc4345cade0d6230aa72e15eaaa4ed297e + unrolled_ast: f8b451b0b10e469688f12db805ea7dfc4345cade0d6230aa72e15eaaa4ed297e + ssa_ast: 90a751b1b8811cb782c2128f4e2174fd93527f617b3a06fcb2ce57ea30fcfe30 + flattened_ast: aa9754bef27b6d16a1523704b97200d150f2b62576fcb4e347b137a773283312 + inlined_ast: aa9754bef27b6d16a1523704b97200d150f2b62576fcb4e347b137a773283312 + dce_ast: aa9754bef27b6d16a1523704b97200d150f2b62576fcb4e347b137a773283312 bytecode: 528d0e5eae513b94ac63a4b48646f04deae2de5b41de4488bec74d196b1a3177 diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index 53685bef5e..930153651d 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 063b86d78c56d953e707d0eeb1a8624e5ab09a76e7f3b2c009fd3bd54827aeb3 - unrolled_ast: 063b86d78c56d953e707d0eeb1a8624e5ab09a76e7f3b2c009fd3bd54827aeb3 - ssa_ast: 2fffb1cf3fd6065068d20443f2ef8da133cbcb0619dc5f328ddc71f6fa71cdcb - flattened_ast: 0cbeef911b466f39e73259f94d01876fd0f954a5ac0948a97a2dfbe1d5142998 - inlined_ast: 0cbeef911b466f39e73259f94d01876fd0f954a5ac0948a97a2dfbe1d5142998 - dce_ast: 0cbeef911b466f39e73259f94d01876fd0f954a5ac0948a97a2dfbe1d5142998 + - initial_ast: a8da4c6dcb24101472346699a24cf77f661322a8b14b98eb6720a819b660f2fb + unrolled_ast: a8da4c6dcb24101472346699a24cf77f661322a8b14b98eb6720a819b660f2fb + ssa_ast: 8d4031c4a752a43abc555e70a75f174d3421677868394eae6de20db07aae99cc + flattened_ast: a698ed5e0a9117314f6260f4600f5ada242ec76d9f4ef3ca58e3c767e967250f + inlined_ast: a698ed5e0a9117314f6260f4600f5ada242ec76d9f4ef3ca58e3c767e967250f + dce_ast: a698ed5e0a9117314f6260f4600f5ada242ec76d9f4ef3ca58e3c767e967250f bytecode: 6f756295de250a5a5c917f41e42c3b7fb0ff9387e25e0384b48058bf4093c35e diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index 03404d4ec9..5159543ebf 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a0880907fe29ccdf61c3682e55ddfe6080b4e8aedaab10bdb308cf9177fd0b00 - unrolled_ast: a0880907fe29ccdf61c3682e55ddfe6080b4e8aedaab10bdb308cf9177fd0b00 - ssa_ast: ce3dbcab3daddd57ef474987cb34581271601c0f5db6f4f7e056f29eb07adeb5 - flattened_ast: f661262eb0e62b587959284cbd5e7dd6be5ef09d40ebbb38d6e64789ed063399 - inlined_ast: f661262eb0e62b587959284cbd5e7dd6be5ef09d40ebbb38d6e64789ed063399 - dce_ast: f661262eb0e62b587959284cbd5e7dd6be5ef09d40ebbb38d6e64789ed063399 + - initial_ast: 941bf8300f39c1a09d936638b5290b027ffc494db001c2cfe21f88b68cf5853a + unrolled_ast: 941bf8300f39c1a09d936638b5290b027ffc494db001c2cfe21f88b68cf5853a + ssa_ast: bca2e6c734492ac8fb0de4fb24f7e2f4ce84f33ca7223d3f63d6f2a0906633ea + flattened_ast: 98b275ff21acbac80e58d23634a469561bf48653e735f4e74e9a77075ffe0d77 + inlined_ast: 98b275ff21acbac80e58d23634a469561bf48653e735f4e74e9a77075ffe0d77 + dce_ast: 98b275ff21acbac80e58d23634a469561bf48653e735f4e74e9a77075ffe0d77 bytecode: 3dc2579c9b4376c0ac3c15d6c791992bbc13baed767b4a84313db47aa14296f1 diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index 44dd7bfca7..f70771b93b 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2348d1221bcf28772aaa19979444d0c1bb5d28e21c29ab4a8e03698952697da6 - unrolled_ast: 2348d1221bcf28772aaa19979444d0c1bb5d28e21c29ab4a8e03698952697da6 - ssa_ast: 5406211b916c820d0de1a68a927c7c49e8b3624e4a5b5f0daf2b83cd5af1a294 - flattened_ast: 8ecac1101bcaad31e826399a5be8f5e16bcee2be5cd920dec535cf3d95df6e2f - inlined_ast: 8ecac1101bcaad31e826399a5be8f5e16bcee2be5cd920dec535cf3d95df6e2f - dce_ast: 8ecac1101bcaad31e826399a5be8f5e16bcee2be5cd920dec535cf3d95df6e2f + - initial_ast: 408944b2e4afc0a635a5bec0dfc64e2e978cec834a175087d02ec241301e7205 + unrolled_ast: 408944b2e4afc0a635a5bec0dfc64e2e978cec834a175087d02ec241301e7205 + ssa_ast: ef4184d5d03f524e228f046d74ecf252384c8883612c2f52c17774020e042e90 + flattened_ast: e6f1f6b4c0611972e3b16714f5abdc9f3d61581b6e1fb7cb105b3717ca853f66 + inlined_ast: e6f1f6b4c0611972e3b16714f5abdc9f3d61581b6e1fb7cb105b3717ca853f66 + dce_ast: e6f1f6b4c0611972e3b16714f5abdc9f3d61581b6e1fb7cb105b3717ca853f66 bytecode: a614338051a535a74ee0794a7b2e1f4617263a3bca7be899ba2e68beae7748da diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index 8b24334fd9..a742d68796 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9c3decab653a0b6e25ccc9d45790d0e9e143f04f2464ddc1ebc4d51cd2397d2c - unrolled_ast: 9c3decab653a0b6e25ccc9d45790d0e9e143f04f2464ddc1ebc4d51cd2397d2c - ssa_ast: f8071ff1e6c7ab61417b51679345247302f714e1817b7c3df8b52fb09f292417 - flattened_ast: ea5f9d82d269a53e25bb6a3cc2645acc803274a3eb25cdee10b4252c47ccd4fa - inlined_ast: ea5f9d82d269a53e25bb6a3cc2645acc803274a3eb25cdee10b4252c47ccd4fa - dce_ast: ea5f9d82d269a53e25bb6a3cc2645acc803274a3eb25cdee10b4252c47ccd4fa + - initial_ast: 6b99722f2af5c3eba7e7f9ff35d13c5d1e6028ed716120a214496cef8deb3bd1 + unrolled_ast: 6b99722f2af5c3eba7e7f9ff35d13c5d1e6028ed716120a214496cef8deb3bd1 + ssa_ast: 5b68518f249e1ba450bf71f43e7563c0d58ad55e99442d999dbae94c5f3e0a14 + flattened_ast: 0176ec9a63ffe3d5d0b5dd3a0e836a9b55c7c39c9b1b0edb22bdc2ef73894e78 + inlined_ast: 0176ec9a63ffe3d5d0b5dd3a0e836a9b55c7c39c9b1b0edb22bdc2ef73894e78 + dce_ast: 0176ec9a63ffe3d5d0b5dd3a0e836a9b55c7c39c9b1b0edb22bdc2ef73894e78 bytecode: 3977504f6f75064e9a2125af4f7773742771babbfc1c290a3d0a794d42423663 diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index 0b323e4888..d823219684 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3f0fdec0d74d7c7bf3f4c6822b50db267605f55d37d944dcc370489f25a4458a - unrolled_ast: 3f0fdec0d74d7c7bf3f4c6822b50db267605f55d37d944dcc370489f25a4458a - ssa_ast: 96e672bfdf8320ae5e771ca76beaac4215cea8dc0471ec554fe7c179742adfd8 - flattened_ast: 422a4619d2486041f289d05a77150f074fcd61bbad5c2657242066551696d3ea - inlined_ast: 422a4619d2486041f289d05a77150f074fcd61bbad5c2657242066551696d3ea - dce_ast: 422a4619d2486041f289d05a77150f074fcd61bbad5c2657242066551696d3ea + - initial_ast: f36f8d7cebfad02f65c8f2216e52c6e7aced0b49a8fd1ff5534ba5e89a8d7c45 + unrolled_ast: f36f8d7cebfad02f65c8f2216e52c6e7aced0b49a8fd1ff5534ba5e89a8d7c45 + ssa_ast: 76be65196c5722df8acac17c07aea57e598258cc63e2fa7e310a853ce6586318 + flattened_ast: db85f8e5208a5a846699392d7c0157978f0c10b08eb2dce9a3821f95d94abbd7 + inlined_ast: db85f8e5208a5a846699392d7c0157978f0c10b08eb2dce9a3821f95d94abbd7 + dce_ast: db85f8e5208a5a846699392d7c0157978f0c10b08eb2dce9a3821f95d94abbd7 bytecode: 8dc4649ab97faa73e36c483cda23375d32ab95a137908e5862c449fb4ddafe21 diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index ef6dbd13b2..d1a9b8354e 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 138ae391c3a630ab32470462bf0238fdb4918dc1cdecbe2e7e35f76bffe7a82a - unrolled_ast: 138ae391c3a630ab32470462bf0238fdb4918dc1cdecbe2e7e35f76bffe7a82a - ssa_ast: 2325bb825c3648c98856f719d4d90087b47c034a289d5e71feff8337d966737d - flattened_ast: db346f11570f06954cea1cdbc84efd81a1b8ee9a618930a6b1bf46770a7e0662 - inlined_ast: db346f11570f06954cea1cdbc84efd81a1b8ee9a618930a6b1bf46770a7e0662 - dce_ast: db346f11570f06954cea1cdbc84efd81a1b8ee9a618930a6b1bf46770a7e0662 + - initial_ast: 877080bbb55086031209ced38a2a17440af6026edc1dfed72fe737a25bab8b3a + unrolled_ast: 877080bbb55086031209ced38a2a17440af6026edc1dfed72fe737a25bab8b3a + ssa_ast: 28dbdc60551733d37b7478c9564e15201664643b4efbd90229fd022e3d08b681 + flattened_ast: 99c8c2d0c20523422d25d197d4436023bfc39d019efea1cc9815fa07e4bf1ecf + inlined_ast: 99c8c2d0c20523422d25d197d4436023bfc39d019efea1cc9815fa07e4bf1ecf + dce_ast: 99c8c2d0c20523422d25d197d4436023bfc39d019efea1cc9815fa07e4bf1ecf bytecode: 63f280b70417f356c8a73c6b8e1f9ad16075516df68abdc4cc5d704f905141f2 diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 8b6988200c..20a720d5f9 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b7be67ba28502039470d3704df1a138e6eb414c6dfe646f9a5e0b27dee2800e8 - unrolled_ast: b7be67ba28502039470d3704df1a138e6eb414c6dfe646f9a5e0b27dee2800e8 - ssa_ast: 41a0f01817ee6a6d96de14274063b0c0552e58301387804e514c311175ed7965 - flattened_ast: daafc9de175697a935adef77f569ad5dd3ff0b9e5d5685ed5f0ca03bbe3b51d4 - inlined_ast: daafc9de175697a935adef77f569ad5dd3ff0b9e5d5685ed5f0ca03bbe3b51d4 - dce_ast: 0043225424a11a45a4741abe3c3e0a74e957f34d90b5f0309fdac7a783bf56be + - initial_ast: 8fe644b492295f72b701d55b629f224777cba79bcf7304742c29f724b4ddc25c + unrolled_ast: 8fe644b492295f72b701d55b629f224777cba79bcf7304742c29f724b4ddc25c + ssa_ast: e32ea4c3a981b69a3b8bb44efe8f34656a089602cfa10ffffbf19d07de22e454 + flattened_ast: 26c53ffee3bc1b1449b94e57915217932121d3740fbd44710f810e6655a987e0 + inlined_ast: 26c53ffee3bc1b1449b94e57915217932121d3740fbd44710f810e6655a987e0 + dce_ast: f5255e3c744b8b24f00730553702965dbd26180e7bfca04902e2381ba32b0255 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index 29f2cb9c77..4e80a012b4 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 649e0c08d20cf5a5e548aad910543dc816b8ea29c05a0763e64cfccbc86d4dee - unrolled_ast: 649e0c08d20cf5a5e548aad910543dc816b8ea29c05a0763e64cfccbc86d4dee - ssa_ast: b7de892b4fbc55b7c2c94233a9e9e89677abe4faaeaa10e43fc37c19b8851de0 - flattened_ast: e96650bfcc1c76391564d982521c3e77865de7e7a5215950fc1ca69f7096cab4 - inlined_ast: e96650bfcc1c76391564d982521c3e77865de7e7a5215950fc1ca69f7096cab4 - dce_ast: 21154e5f0ae8de65800e415b5aaf804080955cf74e6f58549b847f07ba870093 + - initial_ast: c8a99d7f44f5f2fc6b97d1b18cb917ca3a46689cc1f9adcb4bd65619117677d3 + unrolled_ast: c8a99d7f44f5f2fc6b97d1b18cb917ca3a46689cc1f9adcb4bd65619117677d3 + ssa_ast: a7581c68ed3cb8adbe12d5409e78a4de281f3bc44fe2729f2302d7a330419a64 + flattened_ast: c88da01a67a4acbe7d51bd519f745369d4f15334913150435053cd94e385d52d + inlined_ast: c88da01a67a4acbe7d51bd519f745369d4f15334913150435053cd94e385d52d + dce_ast: 33e58220b47be93d9f27d41dc97af2318e87fc119df518e8b15c2e569fd47c02 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index e9da40331b..4b809be4f4 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2af627ac3b1b48f1cf5d9709ca0bc7b0121172daf7d3f3bb56560e7934322d87 - unrolled_ast: 2af627ac3b1b48f1cf5d9709ca0bc7b0121172daf7d3f3bb56560e7934322d87 - ssa_ast: 5dbb4026abb5b39b4c8816c9b3053329a4b90f546ac9208069f53c784e0414e4 - flattened_ast: 360dc932f93796d8893b0011ff3b762f31778bd45e026cb71b51cf301acd2525 - inlined_ast: 360dc932f93796d8893b0011ff3b762f31778bd45e026cb71b51cf301acd2525 - dce_ast: 360dc932f93796d8893b0011ff3b762f31778bd45e026cb71b51cf301acd2525 + - initial_ast: 5617c0f963ffea463955c1fb7c113e33b910aa8dcae61e55eb35480791632d86 + unrolled_ast: 5617c0f963ffea463955c1fb7c113e33b910aa8dcae61e55eb35480791632d86 + ssa_ast: 0bb3d6b4a845843affd4784b13580deae7803ffabe59f0a3ded7796ca333a58c + flattened_ast: b81f1f3eb1e049256c9a5fbcc12ff910f182a2cccd64bdc6add9ce1f0053b71a + inlined_ast: b81f1f3eb1e049256c9a5fbcc12ff910f182a2cccd64bdc6add9ce1f0053b71a + dce_ast: b81f1f3eb1e049256c9a5fbcc12ff910f182a2cccd64bdc6add9ce1f0053b71a bytecode: 486a84afaf57084573210907b90196cb1114fa7410653ca1e6fb6e3c6c79b6b7 diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index 54a3224b0e..58b465d1fc 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 57f15e7b6aad64f87d0bca076d4fd738fba7205e408df6ec07d5c2c8ea7945fa - unrolled_ast: 57f15e7b6aad64f87d0bca076d4fd738fba7205e408df6ec07d5c2c8ea7945fa - ssa_ast: f96f4a440fda9f8a7d15c61add6cfe029c5bc78522e4a094afa9fb4dffccf7c7 - flattened_ast: afe06e8f8a2ab8099c1da2e14054958d4f2a63891d713532ff05241c7b872172 - inlined_ast: afe06e8f8a2ab8099c1da2e14054958d4f2a63891d713532ff05241c7b872172 - dce_ast: afe06e8f8a2ab8099c1da2e14054958d4f2a63891d713532ff05241c7b872172 + - initial_ast: a7e5cf9019ad2065c0ea0b2d307b00a913a43030e139e70209f94e61b7d0ee10 + unrolled_ast: a7e5cf9019ad2065c0ea0b2d307b00a913a43030e139e70209f94e61b7d0ee10 + ssa_ast: b772960c3db8c86d34d04e8be8643d8549427ea434e81df0ba57a4c15dad5352 + flattened_ast: 3003a06664f33a94e7bc4d8e286ae4ce0d67d4acac7b96c67074b15c25a3918d + inlined_ast: 3003a06664f33a94e7bc4d8e286ae4ce0d67d4acac7b96c67074b15c25a3918d + dce_ast: 3003a06664f33a94e7bc4d8e286ae4ce0d67d4acac7b96c67074b15c25a3918d bytecode: 8e8a975522ad3ffca502e1571834b1c8970eef450662ac7fddd3c49efeb639b6 diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index f660fb66f5..4bcbd874c6 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 65c6030ba915545327bfe7cdcdca627aa4682ee2cf90d94fb02690994523b08f - unrolled_ast: 65c6030ba915545327bfe7cdcdca627aa4682ee2cf90d94fb02690994523b08f - ssa_ast: 61f1e1380cc21c57ef71044e708ad8bc66cd1716dd137f15b589d3a145f54d5c - flattened_ast: 267033e0527434ffdfaeb8e6925490f3167499efc4dd8438c21dcbb4c6d66368 - inlined_ast: 267033e0527434ffdfaeb8e6925490f3167499efc4dd8438c21dcbb4c6d66368 - dce_ast: 1ea4de103bc144219a92332482fb7f957e5cef01ff092624acfbd8c017aff103 + - initial_ast: ab8d13323e95a8c8e149e7b8d4cce778a0e8d87d236a1de5f003a5152e109392 + unrolled_ast: ab8d13323e95a8c8e149e7b8d4cce778a0e8d87d236a1de5f003a5152e109392 + ssa_ast: 14cbdb377aee3ff9070429b690adf54e9d44752394a4be47765f88b2b4e22cc5 + flattened_ast: fb16ca7aa74e84ca91b5ac3eed7fa2d06060b132692e7a28ab4d59aa7c19a20e + inlined_ast: fb16ca7aa74e84ca91b5ac3eed7fa2d06060b132692e7a28ab4d59aa7c19a20e + dce_ast: 99d13e0f22f1cbd7d9e6a021f3d1c884cce23900eef9d92069629855be3a8d4b bytecode: 6df1568996922ad2b9ebab5d7d0b01d5fcd2b723c2a79b7ccb6a9a8c6da706ab diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index eee072a981..d005c19f2f 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 83176cdc5c11beb15f2912ab2f6b09396e5aba388dc658526d3d63fc004680bb - unrolled_ast: 83176cdc5c11beb15f2912ab2f6b09396e5aba388dc658526d3d63fc004680bb - ssa_ast: 14e893cf9b252a4d6ae2a42b6a2beb45461d4cd760d47ae2f7df4e05df597c2c - flattened_ast: 4424c64eb29b4e6c04bf7f91c52cc978521b47eb28cb41fb69acad39a6ef2da7 - inlined_ast: 4424c64eb29b4e6c04bf7f91c52cc978521b47eb28cb41fb69acad39a6ef2da7 - dce_ast: 4424c64eb29b4e6c04bf7f91c52cc978521b47eb28cb41fb69acad39a6ef2da7 + - initial_ast: 01491271b484f89c0e5c413c1b67f4c73f35d2abf0722b991476d672bd888af4 + unrolled_ast: 01491271b484f89c0e5c413c1b67f4c73f35d2abf0722b991476d672bd888af4 + ssa_ast: 4ee05a3cd27e4ff1822696fed620f495617f60733292045379d79dfbd576fbb2 + flattened_ast: 2e0c0519f81071d0356e3502d981f7fc72bd76925da8d79b756346c786a5a984 + inlined_ast: 2e0c0519f81071d0356e3502d981f7fc72bd76925da8d79b756346c786a5a984 + dce_ast: 2e0c0519f81071d0356e3502d981f7fc72bd76925da8d79b756346c786a5a984 bytecode: 47598c8cd14b5c8d64211a0047245b3f871e19edd70e1522bc53b499086ddadb diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index baf52756a1..21bf8ce0be 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fbafcd3120e0f7204e18568a9627d61a4e3f5bbc7e70d02ff0155e8c03759f71 - unrolled_ast: fbafcd3120e0f7204e18568a9627d61a4e3f5bbc7e70d02ff0155e8c03759f71 - ssa_ast: 81248e235bc86234017d05e11a464c8b13d0064e5d0ea46807f2aa83f8b8b152 - flattened_ast: 425b3c314048ee546660740f365c6f15c9463f54733c1757a37d62d7724c0400 - inlined_ast: 425b3c314048ee546660740f365c6f15c9463f54733c1757a37d62d7724c0400 - dce_ast: 425b3c314048ee546660740f365c6f15c9463f54733c1757a37d62d7724c0400 + - initial_ast: 5f9d3ca4abfffee48731c0c75900e33131554faaac6074cafd546c7ed3f77de3 + unrolled_ast: 5f9d3ca4abfffee48731c0c75900e33131554faaac6074cafd546c7ed3f77de3 + ssa_ast: f2bd3e559e6f3f6d8a552543ef25d5bc4a9a4657a458b2dad4ef5decc89dbbbd + flattened_ast: 09d9f9b953069ee11ce3c3c3874652daa313ed95e8f479dbdf1a3be4ab0996be + inlined_ast: 09d9f9b953069ee11ce3c3c3874652daa313ed95e8f479dbdf1a3be4ab0996be + dce_ast: 09d9f9b953069ee11ce3c3c3874652daa313ed95e8f479dbdf1a3be4ab0996be bytecode: 83a4a3e6bf44d3c123dddb1e75daf9ce1646eb28f1ab8cb29ef54f655f01d896 diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 547e93e87a..4f516c0abc 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 46a267a3807ce59cb21f54023452e51a37079952f7346dbf63d1b6f28af8c253 - unrolled_ast: 46a267a3807ce59cb21f54023452e51a37079952f7346dbf63d1b6f28af8c253 - ssa_ast: d30cab3974a13d4f52236f8c97649c364947ecfe88cbb3f3d256423f6f8d498f - flattened_ast: e32c8161d43b85bc2b7bfd91add942969f37d1c418c30ffe98b71ae6d7ae1a59 - inlined_ast: e32c8161d43b85bc2b7bfd91add942969f37d1c418c30ffe98b71ae6d7ae1a59 - dce_ast: e32c8161d43b85bc2b7bfd91add942969f37d1c418c30ffe98b71ae6d7ae1a59 + - initial_ast: d4f2667ce0407298949c919d4d0cb11d14a2708b17386fc24c7aa5283680f07e + unrolled_ast: d4f2667ce0407298949c919d4d0cb11d14a2708b17386fc24c7aa5283680f07e + ssa_ast: aab2f4646cdb777958717fd78a3acee26b41e027350d783cd5bfcf639bc16832 + flattened_ast: a6a9ef0b7040cab0ebfaf9aa06bbbbf70f863d03756acf30e64bd0f464c11611 + inlined_ast: a6a9ef0b7040cab0ebfaf9aa06bbbbf70f863d03756acf30e64bd0f464c11611 + dce_ast: a6a9ef0b7040cab0ebfaf9aa06bbbbf70f863d03756acf30e64bd0f464c11611 bytecode: 38c33340281b18d18928cf039ba05883bcf41ef355d7471a588657758ee7fafb diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index dba8ed8c86..e1e84c136c 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 17c10f575cfbca658b2c795a497b45432885d43950b22ce8fec879beeb87156b - unrolled_ast: 17c10f575cfbca658b2c795a497b45432885d43950b22ce8fec879beeb87156b - ssa_ast: 69f8108645f53f817de010c64f4a432d232f33187a28acfcff8488127209f600 - flattened_ast: 2cf167168467a6012ac71a83820a290334b4f0fd6aeafd6615d9cc91f5d3cffd - inlined_ast: 2cf167168467a6012ac71a83820a290334b4f0fd6aeafd6615d9cc91f5d3cffd - dce_ast: 2cf167168467a6012ac71a83820a290334b4f0fd6aeafd6615d9cc91f5d3cffd + - initial_ast: 6a6cb1a25172dc25f9ee09912cf172d2f1ece78396d3d1929adb89a17bf663b1 + unrolled_ast: 6a6cb1a25172dc25f9ee09912cf172d2f1ece78396d3d1929adb89a17bf663b1 + ssa_ast: 68b45946b0dd20ff1882e44a0a650fd15beb502b3827812ef83e67789ff7b3a0 + flattened_ast: e602d6d37dc489733dd218e47a99ecb30349f674476df39b790ed68754fb120c + inlined_ast: e602d6d37dc489733dd218e47a99ecb30349f674476df39b790ed68754fb120c + dce_ast: e602d6d37dc489733dd218e47a99ecb30349f674476df39b790ed68754fb120c bytecode: 6abd2392fd4bdf825472989ac1375279ed65c8085607e574567a29036577a83b diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 20b6544f92..c309d61eb2 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 55d8e55854852ae2724cd59b9f4be83e64e845803dbc0ffccd51e66e09a97f8b - unrolled_ast: 55d8e55854852ae2724cd59b9f4be83e64e845803dbc0ffccd51e66e09a97f8b - ssa_ast: b4b9eb2d3042a3334aa4c6f6514303bd9a1d74422d0b205f466469a34294a54b - flattened_ast: b9c0e491b0614b816d6162ebe034a301347aaec852501cad2001e73c26b8d7fd - inlined_ast: b9c0e491b0614b816d6162ebe034a301347aaec852501cad2001e73c26b8d7fd - dce_ast: b9c0e491b0614b816d6162ebe034a301347aaec852501cad2001e73c26b8d7fd + - initial_ast: 30f47294fb4ab97ddd24d326f3be9a77426bf6242638eeae8981538b34da6298 + unrolled_ast: 30f47294fb4ab97ddd24d326f3be9a77426bf6242638eeae8981538b34da6298 + ssa_ast: 8898ddcc420d674890382bddd96b80a4e7058c344f08e59fe9932926c89dc931 + flattened_ast: 3d6e92f2c8ef1d181defbc2e269576ad32af29c3f435d57a2fcf898edf9473ac + inlined_ast: 3d6e92f2c8ef1d181defbc2e269576ad32af29c3f435d57a2fcf898edf9473ac + dce_ast: 3d6e92f2c8ef1d181defbc2e269576ad32af29c3f435d57a2fcf898edf9473ac bytecode: fe81994a0915f712640ac94938914b1c35ed04f10bc82050aeb7bb88fa92681e diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index ab79779e6f..6f1b1377c8 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c702954e9404b94ce40669050e2ef956daa9f24dd6b9c8201969f06d6061007b - unrolled_ast: c702954e9404b94ce40669050e2ef956daa9f24dd6b9c8201969f06d6061007b - ssa_ast: 1e748f62c1ae57afd54f2f0d400b9e004927030b71751b7e250fd6b69e0358e6 - flattened_ast: 4c2110e5b9ec3b3a78691e522918ea9f5236cd11602ef780ad8363e1eacee1c8 - inlined_ast: 4c2110e5b9ec3b3a78691e522918ea9f5236cd11602ef780ad8363e1eacee1c8 - dce_ast: 4c2110e5b9ec3b3a78691e522918ea9f5236cd11602ef780ad8363e1eacee1c8 + - initial_ast: 63605b92d750d90f387255491ae07b0a9542713ef0c549aee88d87c1d1ac7ff5 + unrolled_ast: 63605b92d750d90f387255491ae07b0a9542713ef0c549aee88d87c1d1ac7ff5 + ssa_ast: 7624523d0dcbf961ae060393a594fb17bc293840da568d48b814424dde465c42 + flattened_ast: c4f0c815388117b849f74c7cb66bc509c7330b2a3906f51c183b9348b5597456 + inlined_ast: c4f0c815388117b849f74c7cb66bc509c7330b2a3906f51c183b9348b5597456 + dce_ast: c4f0c815388117b849f74c7cb66bc509c7330b2a3906f51c183b9348b5597456 bytecode: ef94f9ad01c6c378473388209a8d3c21f2071e447c5370032f52abbe3df13b0d diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index f3e682c139..6218c164ff 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6cf9d56ddea61750c730fe1d73bdce39c4a242e824cd87bf25ea78849f94ab65 - unrolled_ast: 6cf9d56ddea61750c730fe1d73bdce39c4a242e824cd87bf25ea78849f94ab65 - ssa_ast: 3046a4802596d57c3a3701b06be2169860135bcdff6c74196ea5b2da6fbb2e59 - flattened_ast: 1e128bc7c199d9657fda2a861dc43157e1e06273b9d2241483ad5294018b350c - inlined_ast: 1e128bc7c199d9657fda2a861dc43157e1e06273b9d2241483ad5294018b350c - dce_ast: 1e128bc7c199d9657fda2a861dc43157e1e06273b9d2241483ad5294018b350c + - initial_ast: a39d12b99b1916ac6dc935cae34b58366c46678d08535650354396a48993d598 + unrolled_ast: a39d12b99b1916ac6dc935cae34b58366c46678d08535650354396a48993d598 + ssa_ast: cd5536e621d6f996e2055a518ec96f9b1cc0ed844a3857ac2e5e458f4f7618e1 + flattened_ast: 7eefa3c06aa2943b7c1ad4561276dcc93e9a364defb03294c6b843e7d9e7c332 + inlined_ast: 7eefa3c06aa2943b7c1ad4561276dcc93e9a364defb03294c6b843e7d9e7c332 + dce_ast: 7eefa3c06aa2943b7c1ad4561276dcc93e9a364defb03294c6b843e7d9e7c332 bytecode: cf2304e9005774e8f4d611278dc0c52a55c4430daa32c89f4a039b7502672341 diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index c8ca2874c5..c249ff646f 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 310fd8d99011a0c06a161592a5eff8f8929d6da3271f9929c090d5595d341be9 - unrolled_ast: 310fd8d99011a0c06a161592a5eff8f8929d6da3271f9929c090d5595d341be9 - ssa_ast: 7219586aec50a82e4bcc44b2ea1dd7041daae5c907064b3a7127c18fe2356d59 - flattened_ast: 8a838aa5ef69f4fcf00c58cceddb1282db41076faf5370c8769e2ddf02591a32 - inlined_ast: 8a838aa5ef69f4fcf00c58cceddb1282db41076faf5370c8769e2ddf02591a32 - dce_ast: 8a838aa5ef69f4fcf00c58cceddb1282db41076faf5370c8769e2ddf02591a32 + - initial_ast: 0a96a4ff991b7ba3e80c66cd4d5b686890250b42db580a81c9110a07df06a0cf + unrolled_ast: 0a96a4ff991b7ba3e80c66cd4d5b686890250b42db580a81c9110a07df06a0cf + ssa_ast: 7a4aa015dce87056e9da878e55488f256679444d4357742a5ae965390bc455be + flattened_ast: 8b8ef443b00ad02df61b92457cd3262550c6d148813d9140e1de2635e9e7af3d + inlined_ast: 8b8ef443b00ad02df61b92457cd3262550c6d148813d9140e1de2635e9e7af3d + dce_ast: 8b8ef443b00ad02df61b92457cd3262550c6d148813d9140e1de2635e9e7af3d bytecode: fb6acd4ab6b90eb96a5fcbcad3bd407750c44e7e8c0d75bce53a5fb7c454f54b diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index 0e2ae46f8b..aea3a9a526 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5bacf3ac23a24523ebf517f94da81805616856d42a4c29d7f4601d05bfdb5230 - unrolled_ast: 5bacf3ac23a24523ebf517f94da81805616856d42a4c29d7f4601d05bfdb5230 - ssa_ast: 0c360692d37a897e945979abcd4466e1dcbf1a645f91445a2514c7953c42ab5c - flattened_ast: 0264a701954bcfdd88d18cb31b80359495bc7ff3ad59929875ebf39c5ca18d0d - inlined_ast: 0264a701954bcfdd88d18cb31b80359495bc7ff3ad59929875ebf39c5ca18d0d - dce_ast: 0264a701954bcfdd88d18cb31b80359495bc7ff3ad59929875ebf39c5ca18d0d + - initial_ast: ab92275e07451688cafe84002fa6525209d5261422496d456a3eee41b65b48e9 + unrolled_ast: ab92275e07451688cafe84002fa6525209d5261422496d456a3eee41b65b48e9 + ssa_ast: 59a6e064b9422b1d5a9aeddf972f9eb674cd983f55fe2d97d46517863a8547bc + flattened_ast: eb0f19367eb5e00309ee83d7f8e2c86dbf6409987395ed4fd2dd4ab9043ce5bf + inlined_ast: eb0f19367eb5e00309ee83d7f8e2c86dbf6409987395ed4fd2dd4ab9043ce5bf + dce_ast: eb0f19367eb5e00309ee83d7f8e2c86dbf6409987395ed4fd2dd4ab9043ce5bf bytecode: 5d87202e1d7ba9963bb54a1ee27ce00a44317ae7a231302898e8be40fe76610d diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 6bf90d2048..5922f8ca40 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f2acb80cf2ab6df6abcf83e5a4753e7dbb6b1fec0b323372b99b6830c52b43f0 - unrolled_ast: f2acb80cf2ab6df6abcf83e5a4753e7dbb6b1fec0b323372b99b6830c52b43f0 - ssa_ast: d00859ee377361b83c25be8592434a86d86bb432744b944e0cd377bc53e61a0c - flattened_ast: 85e26923486c803b0c57e09dd54767c6e36d2852e896744e24d6735f3ab26f71 - inlined_ast: 85e26923486c803b0c57e09dd54767c6e36d2852e896744e24d6735f3ab26f71 - dce_ast: 85e26923486c803b0c57e09dd54767c6e36d2852e896744e24d6735f3ab26f71 + - initial_ast: 4432a53755451abdd307224934ea95501e97214d98f5c8c4e2eceb6b60e246fd + unrolled_ast: 4432a53755451abdd307224934ea95501e97214d98f5c8c4e2eceb6b60e246fd + ssa_ast: 60f0cdbfa6d6521850e7b8f3bee77dbbedd747752f75ad57d03e27bcf34962ea + flattened_ast: 45d517bf8d4fbc782a7062d47c6cc8335f155ff5543c3bbc010ac8ba6c0de944 + inlined_ast: 45d517bf8d4fbc782a7062d47c6cc8335f155ff5543c3bbc010ac8ba6c0de944 + dce_ast: 45d517bf8d4fbc782a7062d47c6cc8335f155ff5543c3bbc010ac8ba6c0de944 bytecode: a039f2ce7be6da12461e29fb69ece10e8a6ccc0345328d2203e36df9398930af diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index b9f15743f5..794880bdd0 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c2673758071f2bb74e1bcaaf14e0a50db1af889a6e8d2cd31b65f367bee43344 - unrolled_ast: c2673758071f2bb74e1bcaaf14e0a50db1af889a6e8d2cd31b65f367bee43344 - ssa_ast: 457be461ca27e85b6e69e12cc8a562d431875801db61997fea57e16896746f07 - flattened_ast: 2dc73f74412c554a439864c8cad58070161d7558ef527e6e29052143f509f8be - inlined_ast: 2dc73f74412c554a439864c8cad58070161d7558ef527e6e29052143f509f8be - dce_ast: 2dc73f74412c554a439864c8cad58070161d7558ef527e6e29052143f509f8be + - initial_ast: 49fa9ab23477960abd6b341f3e69584be65899794d814be711800c897afee8d7 + unrolled_ast: 49fa9ab23477960abd6b341f3e69584be65899794d814be711800c897afee8d7 + ssa_ast: 3e62741a241513c9a0499be8ac5415c7c1378f19ff9e1d6e70e7a173863f73b4 + flattened_ast: b758a173b0d2b28b850c476fa058e8fb33c136d94c3ac5d9aceef1b8b814a20b + inlined_ast: b758a173b0d2b28b850c476fa058e8fb33c136d94c3ac5d9aceef1b8b814a20b + dce_ast: b758a173b0d2b28b850c476fa058e8fb33c136d94c3ac5d9aceef1b8b814a20b bytecode: a941d570e21a54677e4f738fa6b5b10eaf3c665a31f700ac998f3fa5991d3f96 diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index ecfa295262..bc27531e08 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5b103b8c1bef53742ee83aaafa057c45220eb80f24a80e7c5d2ea3bf1cc673d4 - unrolled_ast: 5b103b8c1bef53742ee83aaafa057c45220eb80f24a80e7c5d2ea3bf1cc673d4 - ssa_ast: bf3f28c183d6dbec24d03ffe311529adafd5646cbecd95f7f7f1519d46f87262 - flattened_ast: d8d16982d63f3066336e5de4bc97583787efee6c643ab2790a839da587ff6ad4 - inlined_ast: d8d16982d63f3066336e5de4bc97583787efee6c643ab2790a839da587ff6ad4 - dce_ast: d8d16982d63f3066336e5de4bc97583787efee6c643ab2790a839da587ff6ad4 + - initial_ast: 7c5a498d6bbcdf6cdbc0f9aef515cccfdfd09a5596ecdb640878c97709c116e7 + unrolled_ast: 7c5a498d6bbcdf6cdbc0f9aef515cccfdfd09a5596ecdb640878c97709c116e7 + ssa_ast: bf274ac0810b233ef0f2de22f2cd4dfdac18cb696f9a86492b1d43f15331ab42 + flattened_ast: d6ce8c72b7f0ae4bab16c1078beb29f8e220d02cd257000f469c90efa2388f4a + inlined_ast: d6ce8c72b7f0ae4bab16c1078beb29f8e220d02cd257000f469c90efa2388f4a + dce_ast: d6ce8c72b7f0ae4bab16c1078beb29f8e220d02cd257000f469c90efa2388f4a bytecode: cfb3e8b0339e3774c4dd6d936a8d82b20c9bf0930974cd751daf5c39b8cea38a diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index ba7392394a..8327ea1f06 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 550caa3b10566610ed11087c26e7b65c018f483a76dd8fc8684eed401967e77b - unrolled_ast: 550caa3b10566610ed11087c26e7b65c018f483a76dd8fc8684eed401967e77b - ssa_ast: 59564d920a2e494f95604234ccdd0f4a6bbb82cfa4366c24bbe2d2eddce7e7f7 - flattened_ast: 76c6fcfed2e4ff717d484c88088292632d0ac3260d1bc98ede85920f11d5de91 - inlined_ast: 76c6fcfed2e4ff717d484c88088292632d0ac3260d1bc98ede85920f11d5de91 - dce_ast: 76c6fcfed2e4ff717d484c88088292632d0ac3260d1bc98ede85920f11d5de91 + - initial_ast: c3c97eaa82f0a50e21f99dc4be1e7e330880ca2055c6ca49f08731b1353db5e7 + unrolled_ast: c3c97eaa82f0a50e21f99dc4be1e7e330880ca2055c6ca49f08731b1353db5e7 + ssa_ast: 2f3b13151a3cb534f1574f8b18545e9034a4f0af815d36d5cce7807d51400f05 + flattened_ast: 439afa9e2a91d8acd1c149ca7c75b1ef35c3cda91a32d23c2af53dce9adce2d6 + inlined_ast: 439afa9e2a91d8acd1c149ca7c75b1ef35c3cda91a32d23c2af53dce9adce2d6 + dce_ast: 439afa9e2a91d8acd1c149ca7c75b1ef35c3cda91a32d23c2af53dce9adce2d6 bytecode: 99f56a83a13830f7dc6fc2f1a80063a3882a8756f8bc33f3134c64d1b596958f diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index 299422d608..e6ed2dc63f 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b3f377c03af077c585378d2b83dd247780db01fff46cfc5e9c845e4e4c085af1 - unrolled_ast: b3f377c03af077c585378d2b83dd247780db01fff46cfc5e9c845e4e4c085af1 - ssa_ast: 8fbac44e7f495d4a68ab95a8b38ea9b9209540612738f90edc69f8e0b36e8ba6 - flattened_ast: 5d135e76eaf58d0133dec0d40d2a4cfe727fc9e9ef1ada95300ae533e8ec640c - inlined_ast: 5d135e76eaf58d0133dec0d40d2a4cfe727fc9e9ef1ada95300ae533e8ec640c - dce_ast: 5d135e76eaf58d0133dec0d40d2a4cfe727fc9e9ef1ada95300ae533e8ec640c + - initial_ast: aeebb326d4075a2b8108d410004fcde95182269ea5e4ac1c0581209e5cb9a292 + unrolled_ast: aeebb326d4075a2b8108d410004fcde95182269ea5e4ac1c0581209e5cb9a292 + ssa_ast: 6894d1fd3dcd9123c93889908924cb771bf2f5e58a9a3e133b8d6dfebbecfbc0 + flattened_ast: 66fecf10f3e68ab3bdd1a61f6dfe8ceb22428051d3a1b5ce945f9b9ba3f1e4d8 + inlined_ast: 66fecf10f3e68ab3bdd1a61f6dfe8ceb22428051d3a1b5ce945f9b9ba3f1e4d8 + dce_ast: 66fecf10f3e68ab3bdd1a61f6dfe8ceb22428051d3a1b5ce945f9b9ba3f1e4d8 bytecode: b6c443f36f4e05d0bf1b0c714281eb0ea5502d3899762df421a382656c3f2a0d diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index 1599c62665..fdda93bfb2 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: cde23b8490d2dfd66f9fbf3f722fb491fccda3c86beaba473bfdabdd9fca180b - unrolled_ast: cde23b8490d2dfd66f9fbf3f722fb491fccda3c86beaba473bfdabdd9fca180b - ssa_ast: d3ac5d41aced051be5e105db478e96fd562a811087d71bcad4ebe2362d187c42 - flattened_ast: f4f8f73a564e03ab7c5cb3348c438549d3ac814df5711701feacc606d7764831 - inlined_ast: f4f8f73a564e03ab7c5cb3348c438549d3ac814df5711701feacc606d7764831 - dce_ast: f4f8f73a564e03ab7c5cb3348c438549d3ac814df5711701feacc606d7764831 + - initial_ast: b430e39f3413afa5b1f3b1ce70aa798abfd4e454c49085498ad8e3132a04e929 + unrolled_ast: b430e39f3413afa5b1f3b1ce70aa798abfd4e454c49085498ad8e3132a04e929 + ssa_ast: 3972305f9827c288b253cba23daa22ae216166a12fcfc8fb47095b356d9558bf + flattened_ast: 457059bf06abd9b671202b843036ec462064723fa8b4c3bafbadc09397cb5820 + inlined_ast: 457059bf06abd9b671202b843036ec462064723fa8b4c3bafbadc09397cb5820 + dce_ast: 457059bf06abd9b671202b843036ec462064723fa8b4c3bafbadc09397cb5820 bytecode: da7592d9bb8e0e8af0e5b9d9ddd8921411c7dd0d705c9a87fdd508169d0ad1f7 diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index e14b56008e..4bfafe8ebf 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 05399cf6b2f04b69efeebbd681d7a725db2134adac7c9364d115570012f6630b - unrolled_ast: 05399cf6b2f04b69efeebbd681d7a725db2134adac7c9364d115570012f6630b - ssa_ast: 07cdb8e6bce506bd81f393de371da545dd08824d030cec6351ff07ab8b9e0fa3 - flattened_ast: e45b2685d1bc207aa5fb052b858a1e68fd1cf578cbaa030d3f3ecfc1cf3950dd - inlined_ast: e45b2685d1bc207aa5fb052b858a1e68fd1cf578cbaa030d3f3ecfc1cf3950dd - dce_ast: e45b2685d1bc207aa5fb052b858a1e68fd1cf578cbaa030d3f3ecfc1cf3950dd + - initial_ast: d11217341a67a8dc495167806e2f89f7e5d2794035d4cb543ab2ed111ec4402a + unrolled_ast: d11217341a67a8dc495167806e2f89f7e5d2794035d4cb543ab2ed111ec4402a + ssa_ast: a100e6bde6f23cb7e84054c1ee026206428d70c97e727620a860400944c889a4 + flattened_ast: 7956e35077a5d041281ea906d39fc01b105951cac2af8604827b1312fdccfb09 + inlined_ast: 7956e35077a5d041281ea906d39fc01b105951cac2af8604827b1312fdccfb09 + dce_ast: 7956e35077a5d041281ea906d39fc01b105951cac2af8604827b1312fdccfb09 bytecode: e869ef253f8fdaefc80e84abd98141ab16355d333ddbfae3d7cca25fb7ebe10b diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index 43bd5e0d62..1e7cb2f18a 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 498a31ab20522b620afd634a3c6db944c67f2152e2b014abf9e9c564ed8d1481 - unrolled_ast: 498a31ab20522b620afd634a3c6db944c67f2152e2b014abf9e9c564ed8d1481 - ssa_ast: a58a9093250c1c8c8073e6c4babfaa5ff102f1527f605a271e47a7f13a77ac8a - flattened_ast: 8e9f41da39c86b1e6e3d81056dafedb1393ba3492ce4822c76233f7b2f807343 - inlined_ast: 8e9f41da39c86b1e6e3d81056dafedb1393ba3492ce4822c76233f7b2f807343 - dce_ast: 8e9f41da39c86b1e6e3d81056dafedb1393ba3492ce4822c76233f7b2f807343 + - initial_ast: d6eac9bd8ecb26011d60750cc6e5ea7fd31dddc0416e1ae6cdf05a366034765d + unrolled_ast: d6eac9bd8ecb26011d60750cc6e5ea7fd31dddc0416e1ae6cdf05a366034765d + ssa_ast: a3cb216cfdf88bb195ac11ca9f6cbf7af0f14f42764aaac2ba8c77db5f9c3160 + flattened_ast: c578a8a1eb2c24f6ed3da1f338eb0eb5b318486a373842a1c40d353762ce7704 + inlined_ast: c578a8a1eb2c24f6ed3da1f338eb0eb5b318486a373842a1c40d353762ce7704 + dce_ast: c578a8a1eb2c24f6ed3da1f338eb0eb5b318486a373842a1c40d353762ce7704 bytecode: 8b3b1c73d15c3f5ac4854c5e9c18cbfafae589747c9de009718ec757b099c267 diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index 18ee272f93..c794d8b4e7 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 760ae95c2dd75392d6ceda4190a8e812353903b7d64bd4f24e476dbd5ad4532f - unrolled_ast: 760ae95c2dd75392d6ceda4190a8e812353903b7d64bd4f24e476dbd5ad4532f - ssa_ast: 2a7596a509f71aa5f787934f01ab0346f25f5f6fe9c4753b486352a5c51d25ac - flattened_ast: 5cc75ea9730cd067b377e887eb7ce9302c8aa418caf29cb4364f1e27b3bde403 - inlined_ast: 5cc75ea9730cd067b377e887eb7ce9302c8aa418caf29cb4364f1e27b3bde403 - dce_ast: 21154e5f0ae8de65800e415b5aaf804080955cf74e6f58549b847f07ba870093 + - initial_ast: f8061bf9f3df0956713e047c91c3d0d95b2299f78c851845995f55c4348617b8 + unrolled_ast: f8061bf9f3df0956713e047c91c3d0d95b2299f78c851845995f55c4348617b8 + ssa_ast: 83962409024338dc3555aa108675b61d8f469ae43387c9b48f9266db29eac027 + flattened_ast: 46fa1134b5ac9b75520c6439cbb4b24abd095f8849670b0c362fecf07e0a5c69 + inlined_ast: 46fa1134b5ac9b75520c6439cbb4b24abd095f8849670b0c362fecf07e0a5c69 + dce_ast: 33e58220b47be93d9f27d41dc97af2318e87fc119df518e8b15c2e569fd47c02 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index 6f417ca104..b252028d6f 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 754781c0fa212f3272647786f4b2e74902cd9d82e6a7a417f26bd743c35411ab - unrolled_ast: 754781c0fa212f3272647786f4b2e74902cd9d82e6a7a417f26bd743c35411ab - ssa_ast: bd845d7669bbc97449b7dd95002367d50cf139d621ba4cb8f3e036bfc065b40f - flattened_ast: b61d7ea2a4b4eb2c96ad18cecf577a544492ee597bd3a3b0802853c50ff17327 - inlined_ast: b61d7ea2a4b4eb2c96ad18cecf577a544492ee597bd3a3b0802853c50ff17327 - dce_ast: cd0bdc7c755762cbc8dcaf89a02a84097bba8f756c1a1d19da173feecb0679ed + - initial_ast: 460990f74fa4d20842f522b59188e3e50cc1057cb8266d92c071a725b5715409 + unrolled_ast: 460990f74fa4d20842f522b59188e3e50cc1057cb8266d92c071a725b5715409 + ssa_ast: 458199b4924314ddbb4c8e89a6a79149d1873f17c1cbdb4b3120ca055ef387ef + flattened_ast: e6398d354438d27e4e8efe95f3963512fa316f59500293313840b31a60678a57 + inlined_ast: e6398d354438d27e4e8efe95f3963512fa316f59500293313840b31a60678a57 + dce_ast: 1279bdcbc08be48badb146e78bb2086cf8b316987afa6d622c4e32980d5da721 bytecode: 9a1e5bb7b8d932d4afd347a856bfb38db144771f49a0d9589ef14236338e3dcf diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index eda75e0b99..920e5b140d 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: af85afadf48bf782a70a44cf90b92f0fe9f418957921858df92245f5133978d0 - unrolled_ast: af85afadf48bf782a70a44cf90b92f0fe9f418957921858df92245f5133978d0 - ssa_ast: aae5a7fec8f06f526fea2186a91e0e22643a73ff85bc51f15aa9902a49ae09c9 - flattened_ast: 9920a8ab7749898ac69d54411548b0d2638e3ce6fcf7005d29bce0952aafac92 - inlined_ast: 9920a8ab7749898ac69d54411548b0d2638e3ce6fcf7005d29bce0952aafac92 - dce_ast: 9920a8ab7749898ac69d54411548b0d2638e3ce6fcf7005d29bce0952aafac92 + - initial_ast: 44f7d342ea231377563ef8e83a831ec486b0dd11baaacd6c8f71f1b51ecfa00a + unrolled_ast: 44f7d342ea231377563ef8e83a831ec486b0dd11baaacd6c8f71f1b51ecfa00a + ssa_ast: 172c33a070918447884fb8edca59e009af082677bad4b36ad054e1ed0829d641 + flattened_ast: 8cb52759e208751ce3e928d719ae006d06bf5c4ebf6dba65a99c9fd2b70832b5 + inlined_ast: 8cb52759e208751ce3e928d719ae006d06bf5c4ebf6dba65a99c9fd2b70832b5 + dce_ast: 8cb52759e208751ce3e928d719ae006d06bf5c4ebf6dba65a99c9fd2b70832b5 bytecode: f3e8f78be42f2b1c4ffe738c22be8ed69d93030768e1493e91704069624161d1 diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index b458cc33da..830d2c88b5 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6b259d8abc38eef47ba61508d4491ffe92099452034c2c84e02c4999a51385e0 - unrolled_ast: 6b259d8abc38eef47ba61508d4491ffe92099452034c2c84e02c4999a51385e0 - ssa_ast: e8a2bd12468908d67f152128fb94bddb0bc7a74350ba36a1338d7ee1267507c1 - flattened_ast: 2f0b57531f69f0870f65c56f45f6079c324babfa141890773962e2b2e6a97224 - inlined_ast: 2f0b57531f69f0870f65c56f45f6079c324babfa141890773962e2b2e6a97224 - dce_ast: 2f0b57531f69f0870f65c56f45f6079c324babfa141890773962e2b2e6a97224 + - initial_ast: f7296501d7e8a539d14a1a762d78b27811b771ac019bd295e1fde48bf4333950 + unrolled_ast: f7296501d7e8a539d14a1a762d78b27811b771ac019bd295e1fde48bf4333950 + ssa_ast: af13221de48f01239e489bc6cbf59405c603d136ad6204e8ff7116d41bb973bb + flattened_ast: 7ef44b1952221f5abcc749b21d75ef3511d07339ed023e65429f77af34d31fb3 + inlined_ast: 7ef44b1952221f5abcc749b21d75ef3511d07339ed023e65429f77af34d31fb3 + dce_ast: 7ef44b1952221f5abcc749b21d75ef3511d07339ed023e65429f77af34d31fb3 bytecode: f3d5151dee5a9dc4ec37146ba94693a876f6520de94c3c6a3d8bad7ba513f5d8 diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index 4cde462921..bd519136a3 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1f718cbf12cf368295b0cd0181e429f6d95565a13a13f148aa6593622e7f0c94 - unrolled_ast: 1f718cbf12cf368295b0cd0181e429f6d95565a13a13f148aa6593622e7f0c94 - ssa_ast: 5ebc40518c5fa13c810f4a30528552720e2fde023f2685a7c71bbace0c2d06b2 - flattened_ast: fb9676ebfc259e6d7925fe4cf2b55e99e47ab6c208eeb7256c741b25eda962ad - inlined_ast: fb9676ebfc259e6d7925fe4cf2b55e99e47ab6c208eeb7256c741b25eda962ad - dce_ast: b2be496652e117727901115cee8f73b222669dfd65792d02384bbd4dd6eaaa2b + - initial_ast: 2bb0ee8a11f2883241c5ecd1fe800ed428f6c7760a7928f161133ba8870d043f + unrolled_ast: 2bb0ee8a11f2883241c5ecd1fe800ed428f6c7760a7928f161133ba8870d043f + ssa_ast: b737349409c53b451cf8b881e9bce93ca32935bb3982479aefc26d410aca4d73 + flattened_ast: 3387bcf3c9c604cfe8c98946993e839501c4629b4eaa1ee12d47603b398ea4e0 + inlined_ast: 3387bcf3c9c604cfe8c98946993e839501c4629b4eaa1ee12d47603b398ea4e0 + dce_ast: c0095a84d960acb0bd845de7e20902fc26f7b203e91b109e61cd0405cd26a0cc bytecode: bc96cd7d2338fc235857e720f458edaf870603cb91f763e2e82cff2be42df25c diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index fbe62b2fe6..e09fc86a7e 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 003d86dd72c5dacc2cda3851a8219721a634aafda6e75859981d394d1d0685fa - unrolled_ast: 003d86dd72c5dacc2cda3851a8219721a634aafda6e75859981d394d1d0685fa - ssa_ast: 2187419697522ae22b0eae11657df9f8a714534bbede8b72b2a2e638638c1919 - flattened_ast: 0a0e5f89ba01bdc296b7dc046f86e4dabf11cc7cec22314e611f291ad6040445 - inlined_ast: 0a0e5f89ba01bdc296b7dc046f86e4dabf11cc7cec22314e611f291ad6040445 - dce_ast: 0a0e5f89ba01bdc296b7dc046f86e4dabf11cc7cec22314e611f291ad6040445 + - initial_ast: b0451981934f7489d4f18cdbda18d63f2cda54f397b2afc4edeeab275d422350 + unrolled_ast: b0451981934f7489d4f18cdbda18d63f2cda54f397b2afc4edeeab275d422350 + ssa_ast: 3ede9641457b2c004d3f5b9b3fe4b5fc2e7461f4c2ec3c402bc0a0f14a50ab74 + flattened_ast: 02e67aa24ea2993baed80cb3db9eccfbf8f0b114aa18fa8f4a906b4276b0ca47 + inlined_ast: 02e67aa24ea2993baed80cb3db9eccfbf8f0b114aa18fa8f4a906b4276b0ca47 + dce_ast: 02e67aa24ea2993baed80cb3db9eccfbf8f0b114aa18fa8f4a906b4276b0ca47 bytecode: e074a88150455ba45e3055ec3e3ab7046242f12f6b6632e0b008a96e84818654 diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index f8050f2ab4..bae61de494 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 9240ac92cf0a2bb2969182ca7fb629f585656f05a94a474538a3019b194e69de - unrolled_ast: 9240ac92cf0a2bb2969182ca7fb629f585656f05a94a474538a3019b194e69de - ssa_ast: 13be297637ee6aca3c6f33144678c76b529c81a3065622bcf19e416724daae57 - flattened_ast: ede7087588a69a34953b68b632c70219d6ee58b5834d7a825a671b7a0197d1c9 - inlined_ast: ede7087588a69a34953b68b632c70219d6ee58b5834d7a825a671b7a0197d1c9 - dce_ast: ede7087588a69a34953b68b632c70219d6ee58b5834d7a825a671b7a0197d1c9 + - initial_ast: 54f101c82dbd5319fa4ad685d9090b1d9ed3d5c5bd67f138a872b4b06c6edf98 + unrolled_ast: 54f101c82dbd5319fa4ad685d9090b1d9ed3d5c5bd67f138a872b4b06c6edf98 + ssa_ast: de195d72fa0b15162f2f82d92a402e9f9da6127f8073cf6216a1344606d42602 + flattened_ast: 518fccc03442e7637911f7b62ae94eecab75884a283398eaf7cfaf492519c88d + inlined_ast: 518fccc03442e7637911f7b62ae94eecab75884a283398eaf7cfaf492519c88d + dce_ast: 518fccc03442e7637911f7b62ae94eecab75884a283398eaf7cfaf492519c88d bytecode: a48814ab5a0a2eb63c017974e4b5d5b80ee85a75baefb0f01c9d4794aa44f427 diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index c9abb0feec..0b8ab5e4f7 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b8a417c5c3bc5faae23a0e672dd990f400f54a0bbffb597c49d6b7b23411264a - unrolled_ast: b8a417c5c3bc5faae23a0e672dd990f400f54a0bbffb597c49d6b7b23411264a - ssa_ast: d76bad65d0cf3d4dfc6848292c830846c68c117b2036862cefc499c1af037977 - flattened_ast: 74b529c97baa8f89aed8777843c7304c7d17a28831b10e5aa2fc79c6c762b2a9 - inlined_ast: 74b529c97baa8f89aed8777843c7304c7d17a28831b10e5aa2fc79c6c762b2a9 - dce_ast: 74b529c97baa8f89aed8777843c7304c7d17a28831b10e5aa2fc79c6c762b2a9 + - initial_ast: edac85a1463bd7beb2de1c38fab5a2087a0966a1624fcdb81fc3adf111952378 + unrolled_ast: edac85a1463bd7beb2de1c38fab5a2087a0966a1624fcdb81fc3adf111952378 + ssa_ast: d094682e0349ce0c534df51184349a980c017043dfdf36888f1d094cfbe9c7d7 + flattened_ast: 22fbb9b6a811c78ff78965c6611ab884dc038a9c863cc6db16dc94bfc53e4b54 + inlined_ast: 22fbb9b6a811c78ff78965c6611ab884dc038a9c863cc6db16dc94bfc53e4b54 + dce_ast: 22fbb9b6a811c78ff78965c6611ab884dc038a9c863cc6db16dc94bfc53e4b54 bytecode: 2159912f354d44e770662e90da4184d94de184fa49e44a6228fb4fb9e9ce5bf3 diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index 956fa577f7..17f7a22888 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: abe74c6e1afdcd52c84d96fa218703c6a21e746744e5bb3d22d6314ad29c91e7 - unrolled_ast: abe74c6e1afdcd52c84d96fa218703c6a21e746744e5bb3d22d6314ad29c91e7 - ssa_ast: ff8d1fd3c2e5f9aae910d70da1d191de38fe343d9fa8ce5dd90fedf6963e7eb0 - flattened_ast: c396310012e96d891b068ed6cf5be512d1e22bd5ae5b0289840d042f4db94dcb - inlined_ast: c396310012e96d891b068ed6cf5be512d1e22bd5ae5b0289840d042f4db94dcb - dce_ast: c396310012e96d891b068ed6cf5be512d1e22bd5ae5b0289840d042f4db94dcb + - initial_ast: 8aedf672d087ad3c3512d743da5c9ba9873017ccb649cdccee672656c7ee1ad8 + unrolled_ast: 8aedf672d087ad3c3512d743da5c9ba9873017ccb649cdccee672656c7ee1ad8 + ssa_ast: fa5f650bbc660737ec022540acf7ef2b2e4862d911cb1fa944a212e4befbf7c9 + flattened_ast: 1058687711caaa0fbefa10c2df6145e2051e9af124bf5234eaec89966f008eec + inlined_ast: 1058687711caaa0fbefa10c2df6145e2051e9af124bf5234eaec89966f008eec + dce_ast: 1058687711caaa0fbefa10c2df6145e2051e9af124bf5234eaec89966f008eec bytecode: dabf4b298971b553d5d0009a749e4d4a993d58a0a5aa20453a0241716bceaaad diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index 6f4b23805b..a9ad555004 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 8c9088a9a4261940cb4f2ec20318c2875d8813b0b57eb12a5b8f2af0e71f5f22 - unrolled_ast: 8c9088a9a4261940cb4f2ec20318c2875d8813b0b57eb12a5b8f2af0e71f5f22 - ssa_ast: 9c2e76526aa89d21856fe51ef086e8d22e6b7de8188f7ff6b99cce63d7553e87 - flattened_ast: 7e90bf94ce350eb5aaac9995d06cd14c5a63965f77abf01e08dbfdd036032a7f - inlined_ast: 7e90bf94ce350eb5aaac9995d06cd14c5a63965f77abf01e08dbfdd036032a7f - dce_ast: 7e90bf94ce350eb5aaac9995d06cd14c5a63965f77abf01e08dbfdd036032a7f + - initial_ast: 14360068f10fafd2ee677f78138d8c1435e8bd6a218af25143248b602bb419a1 + unrolled_ast: 14360068f10fafd2ee677f78138d8c1435e8bd6a218af25143248b602bb419a1 + ssa_ast: 67ec2ad4b24033706a992eb454b6897502d866353e5810e73139671793c7e341 + flattened_ast: c5b9070b471ba7179baf7f1f3230ce31da4ba490c64f4c4ff14cb292d661cbe0 + inlined_ast: c5b9070b471ba7179baf7f1f3230ce31da4ba490c64f4c4ff14cb292d661cbe0 + dce_ast: c5b9070b471ba7179baf7f1f3230ce31da4ba490c64f4c4ff14cb292d661cbe0 bytecode: 5c4619b95890e250d3c57ecdcd585a9a20b1c5b4ca615b23c6ddf7fe5bd9b6c3 diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 47e8e75fc7..6654f2738d 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: df2650ba086d2ef699d5aba01ca40ed16bc8d6179b58fa1df88399a4318a78ea - unrolled_ast: df2650ba086d2ef699d5aba01ca40ed16bc8d6179b58fa1df88399a4318a78ea - ssa_ast: 99d442386b9c5f64e9b46c309ce2739e396017e2c2dab2d06288aae49b9d948f - flattened_ast: eef19c7cd1c41f05f5dee131db1762751c774729c969768cba30249e8f27b071 - inlined_ast: eef19c7cd1c41f05f5dee131db1762751c774729c969768cba30249e8f27b071 - dce_ast: eef19c7cd1c41f05f5dee131db1762751c774729c969768cba30249e8f27b071 + - initial_ast: 377db0dc62369a1696d1adb245dc1b6225d01eb6dc30c38c64d6ee5dbb52762d + unrolled_ast: 377db0dc62369a1696d1adb245dc1b6225d01eb6dc30c38c64d6ee5dbb52762d + ssa_ast: 45cdda486f81678a4e6970eabc26429749da822a7594c0d0bf29146a82338fb5 + flattened_ast: 2306c13af3f030630fdb3bde9444caa1879bcf18ab41f7e8cc15db8433ec9590 + inlined_ast: 2306c13af3f030630fdb3bde9444caa1879bcf18ab41f7e8cc15db8433ec9590 + dce_ast: 2306c13af3f030630fdb3bde9444caa1879bcf18ab41f7e8cc15db8433ec9590 bytecode: d0baeac7c2175f2a975d1d36d8605405062fb8dbb8513604a5ea9d3e9902c6d2 diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 79c6a8c204..8a030970c8 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: a032a228dd494bd45aae57ea84ae8c437b412f0041014b30637106738fa6105b - unrolled_ast: a032a228dd494bd45aae57ea84ae8c437b412f0041014b30637106738fa6105b - ssa_ast: 80e952804bfbeca02020c6c53ad6ffcc100cc008bc1e2a436eb4fdb8c24e3bd5 - flattened_ast: f212d9074cea7541f75163a60c18bdd269b29c69c4675aef5b772e9220551282 - inlined_ast: f212d9074cea7541f75163a60c18bdd269b29c69c4675aef5b772e9220551282 - dce_ast: f212d9074cea7541f75163a60c18bdd269b29c69c4675aef5b772e9220551282 + - initial_ast: 47cc22f37b180fe751b4abbaa95e6de8f7b6486cd071c896bb98ff48663d57b2 + unrolled_ast: 47cc22f37b180fe751b4abbaa95e6de8f7b6486cd071c896bb98ff48663d57b2 + ssa_ast: 10a72e6e70821c8238b89cbb82123b984607401ea3076b910ada1057d49ff0b8 + flattened_ast: 7975fa0651b27c294e8aa5aee119f2153acf22fde7d3fc2b6c3eadaa0c7053dd + inlined_ast: 7975fa0651b27c294e8aa5aee119f2153acf22fde7d3fc2b6c3eadaa0c7053dd + dce_ast: 7975fa0651b27c294e8aa5aee119f2153acf22fde7d3fc2b6c3eadaa0c7053dd bytecode: 943036760ae202cb77ff7f514a6a556c890a8f542d7e8fef482b4185d6786b66 diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index 59433c068c..910e0acf6b 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e6ccaa14c2eb3997e4ad573ff7be949715028ac647cbe019b5e6e73599434515 - unrolled_ast: e6ccaa14c2eb3997e4ad573ff7be949715028ac647cbe019b5e6e73599434515 - ssa_ast: 42829852d13fd54c6463e3890767d8acd18981dbac4b6e3e187025b8cfdfdfed - flattened_ast: 4e12edb61d9baee40099181b51649a489a943282924fd976a7a2a2c39e470443 - inlined_ast: 4e12edb61d9baee40099181b51649a489a943282924fd976a7a2a2c39e470443 - dce_ast: 4e12edb61d9baee40099181b51649a489a943282924fd976a7a2a2c39e470443 + - initial_ast: 69536dc7ebcad1e82cdfff7ad684e8c4ae1f2fef79339f91f98febf796f007ee + unrolled_ast: 69536dc7ebcad1e82cdfff7ad684e8c4ae1f2fef79339f91f98febf796f007ee + ssa_ast: e2afda96bc99a7b902f9ea1960d10d55beafaa5a1d7b3044793ae43e6e4ebfec + flattened_ast: 70c138209ee1a7a0a75709c7f8caee240d815057ed28a48d27550e42904df761 + inlined_ast: 70c138209ee1a7a0a75709c7f8caee240d815057ed28a48d27550e42904df761 + dce_ast: 70c138209ee1a7a0a75709c7f8caee240d815057ed28a48d27550e42904df761 bytecode: 8b7e98a7f450a6280c0427907077db96a5194953ac878f3096c126a8d8b75f62 diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index a800f5f481..542cf78bef 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 706d6b698209729ccc81f63bfe77a4baf572bfbda4d4165b51ed2fd1bbf34442 - unrolled_ast: 706d6b698209729ccc81f63bfe77a4baf572bfbda4d4165b51ed2fd1bbf34442 - ssa_ast: 06ce227a097baf4d7c73465d58710ab217a1ce7c8d49c8e9ca644627e607703a - flattened_ast: 2f2798034c971938c91ed4422def44932cb6f657c62a56b79de431ca1f542fc2 - inlined_ast: 2f2798034c971938c91ed4422def44932cb6f657c62a56b79de431ca1f542fc2 - dce_ast: 2f2798034c971938c91ed4422def44932cb6f657c62a56b79de431ca1f542fc2 + - initial_ast: 362de1260bcc8b7cf23d4c92211ccbf89face337d4156bbd8f3ca6a385400376 + unrolled_ast: 362de1260bcc8b7cf23d4c92211ccbf89face337d4156bbd8f3ca6a385400376 + ssa_ast: 3dd6566bc09a46dd95e9fff464c30923ad67a87c81ceef3382d1483ffa782064 + flattened_ast: dff45882f667a52c2e6a0a44094bba206cdad84ff0e94be9194229eba4e2fcf7 + inlined_ast: dff45882f667a52c2e6a0a44094bba206cdad84ff0e94be9194229eba4e2fcf7 + dce_ast: dff45882f667a52c2e6a0a44094bba206cdad84ff0e94be9194229eba4e2fcf7 bytecode: e6c7836da70dcac19600a14bc49655ff3aff5f254ca77a24b39564a3987cdb7f diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index 0e230fe1aa..a4312f103c 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: befe0cc5d37e961c86223e95440fc29b8eeda7f9e7b0573dc6d3f956d8a3ece6 - unrolled_ast: befe0cc5d37e961c86223e95440fc29b8eeda7f9e7b0573dc6d3f956d8a3ece6 - ssa_ast: d32dc9d291fad7846b373e76610e5e83f396126a90f40a7cf2f673cff6159a36 - flattened_ast: 93a108cdde1ece68c4c7c4a4f061bd14104dc985fda2fedaa3f4deab5dad6565 - inlined_ast: 93a108cdde1ece68c4c7c4a4f061bd14104dc985fda2fedaa3f4deab5dad6565 - dce_ast: 93a108cdde1ece68c4c7c4a4f061bd14104dc985fda2fedaa3f4deab5dad6565 + - initial_ast: bcd37223b9b689636606c574b455ed3015326be9dbd63b8df92702684c6da407 + unrolled_ast: bcd37223b9b689636606c574b455ed3015326be9dbd63b8df92702684c6da407 + ssa_ast: eaa6cd2ad75eb7ba3fb99e9669747ddeabc55a011b0c77cf7c2d9149ae47212f + flattened_ast: 069d0ee560fc968811f337373dd5d46c4cefd5bce62f9fa6bd0d8a3396df6da7 + inlined_ast: 069d0ee560fc968811f337373dd5d46c4cefd5bce62f9fa6bd0d8a3396df6da7 + dce_ast: 069d0ee560fc968811f337373dd5d46c4cefd5bce62f9fa6bd0d8a3396df6da7 bytecode: 1cfa6fc08a9f2902f0fef6da253abd33115459891219263928dbaa69b44be3cf diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index fb9c2c4e27..3f5c6fa254 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5095cc2534f53b3d89023c125c9103d76ca3c32135c97cadb949db4474a28309 - unrolled_ast: 5095cc2534f53b3d89023c125c9103d76ca3c32135c97cadb949db4474a28309 - ssa_ast: 9cecc0f8f61a79f6c87a2c813e3af44ddd194a3433720689dcd5679d2a788443 - flattened_ast: d6db91d569b87edba60124cabfa970485d6dd0bc1767bf39109e91d2742eb22a - inlined_ast: d6db91d569b87edba60124cabfa970485d6dd0bc1767bf39109e91d2742eb22a - dce_ast: d6db91d569b87edba60124cabfa970485d6dd0bc1767bf39109e91d2742eb22a + - initial_ast: 3569fdbb02c7d3e64027ab31e3926d76bc4f00beba09ab024e02bc07f9f1cc69 + unrolled_ast: 3569fdbb02c7d3e64027ab31e3926d76bc4f00beba09ab024e02bc07f9f1cc69 + ssa_ast: ff38d664131e498c0d945afc6fd8540eacada4acc5a68d205d7f1872eb127f42 + flattened_ast: d84eddc7e385b0f0fee8473a51bd65eb68cdf99c9778c5657b14a0bf6361ba84 + inlined_ast: d84eddc7e385b0f0fee8473a51bd65eb68cdf99c9778c5657b14a0bf6361ba84 + dce_ast: d84eddc7e385b0f0fee8473a51bd65eb68cdf99c9778c5657b14a0bf6361ba84 bytecode: 1cfa6fc08a9f2902f0fef6da253abd33115459891219263928dbaa69b44be3cf diff --git a/tests/expectations/compiler/records/nested_record.out b/tests/expectations/compiler/records/nested_record.out index 2b1453371d..7623b4e082 100644 --- a/tests/expectations/compiler/records/nested_record.out +++ b/tests/expectations/compiler/records/nested_record.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c134c752949c62a183432f6a7f466e8270be5592ade20d634a99796689d6db30 - unrolled_ast: c134c752949c62a183432f6a7f466e8270be5592ade20d634a99796689d6db30 - ssa_ast: 8e601ac48d9fddfdae521a6ffaedfed1cbfaa802bf1b81530f58f26d5cf67ead - flattened_ast: f88ab1e7c351cd90b5f49150df221c7c53e032e166e9d178a4d3524084e66b17 - inlined_ast: f88ab1e7c351cd90b5f49150df221c7c53e032e166e9d178a4d3524084e66b17 - dce_ast: f88ab1e7c351cd90b5f49150df221c7c53e032e166e9d178a4d3524084e66b17 + - initial_ast: 692845bd78a3952d61ebd9a39314224a18bd8c3808270ddec5cc320e80cb4c6c + unrolled_ast: 692845bd78a3952d61ebd9a39314224a18bd8c3808270ddec5cc320e80cb4c6c + ssa_ast: a1b6c113a0e33f752eef5e095e8b17318b1125078fd09a649ad817f49cf2174b + flattened_ast: e2094ac6b82daf0a611fa260e975c4c7c171dab5defadf2c6849a51e2089131f + inlined_ast: e2094ac6b82daf0a611fa260e975c4c7c171dab5defadf2c6849a51e2089131f + dce_ast: e2094ac6b82daf0a611fa260e975c4c7c171dab5defadf2c6849a51e2089131f bytecode: 6c9eb1193b8d4f71dd8b701ae0f297d12212933b670ab59c89f0a20ab982f08a diff --git a/tests/expectations/compiler/records/record_declaration_out_of_order.out b/tests/expectations/compiler/records/record_declaration_out_of_order.out index e63d908af5..eeb03f9cc5 100644 --- a/tests/expectations/compiler/records/record_declaration_out_of_order.out +++ b/tests/expectations/compiler/records/record_declaration_out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2752eaa8193dc950ae07dbd8277c03fb924546879912afdc7c4709eb92155a1d - unrolled_ast: 2752eaa8193dc950ae07dbd8277c03fb924546879912afdc7c4709eb92155a1d - ssa_ast: 03392a93fef2cf4ac477a5850335d8a37939903c92ea49e58974ac0573dd447a - flattened_ast: ea4f399821484f56da2ed384f7530428dcf91f5dfd227c83a785d6a50f33167f - inlined_ast: ea4f399821484f56da2ed384f7530428dcf91f5dfd227c83a785d6a50f33167f - dce_ast: ea4f399821484f56da2ed384f7530428dcf91f5dfd227c83a785d6a50f33167f + - initial_ast: dfb2586b413a6bd10d24e8b7084f90ecc6f375f39658a8906db49365437a4291 + unrolled_ast: dfb2586b413a6bd10d24e8b7084f90ecc6f375f39658a8906db49365437a4291 + ssa_ast: fb9e6a2ba5503a7db2010cde957d062fe6ec5c27d82790e3249841ffc2a1b3d0 + flattened_ast: 2d63672fd0f2b8d14ca4100667e35b000c979cab6e435e646024ae7130bda0af + inlined_ast: 2d63672fd0f2b8d14ca4100667e35b000c979cab6e435e646024ae7130bda0af + dce_ast: 2d63672fd0f2b8d14ca4100667e35b000c979cab6e435e646024ae7130bda0af bytecode: e6c7836da70dcac19600a14bc49655ff3aff5f254ca77a24b39564a3987cdb7f diff --git a/tests/expectations/compiler/records/record_init_out_of_order.out b/tests/expectations/compiler/records/record_init_out_of_order.out index 93cde7bc2c..2a35a06118 100644 --- a/tests/expectations/compiler/records/record_init_out_of_order.out +++ b/tests/expectations/compiler/records/record_init_out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 20ad25142425e428387351b1eae95763cd2bafc2aea81270944cca08c058ece4 - unrolled_ast: 20ad25142425e428387351b1eae95763cd2bafc2aea81270944cca08c058ece4 - ssa_ast: a87e55fe349912264137c0ac31434a9b0623c8701997d6930ab6e3e04f67bbe3 - flattened_ast: 265092b725660652360db1d5995f28356d800d264a512511dbc70d31068e4e77 - inlined_ast: 265092b725660652360db1d5995f28356d800d264a512511dbc70d31068e4e77 - dce_ast: 265092b725660652360db1d5995f28356d800d264a512511dbc70d31068e4e77 + - initial_ast: 81daabea64007735904de75a4e82206542d320955587035846e6ea6453c59579 + unrolled_ast: 81daabea64007735904de75a4e82206542d320955587035846e6ea6453c59579 + ssa_ast: b6f6b64387e73f4368c20bdeef988aa2f159e1f592664c815d5bc1a35b44a904 + flattened_ast: e7933b93cf4055d092f3e2999fea285eae33f4d34568529d93d509277a07da04 + inlined_ast: e7933b93cf4055d092f3e2999fea285eae33f4d34568529d93d509277a07da04 + dce_ast: e7933b93cf4055d092f3e2999fea285eae33f4d34568529d93d509277a07da04 bytecode: 29844f1ea8a798be999d7a958052e759df9664aa3efb0d17a92534caa532ce89 diff --git a/tests/expectations/compiler/records/record_with_visibility.out b/tests/expectations/compiler/records/record_with_visibility.out index 8d338f220a..c77620995b 100644 --- a/tests/expectations/compiler/records/record_with_visibility.out +++ b/tests/expectations/compiler/records/record_with_visibility.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e48fe7856ecd5c90b2e8d425feb01da0f0876cca5385a8d1757beb5cbbb63564 - unrolled_ast: e48fe7856ecd5c90b2e8d425feb01da0f0876cca5385a8d1757beb5cbbb63564 - ssa_ast: f32921e1ad3a516b4b01cf14c25416dac730e600fdc85c7d35328a4e5e74d62c - flattened_ast: 365d9ac45a96dfdb3fd84bd8d01e0e0ace194c61fb9acf901756cea7c7be402b - inlined_ast: 365d9ac45a96dfdb3fd84bd8d01e0e0ace194c61fb9acf901756cea7c7be402b - dce_ast: 365d9ac45a96dfdb3fd84bd8d01e0e0ace194c61fb9acf901756cea7c7be402b + - initial_ast: 0bab9b80485c4c03392242e0f5f91253699192cf99384933617a9a16087d0771 + unrolled_ast: 0bab9b80485c4c03392242e0f5f91253699192cf99384933617a9a16087d0771 + ssa_ast: 90832974080e0dae8c5d561474ec4e1c7ed67b5c1430e0ce42cc24416e6f695a + flattened_ast: a844b3e5f2b7a38e40169c4b65a739ba49cb640bfc2a90b628d82ea06ce89b6f + inlined_ast: a844b3e5f2b7a38e40169c4b65a739ba49cb640bfc2a90b628d82ea06ce89b6f + dce_ast: a844b3e5f2b7a38e40169c4b65a739ba49cb640bfc2a90b628d82ea06ce89b6f bytecode: 8df822f8d2b35654339ce482dcd912e372b04fc50f2d2f2b2329dadf694d583b diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index 07c1519103..a03d2b5e60 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1cfbf4c61141ec0b5130effd58114aaabe8aba3b1bc08710f1401a32d1f7663d - unrolled_ast: 1cfbf4c61141ec0b5130effd58114aaabe8aba3b1bc08710f1401a32d1f7663d - ssa_ast: 5bd8cd0fa84cf78575401a1a49bcd89c561c39fd418b009679ebbd177a22da22 - flattened_ast: 66c385a68f2d8920acae616ef4eea69562589dcd25e2afb46223209ed7c637ac - inlined_ast: 66c385a68f2d8920acae616ef4eea69562589dcd25e2afb46223209ed7c637ac - dce_ast: 66c385a68f2d8920acae616ef4eea69562589dcd25e2afb46223209ed7c637ac + - initial_ast: cd058a1742621dc06902e4d1830f92459af0e94b2915eda46f02cac0adf711ac + unrolled_ast: cd058a1742621dc06902e4d1830f92459af0e94b2915eda46f02cac0adf711ac + ssa_ast: c8d379fd08010460ec29dd52038ab6ff42b42c965719e5d2bf749359ef915444 + flattened_ast: ef84f792e3ac178dcfa44fae65bfd2483da4c2815a031b5e8571aafdca296c5a + inlined_ast: ef84f792e3ac178dcfa44fae65bfd2483da4c2815a031b5e8571aafdca296c5a + dce_ast: ef84f792e3ac178dcfa44fae65bfd2483da4c2815a031b5e8571aafdca296c5a bytecode: 90d57d70bb80ee3a60cbf18b20fe23889d36521d4d7e0fc2d478846deb16f1e2 diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index b31f0c3c99..4940b14b5d 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fc642c52770495107e5c2dd10dc283b0a38006c192165b543c7d4d9f6f7945b4 - unrolled_ast: fc642c52770495107e5c2dd10dc283b0a38006c192165b543c7d4d9f6f7945b4 - ssa_ast: ea9a3015ee16aa3d249a5c7cc5275cf45e8971bae6cc36d9f925704c70cdacae - flattened_ast: 20fcf84c0609382e9f3b7732385f891dfbdd645ebfa77b8c96df43d9259756e6 - inlined_ast: 20fcf84c0609382e9f3b7732385f891dfbdd645ebfa77b8c96df43d9259756e6 - dce_ast: e9d76a2420e61ddb55eef2c1a232febfa354ec74db9d0992fc7d4adb2ebc3f04 + - initial_ast: 33129a4723c00935e378630e3bd9983b767fca5aab2d215126dca88b0de88a08 + unrolled_ast: 33129a4723c00935e378630e3bd9983b767fca5aab2d215126dca88b0de88a08 + ssa_ast: 4a692402966d94c0cb70fb5e1d6926ff753ab69e54ad25bd77b6a92a8643bf29 + flattened_ast: 75e7d4ca1369c44a8dca6d34d8cee70c7f481f7729f35c506165edd5e0959b05 + inlined_ast: 75e7d4ca1369c44a8dca6d34d8cee70c7f481f7729f35c506165edd5e0959b05 + dce_ast: a27dc53b53f8ad97a031e98831328f336cb34d285bb9b9b35fff61672eb0f408 bytecode: 2721c20330bb432ebe9b1d5e55b303d029c3dad391b12899ad4a76fd4c858a8b diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index 07a0b8b541..801f525443 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3b983b36536a299812563e4fec41806281a2d421a3e5cc28b783380eb5bd8876 - unrolled_ast: 3b983b36536a299812563e4fec41806281a2d421a3e5cc28b783380eb5bd8876 - ssa_ast: 453ec10c1cb464ab72b290c22294dbd66c025b52c00329db62df4848eaf7796e - flattened_ast: 29e10bdcfb654d912859e17adb3a177d7338a31f9fbaa805f38189e477573723 - inlined_ast: 29e10bdcfb654d912859e17adb3a177d7338a31f9fbaa805f38189e477573723 - dce_ast: 817bf899c74a18ef0626ed1dc9c7087b652b64ff94d6919ab5490a8b74bd6f7d + - initial_ast: 7337908bd5a20fb35a94290f199bf161bb0aa4ce774ca4b857974611fe6ea54b + unrolled_ast: 7337908bd5a20fb35a94290f199bf161bb0aa4ce774ca4b857974611fe6ea54b + ssa_ast: 02582828291aa8f1f484951ea054c4f89a33728fdf70fe61dd45246ba4613c82 + flattened_ast: da78df84e8cbeee999630c79f917500fa9643803885a50589aa6c4afbaa3ba83 + inlined_ast: da78df84e8cbeee999630c79f917500fa9643803885a50589aa6c4afbaa3ba83 + dce_ast: cec7a0506998bb25987ccd4a3f834b011fa4a60e9cc3d26574db81b4d6621f3e bytecode: 05f52c0501337bb4bec868c077714c783e28915a315992bee908d225f070f442 diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index 4b06527e0b..6759b10261 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 1db046563517e701f758da93f440f92bfbaa10f365c087bdaca1cd90d3e120fd - unrolled_ast: 1db046563517e701f758da93f440f92bfbaa10f365c087bdaca1cd90d3e120fd - ssa_ast: 19ab9c23e39040b2261fab680c480e06a0ba3c169b4240e19ca859da4c492954 - flattened_ast: 9ee0deed6354215705d9cfbf9988f1ff5f690b3975ff7507e71b087ca721ba45 - inlined_ast: 9ee0deed6354215705d9cfbf9988f1ff5f690b3975ff7507e71b087ca721ba45 - dce_ast: eae5864c201510c91146eb92667e3d8b4c75ee2ecf74857fe07fa6ab4468f0c2 + - initial_ast: f3ea4bff0f8b63b04ea907d72d9a2815032fb0038f51f54f14f030867a1ce9fa + unrolled_ast: f3ea4bff0f8b63b04ea907d72d9a2815032fb0038f51f54f14f030867a1ce9fa + ssa_ast: 37b2e221100a9ec8608661aa44cf4df635a73ddffe8383d6fb6a5e72a422c87c + flattened_ast: cdf306062dc3d7dcaf66c3375866a7d04a9e490d0bd9d34bccd03653f88dc9f6 + inlined_ast: cdf306062dc3d7dcaf66c3375866a7d04a9e490d0bd9d34bccd03653f88dc9f6 + dce_ast: 0accb4c84ea81fd27277cf47e75d458b1f6aadc4883f0ec8cb27b3e13b5b905f bytecode: 834bb21bd429219eb98d5c514ff9bf07d562608a4d2db5257fea2a18cef3c4e8 diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index 7213abc92c..2b2a080409 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: c2694a6c4fc67982f2a07c41033b1971bdd753a06521fe486b046b1d10c7ea83 - unrolled_ast: c2694a6c4fc67982f2a07c41033b1971bdd753a06521fe486b046b1d10c7ea83 - ssa_ast: 94a3426e45f50abb239cd28293eba762799147a1cb27de7a85e44a7baeaec6c4 - flattened_ast: dd1660f42146670d21481f129b67d6a34cd534ff852a83bc850e56ebbc28ce75 - inlined_ast: dd1660f42146670d21481f129b67d6a34cd534ff852a83bc850e56ebbc28ce75 - dce_ast: dd1660f42146670d21481f129b67d6a34cd534ff852a83bc850e56ebbc28ce75 + - initial_ast: 25c8a4508e37cc2a59d9ad69ce07d8d13751363c493ae06f8775e26b9d3a6aa7 + unrolled_ast: 25c8a4508e37cc2a59d9ad69ce07d8d13751363c493ae06f8775e26b9d3a6aa7 + ssa_ast: 843aba5da794faf15313221401d2221d6e433908ac5f2b079130adafdf67c38c + flattened_ast: 96837cc75e7721c2247c2e648c63b64c80ac33906ff6400c11c5386e471f6428 + inlined_ast: 96837cc75e7721c2247c2e648c63b64c80ac33906ff6400c11c5386e471f6428 + dce_ast: 96837cc75e7721c2247c2e648c63b64c80ac33906ff6400c11c5386e471f6428 bytecode: 59d4999dee3d39ffa16d0f41c6be0ef11d294b63ab99f9950b7213badcd4a2f5 diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index e084eed17c..169ada8986 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ed68b645ecc50fd6f81109b5b3b5d12182520e800bb8c970e41c6e15db87c516 - unrolled_ast: ed68b645ecc50fd6f81109b5b3b5d12182520e800bb8c970e41c6e15db87c516 - ssa_ast: ff877cc70cf128cc14879497f9309d1f6807609f9395bb651a6373e58d69f891 - flattened_ast: 63a4c22fdfb921e2a65cc597d72586ea554a579c4729ba9982546e6273aa0760 - inlined_ast: 63a4c22fdfb921e2a65cc597d72586ea554a579c4729ba9982546e6273aa0760 - dce_ast: 63a4c22fdfb921e2a65cc597d72586ea554a579c4729ba9982546e6273aa0760 + - initial_ast: ae74bb649931b34635a1f5c126c21384e387c884272f8e0ea036c0a68541672e + unrolled_ast: ae74bb649931b34635a1f5c126c21384e387c884272f8e0ea036c0a68541672e + ssa_ast: 36d9beb6f2e81d92ff9496fb723334146075475805ce9bec1cd255ccd7e69e06 + flattened_ast: 572c73357594aca441fcd0f60168060c691b934db2a6619d20d987a754389d33 + inlined_ast: 572c73357594aca441fcd0f60168060c691b934db2a6619d20d987a754389d33 + dce_ast: 572c73357594aca441fcd0f60168060c691b934db2a6619d20d987a754389d33 bytecode: b43493bafe4f9d08e8dc30a46f254b482eded7ba195ee4b06a546bd844cfe44c diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index f2e790aa20..f82fd3e29c 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 73306dda9c8185ea39ed6d3cd1cb36f687d644fbf7cc72a12f54f8e6612226a4 - unrolled_ast: 73306dda9c8185ea39ed6d3cd1cb36f687d644fbf7cc72a12f54f8e6612226a4 - ssa_ast: 396b5ec2b04ec5a616cd77e77ec87ed85408e9049cab4cbec2f857a9b8d4618d - flattened_ast: b48b0e8010449366b79a8461c2dd18692def73afffc836c6271d3535af0f27d3 - inlined_ast: b48b0e8010449366b79a8461c2dd18692def73afffc836c6271d3535af0f27d3 - dce_ast: b48b0e8010449366b79a8461c2dd18692def73afffc836c6271d3535af0f27d3 + - initial_ast: 03201c8e9b265f0006ebc07140a46801bc88d6c9703d8f31e3eb3f4240dd056c + unrolled_ast: 03201c8e9b265f0006ebc07140a46801bc88d6c9703d8f31e3eb3f4240dd056c + ssa_ast: 020ed153b718d15f3696aae46fdadfdadfcaa6ce5e4d87cddc4e1385e693fcc0 + flattened_ast: df96eda3ecce0596ba51f1ab2666197ad51eaf00b9b9acee1faae8cc73c0f64f + inlined_ast: df96eda3ecce0596ba51f1ab2666197ad51eaf00b9b9acee1faae8cc73c0f64f + dce_ast: df96eda3ecce0596ba51f1ab2666197ad51eaf00b9b9acee1faae8cc73c0f64f bytecode: 2ea7539936b0c489d167990b0abe8ba6b864ef981a8d77e97be46df11d7f78f5 diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index a82d25461f..5eafb2d615 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: f2049c3c5193550c9578ba06f3e8fb908242d86cef4f538b7d2403d6081e8eaa - unrolled_ast: f2049c3c5193550c9578ba06f3e8fb908242d86cef4f538b7d2403d6081e8eaa - ssa_ast: 487a535f5a8eabaed9219a6463b9f57241aa631d7cdac1f4eb3445b7edf740b1 - flattened_ast: db9d77759f6d3baabb009380e64aee2ccf47428e1a0093f48a23d31473366548 - inlined_ast: db9d77759f6d3baabb009380e64aee2ccf47428e1a0093f48a23d31473366548 - dce_ast: db9d77759f6d3baabb009380e64aee2ccf47428e1a0093f48a23d31473366548 + - initial_ast: 1a80ba8828daeb6bf9054d7f0b3eda04f020bdb46d8058d00e7f0baf65f26963 + unrolled_ast: 1a80ba8828daeb6bf9054d7f0b3eda04f020bdb46d8058d00e7f0baf65f26963 + ssa_ast: aebbf2aa6f508799cb34e2d78f4832f767dc753bd4e7ed89260449351c52e5c0 + flattened_ast: 5be8dda58ed8120c62ce6ca274fee0d82c02ff2eca3218a1ada760fd1800b72f + inlined_ast: 5be8dda58ed8120c62ce6ca274fee0d82c02ff2eca3218a1ada760fd1800b72f + dce_ast: 5be8dda58ed8120c62ce6ca274fee0d82c02ff2eca3218a1ada760fd1800b72f bytecode: ce399e998b6e09f8bc8733bfa797b1fcd0680de149fa4a3e21d0be4be7987f4b diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index 122ba4db54..557830df4c 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fbcd232837a4d65205e0b4c78f693c65f34c1f5e8e997bc237d24f67aa86c637 - unrolled_ast: fbcd232837a4d65205e0b4c78f693c65f34c1f5e8e997bc237d24f67aa86c637 - ssa_ast: b364518cd8e798730dc7212e50ed4e7c3dba6a95bb2f9c02f75b0beecee25129 - flattened_ast: 416e3b4f88d5a2d9356296356d07c44e4a0083f47a3dc429bb81c9ae9d2c27d8 - inlined_ast: 416e3b4f88d5a2d9356296356d07c44e4a0083f47a3dc429bb81c9ae9d2c27d8 - dce_ast: 7892f6814b57a5d12129a0f4542b8dc8b9a32d110b467a3080d8b865e7e34fe9 + - initial_ast: 46d4dfd191feebf3c780c4bfdd9262a84b8fd90aadce979b7890d2035c5b4abe + unrolled_ast: 46d4dfd191feebf3c780c4bfdd9262a84b8fd90aadce979b7890d2035c5b4abe + ssa_ast: 97acd66bc87c4e192101577940a29b1e40068e34bbfb1d1d7833781e07584fe4 + flattened_ast: a045e8013955b18241e93d2c566eac1ba53e6b7ea481dcfa861e5f92acfeaaeb + inlined_ast: a045e8013955b18241e93d2c566eac1ba53e6b7ea481dcfa861e5f92acfeaaeb + dce_ast: 9596079eb73b6809275a49d58c52df8dc2a1cd0b0cdd66f406d0c8b96d0ebd09 bytecode: b26e7efafe9624ccaa5ebe73afb04f718bffd1dd4094724a1a040dffd96ee6e8 diff --git a/tests/expectations/compiler/statements/expr_statement.out b/tests/expectations/compiler/statements/expr_statement.out index 47cbdf8ae4..c2ffb4f10b 100644 --- a/tests/expectations/compiler/statements/expr_statement.out +++ b/tests/expectations/compiler/statements/expr_statement.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 91ab2532658863188be28710a7d3a772e9e240408352e424fc430149d7a85a3f - unrolled_ast: 91ab2532658863188be28710a7d3a772e9e240408352e424fc430149d7a85a3f - ssa_ast: 6aac0bfb6e7d744e1e52a3614439d51625f87bf57141b55498173f644b5b315e - flattened_ast: 38b34a5c44c130267c42f641f5d37fcf695573f06b128f01dd3070c6552046df - inlined_ast: 38b34a5c44c130267c42f641f5d37fcf695573f06b128f01dd3070c6552046df - dce_ast: 38b34a5c44c130267c42f641f5d37fcf695573f06b128f01dd3070c6552046df + - initial_ast: c59c5ba2672ce810be895c95fc04e1d68b62329bfdad99596e91d1861dda5fb0 + unrolled_ast: c59c5ba2672ce810be895c95fc04e1d68b62329bfdad99596e91d1861dda5fb0 + ssa_ast: 6705c1e3cdec34cf6d6453612ab3288d3ea0ac73afe45990a41682e750ad1524 + flattened_ast: 24ec3f3d9529367cd042fdbcbbeaad1a9c63831ea7cbd29efd96fddd64e528a2 + inlined_ast: 24ec3f3d9529367cd042fdbcbbeaad1a9c63831ea7cbd29efd96fddd64e528a2 + dce_ast: 24ec3f3d9529367cd042fdbcbbeaad1a9c63831ea7cbd29efd96fddd64e528a2 bytecode: b55cf7fc6a466a6a3c045ce7c5a62416ff39e9f195f7afc5cebce98a9149031c diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index fa04eb9369..2d45a3a85f 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e39d5a2d5baf725c211971a7172531a82a5428c6ee68904f2e53ea872eb41e96 - unrolled_ast: dcc96d1a32ce402ffe8136245c89a6cc087c101e650ad2e5c9d5afb13022cca0 - ssa_ast: e25906e5105564137bd9ae892c5bcfaa74283905af0ae26bcd288aad15abfb1e - flattened_ast: d2cadd421c1f9dd196e37638cfb78a2230164a4a32e923e5e3a87cde4b73dcab - inlined_ast: d2cadd421c1f9dd196e37638cfb78a2230164a4a32e923e5e3a87cde4b73dcab - dce_ast: c83a2f8389a527179b74583a1538ce2e22a195a84e2b3a3f1bddd059c2b8947d + - initial_ast: 0d871faff8074467b1de390a1b53ab4b58a0e21b28640df4812205891f0f9ef8 + unrolled_ast: 413f48ae83b8221cd722ed950adc0d6af3c0832e9462bbea0088bd27fefab684 + ssa_ast: 98c8579230b18cb4fc9de48e9b99c58c08132f9219e9d86a4595ad10424a69b3 + flattened_ast: d818bd63773a3df5d0c133ac380c347bbb143938e7651e4bfb11396266271501 + inlined_ast: d818bd63773a3df5d0c133ac380c347bbb143938e7651e4bfb11396266271501 + dce_ast: 2c5fed37edfe4ee5a27529d1cb214fe02a584c452360945bf982a115aac1bf8f bytecode: d81714c646dc5825b148fba33931cabbb7a60c0e48cd8d7154f0906092f7849a diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index 57bba77f1f..f2c41fb5b8 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 98bd584397eb367fd78528d76ab8d814626adb2108028726b2c2905fa1d9698f - unrolled_ast: 52b3461d444d042062b6a62f2ddd48d5c5ee5c57b4a1036f1881027e471037f8 - ssa_ast: f45378ffec8e1493464c7f8986e29bf8bdd2606a365205373cb38b8d0c64fdae - flattened_ast: a16e17188c10a8fd3ad2f430327afa4b110412a78877d28f837cb85e7f046abd - inlined_ast: a16e17188c10a8fd3ad2f430327afa4b110412a78877d28f837cb85e7f046abd - dce_ast: 8fb41a1f4f3ccc8cfd845c4a8fa7847e990cb6f05d8f30dcb2caa22ca269aa4f + - initial_ast: e3526337d573fc475ef9a8db471d6a3c1eb12ddcda7b4c1150fa3eba58993f15 + unrolled_ast: 227fee4d98bb9e43c1b0f4801dbd547682d400d39e5bca78221b06b27f854ce3 + ssa_ast: 1569fa572b684f9b2b3ce939b3e165f061d18013c951afb7b4ee1a284019ca78 + flattened_ast: 20ca3c2ac9a27cbfacda310c179239f2956f83e9329f2825f6be9408c90a6419 + inlined_ast: 20ca3c2ac9a27cbfacda310c179239f2956f83e9329f2825f6be9408c90a6419 + dce_ast: 3ff443cff6cf879a0578a64d0cf2616c59e02260f102c8f610dbeeceab36e3c0 bytecode: a3b17d7db0a6f5298cf87c19baf24046e97725bf1f92177d7251bd85014b18a1 diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index 526d094e4c..ad7d9301ce 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 0d35d54b5fdd8de11f8d93f0eb285b765ccff47e37e4d03a840ec4f040829eb7 - unrolled_ast: 0d35d54b5fdd8de11f8d93f0eb285b765ccff47e37e4d03a840ec4f040829eb7 - ssa_ast: 0adeb2b905205041482fe24d7ae318dbe28cee031399aa085edf88b5449788d8 - flattened_ast: 0821cabc6ecf6cb4aa8b4ae63e7e8dafa0bd151dfa4e7a3a3eb9a1c590554dd8 - inlined_ast: 0821cabc6ecf6cb4aa8b4ae63e7e8dafa0bd151dfa4e7a3a3eb9a1c590554dd8 - dce_ast: 0821cabc6ecf6cb4aa8b4ae63e7e8dafa0bd151dfa4e7a3a3eb9a1c590554dd8 + - initial_ast: 4ff2d6de69c2fa55f4e141a84d70dedb6acacbddddeec55334ec27f46e8d4a45 + unrolled_ast: 4ff2d6de69c2fa55f4e141a84d70dedb6acacbddddeec55334ec27f46e8d4a45 + ssa_ast: 3e432227f9a5c97dc39732a30bbf7d039f5523e6db426b469df0e233192b3d5b + flattened_ast: ec0e0c4aa74e5755105efe6095590224fedbd6b62cf846918989b49037f64541 + inlined_ast: ec0e0c4aa74e5755105efe6095590224fedbd6b62cf846918989b49037f64541 + dce_ast: ec0e0c4aa74e5755105efe6095590224fedbd6b62cf846918989b49037f64541 bytecode: c723974f88ddcec03425c959564231cbc891a32389e9ed5ccb04f582fce98ced diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index c0a390d0fb..b4aba3e4dd 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 54167d71dcc69af84eafed38c7944c4c53061ebc54947f1782b57d3d128af8b1 - unrolled_ast: 54167d71dcc69af84eafed38c7944c4c53061ebc54947f1782b57d3d128af8b1 - ssa_ast: f72f10adda09e7528112f83455e59b855f4801c1714dab3018eb34ecb59adf18 - flattened_ast: e3637632648521485ca79666a402fb86ca8e652c34cf7cd2cdc2093ba6ef2daf - inlined_ast: e3637632648521485ca79666a402fb86ca8e652c34cf7cd2cdc2093ba6ef2daf - dce_ast: b4868a55b46cafd8fc90deef20739b5790c5d7697899afb6f1d27d45224aeb85 + - initial_ast: aefca89e1259e3aedf7bab634b0f22d1aa21668cb45ade79b7534ce6ff7458ba + unrolled_ast: aefca89e1259e3aedf7bab634b0f22d1aa21668cb45ade79b7534ce6ff7458ba + ssa_ast: daa6328f3deb19fd82e03e967beb692fa254966655abd42ea7899e54232a4935 + flattened_ast: a3ca1d19d4f5aafcfb77645c28e352ac79c30fea378438b23d0ccf234a2d1235 + inlined_ast: a3ca1d19d4f5aafcfb77645c28e352ac79c30fea378438b23d0ccf234a2d1235 + dce_ast: bd7127814ebfd2f77b2dad9b1207712cf2917b9ea02483d1e38c9f91a52a195d bytecode: cc5b20b180a055db2277f296cff25f9c0fdfbf4ae278d88425bdd7481ba12592 diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index 7bf583bdf2..8d60e4bd48 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ef0196ae468b3e4a5f52581ece18c8f06f9c8d788b38430ed5e72f5f3e871838 - unrolled_ast: ef0196ae468b3e4a5f52581ece18c8f06f9c8d788b38430ed5e72f5f3e871838 - ssa_ast: 406f3fe8c927d05a81920cd582960192c4d928ff1497475076840b5e8064f402 - flattened_ast: 24f08a0cf3f2bbe162529bc4098f03afd7f23d04870657e6df83c89573afc06a - inlined_ast: 24f08a0cf3f2bbe162529bc4098f03afd7f23d04870657e6df83c89573afc06a - dce_ast: 24f08a0cf3f2bbe162529bc4098f03afd7f23d04870657e6df83c89573afc06a + - initial_ast: dad347cbf4acc0505a811474e3553fb8c031460b0dfdfdec636eaecf97105f70 + unrolled_ast: dad347cbf4acc0505a811474e3553fb8c031460b0dfdfdec636eaecf97105f70 + ssa_ast: 43fff9e9b4825b7371e4ea6e68a48c94b9faccba9469c7f65bb821d3829b6bd0 + flattened_ast: 982ee47435494105e1569c34971cd0d5e14319b3b37c306df7030513b4445b59 + inlined_ast: 982ee47435494105e1569c34971cd0d5e14319b3b37c306df7030513b4445b59 + dce_ast: 982ee47435494105e1569c34971cd0d5e14319b3b37c306df7030513b4445b59 bytecode: 205bb73339d403ed74a8caee04e44c4092e998410ac23fe675e57c2dc28b52ea diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 1bdc0c1281..e75097e86b 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 347cb3c52da22d271ea6960b303016f697b6d91362abc827d91255519bf562a6 - unrolled_ast: 347cb3c52da22d271ea6960b303016f697b6d91362abc827d91255519bf562a6 - ssa_ast: 14107612d87ea4fddbf03cd776ff65ed091e272664a3b87e7152a1095c44a599 - flattened_ast: 2385f395ff5bef8b7cfe44d82d4c63cd18d36f5443a9d9304ddf7053a7a57c0d - inlined_ast: 2385f395ff5bef8b7cfe44d82d4c63cd18d36f5443a9d9304ddf7053a7a57c0d - dce_ast: 2385f395ff5bef8b7cfe44d82d4c63cd18d36f5443a9d9304ddf7053a7a57c0d + - initial_ast: 31d7fb8617d7be0de8a4ff84e51756139b8130ebbd81cfb1670823f5dd76cd20 + unrolled_ast: 31d7fb8617d7be0de8a4ff84e51756139b8130ebbd81cfb1670823f5dd76cd20 + ssa_ast: ab1aaedfd94949a608eaef83a65c0b41b6d507394797bcfb699703086e388137 + flattened_ast: b29ef7ad381b2d0c63704fd0f1e18b04755c8b155233e0d789866d9938045c13 + inlined_ast: b29ef7ad381b2d0c63704fd0f1e18b04755c8b155233e0d789866d9938045c13 + dce_ast: b29ef7ad381b2d0c63704fd0f1e18b04755c8b155233e0d789866d9938045c13 bytecode: 81396ad998cb48a02cd66339e769582c2dc445fa2f78d64ac28b78dd00be64c4 diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 9803fde190..d6b6fb796c 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e90b7f4fe0b8dc3c4ee753ad9772e8b13ea1c01bc9cfdd74f217a33b41dc7440 - unrolled_ast: e90b7f4fe0b8dc3c4ee753ad9772e8b13ea1c01bc9cfdd74f217a33b41dc7440 - ssa_ast: ea4f3838276a1a5bbac90ff2229db823e47c4484bf159a27088f249e95095e7a - flattened_ast: 05708b8d3ba54ec6f0371a756c31628b14775b01fa24ca48b52f38f2328254a7 - inlined_ast: 05708b8d3ba54ec6f0371a756c31628b14775b01fa24ca48b52f38f2328254a7 - dce_ast: 05708b8d3ba54ec6f0371a756c31628b14775b01fa24ca48b52f38f2328254a7 + - initial_ast: 59cb75f76f3d3306a560081323e061aacaf33a9cc8dbb4936a011a6635a9608a + unrolled_ast: 59cb75f76f3d3306a560081323e061aacaf33a9cc8dbb4936a011a6635a9608a + ssa_ast: 7aea93ee4a761c280d0bfa63e00987172d07b8d088eb9fc305b0ec8efcd7d263 + flattened_ast: cda4899d254cad7fc0b331c5c59651d3b3373b793bee0700b013b6d17455bab4 + inlined_ast: cda4899d254cad7fc0b331c5c59651d3b3373b793bee0700b013b6d17455bab4 + dce_ast: cda4899d254cad7fc0b331c5c59651d3b3373b793bee0700b013b6d17455bab4 bytecode: 351e6362887a12504057143cc97596fbbd42153d0a64f338eb57641e84343159 diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 599f188dea..feb32e963c 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fa779000b25964ee8afb1a3b50724147f0c15b4809fedd8b2b8b4d55938b0fad - unrolled_ast: fa779000b25964ee8afb1a3b50724147f0c15b4809fedd8b2b8b4d55938b0fad - ssa_ast: 285f58025d4e93204038f87122d18618519ac02791b344e087be0beb536679b4 - flattened_ast: 8e8de20ac44abc4c720772a57e9fee418fc4ab09118bc098790c078d9d6238c7 - inlined_ast: 8e8de20ac44abc4c720772a57e9fee418fc4ab09118bc098790c078d9d6238c7 - dce_ast: 8e8de20ac44abc4c720772a57e9fee418fc4ab09118bc098790c078d9d6238c7 + - initial_ast: 5fff557e50019083fd13290b39ab3e6c9d3c4412052bb1f0976b5cbd960699e1 + unrolled_ast: 5fff557e50019083fd13290b39ab3e6c9d3c4412052bb1f0976b5cbd960699e1 + ssa_ast: 41d39c48d8acfb9d3c1619738bd92d54618d87df8ae3b16b84dba98716c09577 + flattened_ast: 10494d2fe7120d9363a49235093c87bf48671444e0e52008e30c55feb864a75f + inlined_ast: 10494d2fe7120d9363a49235093c87bf48671444e0e52008e30c55feb864a75f + dce_ast: 10494d2fe7120d9363a49235093c87bf48671444e0e52008e30c55feb864a75f bytecode: 447d6082c0ca8f0c7c26a97e452e262649883e98cf4875b5c593da83c787901e diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 94064371a0..5678eb48e6 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fec4d3cdf1ec3f8a6a8583027f7186f02e37ac69aab519925556586d34f922c4 - unrolled_ast: fec4d3cdf1ec3f8a6a8583027f7186f02e37ac69aab519925556586d34f922c4 - ssa_ast: 1a6a9ae27d8bab993ec1ff948244d34e0cfb47464ce253b3ec3d51e5d72c9ca2 - flattened_ast: 95cf30aa11e1d695e89fa52aabe42059059eddfbf4daa89732cd58a824b27045 - inlined_ast: 95cf30aa11e1d695e89fa52aabe42059059eddfbf4daa89732cd58a824b27045 - dce_ast: 95cf30aa11e1d695e89fa52aabe42059059eddfbf4daa89732cd58a824b27045 + - initial_ast: f54d6ab29f7309fdcb69e4a0a8a0db56ee3001dd236e872fb54adf783751c907 + unrolled_ast: f54d6ab29f7309fdcb69e4a0a8a0db56ee3001dd236e872fb54adf783751c907 + ssa_ast: 5f6c53eac36b49e89d42941e999c04f7bbc2f80a964ce0302eeaa5a31e96d698 + flattened_ast: 44f674f6df4f6f9b2a34da35ebe3cdbc088bcb3cc546bf54a2360e4932e713d2 + inlined_ast: 44f674f6df4f6f9b2a34da35ebe3cdbc088bcb3cc546bf54a2360e4932e713d2 + dce_ast: 44f674f6df4f6f9b2a34da35ebe3cdbc088bcb3cc546bf54a2360e4932e713d2 bytecode: fedca756e063b895f8cc4bf76f1d9d1c88ff1cf9f4b1208a725edde115f9b42a diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index f962943bff..f1f5e6ff87 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6dae25d257b6a910a6439a56f8f9a0cf5d0f4a4dfa6fd300989ed43e82c77919 - unrolled_ast: 6dae25d257b6a910a6439a56f8f9a0cf5d0f4a4dfa6fd300989ed43e82c77919 - ssa_ast: d35eb23d5585362243c38d7aa6bdcbe9db8649b0a6f0658c7b04a7941bcced19 - flattened_ast: 27c6d6ef683b66eea49757a486eb2fad8e01162800ee65519062fe1f144d8723 - inlined_ast: 27c6d6ef683b66eea49757a486eb2fad8e01162800ee65519062fe1f144d8723 - dce_ast: 27c6d6ef683b66eea49757a486eb2fad8e01162800ee65519062fe1f144d8723 + - initial_ast: 888ae23f84707a54d386bf6cf2d9b3bf41647703910fc051691b2b0964051e34 + unrolled_ast: 888ae23f84707a54d386bf6cf2d9b3bf41647703910fc051691b2b0964051e34 + ssa_ast: 4f4bdbd68fdbe72132e46cc1b49f9e97e44007e35e45ecebef23a6d249e79d01 + flattened_ast: 63d42d8e31f98d99aa4550764a80ff80f36f329c2236512d5b3e10abf48e236b + inlined_ast: 63d42d8e31f98d99aa4550764a80ff80f36f329c2236512d5b3e10abf48e236b + dce_ast: 63d42d8e31f98d99aa4550764a80ff80f36f329c2236512d5b3e10abf48e236b bytecode: fb1dc12922cf851957984a8e2ee0dd72ee0fcff48ac8b0daf3443fa9fa2a4cd2 diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index f5458f571e..4522ead7c2 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: e0d9f6856a4f338e60168e2cbb4f71ed81c48da9caf305231d87d080c8fde124 - unrolled_ast: e0d9f6856a4f338e60168e2cbb4f71ed81c48da9caf305231d87d080c8fde124 - ssa_ast: e33a956110373c8f1c0d160cf6c59d7b4cb20b232821d300c58006c25ee2cd92 - flattened_ast: b66f9c52a1da1f215c583239cce069e1ac0bcd69945ef7780cdfd55e585e26ed - inlined_ast: b66f9c52a1da1f215c583239cce069e1ac0bcd69945ef7780cdfd55e585e26ed - dce_ast: b66f9c52a1da1f215c583239cce069e1ac0bcd69945ef7780cdfd55e585e26ed + - initial_ast: 5deffc4ef09a75d7b88baa3d273d39c90a4e38cc71e81d8d84d8b61e24beb94c + unrolled_ast: 5deffc4ef09a75d7b88baa3d273d39c90a4e38cc71e81d8d84d8b61e24beb94c + ssa_ast: 461b1e3fd641f3ae4c8d1452fe895079b6fd8606bb976e0e4b4f0d8dfe9c90e0 + flattened_ast: b4242409bd169b7e5701369b54895f07d911368191188c3f300eacde51b58341 + inlined_ast: b4242409bd169b7e5701369b54895f07d911368191188c3f300eacde51b58341 + dce_ast: b4242409bd169b7e5701369b54895f07d911368191188c3f300eacde51b58341 bytecode: b71e1622ce24f72e85d8bea2b611bbb30b73ba24acbcd0ce7c560d9e86906bfb diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index 5b89634949..e6a5370d1a 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 2579d15b67853eaacce88986cfe8c2604a03a1f7384d1c9272019f74893e5de2 - unrolled_ast: 2579d15b67853eaacce88986cfe8c2604a03a1f7384d1c9272019f74893e5de2 - ssa_ast: 0aadaf5837c3b723a60741478b06a57ea70d49c9e8b685b9af333322278e3c4c - flattened_ast: 6a293e6919e8e2b2d5fb48404b9965c0107e3c93a657c7e9a5562de6e8d64984 - inlined_ast: 6a293e6919e8e2b2d5fb48404b9965c0107e3c93a657c7e9a5562de6e8d64984 - dce_ast: 6a293e6919e8e2b2d5fb48404b9965c0107e3c93a657c7e9a5562de6e8d64984 + - initial_ast: b9faffa1cbed999e54d422c446d4df9acc5fa9142ce9bfad607802f25bae8cd6 + unrolled_ast: b9faffa1cbed999e54d422c446d4df9acc5fa9142ce9bfad607802f25bae8cd6 + ssa_ast: 56edd9b9318405807b2b7616284f13fa33e9d821b38df4aea6fad24042a3ebe6 + flattened_ast: b7ccb1ca2f89d54d2293dfb943fb60653ccd1422903bad0c94b9f2ba3d046b8f + inlined_ast: b7ccb1ca2f89d54d2293dfb943fb60653ccd1422903bad0c94b9f2ba3d046b8f + dce_ast: b7ccb1ca2f89d54d2293dfb943fb60653ccd1422903bad0c94b9f2ba3d046b8f bytecode: da955e601b890215b4c0e7b8c1a0f86e02f8069c33085a8897b6d976a7759139 diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index 2cad683507..ba2020e8d1 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 4868053eb3fafdfdb2202252885ff65312794e8ce9b5e2119f7b3f85cb42a4b4 - unrolled_ast: 4868053eb3fafdfdb2202252885ff65312794e8ce9b5e2119f7b3f85cb42a4b4 - ssa_ast: 7b1291f30c41cdb25c52b61c47a27c22142451c739a9704c931aa3d724396498 - flattened_ast: 9ab131136ab1ae59d8952d07ac7990337a3ae6a2f1d88d00f4b7152cc3786fa6 - inlined_ast: 9ab131136ab1ae59d8952d07ac7990337a3ae6a2f1d88d00f4b7152cc3786fa6 - dce_ast: 9ab131136ab1ae59d8952d07ac7990337a3ae6a2f1d88d00f4b7152cc3786fa6 + - initial_ast: f2b2e123ad2a2c013fc4cdcd90908c4d0692c5fa1272103b3e4a8fdc764a6db3 + unrolled_ast: f2b2e123ad2a2c013fc4cdcd90908c4d0692c5fa1272103b3e4a8fdc764a6db3 + ssa_ast: 63cfde6c493b409e4e42361de930b01cbd5c49a55e64e2fcbead4fd67834a1e4 + flattened_ast: 719f6c109e722aba6e00117508d557da8efb41af08ad5e31fdeebd8cdd18ec85 + inlined_ast: 719f6c109e722aba6e00117508d557da8efb41af08ad5e31fdeebd8cdd18ec85 + dce_ast: 719f6c109e722aba6e00117508d557da8efb41af08ad5e31fdeebd8cdd18ec85 bytecode: 4108ac88f7fdefec52773508ff4e95349dce1f77b55123870ccf6bb1adedc423 diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index 43bbb268c9..bc937bbda4 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 336265cd7129cba865898735d54b9c20073bff52696ba6c212ae8a6e66452106 - unrolled_ast: 336265cd7129cba865898735d54b9c20073bff52696ba6c212ae8a6e66452106 - ssa_ast: d0c71f2f1de2e8ccded3356e307757cf08f78009742a8f3c0b5d8305a9835560 - flattened_ast: 3dc73fa2723342d30d858ef6d3fc485f94df34567bec51ecdc39391ea4ea29c6 - inlined_ast: 3dc73fa2723342d30d858ef6d3fc485f94df34567bec51ecdc39391ea4ea29c6 - dce_ast: 3dc73fa2723342d30d858ef6d3fc485f94df34567bec51ecdc39391ea4ea29c6 + - initial_ast: 1138e4077e824a6076b56f02c915bfcbf0e9e6581ae8a3cc83c45c4fcfcf8ae9 + unrolled_ast: 1138e4077e824a6076b56f02c915bfcbf0e9e6581ae8a3cc83c45c4fcfcf8ae9 + ssa_ast: b4b9a7edd8baec70dfd054c104f1ac94d9d68dc92e90ff22358760061866ba5c + flattened_ast: 678ec14b8268c0b77b04e8b43e77e185932144820e948a5d18885d96f3ea1149 + inlined_ast: 678ec14b8268c0b77b04e8b43e77e185932144820e948a5d18885d96f3ea1149 + dce_ast: 678ec14b8268c0b77b04e8b43e77e185932144820e948a5d18885d96f3ea1149 bytecode: 9b3c12479efabe9d85d3b8c07f1872c8d846425a5451c59a2127d69b7ca3a229 diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index 72890ed751..4a2df63a69 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: d018ac16daaac9ba7f9020cc0aee2084333fd737bb1e4894b7293a8d4eaa9ae3 - unrolled_ast: d018ac16daaac9ba7f9020cc0aee2084333fd737bb1e4894b7293a8d4eaa9ae3 - ssa_ast: 1d0cccfd79e4dcdea37eab9e26a4c87bed815c1cd5faf28acf74d30054f4bb9e - flattened_ast: a2e7c80905ee9e5201cbcce79342f06f9d3d1a8b4aa08e41f83bdb022b39d628 - inlined_ast: a2e7c80905ee9e5201cbcce79342f06f9d3d1a8b4aa08e41f83bdb022b39d628 - dce_ast: a2e7c80905ee9e5201cbcce79342f06f9d3d1a8b4aa08e41f83bdb022b39d628 + - initial_ast: e08ea48311c407d63163355a5ea82df83b059c162eb6fc82068045de003ed039 + unrolled_ast: e08ea48311c407d63163355a5ea82df83b059c162eb6fc82068045de003ed039 + ssa_ast: 3af11e2ee412feacc850c9e5d26cc99c61e149a619a6cf5d09474ad8f776a700 + flattened_ast: fb1985a98ea932614a4b1d16d4208e66cb6413723c00e606850c6b0174fc7bf7 + inlined_ast: fb1985a98ea932614a4b1d16d4208e66cb6413723c00e606850c6b0174fc7bf7 + dce_ast: fb1985a98ea932614a4b1d16d4208e66cb6413723c00e606850c6b0174fc7bf7 bytecode: e3a22ebc4bc203291d1190f9711b5578da0f4c83b292d9f3adcf281db4922126 diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index 83f048795f..45b12289be 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 583a4ba4ff7216777c266bff6599d88ed2522c9d687e2bbf2005563bb63153d0 - unrolled_ast: 583a4ba4ff7216777c266bff6599d88ed2522c9d687e2bbf2005563bb63153d0 - ssa_ast: 7c37b49480906456cf49bcf1be82916c2044d3eb07d6cb6cb7e840b0a0498d37 - flattened_ast: 0b9d3680dbb567eadec23a09e6ef3dcdbc270bc7fd5c76a103691e56648d5b92 - inlined_ast: 0b9d3680dbb567eadec23a09e6ef3dcdbc270bc7fd5c76a103691e56648d5b92 - dce_ast: 0b9d3680dbb567eadec23a09e6ef3dcdbc270bc7fd5c76a103691e56648d5b92 + - initial_ast: 25cb096dc50279127991bd37f3fdcebabdfb4bee2140c4d9c695bfaa78177653 + unrolled_ast: 25cb096dc50279127991bd37f3fdcebabdfb4bee2140c4d9c695bfaa78177653 + ssa_ast: 26cad18f4dfcf9f73712adcf7ec49dc8551bc7ee99dae7662e79998ba466e19e + flattened_ast: 99626bed1cb896bea325f8b20781d7ca772c3cb7832df9fd1fc413be071e326c + inlined_ast: 99626bed1cb896bea325f8b20781d7ca772c3cb7832df9fd1fc413be071e326c + dce_ast: 99626bed1cb896bea325f8b20781d7ca772c3cb7832df9fd1fc413be071e326c bytecode: 8bde890ff271b82f5c35c517fa95e2fec5654dee843f5d1ca8771153410d9816 diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 647da17567..5f3e760be2 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7fff01bb9eb5253f00dc49106bbc17ff8c90dd5e8f6dd94c0ab6da5947e2df47 - unrolled_ast: 7fff01bb9eb5253f00dc49106bbc17ff8c90dd5e8f6dd94c0ab6da5947e2df47 - ssa_ast: c85d6514d10aaa44ff66e89977b98fa70cb140229951764103b1563164e93a8e - flattened_ast: d36c7de601eac9e77aa4e9aac0f9edec4a1f80c43e62e7d1c15a05ecc41c67b2 - inlined_ast: d36c7de601eac9e77aa4e9aac0f9edec4a1f80c43e62e7d1c15a05ecc41c67b2 - dce_ast: d36c7de601eac9e77aa4e9aac0f9edec4a1f80c43e62e7d1c15a05ecc41c67b2 + - initial_ast: c17a14c03be0e9eb99a9faae6fc21a5fea45a2eb00ade5a4e0beef3ed8f607eb + unrolled_ast: c17a14c03be0e9eb99a9faae6fc21a5fea45a2eb00ade5a4e0beef3ed8f607eb + ssa_ast: de5257e455d5103fd8e0a09d96e042280ea29b27d873b8cc96b8b7d4e7934b9a + flattened_ast: 22cbab70b1e857dd40f2c408043b0a515142dd04441e437ec8f0c474eaecf527 + inlined_ast: 22cbab70b1e857dd40f2c408043b0a515142dd04441e437ec8f0c474eaecf527 + dce_ast: 22cbab70b1e857dd40f2c408043b0a515142dd04441e437ec8f0c474eaecf527 bytecode: d1392a0607452a3256f9289af243a6700d69f63c0b507ac9a52ceb3616f5a742 diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index 9a4ddbfeda..d1abe5687a 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 57d0b6f6aa70eb7794804338471642bb7d3afbe22839e481e3db043c96429c64 - unrolled_ast: 57d0b6f6aa70eb7794804338471642bb7d3afbe22839e481e3db043c96429c64 - ssa_ast: ac3d8c3a3a404ec9d3bdc6012d9dba7c54c8da3d2e18e09378c867089cee3cae - flattened_ast: 8eac9b122ec47ee96061b25b50feb4188f5b85bee63006a999ec1b75dd1d6be5 - inlined_ast: 8eac9b122ec47ee96061b25b50feb4188f5b85bee63006a999ec1b75dd1d6be5 - dce_ast: 8eac9b122ec47ee96061b25b50feb4188f5b85bee63006a999ec1b75dd1d6be5 + - initial_ast: d2c1b011518737f7465f74a41ad6ef849976a368034f418782af1a92ef7b429e + unrolled_ast: d2c1b011518737f7465f74a41ad6ef849976a368034f418782af1a92ef7b429e + ssa_ast: 0c7b7cf1ed75af0df3da3029e984874f504706e7e476841c1ea0ac7c30ff3f30 + flattened_ast: fda11ae06eef7d91a1edaa1cfec7fe4fb75cf040f9d6641b29a7bf6e678fe1d4 + inlined_ast: fda11ae06eef7d91a1edaa1cfec7fe4fb75cf040f9d6641b29a7bf6e678fe1d4 + dce_ast: fda11ae06eef7d91a1edaa1cfec7fe4fb75cf040f9d6641b29a7bf6e678fe1d4 bytecode: 29c7986430a76fc69c77d416ab7581c42dbb7f2fc7821991cb7365b145079200 diff --git a/tests/expectations/compiler/structs/inline.out b/tests/expectations/compiler/structs/inline.out index a46ca510df..9f98047a75 100644 --- a/tests/expectations/compiler/structs/inline.out +++ b/tests/expectations/compiler/structs/inline.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 6c87104b35fbd525d352c879f285ce7d30a033fdfe0435581bc46623d53e73e3 - unrolled_ast: 6c87104b35fbd525d352c879f285ce7d30a033fdfe0435581bc46623d53e73e3 - ssa_ast: 3cc12ecd92429711ea09cf422cfff3fde75f1a7a82ee2030c3f4c3edfe89470b - flattened_ast: b4f2c136d487f91c2dda45751013486f4794cc0cb09f035690fbb90c8280887a - inlined_ast: b4f2c136d487f91c2dda45751013486f4794cc0cb09f035690fbb90c8280887a - dce_ast: b4f2c136d487f91c2dda45751013486f4794cc0cb09f035690fbb90c8280887a + - initial_ast: 58050e685b2c59fcfbd49551c8776570b758500b7cd3c20a3b35124e2aef9e51 + unrolled_ast: 58050e685b2c59fcfbd49551c8776570b758500b7cd3c20a3b35124e2aef9e51 + ssa_ast: 75a5adc5c7113e104115cc2b87bba92e7d59a865a362aac9a9edb2739cb7067a + flattened_ast: 77876939d961467fc755146e36514b7f939aeb110e5659ab1626373601ba0db4 + inlined_ast: 77876939d961467fc755146e36514b7f939aeb110e5659ab1626373601ba0db4 + dce_ast: 77876939d961467fc755146e36514b7f939aeb110e5659ab1626373601ba0db4 bytecode: 8ee7f077a54a80ac5ce5d1cc894c81c880730a3d60857397dc6028d0d8423125 diff --git a/tests/expectations/compiler/structs/member_variable.out b/tests/expectations/compiler/structs/member_variable.out index 4a520be6c5..2c219a6ddc 100644 --- a/tests/expectations/compiler/structs/member_variable.out +++ b/tests/expectations/compiler/structs/member_variable.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: b88444f65d1dd77fea61bda17686d1f8d42f5828743dfd0d498ae81deda39d7a - unrolled_ast: b88444f65d1dd77fea61bda17686d1f8d42f5828743dfd0d498ae81deda39d7a - ssa_ast: ac0decd1bed68517b5ebea48508da329d69775e635bf8ef0d4bbab62832b491d - flattened_ast: d6456cce7621a6a61f2d91c2022be8090e2532748d28fca0eb12b6e05003e751 - inlined_ast: d6456cce7621a6a61f2d91c2022be8090e2532748d28fca0eb12b6e05003e751 - dce_ast: d6456cce7621a6a61f2d91c2022be8090e2532748d28fca0eb12b6e05003e751 + - initial_ast: e2f94bf57e25e5fbd38d3708e7db8cac527342cf6d812a1dad9a86e3185bf0e1 + unrolled_ast: e2f94bf57e25e5fbd38d3708e7db8cac527342cf6d812a1dad9a86e3185bf0e1 + ssa_ast: 378bf9449648307cc50adc01526a8ff7535044dff24fa450f3759beb967f9d0b + flattened_ast: 47dce71b079ffa11edeb3726a843a6c8b3c59740e017ad64565bb34c361c9274 + inlined_ast: 47dce71b079ffa11edeb3726a843a6c8b3c59740e017ad64565bb34c361c9274 + dce_ast: 47dce71b079ffa11edeb3726a843a6c8b3c59740e017ad64565bb34c361c9274 bytecode: a8874b5e3d3a000703943de2f132677372f9a275003bccf176c4ebfdf1b86466 diff --git a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out index 45399046e0..76c517ecc2 100644 --- a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 32c309a2edd67f48fa05b04cbf1ae8df61d119934366b541fe744798e656aa0f - unrolled_ast: 32c309a2edd67f48fa05b04cbf1ae8df61d119934366b541fe744798e656aa0f - ssa_ast: 00d8da3a1986c7a67b690906656abbaf0c7768b821c0ccb4e02906d1bf2607ee - flattened_ast: 57b516a75d42d3e7c50990a8e3c30f049d4143c283502431ac4f175d269d1c9d - inlined_ast: 57b516a75d42d3e7c50990a8e3c30f049d4143c283502431ac4f175d269d1c9d - dce_ast: 57b516a75d42d3e7c50990a8e3c30f049d4143c283502431ac4f175d269d1c9d + - initial_ast: 1d5db07954d7786770603b54b3ba397233d4ce774f5b32fd3eada568eaf895f2 + unrolled_ast: 1d5db07954d7786770603b54b3ba397233d4ce774f5b32fd3eada568eaf895f2 + ssa_ast: dfd6d617c71cf85677998d43135b7dfcef49eeb43c9df208b1d0df3675f09e91 + flattened_ast: d1e6a6a068d70c31e7ad4b28cbcd8ea7a7850c3006159fea045b30bd6775c796 + inlined_ast: d1e6a6a068d70c31e7ad4b28cbcd8ea7a7850c3006159fea045b30bd6775c796 + dce_ast: d1e6a6a068d70c31e7ad4b28cbcd8ea7a7850c3006159fea045b30bd6775c796 bytecode: 6cc7359d48deaf0b2c03bdd35b80693511afe0033aeafeceb7065267697f022a diff --git a/tests/expectations/compiler/structs/struct_init_out_of_order.out b/tests/expectations/compiler/structs/struct_init_out_of_order.out index 07206847ea..4d88fe0de1 100644 --- a/tests/expectations/compiler/structs/struct_init_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_init_out_of_order.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 25621b5d7c7dc7e495926cb6829c9c0c107c21a1fa2c41aa060aa8167790cd39 - unrolled_ast: 25621b5d7c7dc7e495926cb6829c9c0c107c21a1fa2c41aa060aa8167790cd39 - ssa_ast: 34298c4f8445e82269661f7580b198f38aee1e0afbc12a232c3494b05c98841f - flattened_ast: 694d088023b2aba6c0d6e8a8ccfae89b6c1f0bb1ef17058b95a521d95c5bbef5 - inlined_ast: 694d088023b2aba6c0d6e8a8ccfae89b6c1f0bb1ef17058b95a521d95c5bbef5 - dce_ast: 694d088023b2aba6c0d6e8a8ccfae89b6c1f0bb1ef17058b95a521d95c5bbef5 + - initial_ast: 228876d368e7e6b8088f4da7312cabfb341f6b68105b5bd2b7ef15ffbb709bf1 + unrolled_ast: 228876d368e7e6b8088f4da7312cabfb341f6b68105b5bd2b7ef15ffbb709bf1 + ssa_ast: f430674a0bc8a3bf3a10e2ec9ade67871bc57c99d3b875b7b862f901c66c398f + flattened_ast: 0042c66622f1faf3b63e05b0d293ec1351030fbe01c8932c52f298bd47c1a1fc + inlined_ast: 0042c66622f1faf3b63e05b0d293ec1351030fbe01c8932c52f298bd47c1a1fc + dce_ast: 0042c66622f1faf3b63e05b0d293ec1351030fbe01c8932c52f298bd47c1a1fc bytecode: 035a98875b76db42e72bba26b053403c2c629c47683376fe1a33f3a61b3ad53f diff --git a/tests/expectations/compiler/tuple/function_call_returns_tuple.out b/tests/expectations/compiler/tuple/function_call_returns_tuple.out index 2df112fa62..64921ce037 100644 --- a/tests/expectations/compiler/tuple/function_call_returns_tuple.out +++ b/tests/expectations/compiler/tuple/function_call_returns_tuple.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 3b55815480779f25bc79dc7b3bbe74de65fd82c6e180c063440c316ed623e8a8 - unrolled_ast: 3b55815480779f25bc79dc7b3bbe74de65fd82c6e180c063440c316ed623e8a8 - ssa_ast: a21d90ca17c1a7731a3434cb78f70f4486adc033a2482335ff634e37f216cd58 - flattened_ast: 789b45607257d91514782f67b6229b8d5bd88e8c2be169e60e81d7dbe11c873c - inlined_ast: 789b45607257d91514782f67b6229b8d5bd88e8c2be169e60e81d7dbe11c873c - dce_ast: 789b45607257d91514782f67b6229b8d5bd88e8c2be169e60e81d7dbe11c873c + - initial_ast: bd43afe04bbcbe3864a2d6ad314c9300b153e078040480933880f012dcfa3e9f + unrolled_ast: bd43afe04bbcbe3864a2d6ad314c9300b153e078040480933880f012dcfa3e9f + ssa_ast: 605c1642b35d1b4b26ed2ebaaba3f6b6c3403acbbe86bbac2307ee108ad85eb4 + flattened_ast: 2795117a23568806cde29215d2ad0e9a4f8cec57059b93bc34bc0a3f8eecf4f1 + inlined_ast: 2795117a23568806cde29215d2ad0e9a4f8cec57059b93bc34bc0a3f8eecf4f1 + dce_ast: 2795117a23568806cde29215d2ad0e9a4f8cec57059b93bc34bc0a3f8eecf4f1 bytecode: c154c5c9344d976d14c6455e9f24f6d9d9dbffde47e9bf76b6ed35ffb3a75006 diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index 760b1e92cd..d152e0cfd6 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 07639c360dc3eefc9b4d4be7f00e897df1d1da0ff18bba6311e6bf11352ce638 - unrolled_ast: 07639c360dc3eefc9b4d4be7f00e897df1d1da0ff18bba6311e6bf11352ce638 - ssa_ast: d657cd3d890ad5e0408a2ba756df214ecaf9f778712fc24b8254cef50ba1f172 - flattened_ast: 0013e29af14bf798ff2713e3fa8623296c38dfd2aab1192fd5da4a33458586eb - inlined_ast: 0013e29af14bf798ff2713e3fa8623296c38dfd2aab1192fd5da4a33458586eb - dce_ast: 0013e29af14bf798ff2713e3fa8623296c38dfd2aab1192fd5da4a33458586eb + - initial_ast: 52aa21d2c2301e4a4b92302330cc3b27d2e73491c0b0376910b5e0f7fea50ba5 + unrolled_ast: 52aa21d2c2301e4a4b92302330cc3b27d2e73491c0b0376910b5e0f7fea50ba5 + ssa_ast: ffda85e3c70102833578c4abba9e287c7950d38ab82f80ea306796311e30f3c2 + flattened_ast: fa7054627e7f1466faa168322720dcd84b1333b1f78eb78bb7f771412cbe764f + inlined_ast: fa7054627e7f1466faa168322720dcd84b1333b1f78eb78bb7f771412cbe764f + dce_ast: fa7054627e7f1466faa168322720dcd84b1333b1f78eb78bb7f771412cbe764f bytecode: c5b9380beb403e862b352234944450588999c9314abceaff6166d98c8882a4b6 diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index 3aa1606882..7592da91f0 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7bf33d550793efc6d619f987e9c8f5f5942c38bd6506641879ac097371799e84 - unrolled_ast: 7bf33d550793efc6d619f987e9c8f5f5942c38bd6506641879ac097371799e84 - ssa_ast: 237563de1ae2b5eb51b7a8bb8c31bc53651bf6d9f708913d3963b4bf28bdcbf5 - flattened_ast: 33262f1952c8586a6bbac3933b945561e3883706902c8e6e8fa6091ac51fbf08 - inlined_ast: 33262f1952c8586a6bbac3933b945561e3883706902c8e6e8fa6091ac51fbf08 - dce_ast: 33262f1952c8586a6bbac3933b945561e3883706902c8e6e8fa6091ac51fbf08 + - initial_ast: 7daa7ffad76859274a3e14e7e701f7914116fdcb958dcc27f566f92a28fba806 + unrolled_ast: 7daa7ffad76859274a3e14e7e701f7914116fdcb958dcc27f566f92a28fba806 + ssa_ast: 45a738ff5d3fbd607331f0ea5aa780f159fd64daa2a4ac25da4fa4893bd2d548 + flattened_ast: 7341239d8de6cf51cd6ecfd0df86bdf19598db5484b98fdd86e1d1e46ab27a4f + inlined_ast: 7341239d8de6cf51cd6ecfd0df86bdf19598db5484b98fdd86e1d1e46ab27a4f + dce_ast: 7341239d8de6cf51cd6ecfd0df86bdf19598db5484b98fdd86e1d1e46ab27a4f bytecode: 2c8abaf0758c39eaedd2fe6bb2747525a452084cd96ce540fd75a7c63395c7ca diff --git a/tests/expectations/compiler/tuple/function_return_nothing.out b/tests/expectations/compiler/tuple/function_return_nothing.out index 9cf0af671f..1578abfc4f 100644 --- a/tests/expectations/compiler/tuple/function_return_nothing.out +++ b/tests/expectations/compiler/tuple/function_return_nothing.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - unrolled_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - ssa_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - flattened_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 - inlined_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 - dce_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 + - initial_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + unrolled_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + ssa_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + flattened_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f + inlined_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f + dce_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f bytecode: 3dd2872e02c8030587f796df543d94855437d87460d22c177e74eb6647c1c7b1 diff --git a/tests/expectations/compiler/tuple/function_return_unit.out b/tests/expectations/compiler/tuple/function_return_unit.out index 9cf0af671f..1578abfc4f 100644 --- a/tests/expectations/compiler/tuple/function_return_unit.out +++ b/tests/expectations/compiler/tuple/function_return_unit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - unrolled_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - ssa_ast: 23268f71897aadaecd46cd2ace516815f6f9c60323af8581da66eb4c0b8b4ecb - flattened_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 - inlined_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 - dce_ast: 7ff0d9cf3ab00fa646f5789412329e615534a34a9cb4f942f711af86959c3d19 + - initial_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + unrolled_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + ssa_ast: 916b09b949d3df3661f0453f3ed66cf584544de5b39fd27313c395487ed2a5ee + flattened_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f + inlined_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f + dce_ast: 52a6b583c79c6bd7d2186700106c58f00ed4e15edc2cff3d6d9a9ea61330db1f bytecode: 3dd2872e02c8030587f796df543d94855437d87460d22c177e74eb6647c1c7b1 diff --git a/tests/expectations/compiler/tuple/function_return_varying_modes.out b/tests/expectations/compiler/tuple/function_return_varying_modes.out index 9e8f0c4e41..34d2432834 100644 --- a/tests/expectations/compiler/tuple/function_return_varying_modes.out +++ b/tests/expectations/compiler/tuple/function_return_varying_modes.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 926c535d42c3e31ff98b0c0abe4004ae3eb6fdbd0f0e90652548e4256b15b6b8 - unrolled_ast: 926c535d42c3e31ff98b0c0abe4004ae3eb6fdbd0f0e90652548e4256b15b6b8 - ssa_ast: 2d72b389548e73e8cdd6d40a56876e3972047174e1d9573b9d99fcfc17ef158c - flattened_ast: 5c8a19f4f9c878b116e922e3ea421fba31fc22837293d4ada30425a2b5b3e541 - inlined_ast: 5c8a19f4f9c878b116e922e3ea421fba31fc22837293d4ada30425a2b5b3e541 - dce_ast: 5c8a19f4f9c878b116e922e3ea421fba31fc22837293d4ada30425a2b5b3e541 + - initial_ast: f7631a0b6d7074755f4ea4ecb18e972affdfb68920752f0476d97b7aa18d3edb + unrolled_ast: f7631a0b6d7074755f4ea4ecb18e972affdfb68920752f0476d97b7aa18d3edb + ssa_ast: 88a1ca41e3c0126ecce460b8a1f8a9ebfb630a94ffe9aaed35f1061e55711086 + flattened_ast: ba6fb6ff570e9808552e2b549267f378250083b81c9b1859563d6d259818db47 + inlined_ast: ba6fb6ff570e9808552e2b549267f378250083b81c9b1859563d6d259818db47 + dce_ast: ba6fb6ff570e9808552e2b549267f378250083b81c9b1859563d6d259818db47 bytecode: 712d619af623624abea3ee1932a204f2c7901f2d815a4f3c612386e6b457a430 diff --git a/tests/expectations/compiler/tuple/return_with_different_modes.out b/tests/expectations/compiler/tuple/return_with_different_modes.out index 318c653d91..b2c68246cf 100644 --- a/tests/expectations/compiler/tuple/return_with_different_modes.out +++ b/tests/expectations/compiler/tuple/return_with_different_modes.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 063e4be66382f9133b59a86612971b32a780014113ed99b038d030825c129730 - unrolled_ast: 063e4be66382f9133b59a86612971b32a780014113ed99b038d030825c129730 - ssa_ast: f1225db8f825c11bdadbf472eb1f3a94a173e44461b85e4f9a0de42a5489b2f3 - flattened_ast: c50916f5dee3140ee7ccfe337cfd1b0d8da17f8f1779e867d04e58285f83439e - inlined_ast: c50916f5dee3140ee7ccfe337cfd1b0d8da17f8f1779e867d04e58285f83439e - dce_ast: c50916f5dee3140ee7ccfe337cfd1b0d8da17f8f1779e867d04e58285f83439e + - initial_ast: 0efefcc59b780bdc2a4dd68121e8b4b78d634c4902cd4f68c4455c92e2337ef3 + unrolled_ast: 0efefcc59b780bdc2a4dd68121e8b4b78d634c4902cd4f68c4455c92e2337ef3 + ssa_ast: 8744e7f9ffd839e1b53f9b2b798bca980c04700e3c2e8ef0dc7b720dfbb754f1 + flattened_ast: e136b18e45ed1f651f6be336e49f3b21091eb2960f240b73419ae8e005f5d9f6 + inlined_ast: e136b18e45ed1f651f6be336e49f3b21091eb2960f240b73419ae8e005f5d9f6 + dce_ast: e136b18e45ed1f651f6be336e49f3b21091eb2960f240b73419ae8e005f5d9f6 bytecode: 712d619af623624abea3ee1932a204f2c7901f2d815a4f3c612386e6b457a430 diff --git a/tests/expectations/compiler/tuple/tuple_access.out b/tests/expectations/compiler/tuple/tuple_access.out index b9ecc5b47d..b90e3e25dc 100644 --- a/tests/expectations/compiler/tuple/tuple_access.out +++ b/tests/expectations/compiler/tuple/tuple_access.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: bd012de01926a8ae26a191dc875e28fdc93a2310040222621c27cf8f89317c3d - unrolled_ast: bd012de01926a8ae26a191dc875e28fdc93a2310040222621c27cf8f89317c3d - ssa_ast: 9deec2d9e0aa1b0f820c50629e125361784be0f70b0a6b1971f1ce20763dbe49 - flattened_ast: 74414bccb00a4939c920daa2fb4cfb479a9a6e06757b16b47822202344a1e402 - inlined_ast: 74414bccb00a4939c920daa2fb4cfb479a9a6e06757b16b47822202344a1e402 - dce_ast: 74414bccb00a4939c920daa2fb4cfb479a9a6e06757b16b47822202344a1e402 + - initial_ast: 5ccff4c38514189f5d197f79d41552c6e36d10c80627527106821d4cf5a42555 + unrolled_ast: 5ccff4c38514189f5d197f79d41552c6e36d10c80627527106821d4cf5a42555 + ssa_ast: 8e5316884c0fd42d9f44a4327b2314b67a5521fcc380dae906958dcefd8f084e + flattened_ast: 5dce93be2065ed0309b62a2f7f872910e20be218468c4639ea371e907b2aad30 + inlined_ast: 5dce93be2065ed0309b62a2f7f872910e20be218468c4639ea371e907b2aad30 + dce_ast: 5dce93be2065ed0309b62a2f7f872910e20be218468c4639ea371e907b2aad30 bytecode: 01001f0a4197adc24393c88758ad4747a51b21ee9119ec969b42a7f5ad3703cd diff --git a/tests/expectations/compiler/tuple/tuple_destructure.out b/tests/expectations/compiler/tuple/tuple_destructure.out index 69ebc9b80f..c20e9af38f 100644 --- a/tests/expectations/compiler/tuple/tuple_destructure.out +++ b/tests/expectations/compiler/tuple/tuple_destructure.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 7ad7e4f9cbde235823f14095d7fd03a7b4ba7f7d55b4c3b493e7f52caeeccace - unrolled_ast: 7ad7e4f9cbde235823f14095d7fd03a7b4ba7f7d55b4c3b493e7f52caeeccace - ssa_ast: 2aa9253234af25833497dde3be12e0f28b16e3c55517f40d8d6f443fcd7a28c0 - flattened_ast: e53e8075bbd1702ef0dfc55748810af5adaecf6feee3e62a5e2a6c7a1bc246be - inlined_ast: e53e8075bbd1702ef0dfc55748810af5adaecf6feee3e62a5e2a6c7a1bc246be - dce_ast: e53e8075bbd1702ef0dfc55748810af5adaecf6feee3e62a5e2a6c7a1bc246be + - initial_ast: dfd5237b1b1ed1d0c1492820df299b544d6b9640e5d0b4c2340047101f6be84b + unrolled_ast: dfd5237b1b1ed1d0c1492820df299b544d6b9640e5d0b4c2340047101f6be84b + ssa_ast: ea85518c77664dea4b3cfa76d9194bee6c0416bd4bcdf7906bf315a18989a9d4 + flattened_ast: ce478f91522b9928ce87724c2a40823d7e625ee76146997d8b6e8fa946d31308 + inlined_ast: ce478f91522b9928ce87724c2a40823d7e625ee76146997d8b6e8fa946d31308 + dce_ast: ce478f91522b9928ce87724c2a40823d7e625ee76146997d8b6e8fa946d31308 bytecode: 4ea7af7cc45ebc1c65534c344f557881f7ad985a7cf7b2d1135f5fc1c1b11bf5 diff --git a/tests/expectations/compiler/tuple/tuple_in_assignment.out b/tests/expectations/compiler/tuple/tuple_in_assignment.out index 9c241131f9..351215358a 100644 --- a/tests/expectations/compiler/tuple/tuple_in_assignment.out +++ b/tests/expectations/compiler/tuple/tuple_in_assignment.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 5ffd06da2f8179ac1575830eec4845c89361b78b57acd3d82c00460e8ff23726 - unrolled_ast: 5ffd06da2f8179ac1575830eec4845c89361b78b57acd3d82c00460e8ff23726 - ssa_ast: feb601f0542392c0ff6f6e65771e1a3f78a3d502afd78dedb9da62701e15eafb - flattened_ast: 7c4aa29c9260a7b27fcb908522c574d1db078c225faa869a73464227053d665d - inlined_ast: 7c4aa29c9260a7b27fcb908522c574d1db078c225faa869a73464227053d665d - dce_ast: 7c4aa29c9260a7b27fcb908522c574d1db078c225faa869a73464227053d665d + - initial_ast: bbc14afe377c3ac97bd756255f7a9e04f5efa8586f85a41c151737d80fabe556 + unrolled_ast: bbc14afe377c3ac97bd756255f7a9e04f5efa8586f85a41c151737d80fabe556 + ssa_ast: 8e0c8e2b4130740b96532a010ee8d134b8a605a8ff544e413baa2e1b45c9c13a + flattened_ast: d40dbd0aa9f8a8ada497e4b6eb9f7a3ed2be66fe5e0d38d3a4c71c84eb86693b + inlined_ast: d40dbd0aa9f8a8ada497e4b6eb9f7a3ed2be66fe5e0d38d3a4c71c84eb86693b + dce_ast: d40dbd0aa9f8a8ada497e4b6eb9f7a3ed2be66fe5e0d38d3a4c71c84eb86693b bytecode: ca2bd4a18e97ee288c1e21bd35be693a6541d52293a94eacca62e48af67d3588 diff --git a/tests/expectations/compiler/tuple/tuple_in_definition.out b/tests/expectations/compiler/tuple/tuple_in_definition.out index d99c9c6e6e..3338298853 100644 --- a/tests/expectations/compiler/tuple/tuple_in_definition.out +++ b/tests/expectations/compiler/tuple/tuple_in_definition.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: ca793163024f08df22c1c442769aaf0d97d6471b7ad855ba9fcc9c5e3bef5ae2 - unrolled_ast: ca793163024f08df22c1c442769aaf0d97d6471b7ad855ba9fcc9c5e3bef5ae2 - ssa_ast: 094dd7841fd9c22b2b5fd5d77a4fda74555e2b0c2bef02f84d14e704c4118602 - flattened_ast: 88ba11daed1c76380a5ffc7fe96164872daa773d050078faedaf2452d78564c2 - inlined_ast: 88ba11daed1c76380a5ffc7fe96164872daa773d050078faedaf2452d78564c2 - dce_ast: 88ba11daed1c76380a5ffc7fe96164872daa773d050078faedaf2452d78564c2 + - initial_ast: 4b7ea8de1ec8632d09f2b7318700c2465246ee0e49e5c412f4cbdcc10c933a83 + unrolled_ast: 4b7ea8de1ec8632d09f2b7318700c2465246ee0e49e5c412f4cbdcc10c933a83 + ssa_ast: 7d356e25d6eec452d82c8763a806eb65977cbd6e241d40ee7403dcb16018ae6f + flattened_ast: 3e253cfa5c23a625437f25912424f7bd62db74ee23d71714656cc8a5c33a5259 + inlined_ast: 3e253cfa5c23a625437f25912424f7bd62db74ee23d71714656cc8a5c33a5259 + dce_ast: 3e253cfa5c23a625437f25912424f7bd62db74ee23d71714656cc8a5c33a5259 bytecode: 5a4f25e917512c7596cf0eecb61d2fa9688ada34ded5714d5d1f58356c8b8910 diff --git a/tests/expectations/compiler/tuple/tuple_in_loop.out b/tests/expectations/compiler/tuple/tuple_in_loop.out index de18a0e298..10edd214ad 100644 --- a/tests/expectations/compiler/tuple/tuple_in_loop.out +++ b/tests/expectations/compiler/tuple/tuple_in_loop.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: fc30e94ed8cdf2e684c59da34b62a93b9aec95b52769e824a26b5b751ba1c922 - unrolled_ast: 29925df425337b040f528a3779ed804368eebc55b92e91ab504d20338391ea78 - ssa_ast: 0f8aef0018ff70f83d760868a1a5b00d4c766b0e0aa015f4609efd60e4f0d9fa - flattened_ast: f75b1b72be86460c9c349ec8dc61996b973307d8e56fca72b2b0d4516853ad8a - inlined_ast: f75b1b72be86460c9c349ec8dc61996b973307d8e56fca72b2b0d4516853ad8a - dce_ast: 37b21d4f6cbaa0cdc4bcf792890675e24faf53e3adf392a33aec83e8318e17e1 + - initial_ast: 6cd5c2f529e0f4d2ce6d44ca6215a1c77f7871d4fcc430cdbfd2db617378b190 + unrolled_ast: 68ff4c0e7461748b4feb7a533689895c697f1a0d58576f59012ec30f648cc211 + ssa_ast: d69c3905787ec80575f679fb8d297ce9cb33c4b254d7f1ca84f9b98f306f227a + flattened_ast: f7e70aaed107ec60823959c4d828b047339a863a1c73bad515ad77332d5d8596 + inlined_ast: f7e70aaed107ec60823959c4d828b047339a863a1c73bad515ad77332d5d8596 + dce_ast: cca411c9ae7d640f1957ff5389a3c0994f60c3605cca474ce518d5e4517d39d5 bytecode: f4577938c5c2372899e3894134e21850f7dd2dcc06830a3856b9e8a989ddff2e diff --git a/tests/expectations/compiler/tuple/unit.out b/tests/expectations/compiler/tuple/unit.out index e739792bc8..f06dd82ba6 100644 --- a/tests/expectations/compiler/tuple/unit.out +++ b/tests/expectations/compiler/tuple/unit.out @@ -2,10 +2,10 @@ namespace: Compile expectation: Pass outputs: - - initial_ast: 98f4d3670d7ae0c3ca7ded9e668b7fae1ad912cf468df712c40f48049d25e6b3 - unrolled_ast: 98f4d3670d7ae0c3ca7ded9e668b7fae1ad912cf468df712c40f48049d25e6b3 - ssa_ast: 98f4d3670d7ae0c3ca7ded9e668b7fae1ad912cf468df712c40f48049d25e6b3 - flattened_ast: a77fdf051383ff91fd5282969762682d47fd0276f8bda134b6ad6d684b6e35f5 - inlined_ast: a77fdf051383ff91fd5282969762682d47fd0276f8bda134b6ad6d684b6e35f5 - dce_ast: a77fdf051383ff91fd5282969762682d47fd0276f8bda134b6ad6d684b6e35f5 + - initial_ast: 71c98213c3c2cfa638603bee99a09624e12101dc5780cfbbe8386c956dccbd7e + unrolled_ast: 71c98213c3c2cfa638603bee99a09624e12101dc5780cfbbe8386c956dccbd7e + ssa_ast: 71c98213c3c2cfa638603bee99a09624e12101dc5780cfbbe8386c956dccbd7e + flattened_ast: 3a24bcf1a853c84ef7ce1b85d2008ceced49319e9ef11988ad78c9150279f6da + inlined_ast: 3a24bcf1a853c84ef7ce1b85d2008ceced49319e9ef11988ad78c9150279f6da + dce_ast: 3a24bcf1a853c84ef7ce1b85d2008ceced49319e9ef11988ad78c9150279f6da bytecode: 6d63927b268b0e319d418ace15149e807636dff02ce5f14e037145ead86d2258 diff --git a/tests/expectations/execution/chain.out b/tests/expectations/execution/chain.out index 70f762a29a..e38fe40323 100644 --- a/tests/expectations/execution/chain.out +++ b/tests/expectations/execution/chain.out @@ -2,12 +2,12 @@ namespace: Execute expectation: Pass outputs: - - initial_ast: 1aea137b987a163e453144e62d25345f812658b3a0ab0869aeff7fa418e2cff5 - unrolled_ast: 1aea137b987a163e453144e62d25345f812658b3a0ab0869aeff7fa418e2cff5 - ssa_ast: a32466203633115b461c407faa1472f4faf0f4fe7eafa65922cdf2983cb97b6c - flattened_ast: 38dd6655713ffd14ce11592d2cd71d4c5db7da452cf1eb00baa4275e79da7794 - inlined_ast: 38dd6655713ffd14ce11592d2cd71d4c5db7da452cf1eb00baa4275e79da7794 - dce_ast: f8191a72493f6cdb4829e929d34ab79a6681713d0e74891129efeb1de4dd3959 + - initial_ast: 2135e2073e549b683c13ec58222c2019fc32d69a8669e6828812c7d9f8388042 + unrolled_ast: 2135e2073e549b683c13ec58222c2019fc32d69a8669e6828812c7d9f8388042 + ssa_ast: 93201bd12d69352dff8c2f839d1fbe43ec14646c53c41c509494512d7a5b7714 + flattened_ast: aa950b3f74335ec517f5ddf481c38a4d17882ac808d3b02732268f5abf2bed23 + inlined_ast: aa950b3f74335ec517f5ddf481c38a4d17882ac808d3b02732268f5abf2bed23 + dce_ast: 843aae0fcedceeb1eda38fa68b05819531716d974e892837035e6bd609b69b16 bytecode: b26e7efafe9624ccaa5ebe73afb04f718bffd1dd4094724a1a040dffd96ee6e8 results: main: diff --git a/tests/expectations/execution/eq.out b/tests/expectations/execution/eq.out index 3887c59a95..17cc1239fe 100644 --- a/tests/expectations/execution/eq.out +++ b/tests/expectations/execution/eq.out @@ -2,12 +2,12 @@ namespace: Execute expectation: Pass outputs: - - initial_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 - unrolled_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 - ssa_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 - flattened_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 - inlined_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 - dce_ast: e384bbb19d9c6c31a1f7793869f62db14b66859be16bc50c89cbbbd392010ea8 + - initial_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 + unrolled_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 + ssa_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 + flattened_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 + inlined_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 + dce_ast: defa7e673be1a7a08d904d0f41d339a1bcae2fcde74eeda0230aa7b6d6c41e29 bytecode: e82dc85d86570ddd2ae71f8a7f9e150e43061697a6d0152a0c354fecd6bfd15d results: main: diff --git a/tests/expectations/execution/flattened_function_and_inline_matches.out b/tests/expectations/execution/flattened_function_and_inline_matches.out index 32d508e989..752b1887d6 100644 --- a/tests/expectations/execution/flattened_function_and_inline_matches.out +++ b/tests/expectations/execution/flattened_function_and_inline_matches.out @@ -2,12 +2,12 @@ namespace: Execute expectation: Pass outputs: - - initial_ast: fe735d4b87fc695a7a68a059af8d769a3b1d257a924c08e7490f61575d843230 - unrolled_ast: fe735d4b87fc695a7a68a059af8d769a3b1d257a924c08e7490f61575d843230 - ssa_ast: 24bb584afbee563be7c24228473fd4e0d83cb76197f66b4c4a9ddb9c1c2c5c2e - flattened_ast: 4352bd983b2778643e78bb8efc4b2ab9a728dc52f9bff605875d82b82b72a0fb - inlined_ast: 87236ec1e5020ccdaec371ece97cac3d3c5873649ea7b8ac5df8390e46ff7405 - dce_ast: a5706593c11da3c7b703dc111b365cb18f3bdba093f04547babf5959410391f4 + - initial_ast: 53c8de164c523f03a7f0c08eb6a1995b089b8a30b5eec6f51ae2e7233dbe9967 + unrolled_ast: 53c8de164c523f03a7f0c08eb6a1995b089b8a30b5eec6f51ae2e7233dbe9967 + ssa_ast: d366aea50c2049433153b98501e31cd8d4b4103efc403bd657a0f21333a98493 + flattened_ast: 5a3a168b0d17989bd8215b1c6767c9be772d0026829f57d7543a1a61a142b744 + inlined_ast: ab46586b7e2ffa0cce0901036cec87da12aa1f212b3a664447591a2e959b412b + dce_ast: b8f1b79eb478bf1da338d22a1e43d2cbcfe7cce87cb6ca5c4415defd1621f6d2 bytecode: 39c8353dc4af7a70a8156ada8b429104819e5291f8847de9560eeb752ba3b6a4 results: bar: diff --git a/tests/expectations/execution/mint.out b/tests/expectations/execution/mint.out index ead589e786..fdaf50006f 100644 --- a/tests/expectations/execution/mint.out +++ b/tests/expectations/execution/mint.out @@ -2,12 +2,12 @@ namespace: Execute expectation: Pass outputs: - - initial_ast: e192c70186fda9dc009e023b648bf336b7ebdfed0ec157fdaa7990776a3cbd89 - unrolled_ast: e192c70186fda9dc009e023b648bf336b7ebdfed0ec157fdaa7990776a3cbd89 - ssa_ast: 558e95d5d2b7baa877a0ad1278dfda0df761be90c58721fe3210fe4a89469a73 - flattened_ast: 23880e52eb60934d5bbf37d7a404435ff54f12eba673787df7c844dc37035f80 - inlined_ast: 23880e52eb60934d5bbf37d7a404435ff54f12eba673787df7c844dc37035f80 - dce_ast: 23880e52eb60934d5bbf37d7a404435ff54f12eba673787df7c844dc37035f80 + - initial_ast: f9a26d40cf181918b84f3de5252203ad83fca1e23757e9ac51098fa437ee4d93 + unrolled_ast: f9a26d40cf181918b84f3de5252203ad83fca1e23757e9ac51098fa437ee4d93 + ssa_ast: a6ddc06d6b47710936be56b87781708042df98706cd39762e8e9d3c9112bcb82 + flattened_ast: c7aae9f9f04ef54131feb9b4db97914dabbd4091d78c699e83f51d852a0be596 + inlined_ast: c7aae9f9f04ef54131feb9b4db97914dabbd4091d78c699e83f51d852a0be596 + dce_ast: c7aae9f9f04ef54131feb9b4db97914dabbd4091d78c699e83f51d852a0be596 bytecode: b55cd72cd9c6baa36e8f078fecd2460b0eae72f69d75f730d9edc6c5eef121b4 results: mint: diff --git a/tests/expectations/parser/expression/literal/comment.out b/tests/expectations/parser/expression/literal/comment.out index 75124c3fb7..73d5e4eeb1 100644 --- a/tests/expectations/parser/expression/literal/comment.out +++ b/tests/expectations/parser/expression/literal/comment.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":121,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":125}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":121,\\\"hi\\\":130}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":121,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":125}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":121,\\\"hi\\\":130}\"}" structs: {} mappings: {} functions: {} diff --git a/tests/expectations/parser/finalize/finalize.out b/tests/expectations/parser/finalize/finalize.out index d0a2c95628..751da38ae8 100644 --- a/tests/expectations/parser/finalize/finalize.out +++ b/tests/expectations/parser/finalize/finalize.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/finalize/mapping.out b/tests/expectations/parser/finalize/mapping.out index 0e366fa95e..baa50eb1a5 100644 --- a/tests/expectations/parser/finalize/mapping.out +++ b/tests/expectations/parser/finalize/mapping.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: foo: diff --git a/tests/expectations/parser/functions/annotated_context.out b/tests/expectations/parser/functions/annotated_context.out index 65cb34befc..d66ad11282 100644 --- a/tests/expectations/parser/functions/annotated_context.out +++ b/tests/expectations/parser/functions/annotated_context.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/annotated_functions.out b/tests/expectations/parser/functions/annotated_functions.out index 70c133b7e8..396ccfaf3a 100644 --- a/tests/expectations/parser/functions/annotated_functions.out +++ b/tests/expectations/parser/functions/annotated_functions.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/bounded_recursion.out b/tests/expectations/parser/functions/bounded_recursion.out index c36d5e212a..7d90f33601 100644 --- a/tests/expectations/parser/functions/bounded_recursion.out +++ b/tests/expectations/parser/functions/bounded_recursion.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/const_param.out b/tests/expectations/parser/functions/const_param.out index 330447321f..f324f8da31 100644 --- a/tests/expectations/parser/functions/const_param.out +++ b/tests/expectations/parser/functions/const_param.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/constant_input.out b/tests/expectations/parser/functions/constant_input.out index 5d33c16925..3f8c989998 100644 --- a/tests/expectations/parser/functions/constant_input.out +++ b/tests/expectations/parser/functions/constant_input.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/danling_annotations_fail.out b/tests/expectations/parser/functions/danling_annotations_fail.out index 77bcf9de86..8736d34b9f 100644 --- a/tests/expectations/parser/functions/danling_annotations_fail.out +++ b/tests/expectations/parser/functions/danling_annotations_fail.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/empty2.out b/tests/expectations/parser/functions/empty2.out index 4f2e131c08..97ae2ec41f 100644 --- a/tests/expectations/parser/functions/empty2.out +++ b/tests/expectations/parser/functions/empty2.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/infinite_recursion.out b/tests/expectations/parser/functions/infinite_recursion.out index 522b18bb24..c2a58ea01f 100644 --- a/tests/expectations/parser/functions/infinite_recursion.out +++ b/tests/expectations/parser/functions/infinite_recursion.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/inline_function.out b/tests/expectations/parser/functions/inline_function.out index fe8fb63620..ea1449ab58 100644 --- a/tests/expectations/parser/functions/inline_function.out +++ b/tests/expectations/parser/functions/inline_function.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/params.out b/tests/expectations/parser/functions/params.out index 4b66764727..26b28bbcab 100644 --- a/tests/expectations/parser/functions/params.out +++ b/tests/expectations/parser/functions/params.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/params_return.out b/tests/expectations/parser/functions/params_return.out index 64db40d337..173e3db9c2 100644 --- a/tests/expectations/parser/functions/params_return.out +++ b/tests/expectations/parser/functions/params_return.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/public_param.out b/tests/expectations/parser/functions/public_param.out index 63bfab39b0..b1230b52ef 100644 --- a/tests/expectations/parser/functions/public_param.out +++ b/tests/expectations/parser/functions/public_param.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/return.out b/tests/expectations/parser/functions/return.out index efcc95a596..66a149c40b 100644 --- a/tests/expectations/parser/functions/return.out +++ b/tests/expectations/parser/functions/return.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/functions/transition_function.out b/tests/expectations/parser/functions/transition_function.out index e1b85812a1..fdfeea7b3a 100644 --- a/tests/expectations/parser/functions/transition_function.out +++ b/tests/expectations/parser/functions/transition_function.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/instruction/binary.out b/tests/expectations/parser/instruction/binary.out new file mode 100644 index 0000000000..d0c06af16e --- /dev/null +++ b/tests/expectations/parser/instruction/binary.out @@ -0,0 +1,15 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Add: + first: + Register: + Identifier: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":6}\"}" + second: + Register: + Identifier: "{\"name\":\"tree\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":11}\"}" + destination: "{\"name\":\"result\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":23}\"}" + span: + lo: 0 + hi: 24 diff --git a/tests/expectations/parser/instruction/binary_fail.out b/tests/expectations/parser/instruction/binary_fail.out new file mode 100644 index 0000000000..855594aa40 --- /dev/null +++ b/tests/expectations/parser/instruction/binary_fail.out @@ -0,0 +1,5 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370033]: Expected an identifier with name `into`.\n --> test:1:11\n |\n 1 | add r0 r1 r4 into r2;\n | ^^" diff --git a/tests/expectations/parser/instruction/call.out b/tests/expectations/parser/instruction/call.out new file mode 100644 index 0000000000..32c5f295e2 --- /dev/null +++ b/tests/expectations/parser/instruction/call.out @@ -0,0 +1,16 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Call: + function: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":8}\"}" + arguments: + - Register: + Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":12}\"}" + - Register: + Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + destinations: + - "{\"name\":\"bax\",\"span\":\"{\\\"lo\\\":22,\\\"hi\\\":25}\"}" + span: + lo: 0 + hi: 26 diff --git a/tests/expectations/parser/instruction/call_fail.out b/tests/expectations/parser/instruction/call_fail.out new file mode 100644 index 0000000000..c85937f874 --- /dev/null +++ b/tests/expectations/parser/instruction/call_fail.out @@ -0,0 +1,6 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | call foo bar baz into bax;\n | ^^^^" + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | call foo.aleo r0 r1 into r2;\n | ^^^^" diff --git a/tests/expectations/parser/instruction/cast.out b/tests/expectations/parser/instruction/cast.out new file mode 100644 index 0000000000..64719bef27 --- /dev/null +++ b/tests/expectations/parser/instruction/cast.out @@ -0,0 +1,32 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Cast: + arguments: + - Register: + Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":8}\"}" + - Register: + Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":12}\"}" + - Register: + Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + - Register: + Access: + Member: + inner: + Identifier: "{\"name\":\"bax\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":20}\"}" + name: "{\"name\":\"soup\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":25}\"}" + span: + lo: 17 + hi: 25 + destination: "{\"name\":\"fleeces\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":38}\"}" + register_type: + PlaintextType: + type_: + Identifier: "{\"name\":\"sheep\",\"span\":\"{\\\"lo\\\":42,\\\"hi\\\":47}\"}" + span: + lo: 42 + hi: 47 + span: + lo: 0 + hi: 48 diff --git a/tests/expectations/parser/instruction/cast_fail.out b/tests/expectations/parser/instruction/cast_fail.out new file mode 100644 index 0000000000..c8b28795e8 --- /dev/null +++ b/tests/expectations/parser/instruction/cast_fail.out @@ -0,0 +1,6 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | cast foo bar baz bax.soup into fleeces as sheep;\n | ^^^^" + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | cast foo bar into baz;\n | ^^^^" diff --git a/tests/expectations/parser/instruction/decrement.out b/tests/expectations/parser/instruction/decrement.out new file mode 100644 index 0000000000..7e334a03d1 --- /dev/null +++ b/tests/expectations/parser/instruction/decrement.out @@ -0,0 +1,20 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Decrement: + mapping: "{\"name\":\"balances\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":18}\"}" + index: + Register: + Identifier: "{\"name\":\"sender\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":25}\"}" + amount: + Literal: + Integer: + - U8 + - "1" + - span: + lo: 30 + hi: 33 + span: + lo: 0 + hi: 34 diff --git a/tests/expectations/parser/instruction/decrement_fail.out b/tests/expectations/parser/instruction/decrement_fail.out new file mode 100644 index 0000000000..58fdd5bbda --- /dev/null +++ b/tests/expectations/parser/instruction/decrement_fail.out @@ -0,0 +1,6 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | decrement balances[sender] by 1u8;\n | ^^^^^^^^^" + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | decrement balances sender by 1u8;\n | ^^^^^^^^^" diff --git a/tests/expectations/parser/instruction/increment.out b/tests/expectations/parser/instruction/increment.out new file mode 100644 index 0000000000..1892bcf49a --- /dev/null +++ b/tests/expectations/parser/instruction/increment.out @@ -0,0 +1,20 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Increment: + mapping: "{\"name\":\"balances\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":18}\"}" + index: + Register: + Identifier: "{\"name\":\"user\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":23}\"}" + amount: + Literal: + Integer: + - U8 + - "1" + - span: + lo: 28 + hi: 31 + span: + lo: 0 + hi: 32 diff --git a/tests/expectations/parser/instruction/increment_fail.out b/tests/expectations/parser/instruction/increment_fail.out new file mode 100644 index 0000000000..0a707ba9d2 --- /dev/null +++ b/tests/expectations/parser/instruction/increment_fail.out @@ -0,0 +1,6 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | increment balances[user] by 1u8;\n | ^^^^^^^^^" + - "Error [EPAR0370034]: Expected a valid opcode.\n --> test:1:1\n |\n 1 | increment balances user by 1u8;\n | ^^^^^^^^^" diff --git a/tests/expectations/parser/instruction/instruction.out b/tests/expectations/parser/instruction/instruction.out new file mode 100644 index 0000000000..138111b158 --- /dev/null +++ b/tests/expectations/parser/instruction/instruction.out @@ -0,0 +1,59 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - opcode: Add + operands: + - Identifier: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":6}\"}" + - Identifier: "{\"name\":\"tree\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":11}\"}" + destinations: + - "{\"name\":\"result\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":23}\"}" + span: + lo: 0 + hi: 24 + - opcode: Add + operands: + - Identifier: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":6}\"}" + - Identifier: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":9}\"}" + - Identifier: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":12}\"}" + destinations: + - "{\"name\":\"r2\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":20}\"}" + span: + lo: 0 + hi: 21 + - opcode: Ternary + operands: + - Identifier: "{\"name\":\"floo\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":12}\"}" + - Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + - Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":20}\"}" + destinations: + - "{\"name\":\"fax\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}" + span: + lo: 0 + hi: 30 + - opcode: Ternary + operands: + - Identifier: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":10}\"}" + - Identifier: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":13}\"}" + destinations: + - "{\"name\":\"r2\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":21}\"}" + span: + lo: 0 + hi: 22 + - opcode: Abs + operands: + - Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":7}\"}" + destinations: + - "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + span: + lo: 0 + hi: 17 + - opcode: Abs + operands: + - Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":7}\"}" + - Identifier: "{\"name\":\"bax\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":11}\"}" + destinations: + - "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":20}\"}" + span: + lo: 0 + hi: 21 diff --git a/tests/expectations/parser/instruction/ternary.out b/tests/expectations/parser/instruction/ternary.out new file mode 100644 index 0000000000..42a0eb9a3e --- /dev/null +++ b/tests/expectations/parser/instruction/ternary.out @@ -0,0 +1,18 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Ternary: + condition: + Register: + Identifier: "{\"name\":\"floo\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":12}\"}" + first: + Register: + Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + second: + Register: + Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":20}\"}" + destination: "{\"name\":\"fax\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}" + span: + lo: 0 + hi: 30 diff --git a/tests/expectations/parser/instruction/ternary_fail.out b/tests/expectations/parser/instruction/ternary_fail.out new file mode 100644 index 0000000000..6b5222867d --- /dev/null +++ b/tests/expectations/parser/instruction/ternary_fail.out @@ -0,0 +1,5 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370033]: Expected an identifier with name `into`.\n --> test:1:20\n |\n 1 | ternary r0 r1 into r2;\n | ^^" diff --git a/tests/expectations/parser/instruction/unary.out b/tests/expectations/parser/instruction/unary.out new file mode 100644 index 0000000000..ae16ac2dde --- /dev/null +++ b/tests/expectations/parser/instruction/unary.out @@ -0,0 +1,12 @@ +--- +namespace: ParseInstruction +expectation: Pass +outputs: + - Abs: + source: + Register: + Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":7}\"}" + destination: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + span: + lo: 0 + hi: 17 diff --git a/tests/expectations/parser/instruction/unary_fail.out b/tests/expectations/parser/instruction/unary_fail.out new file mode 100644 index 0000000000..31d773b8f2 --- /dev/null +++ b/tests/expectations/parser/instruction/unary_fail.out @@ -0,0 +1,5 @@ +--- +namespace: ParseInstruction +expectation: Fail +outputs: + - "Error [EPAR0370033]: Expected an identifier with name `into`.\n --> test:1:9\n |\n 1 | abs foo bax into bar;\n | ^^^" diff --git a/tests/expectations/parser/program/mapping.out b/tests/expectations/parser/program/mapping.out index ea09a92855..687297a3fe 100644 --- a/tests/expectations/parser/program/mapping.out +++ b/tests/expectations/parser/program/mapping.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: balances: diff --git a/tests/expectations/parser/program/record_with_visibility.out b/tests/expectations/parser/program/record_with_visibility.out index ee190cc9cb..3c77d1b2c0 100644 --- a/tests/expectations/parser/program/record_with_visibility.out +++ b/tests/expectations/parser/program/record_with_visibility.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: token: identifier: "{\"name\":\"token\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":38}\"}" diff --git a/tests/expectations/parser/program/struct_with_visibility.out b/tests/expectations/parser/program/struct_with_visibility.out index c1af94daea..44e1f5e6e1 100644 --- a/tests/expectations/parser/program/struct_with_visibility.out +++ b/tests/expectations/parser/program/struct_with_visibility.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: foo: identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":36}\"}" diff --git a/tests/expectations/parser/serialize/one_plus_one.out b/tests/expectations/parser/serialize/one_plus_one.out index 6d3555361d..a27f97ed39 100644 --- a/tests/expectations/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/serialize/one_plus_one.out @@ -4,8 +4,8 @@ expectation: Pass outputs: - imports: {} program_scopes: - "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}": - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}" + "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}": + program_id: "{\"name\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"test\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":14}\\\\\\\"}\\\"\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":19}\"}" structs: {} mappings: {} functions: diff --git a/tests/expectations/parser/unreachable/define.out b/tests/expectations/parser/unreachable/define.out index c9db5def6b..b4ffe3f7e0 100644 --- a/tests/expectations/parser/unreachable/define.out +++ b/tests/expectations/parser/unreachable/define.out @@ -25,7 +25,7 @@ outputs: - "Error [EPAR0370009]: unexpected string: expected 'expression', found '<='\n --> test:1:1\n |\n 1 | <= x = 10u8;\n | ^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | > x = 10u8;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | .. x = 10u8;\n | ^^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:4\n |\n 1 | as x = 10u8;\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'as'\n --> test:1:1\n |\n 1 | as x = 10u8;\n | ^^" - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console x = 10u8;\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | for x = 10u8;\n | ^" - "Error [EPAR0370005]: expected { -- found '='\n --> test:1:6\n |\n 1 | if x = 10u8;\n | ^" diff --git a/tests/expectations/parser/unreachable/expect_ident.out b/tests/expectations/parser/unreachable/expect_ident.out index f14f2acbe1..0a5266ff93 100644 --- a/tests/expectations/parser/unreachable/expect_ident.out +++ b/tests/expectations/parser/unreachable/expect_ident.out @@ -30,7 +30,7 @@ outputs: - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<='\n --> test:1:4\n |\n 1 | x::<=\n | ^^" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '>'\n --> test:1:4\n |\n 1 | x::>\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '..'\n --> test:1:4\n |\n 1 | x::..\n | ^^" - - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:4\n |\n 1 | x::as\n | ^^" + - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'as'\n --> test:1:4\n |\n 1 | x::as\n | ^^" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'console'\n --> test:1:4\n |\n 1 | x::console\n | ^^^^^^^" - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:4\n |\n 1 | x::const\n | ^^^^^" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'let'\n --> test:1:4\n |\n 1 | x::let\n | ^^^" diff --git a/tests/tests/compiler/assembly/assembly.leo b/tests/tests/compiler/assembly/assembly.leo new file mode 100644 index 0000000000..40a4443b60 --- /dev/null +++ b/tests/tests/compiler/assembly/assembly.leo @@ -0,0 +1,15 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition hello(a: u8, b: u8) -> u8 { + asm { + add a b into c; + add.w c c into d; + }; + let f: u8 = d + 1u8; + return f; + } +} \ No newline at end of file diff --git a/tests/tests/compiler/assembly/assembly_in_conditional_fail.leo b/tests/tests/compiler/assembly/assembly_in_conditional_fail.leo new file mode 100644 index 0000000000..dd3a2d20db --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_in_conditional_fail.leo @@ -0,0 +1,18 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition hello(a: u8, b: u8) -> u8 { + if a == b { + asm { + add a b into c; + add.w c c into d; + } + return d; + } else { + return a + a; + } + } +} \ No newline at end of file diff --git a/tests/tests/compiler/assembly/assembly_in_inline_fail.leo b/tests/tests/compiler/assembly/assembly_in_inline_fail.leo new file mode 100644 index 0000000000..a90da5f5d5 --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_in_inline_fail.leo @@ -0,0 +1,17 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + inline adder(a: u8, b: u8) -> u8 { + asm { + add a b into c; + } + return c; + } + + transition hello(a: u8, b: u8) -> u8 { + return adder(a, b); + } +} \ No newline at end of file diff --git a/tests/tests/compiler/assembly/assembly_in_loop_fail.leo b/tests/tests/compiler/assembly/assembly_in_loop_fail.leo new file mode 100644 index 0000000000..5a0eacd52f --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_in_loop_fail.leo @@ -0,0 +1,18 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition main(x: u32) -> bool { + let y: u32 = x; + + for i: u32 in 0u32..3u32 { + asm { + sub y 1u32 into z; + } + y = z + z; + } + return y == 0u32; + } +} diff --git a/tests/tests/compiler/assembly/assembly_incorrect_number_of_operands_fail.leo b/tests/tests/compiler/assembly/assembly_incorrect_number_of_operands_fail.leo new file mode 100644 index 0000000000..21ffdda765 --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_incorrect_number_of_operands_fail.leo @@ -0,0 +1,15 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition hello(a: u8, b: u8) -> u8 { + asm { + add a b a into c; + add.w c into d; + } + let f: u8 = d + 1u8; + return f; + } +} \ No newline at end of file diff --git a/tests/tests/compiler/assembly/assembly_incorrect_operand_types_fail.leo b/tests/tests/compiler/assembly/assembly_incorrect_operand_types_fail.leo new file mode 100644 index 0000000000..7e1b26b1a8 --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_incorrect_operand_types_fail.leo @@ -0,0 +1,17 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition hello(a: u8, b: u8) -> u8 { + let foo: field = 1field; + let bar: u16 = 4u16; + asm { + add a foo into c; + add.w c bar into d; + } + let f: u8 = d + 1u8; + return f; + } +} \ No newline at end of file diff --git a/tests/tests/compiler/assembly/assembly_shadow_variable_fail.leo b/tests/tests/compiler/assembly/assembly_shadow_variable_fail.leo new file mode 100644 index 0000000000..606f19f3ee --- /dev/null +++ b/tests/tests/compiler/assembly/assembly_shadow_variable_fail.leo @@ -0,0 +1,13 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition hello(a: u8, b: u8) -> u8 { + asm { + add a b into a; + } + return a; + } +} \ No newline at end of file diff --git a/tests/tests/compiler/integers/i128/operator_methods.leo b/tests/tests/compiler/integers/i128/operator_methods.leo index 0753d34dde..5cb659ce3c 100644 --- a/tests/tests/compiler/integers/i128/operator_methods.leo +++ b/tests/tests/compiler/integers/i128/operator_methods.leo @@ -45,8 +45,8 @@ program test.aleo { let ap: i128 = a.shr_wrapped(2u16); let aq: i128 = a.shr_wrapped(2u32); let ar: i128 = a.xor(b); - let as: i128 = a.rem(b); - let at: i128 = a.rem_wrapped(b); + let at: i128 = a.rem(b); + let au: i128 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/i16/operator_methods.leo b/tests/tests/compiler/integers/i16/operator_methods.leo index 21f9d09c93..99048b5da7 100644 --- a/tests/tests/compiler/integers/i16/operator_methods.leo +++ b/tests/tests/compiler/integers/i16/operator_methods.leo @@ -45,8 +45,8 @@ program test.aleo { let ap: i16 = a.shr_wrapped(2u16); let aq: i16 = a.shr_wrapped(2u32); let ar: i16 = a.xor(b); - let as: i16 = a.rem(b); - let at: i16 = a.rem_wrapped(b); + let at: i16 = a.rem(b); + let au: i16 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/i32/operator_methods.leo b/tests/tests/compiler/integers/i32/operator_methods.leo index e9a81e2118..61a4bb456c 100644 --- a/tests/tests/compiler/integers/i32/operator_methods.leo +++ b/tests/tests/compiler/integers/i32/operator_methods.leo @@ -45,8 +45,8 @@ program test.aleo { let ap: i32 = a.shr_wrapped(2u16); let aq: i32 = a.shr_wrapped(2u32); let ar: i32 = a.xor(b); - let as: i32 = a.rem(b); - let at: i32 = a.rem_wrapped(b); + let at: i32 = a.rem(b); + let au: i32 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/i64/operator_methods.leo b/tests/tests/compiler/integers/i64/operator_methods.leo index f7ee0f1419..342a00805d 100644 --- a/tests/tests/compiler/integers/i64/operator_methods.leo +++ b/tests/tests/compiler/integers/i64/operator_methods.leo @@ -45,8 +45,8 @@ program test.aleo { let ap: i64 = a.shr_wrapped(2u16); let aq: i64 = a.shr_wrapped(2u32); let ar: i64 = a.xor(b); - let as: i64 = a.rem(b); - let at: i64 = a.rem_wrapped(b); + let at: i64 = a.rem(b); + let au: i64 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/i8/operator_methods.leo b/tests/tests/compiler/integers/i8/operator_methods.leo index 37ec2f0ed5..5f35349478 100644 --- a/tests/tests/compiler/integers/i8/operator_methods.leo +++ b/tests/tests/compiler/integers/i8/operator_methods.leo @@ -45,8 +45,8 @@ program test.aleo { let ap: i8 = a.shr_wrapped(2u16); let aq: i8 = a.shr_wrapped(2u32); let ar: i8 = a.xor(b); - let as: i8 = a.rem(b); - let at: i8 = a.rem_wrapped(b); + let at: i8 = a.rem(b); + let au: i8 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/u128/operator_methods.leo b/tests/tests/compiler/integers/u128/operator_methods.leo index cad091b769..eb703c47a3 100644 --- a/tests/tests/compiler/integers/u128/operator_methods.leo +++ b/tests/tests/compiler/integers/u128/operator_methods.leo @@ -42,9 +42,9 @@ program test.aleo { let ap: u128 = a.shr_wrapped(2u16); let aq: u128 = a.shr_wrapped(2u32); let ar: u128 = a.xor(b); - let as: u128 = a.mod(b); - let at: u128 = a.rem(b); - let au: u128 = a.rem_wrapped(b); + let at: u128 = a.mod(b); + let au: u128 = a.rem(b); + let av: u128 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/u16/operator_methods.leo b/tests/tests/compiler/integers/u16/operator_methods.leo index d02892108c..796ca1edc5 100644 --- a/tests/tests/compiler/integers/u16/operator_methods.leo +++ b/tests/tests/compiler/integers/u16/operator_methods.leo @@ -43,9 +43,9 @@ program test.aleo { let ap: u16 = a.shr_wrapped(b); let aq: u16 = a.shr_wrapped(2u32); let ar: u16 = a.xor(b); - let as: u16 = a.mod(b); - let at: u16 = a.rem(b); - let au: u16 = a.rem_wrapped(b); + let at: u16 = a.mod(b); + let au: u16 = a.rem(b); + let av: u16 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/u32/operator_methods.leo b/tests/tests/compiler/integers/u32/operator_methods.leo index 28144b7af9..a290585b69 100644 --- a/tests/tests/compiler/integers/u32/operator_methods.leo +++ b/tests/tests/compiler/integers/u32/operator_methods.leo @@ -43,9 +43,9 @@ program test.aleo { let ap: u32 = a.shr_wrapped(2u16); let aq: u32 = a.shr_wrapped(b); let ar: u32 = a.xor(b); - let as: u32 = a.mod(b); - let at: u32 = a.rem(b); - let au: u32 = a.rem_wrapped(b); + let at: u32 = a.mod(b); + let au: u32 = a.rem(b); + let av: u32 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/u64/operator_methods.leo b/tests/tests/compiler/integers/u64/operator_methods.leo index cd2afcf66f..5915d5aac5 100644 --- a/tests/tests/compiler/integers/u64/operator_methods.leo +++ b/tests/tests/compiler/integers/u64/operator_methods.leo @@ -42,9 +42,9 @@ program test.aleo { let ap: u64 = a.shr_wrapped(2u16); let aq: u64 = a.shr_wrapped(2u32); let ar: u64 = a.xor(b); - let as: u64 = a.mod(b); - let at: u64 = a.rem(b); - let au: u64 = a.rem_wrapped(b); + let at: u64 = a.mod(b); + let au: u64 = a.rem(b); + let av: u64 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/compiler/integers/u8/operator_methods.leo b/tests/tests/compiler/integers/u8/operator_methods.leo index 84bf767816..a067b6487a 100644 --- a/tests/tests/compiler/integers/u8/operator_methods.leo +++ b/tests/tests/compiler/integers/u8/operator_methods.leo @@ -42,9 +42,9 @@ program test.aleo { let ap: u8 = a.shr_wrapped(2u16); let aq: u8 = a.shr_wrapped(2u32); let ar: u8 = a.xor(b); - let as: u8 = a.mod(b); - let at: u8 = a.rem(b); - let au: u8 = a.rem_wrapped(b); + let at: u8 = a.mod(b); + let au: u8 = a.rem(b); + let av: u8 = a.rem_wrapped(b); return a == b; }} diff --git a/tests/tests/parser/instruction/assembly_in_program_scope_fail.leo b/tests/tests/parser/instruction/assembly_in_program_scope_fail.leo new file mode 100644 index 0000000000..9d2c185c15 --- /dev/null +++ b/tests/tests/parser/instruction/assembly_in_program_scope_fail.leo @@ -0,0 +1,15 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + asm {} + + transition hello(a: u8, b: u8) -> u8 { + + let f: u8 = d + 1u8; + return f; + } + +} \ No newline at end of file diff --git a/tests/tests/parser/instruction/call_fail.leo b/tests/tests/parser/instruction/call_fail.leo new file mode 100644 index 0000000000..7f302a5ff7 --- /dev/null +++ b/tests/tests/parser/instruction/call_fail.leo @@ -0,0 +1,7 @@ +/* +namespace: ParseInstruction +expectation: Fail +*/ + +call foo bar baz into bax; +call foo.aleo r0 r1 into r2; \ No newline at end of file diff --git a/tests/tests/parser/instruction/cast_fail.leo b/tests/tests/parser/instruction/cast_fail.leo new file mode 100644 index 0000000000..1efd4eb245 --- /dev/null +++ b/tests/tests/parser/instruction/cast_fail.leo @@ -0,0 +1,7 @@ +/* +namespace: ParseInstruction +expectation: Fail +*/ + +cast foo bar baz bax.soup into fleeces as sheep; +cast foo bar into baz; \ No newline at end of file diff --git a/tests/tests/parser/instruction/decrement_fail.leo b/tests/tests/parser/instruction/decrement_fail.leo new file mode 100644 index 0000000000..c663ae4915 --- /dev/null +++ b/tests/tests/parser/instruction/decrement_fail.leo @@ -0,0 +1,7 @@ +/* +namespace: ParseInstruction +expectation: Fail +*/ + +decrement balances[sender] by 1u8; +decrement balances sender by 1u8; \ No newline at end of file diff --git a/tests/tests/parser/instruction/increment_fail.leo b/tests/tests/parser/instruction/increment_fail.leo new file mode 100644 index 0000000000..e58732ef7c --- /dev/null +++ b/tests/tests/parser/instruction/increment_fail.leo @@ -0,0 +1,7 @@ +/* +namespace: ParseInstruction +expectation: Fail +*/ + +increment balances[user] by 1u8; +increment balances user by 1u8; \ No newline at end of file diff --git a/tests/tests/parser/instruction/instruction.leo b/tests/tests/parser/instruction/instruction.leo new file mode 100644 index 0000000000..5ed7be2dd1 --- /dev/null +++ b/tests/tests/parser/instruction/instruction.leo @@ -0,0 +1,11 @@ +/* +namespace: ParseInstruction +expectation: Pass +*/ + +add r0 tree into result; +add r0 r1 r4 into r2; +ternary floo bar baz into fax; +ternary r0 r1 into r2; +abs foo into bar; +abs foo bax into bar;