diff --git a/compiler/compiler/src/compiler.rs b/compiler/compiler/src/compiler.rs index 8fd62db610..1b237e8d43 100644 --- a/compiler/compiler/src/compiler.rs +++ b/compiler/compiler/src/compiler.rs @@ -165,13 +165,25 @@ impl<'a> Compiler<'a> { } /// Runs the static single assignment pass. - pub fn static_single_assignment_pass(&mut self, symbol_table: &SymbolTable) -> Result<()> { - self.ast = StaticSingleAssigner::do_pass((std::mem::take(&mut self.ast), self.handler, symbol_table))?; + pub fn static_single_assignment_pass(&mut self) -> Result { + let (ast, assigner) = StaticSingleAssigner::do_pass(std::mem::take(&mut self.ast))?; + self.ast = ast; if self.output_options.ssa_ast { self.write_ast_to_json("ssa_ast.json")?; } + Ok(assigner) + } + + /// Runs the flattening pass. + pub fn flattening_pass(&mut self, symbol_table: &SymbolTable, assigner: Assigner) -> Result<()> { + self.ast = Flattener::do_pass((std::mem::take(&mut self.ast), symbol_table, assigner))?; + + if self.output_options.flattened_ast { + self.write_ast_to_json("flattened_ast.json")?; + } + Ok(()) } @@ -184,10 +196,12 @@ impl<'a> Compiler<'a> { let st = self.loop_unrolling_pass(st)?; // TODO: Make this pass optional. - self.static_single_assignment_pass(&st)?; + let assigner = self.static_single_assignment_pass()?; println!("AST after SSA: {:?}", self.ast); + self.flattening_pass(&st, assigner)?; + Ok(st) } diff --git a/compiler/compiler/src/options.rs b/compiler/compiler/src/options.rs index c1bf79dfc2..5ecd7fe2be 100644 --- a/compiler/compiler/src/options.rs +++ b/compiler/compiler/src/options.rs @@ -26,4 +26,6 @@ pub struct OutputOptions { pub unrolled_ast: bool, /// If enabled writes the AST after static single assignment. pub ssa_ast: bool, + /// If enabled writes the AST after flattening. + pub flattened_ast: bool, } diff --git a/compiler/compiler/src/test.rs b/compiler/compiler/src/test.rs index 5993fae442..f1b1f662a4 100644 --- a/compiler/compiler/src/test.rs +++ b/compiler/compiler/src/test.rs @@ -58,6 +58,7 @@ fn new_compiler(handler: &Handler, main_file_path: PathBuf) -> Compiler<'_> { initial_ast: true, unrolled_ast: true, ssa_ast: true, + flattened_ast: true, }), ) } @@ -114,6 +115,7 @@ struct CompileOutput { pub initial_ast: String, pub unrolled_ast: String, pub ssa_ast: String, + pub flattened_ast: String, } /// Get the path of the `input_file` given in `input` into `list`. @@ -194,12 +196,19 @@ fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>, handler: &Handler) -> R let st = parsed.symbol_table_pass()?; let st = parsed.type_checker_pass(st)?; let st = parsed.loop_unrolling_pass(st)?; + let assigner = parsed.static_single_assignment_pass()?; - parsed.static_single_assignment_pass(&st)?; + println!("\nAST before flattening: {:?}", parsed.ast); + + parsed.flattening_pass(&st, assigner)?; + + println!("\nAST before codegen: {:?}", parsed.ast); // Compile Leo program to bytecode. let bytecode = CodeGenerator::do_pass((&parsed.ast, handler))?; + println!("\nBytecode: {}", bytecode.to_string()); + Ok(bytecode) } @@ -271,6 +280,7 @@ fn run_test(test: Test, handler: &Handler, err_buf: &BufferEmitter) -> Result Result CodeGenerator<'a> { } fn visit_return(&mut self, input: &'a ReturnStatement) -> String { - let (operand, mut expression_instructions) = self.visit_expression(&input.expression); - // TODO: Bytecode functions have an associated output mode. Currently defaulting to private since we do not yet support this at the Leo level. - let types = self.visit_return_type(&self.current_function.unwrap().output_type, Mode::Private); - let instructions = operand - .split('\n') - .into_iter() - .zip(types.iter()) - .map(|(operand, type_)| format!(" output {} as {};\n", operand, type_)) - .join(""); + match &self.current_function.unwrap().output_type { + Type::Unit => String::new(), + output_type => { + let (operand, mut expression_instructions) = self.visit_expression(&input.expression); + // TODO: Bytecode functions have an associated output mode. Currently defaulting to private since we do not yet support this at the Leo level. + let types = self.visit_return_type(output_type, Mode::Private); + let instructions = operand + .split('\n') + .into_iter() + .zip(types.iter()) + .map(|(operand, type_)| format!(" output {} as {};\n", operand, type_)) + .join(""); - expression_instructions.push_str(&instructions); + expression_instructions.push_str(&instructions); - expression_instructions + expression_instructions + } + } } fn visit_definition(&mut self, _input: &'a DefinitionStatement) -> String { diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index a25c3c3b4f..04b4462b26 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -79,6 +79,10 @@ impl ExpressionReconstructor for Flattener<'_> { (Expression::Identifier(first), Expression::Identifier(second)) if self.circuits.contains_key(&first.name) && self.circuits.contains_key(&second.name) => { + println!("first: {:?}", first); + println!("second: {:?}", second); + println!("Circuits: {:?}", self.circuits); + let first_circuit = self .symbol_table .lookup_circuit(*self.circuits.get(&first.name).unwrap()) diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index ce9c8bbcd4..26312c22a2 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -42,7 +42,8 @@ impl StatementReconstructor for Flattener<'_> { } // If the rhs of the assignment is an identifier that is a circuit, add it to `self.circuits`. Expression::Identifier(rhs) if self.circuits.contains_key(&rhs.name) => { - self.circuits.insert(lhs.name, rhs.name); + // Note that this unwrap is safe because we just checked that the key exists. + self.circuits.insert(lhs.name, *self.circuits.get(&rhs.name).unwrap()); (Expression::Identifier(rhs), Default::default()) } // If the rhs of the assignment is ternary expression, reconstruct it. diff --git a/compiler/passes/src/static_single_assignment/mod.rs b/compiler/passes/src/static_single_assignment/mod.rs index c02ac24741..caa1699ba2 100644 --- a/compiler/passes/src/static_single_assignment/mod.rs +++ b/compiler/passes/src/static_single_assignment/mod.rs @@ -45,8 +45,8 @@ //! return $cond$0 ? $return$2 : $return$5; //! ``` -mod assigner; -pub(crate) use assigner::*; +pub mod assigner; +pub use assigner::*; mod rename_expression; diff --git a/leo/commands/build.rs b/leo/commands/build.rs index 4d3dbbb833..4ade83f426 100644 --- a/leo/commands/build.rs +++ b/leo/commands/build.rs @@ -56,6 +56,8 @@ pub struct BuildOptions { pub enable_unrolled_ast_snapshot: bool, #[structopt(long, help = "Writes AST snapshot of the SSA AST.")] pub enable_ssa_ast_snapshot: bool, + #[structopt(long, help = "Writes AST snapshot of the flattened AST.")] + pub enable_flattened_ast_snapshot: bool, } impl From for OutputOptions { @@ -66,12 +68,14 @@ impl From for OutputOptions { initial_ast: options.enable_initial_ast_snapshot, unrolled_ast: options.enable_unrolled_ast_snapshot, ssa_ast: options.enable_ssa_ast_snapshot, + flattened_ast: options.enable_flattened_ast_snapshot, }; if options.enable_all_ast_snapshots { out_options.initial_input_ast = true; out_options.initial_ast = true; out_options.unrolled_ast = true; out_options.ssa_ast = true; + out_options.flattened_ast = true; } out_options diff --git a/tests/expectations/compiler/address/binary.out b/tests/expectations/compiler/address/binary.out index c1b3f2a798..11605fd179 100644 --- a/tests/expectations/compiler/address/binary.out +++ b/tests/expectations/compiler/address/binary.out @@ -7,3 +7,4 @@ outputs: initial_ast: f56b5e3b166617004f2996262e739e470ab8b6ff07d505ecd5b62f99ea2a3299 unrolled_ast: f56b5e3b166617004f2996262e739e470ab8b6ff07d505ecd5b62f99ea2a3299 ssa_ast: dd29aa5eab91da8417935fc12768ece422f43f4e1e41ca2c38a0a4b1ed1bdf6c + flattened_ast: 373279dd1844e2e8976b15cfd4fe53f6228435b9f13502b3c975b02eaef67638 diff --git a/tests/expectations/compiler/address/branch.out b/tests/expectations/compiler/address/branch.out index 742cc8a912..874d39bce5 100644 --- a/tests/expectations/compiler/address/branch.out +++ b/tests/expectations/compiler/address/branch.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: 8a386677fc570d7f57e8e5259334608ddef2d04d55e1aea9aa591c1d95bc84b7 initial_ast: e51728fc617ec3928922c651402b36970afb38442e2d1b32bd5b21662b717581 unrolled_ast: e51728fc617ec3928922c651402b36970afb38442e2d1b32bd5b21662b717581 - ssa_ast: 5f2fbb0153f1411776d39e2358ff770a1ea639386639ca3af36b43407002b0b2 + ssa_ast: b293d9ce5479772d8bbe1d296078f9650e1a8b0e047ab967400da498f7f4f664 + flattened_ast: 7ab7d6d5260d430fdd83ed0342715b751fb4eb2e8142a3a9f53f3bc90836de0c diff --git a/tests/expectations/compiler/address/equal.out b/tests/expectations/compiler/address/equal.out index 6fcffc5464..4740d52405 100644 --- a/tests/expectations/compiler/address/equal.out +++ b/tests/expectations/compiler/address/equal.out @@ -7,3 +7,4 @@ outputs: initial_ast: 099ee6d9fd61230ae9e4f10e44e09de275769b115f9b898fb2e13e5b7d92c2e5 unrolled_ast: 099ee6d9fd61230ae9e4f10e44e09de275769b115f9b898fb2e13e5b7d92c2e5 ssa_ast: 466995e2761c6ef36419e232a4442d536edda517244c4b99de71bb8bb7ad3c9c + flattened_ast: 0fac3bb4caf5c4cd6b27fbfa5a7b58ce3f33bdaf1512c1df9edab75f12ed0667 diff --git a/tests/expectations/compiler/address/ternary.out b/tests/expectations/compiler/address/ternary.out index 6aae5872fb..bf9076d9b5 100644 --- a/tests/expectations/compiler/address/ternary.out +++ b/tests/expectations/compiler/address/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: c35dc903e9fe5260847a7d5d4df368396457bc27397fbca8f5145ba693ce433d unrolled_ast: c35dc903e9fe5260847a7d5d4df368396457bc27397fbca8f5145ba693ce433d ssa_ast: e093666c8f7e08d8435d657528f164427dc0b5a8cf0a5b92a198a8493f990ec5 + flattened_ast: 3af444bd81385cd173df5d4c725ac0a8950a57f12987f12349bd0cbd33c5a3c8 diff --git a/tests/expectations/compiler/boolean/and.out b/tests/expectations/compiler/boolean/and.out index 62cd6c4cfe..b12833ee65 100644 --- a/tests/expectations/compiler/boolean/and.out +++ b/tests/expectations/compiler/boolean/and.out @@ -10,3 +10,4 @@ outputs: initial_ast: 89e0c09f70b282afe8d707e67152027badec2f89c9d6a371ebd0603a103acae9 unrolled_ast: 89e0c09f70b282afe8d707e67152027badec2f89c9d6a371ebd0603a103acae9 ssa_ast: bb84d714634ce6a99d4b055878edd524e95f7acbc8b65c879f5001d97ab83014 + flattened_ast: 7166d4bab7d668df75a2b2f3ba7edf794a5b8d6b9579b5aa852157208ee3eb4f diff --git a/tests/expectations/compiler/boolean/conditional.out b/tests/expectations/compiler/boolean/conditional.out index 9d6f5e079e..d174311907 100644 --- a/tests/expectations/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/boolean/conditional.out @@ -10,3 +10,4 @@ outputs: initial_ast: ca25d9f5fe8cfa0ac152be3a55b16d8d76d7b7912a7496eda6d06545c6da395d unrolled_ast: ca25d9f5fe8cfa0ac152be3a55b16d8d76d7b7912a7496eda6d06545c6da395d ssa_ast: c547de860e263f637957c68a80e56cf9c7e0f419d3763410550ea6d34aacdaf5 + flattened_ast: 0d0233680fba1b0b1856e039771cfcd79940df636de882dd455edcc11115aedb diff --git a/tests/expectations/compiler/boolean/equal.out b/tests/expectations/compiler/boolean/equal.out index 34598c5b8b..9703456762 100644 --- a/tests/expectations/compiler/boolean/equal.out +++ b/tests/expectations/compiler/boolean/equal.out @@ -10,3 +10,4 @@ outputs: initial_ast: 792b82e86bbe2e519a6b6eed942ade85a195820d4ad3b40f741c6c4cc6e3db52 unrolled_ast: 792b82e86bbe2e519a6b6eed942ade85a195820d4ad3b40f741c6c4cc6e3db52 ssa_ast: 720b57cf7fa5ab10b2761188c9a49f62cc433b3fc685160baecf89396f42a2a9 + flattened_ast: 926938662f393e6f354818139ef4323efbc7f752ec56eb6ccf6b34934d5507aa diff --git a/tests/expectations/compiler/boolean/not_equal.out b/tests/expectations/compiler/boolean/not_equal.out index db5c1b2e8d..c84954b181 100644 --- a/tests/expectations/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/boolean/not_equal.out @@ -10,3 +10,4 @@ outputs: initial_ast: 9438a9a76953b4d84f3f361917ac10d1423d4f01b3eb27f43e541ed1e0796aa5 unrolled_ast: 9438a9a76953b4d84f3f361917ac10d1423d4f01b3eb27f43e541ed1e0796aa5 ssa_ast: e058901b1ee9339e5f86b84192300fb92952c0a49cc8470dba87726ab2579fc2 + flattened_ast: 4df816484f4c7d7e020fd9a0cd8eb7aaa665b21671ab24525c2d615079dfe7b1 diff --git a/tests/expectations/compiler/boolean/operator_methods.out b/tests/expectations/compiler/boolean/operator_methods.out index 1eebd3b274..e05e52652a 100644 --- a/tests/expectations/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/boolean/operator_methods.out @@ -10,3 +10,4 @@ outputs: initial_ast: ce7ee11926e2a057d4ae6493f8aeb33f834bcf123a874fc75f6df2112661103f unrolled_ast: ce7ee11926e2a057d4ae6493f8aeb33f834bcf123a874fc75f6df2112661103f ssa_ast: c9766e49519ef7f0b221df030fa982acc06589971842e7f5a0739a909507d78f + flattened_ast: 5c510485335a16b239f3be2da86f29af7b848bdb0d6de1d13dd652b90d24f600 diff --git a/tests/expectations/compiler/boolean/or.out b/tests/expectations/compiler/boolean/or.out index af365a549b..2c1f0a4417 100644 --- a/tests/expectations/compiler/boolean/or.out +++ b/tests/expectations/compiler/boolean/or.out @@ -10,3 +10,4 @@ outputs: initial_ast: 0f1fef76526b998173ea99a0a9e350a1b0490863070bfad6698e7a35fa1ac8f6 unrolled_ast: 0f1fef76526b998173ea99a0a9e350a1b0490863070bfad6698e7a35fa1ac8f6 ssa_ast: e359ff7a2e2ead264a387f3a898a0f5db7545271dd911beff72bafad2e9564b2 + flattened_ast: 134eb4ea19973c4584bbb1b5dd8cf89f958b035a98922820fe94b7dc8a4f31e2 diff --git a/tests/expectations/compiler/circuits/inline.out b/tests/expectations/compiler/circuits/inline.out index 997175be52..1e66283afc 100644 --- a/tests/expectations/compiler/circuits/inline.out +++ b/tests/expectations/compiler/circuits/inline.out @@ -7,3 +7,4 @@ outputs: initial_ast: 270ec5f1e2ceb0877515432bb9ff72a62cb09aef7e2d2c3814e7a63ecd8e3305 unrolled_ast: 270ec5f1e2ceb0877515432bb9ff72a62cb09aef7e2d2c3814e7a63ecd8e3305 ssa_ast: 9dec09ca20df135c817d5d4a8d386fd92c376627369620ceff75d7b3662d0e99 + flattened_ast: 37cb1b378713bc607c180e91ae0aa9825faa2c5b3671a6ddcaa0adf24dba5479 diff --git a/tests/expectations/compiler/circuits/member_variable.out b/tests/expectations/compiler/circuits/member_variable.out index 302c9a7102..32529ba444 100644 --- a/tests/expectations/compiler/circuits/member_variable.out +++ b/tests/expectations/compiler/circuits/member_variable.out @@ -7,3 +7,4 @@ outputs: initial_ast: 289ae04555943ac459bbc6278e42885bcab09f765b6690a8a0edeffd7855fe47 unrolled_ast: 289ae04555943ac459bbc6278e42885bcab09f765b6690a8a0edeffd7855fe47 ssa_ast: 24f486b6d816591f24080310920c116f58d4eb3fa497f313b368e5d1bad1a2d6 + flattened_ast: bd83e2058777c2ffb61f5aaaf85b0b009b659a4327546d3cd21db7c913ef6271 diff --git a/tests/expectations/compiler/console/assert.out b/tests/expectations/compiler/console/assert.out index 527409f18c..a81474b41d 100644 --- a/tests/expectations/compiler/console/assert.out +++ b/tests/expectations/compiler/console/assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1b1408cbb4540e177f013ffa797ab5ef190ac3138382f84fc9c72e7ca75ebc68 unrolled_ast: 1b1408cbb4540e177f013ffa797ab5ef190ac3138382f84fc9c72e7ca75ebc68 ssa_ast: 4198138e2deab9f2f81154d469a8ae0d18ecd02461e8f56ef3142a904221a650 + flattened_ast: 968cb07336fef3844720af651d64e80aee647998bb3566f55fa5efe305e0c61b diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out index acbba0ffe2..5b98923474 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: f40e630632cdb1aa8f002c8a3a5c64fae09d21fceff7a199e459e2ef87d3d145 unrolled_ast: f40e630632cdb1aa8f002c8a3a5c64fae09d21fceff7a199e459e2ef87d3d145 ssa_ast: 00681260da7f64f0eff947f5c42c35e802a6b7e9f57fb94d01361a028cadc475 + flattened_ast: f9ef8ae1651373751668a07fa48fc2e6ba8a19bd41fe814006fae140a926d0fd diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out index 85a94523ec..258a793271 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: d2d34d503ea578392a765c0defa7716da62624c1359a835cb357939594c75228 unrolled_ast: d2d34d503ea578392a765c0defa7716da62624c1359a835cb357939594c75228 ssa_ast: 20ad5ee0e16ff9aae186a8a16c9de338499cd291356794873bec51674f29b0e2 + flattened_ast: 74774d90572907029c50e8217ced93243a897a9af9a0d45ce4015d863b825f89 diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit.out b/tests/expectations/compiler/core/algorithms/bhp256_commit.out index 2a64186141..2a60b23f5b 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: c9176f918e85eaf1c16893d327cd13fbb36409f6f9187b1537b27e2acf0c75ea unrolled_ast: c9176f918e85eaf1c16893d327cd13fbb36409f6f9187b1537b27e2acf0c75ea ssa_ast: 2a6160860ce88662af080f7e00df46a61d28a5a013d79cea5e2111604e5e014a + flattened_ast: 2c4e1f90dcadeb078c0a399176d00a613541f04e613fa93c5b7fb3296fc1103d diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash.out b/tests/expectations/compiler/core/algorithms/bhp256_hash.out index 40d7427c33..d037c12c15 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 97f66c369de49e70021bcef2be966518f2ca402cc25a0d0b9bf2356f48b1cae8 unrolled_ast: 97f66c369de49e70021bcef2be966518f2ca402cc25a0d0b9bf2356f48b1cae8 ssa_ast: 7811fbe6fe93b4d3cd0a626faf51e97a3405a87a81252b8a711d55ee176b49f5 + flattened_ast: 7bc476f7d942a90001b56f8e855f7712266ed4f039ba80e2938944b8b31f177e diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit.out b/tests/expectations/compiler/core/algorithms/bhp512_commit.out index 92c3248897..1dad1f9ff9 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: 61e39d70c252944dddf7836d29c207935c53601bb06942457d49b4279d43c89c unrolled_ast: 61e39d70c252944dddf7836d29c207935c53601bb06942457d49b4279d43c89c ssa_ast: 86a0c5571000df0797d2297c099ead979364c54887bd80fd123254a87b0edd1d + flattened_ast: 9e393a94b9a280be5b6be0e40e3cf8fff75464808d68f696786bb88d517f3331 diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash.out b/tests/expectations/compiler/core/algorithms/bhp512_hash.out index 28645ace05..67991f9d4d 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2bd6e8de460bac0204e1c95a47f5039ec12d84b2b1416548fdfb30e7cda00a07 unrolled_ast: 2bd6e8de460bac0204e1c95a47f5039ec12d84b2b1416548fdfb30e7cda00a07 ssa_ast: c84f09f6356e4d5d2a3a0e470549ca48080d81940f006814030445953f992dd2 + flattened_ast: 10a9482b068717051f113ab3984f6f6899d68d5f8242c1da2b954802b30aca92 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit.out b/tests/expectations/compiler/core/algorithms/bhp768_commit.out index d403f44389..690c1fc256 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: f447e985b29b5a2512aefc9b1730405df0219be8c80b2ccdf6005e97e3a06d55 unrolled_ast: f447e985b29b5a2512aefc9b1730405df0219be8c80b2ccdf6005e97e3a06d55 ssa_ast: 6eeec974f8290ac6a93345d20ae8572c7a768449a7f9dcc09f29fde7107a0480 + flattened_ast: 967dbf3a806d43d457f99cc28f099432d7c1f15f448bb7756aec9f582e87d312 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash.out b/tests/expectations/compiler/core/algorithms/bhp768_hash.out index ebd1a77a7f..c494d654fc 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 50a01bfbf8480cfdd038a4d6693bde8626b77d6803fa2e70016071ca30d9f68c unrolled_ast: 50a01bfbf8480cfdd038a4d6693bde8626b77d6803fa2e70016071ca30d9f68c ssa_ast: 1d7989f5c5ed768905893abcba357c94d129f95844c345b01f0cb684996c7688 + flattened_ast: e48704171e614d66a0330a5e0519bdad3f7eb97f009d5d0ec2c64757f39f7e07 diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit.out index 5e49d59c42..a9609cd2cc 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2f13c75eac8daf925dc75ee412d74b35714d99612b3ac0b581580689649f1968 unrolled_ast: 2f13c75eac8daf925dc75ee412d74b35714d99612b3ac0b581580689649f1968 ssa_ast: f4718b65434417d10ab31f05472a3f51bd29f7e8ded7b2a962a7e18c7b87c590 + flattened_ast: 67193a03a11addc904c858355aa1339c399154998b3c782aef621806a445503a diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out index 1b9fd9b297..b4ecf18d99 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7130fa48f94f0ed00670d9048533dbef933ed215f8a29fbbe3c7ece0fba64510 unrolled_ast: 7130fa48f94f0ed00670d9048533dbef933ed215f8a29fbbe3c7ece0fba64510 ssa_ast: 93a468dab78b4d412b2cc8879caf2cffc0fc1f247623600d41cbd13ab5b1ab73 + flattened_ast: d3ee62289cf25fc489e4f3e2049e4b5c1564a7ba68312c3a694af04f6e662040 diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit.out index a6d5aa4873..15b7f8f353 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit.out @@ -7,3 +7,4 @@ outputs: initial_ast: 977abafe30e6fa97b32bc6552e8c1bc8923268114748e1bd3c14d7bf74667a7d unrolled_ast: 977abafe30e6fa97b32bc6552e8c1bc8923268114748e1bd3c14d7bf74667a7d ssa_ast: f9ce7360ab77fd327ddda98083014110ff2bdef55a742b1bb61ecfa2b7f65e89 + flattened_ast: c1e2c11413484fc21cea2f05674b5ea72d8515623af77b114d03fa25c84cba66 diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out index 969549499c..04e7ef3462 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 269087ba0dbe33faf8b6896ac14ecbf37b74ca1185c9a5f07691c3138d66eb29 unrolled_ast: 269087ba0dbe33faf8b6896ac14ecbf37b74ca1185c9a5f07691c3138d66eb29 ssa_ast: 0b03c26a52a4a783bc16b979a4e8ef3b5c7dfbd8fd6f3d7e044009cf05730f97 + flattened_ast: ba45eaebdf5251cae103ae46f9781e836b3f614dd4020bece560e44c423bd2e5 diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out index 2a8075fd7b..1d2eef89ff 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 30e9f5de5eaaacb4802e08a4f8633dfda2ea72ef28b4dda458e5dda82b45b8d5 unrolled_ast: 30e9f5de5eaaacb4802e08a4f8633dfda2ea72ef28b4dda458e5dda82b45b8d5 ssa_ast: 128d8a185688f485e31b180c56ab38e95c0ffc3fbabfa21a408250ab75aa6f42 + flattened_ast: f9a796ae07d3e2594a65eb3e3a9d9604c342b82b34ca8a037f28260bb25b1cd6 diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out index 63e06003c3..c63f19ea98 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 04087fc7154cbb6ad49282c04cc3d1af7460ea2e2c67bce65730151806105a6b unrolled_ast: 04087fc7154cbb6ad49282c04cc3d1af7460ea2e2c67bce65730151806105a6b ssa_ast: 9c3b2d073b1f42548f58c0127d34906a1677fd30d7c1644274491073a61d572c + flattened_ast: a4373d806b95da22a559962e252d30e076699a31b0e8dfb1cbae38b74d35cc32 diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out index 001bf8f19e..6ed4a874c0 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2322ea256fe86ea41b77a2b4d9c4324e587ee726340bbec374f038d1b048d26b unrolled_ast: 2322ea256fe86ea41b77a2b4d9c4324e587ee726340bbec374f038d1b048d26b ssa_ast: a24f3fcc337c04aa6094524d1347aa45c9c255709ccedcce532f9c4ef50c7bb2 + flattened_ast: 5344535f4caca67be8305a4c1ffa13842fc5932523f176c7066d1d91d7ea2bdc diff --git a/tests/expectations/compiler/definition/out_of_order.out b/tests/expectations/compiler/definition/out_of_order.out index 1d13bbcffa..35eda15c12 100644 --- a/tests/expectations/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/definition/out_of_order.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2f8018656a41921f784fc5926ff56287bcbbb22e8195ca3c5aa93ee0c745c2f8 unrolled_ast: 2f8018656a41921f784fc5926ff56287bcbbb22e8195ca3c5aa93ee0c745c2f8 ssa_ast: 852a1db64f2897619a40564a213c2c0aa6ea9aa4160a964fd3957eba9769c7c3 + flattened_ast: efa8fd1355b230fa458dcbcd0ec6fdad50d7a85ac013eef01c9be2b69a7349dc diff --git a/tests/expectations/compiler/field/add.out b/tests/expectations/compiler/field/add.out index 89c9274b53..a96ed59d12 100644 --- a/tests/expectations/compiler/field/add.out +++ b/tests/expectations/compiler/field/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: fc65533199564ad224ffdeb9284d1ab9b841f108938cfed7bf88d882cb65f8be unrolled_ast: fc65533199564ad224ffdeb9284d1ab9b841f108938cfed7bf88d882cb65f8be ssa_ast: 495cc0d50d5e1db1fa20828cdbb0f9cdf4c4359598d1ae2d60bf2784b92ef64a + flattened_ast: 4fdf9d6fd4eb65c7063dbf1282a824ef062cb1066c251ab6a0141dc0b196f0ab diff --git a/tests/expectations/compiler/field/div.out b/tests/expectations/compiler/field/div.out index a635ead225..656c4628a4 100644 --- a/tests/expectations/compiler/field/div.out +++ b/tests/expectations/compiler/field/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 891161a2a3d9c51ac57db7d24c1c124e209d25ba68077e781c19b73862387b57 unrolled_ast: 891161a2a3d9c51ac57db7d24c1c124e209d25ba68077e781c19b73862387b57 ssa_ast: 127a38f647a3c306abbec85514ee12ca90b0997e3d28dee966135c43fb1b084d + flattened_ast: 4d34adb92613f7599d762b9ca8dcc93fcce0198ebd0f7d2fce5ed060afc821c4 diff --git a/tests/expectations/compiler/field/eq.out b/tests/expectations/compiler/field/eq.out index 0c4376b9b3..cf7ccb14fd 100644 --- a/tests/expectations/compiler/field/eq.out +++ b/tests/expectations/compiler/field/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 047ac2d01938183b9b1011be51e62e293922d80ee85cdde4b829b74da354bec6 unrolled_ast: 047ac2d01938183b9b1011be51e62e293922d80ee85cdde4b829b74da354bec6 ssa_ast: c16a78fd6c88ba627f6ea760dea263ddc57ac3a118df2015f3159fc8b80e22a1 + flattened_ast: 4493fa2ef98b9cf4ac0874f5827dc6a21a77f4f0eb6186936f688edcbdc0ee3b diff --git a/tests/expectations/compiler/field/field.out b/tests/expectations/compiler/field/field.out index 48adbf7c2a..5c07015019 100644 --- a/tests/expectations/compiler/field/field.out +++ b/tests/expectations/compiler/field/field.out @@ -7,3 +7,4 @@ outputs: initial_ast: 935fb23cff87d5e5743ca10adf219a6f0e4911896097746ce8f9492f3df4d3a8 unrolled_ast: 935fb23cff87d5e5743ca10adf219a6f0e4911896097746ce8f9492f3df4d3a8 ssa_ast: 724c252503271350f06d6d2344790d5272975d7704e25e92f7d4c326ed70c07c + flattened_ast: 30adc8fbf20ebd3ad70cd683fd1a67a65793776b2cf9e601f46e1bce0ed5f071 diff --git a/tests/expectations/compiler/field/mul.out b/tests/expectations/compiler/field/mul.out index 725894e949..d3dc4e31c9 100644 --- a/tests/expectations/compiler/field/mul.out +++ b/tests/expectations/compiler/field/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 396fa12b8bfbe51bfef38f1366489f61ed69b5063ec33ac9bca8b10fd530b894 unrolled_ast: 396fa12b8bfbe51bfef38f1366489f61ed69b5063ec33ac9bca8b10fd530b894 ssa_ast: 8a43d390e978003fd4140ac678b895d0912e2c7439c510911983a29cc815163d + flattened_ast: 26bfc2e71014a89d3ec81acbf0c503cf39d41927020d74bc77bffdd43c90146e diff --git a/tests/expectations/compiler/field/negate.out b/tests/expectations/compiler/field/negate.out index dd1bdb69a9..8641f66e22 100644 --- a/tests/expectations/compiler/field/negate.out +++ b/tests/expectations/compiler/field/negate.out @@ -7,3 +7,4 @@ outputs: initial_ast: f52b20fcbb397599362e6c6de87698f1a1b6a5681ab4dd965837c2ea0fd2615e unrolled_ast: f52b20fcbb397599362e6c6de87698f1a1b6a5681ab4dd965837c2ea0fd2615e ssa_ast: d6091372402b21d522bce585df6f88f1b0219b4eef9e4ddd2b8185547fde13dc + flattened_ast: fd7d499af6d09f12974a4f84210594966d0cf88244acd3a45befdf565a3fa50a diff --git a/tests/expectations/compiler/field/operator_methods.out b/tests/expectations/compiler/field/operator_methods.out index 3499d837d4..6dd2ee9b95 100644 --- a/tests/expectations/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/field/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 31aef1a1a3ae8487f25ada0708367523d61c9dd3367c6a7994cda89a068806fd unrolled_ast: 31aef1a1a3ae8487f25ada0708367523d61c9dd3367c6a7994cda89a068806fd ssa_ast: 8d69b850478203846315ff70227f3dbebbf512c206b0c0cd975bcb6c17fc432d + flattened_ast: 0b2bd7710a901ea2580f9d97145412e8c64cc3cb93d6fe63938fb6196088a5bf diff --git a/tests/expectations/compiler/field/pow.out b/tests/expectations/compiler/field/pow.out index f632392ad6..9293b2f8c0 100644 --- a/tests/expectations/compiler/field/pow.out +++ b/tests/expectations/compiler/field/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 43048c642342708d7b9d385e4e08234f89afd1b133756af25f20c3a12844c58f unrolled_ast: 43048c642342708d7b9d385e4e08234f89afd1b133756af25f20c3a12844c58f ssa_ast: 2b5f5828f9492b59b1b30940481c86043155765b5e911aa29dce7655e4cf3aa9 + flattened_ast: 5495d4490b98dd0fa6c10587fd14980f57169bf230179ef3bfb9daa8d4614831 diff --git a/tests/expectations/compiler/field/sub.out b/tests/expectations/compiler/field/sub.out index b73ba4752f..956401ddf6 100644 --- a/tests/expectations/compiler/field/sub.out +++ b/tests/expectations/compiler/field/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4b628728ea87cac112ac89aa0401d701e2c66da9ec65b9dd9e7ffa417eabf8d7 unrolled_ast: 4b628728ea87cac112ac89aa0401d701e2c66da9ec65b9dd9e7ffa417eabf8d7 ssa_ast: eab605e2ab963ca87a7a2a85ff81e7a4906e3258d7303bea49db472497048ac6 + flattened_ast: af33de1348fc2a89830ce1067f64f31aba3d2d08587648a283e86bbe30a17923 diff --git a/tests/expectations/compiler/field/ternary.out b/tests/expectations/compiler/field/ternary.out index 79ee2b4d48..05cf33b772 100644 --- a/tests/expectations/compiler/field/ternary.out +++ b/tests/expectations/compiler/field/ternary.out @@ -7,3 +7,4 @@ outputs: initial_ast: 17899e278a72927cae1faab6d68ab9a7027cc8776b4417bd8cc347c27025d260 unrolled_ast: 17899e278a72927cae1faab6d68ab9a7027cc8776b4417bd8cc347c27025d260 ssa_ast: b02cf1094d8362c118af5ca266f5167881e867d6891960a9b592e62d27c95b0a + flattened_ast: f4e454565fed233a693baec5ba3c91343accc539ec862e197a89e42043bf918c diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index ace75fb830..20e5189e9d 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: e742fe16a7df15d6f9c6b514f28746a9a5a48fda7e0bf6628601e84782878dd1 initial_ast: a7e86f30bb16cde80d7488d6d7f65480eaf22a5c6ca535024946209a0ebc79f0 unrolled_ast: a7e86f30bb16cde80d7488d6d7f65480eaf22a5c6ca535024946209a0ebc79f0 - ssa_ast: 40ab16803403dfb8c5e8c0cd3f61a79c23bfd9834234e459f9fe7ba754707ad6 + ssa_ast: 4bb9ac4e46eac6f6d296862b4ea2d9316dcb0b2c3db310505ccb76973dcedccd + flattened_ast: 30c806ded6196791b7cfe1355d98943f9cfb80e803656e61deacff8454e8ae67 diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out index 93a278d033..8991d625a5 100644 --- a/tests/expectations/compiler/function/function_call.out +++ b/tests/expectations/compiler/function/function_call.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: d25b5d30496f06387198d06e44a771e142f8e6592347c3849a8b3b957287f1b6 initial_ast: 10581facfbaed74ef48e309dee4972dec861d57f89acf3a43791ec1fb98130b1 unrolled_ast: 10581facfbaed74ef48e309dee4972dec861d57f89acf3a43791ec1fb98130b1 - ssa_ast: b96bb405c6b3e13f24ae7ba5462ca6e8165edd73f1c266639d11b36869eefa06 + ssa_ast: da1fe9145e40255b45481629a53c9f2affb0cf4075c30f04d555cfb23339ffb3 + flattened_ast: b83a62a13698f6538b4bd46d22bec8a6ba2e6aca35978dc4b34781f3faabeb52 diff --git a/tests/expectations/compiler/function/no_return_fail.out b/tests/expectations/compiler/function/no_return_fail.out index eb91575b3d..34e6c06fea 100644 --- a/tests/expectations/compiler/function/no_return_fail.out +++ b/tests/expectations/compiler/function/no_return_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n\\n\\n\", Nom(Many1))] }" + - "Error [ETYC0372038]: Function must return a value.\n --> compiler-test:3:1\n |\n 3 | function main() -> u8 {}\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n" diff --git a/tests/expectations/compiler/function/record_in_conditional_return.out b/tests/expectations/compiler/function/record_in_conditional_return.out index 6163a64825..6c0b311654 100644 --- a/tests/expectations/compiler/function/record_in_conditional_return.out +++ b/tests/expectations/compiler/function/record_in_conditional_return.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: no input initial_ast: bcb189be29a875a5f7de506a278edd5ba6d1cbf55c446bd60277dba90a0ae41c unrolled_ast: bcb189be29a875a5f7de506a278edd5ba6d1cbf55c446bd60277dba90a0ae41c - ssa_ast: 994e826b2a03d06c871fc887d78c19eb8c4f77e3a9abc80cad04035ca6c02c87 + ssa_ast: b10555638f2666be22d5312913d23d87ad5e38d31b3af5a082925f9557d612a0 + flattened_ast: 5b3e9103a09bc92262ac00de352948dce329b65a2aece198b2f3c2e0615ecdb2 diff --git a/tests/expectations/compiler/function/unknown_parameter_type_fail.out b/tests/expectations/compiler/function/unknown_parameter_type_fail.out index 15e2696a82..8d654a51c0 100644 --- a/tests/expectations/compiler/function/unknown_parameter_type_fail.out +++ b/tests/expectations/compiler/function/unknown_parameter_type_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:22\n |\n 4 | function main(a: u8, foo: Foo) -> u8 {\n | ^^^\nError [ETYC0372003]: Expected type `Foo` but type `u8` was found\n --> compiler-test:9:22\n |\n 9 | function returns_foo(a: u8) -> Foo {\n | ^\nError [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:9:1\n |\n 9 | function returns_foo(a: u8) -> Foo {\n 10 | return a;\n 11 | }\n | ^\n" + - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:22\n |\n 4 | function main(a: u8, foo: Foo) -> u8 {\n | ^^^\nError [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:9:32\n |\n 9 | function returns_foo(a: u8) -> Foo {\n | ^^^\nError [ETYC0372003]: Expected type `Foo` but type `u8` was found\n --> compiler-test:9:22\n |\n 9 | function returns_foo(a: u8) -> Foo {\n | ^\nError [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:9:1\n |\n 9 | function returns_foo(a: u8) -> Foo {\n 10 | return a;\n 11 | }\n | ^\n" diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 2da431f124..e0b5bb01f4 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: e4230836ed5823df5f474205b6da3be5cd9c958aada23e9b698db02866867eab unrolled_ast: e4230836ed5823df5f474205b6da3be5cd9c958aada23e9b698db02866867eab ssa_ast: 5a1c7dbbef55cad3521e238dd94847051f5b3a113fd40f59741d6fc17c3b1972 + flattened_ast: 2361cb979fc3c96b9e5efe265eb029d582cbddda3ef1accd4dd7431c4bb67c39 diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 936e5fffa0..e5148a93c1 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae unrolled_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae ssa_ast: 5622537854f826d68aadfab1d5ce05994754d17e0c2400d7d4ee2aeba7dbeacb + flattened_ast: feb2a4db7c0320285b4056eb868395e1bd54acb0863f37a6dc3b9de000c81c8b diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 936e5fffa0..e5148a93c1 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae unrolled_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae ssa_ast: 5622537854f826d68aadfab1d5ce05994754d17e0c2400d7d4ee2aeba7dbeacb + flattened_ast: feb2a4db7c0320285b4056eb868395e1bd54acb0863f37a6dc3b9de000c81c8b diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index 7c4066520e..edade24857 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 059e4d9a644eef0c6e39920920eae9489f128802aa4c0b1a675ecca227eee898 unrolled_ast: 059e4d9a644eef0c6e39920920eae9489f128802aa4c0b1a675ecca227eee898 ssa_ast: 39138c061c41d2ecce4f64e138544257f9f1904e221fb8ae0506b52080ac6b53 + flattened_ast: 14d815d4cb378a02d4bddcd86baca0befec4cc2c788a89f5b4077fd8a62f1946 diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 9e82fecac5..67386969a8 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae unrolled_ast: 3aa8757d8a3cc7244fba3d50130aa9ce77a9794e81ef861feacf2a7976e8eeae ssa_ast: 5622537854f826d68aadfab1d5ce05994754d17e0c2400d7d4ee2aeba7dbeacb + flattened_ast: feb2a4db7c0320285b4056eb868395e1bd54acb0863f37a6dc3b9de000c81c8b diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index 29efbc461b..b5eb57f4d4 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 9fceb0d80b8f5d9c14289ed7ab39289d58fae7ef171e75bd277b89ee5071ef93 unrolled_ast: 9fceb0d80b8f5d9c14289ed7ab39289d58fae7ef171e75bd277b89ee5071ef93 ssa_ast: 20f38a959a4ee3983fb757f8b4998aaeb23e8467f1647585d7b8e6daae062be0 + flattened_ast: 8a52d6ab0dc2b0b976e2b899aebbf0daece96d8f64e3c0dc0aa69a13735bd992 diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index 9484013a48..11b425d440 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -7,3 +7,4 @@ outputs: initial_ast: 942068714d89a818d7836492d54e7f8e38ad0fc5912da4931fb88e54c8f77d55 unrolled_ast: 942068714d89a818d7836492d54e7f8e38ad0fc5912da4931fb88e54c8f77d55 ssa_ast: a7471be4c25e86afd4f64a5ec31c42e06dc088828e631d917b26c4fbf0b9a631 + flattened_ast: 93c7caacca3e2b8cf55e7bcbf678247a7e8c9bd19198132c8d7568b288065971 diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index 004060d61e..42fb631290 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -7,3 +7,4 @@ outputs: initial_ast: f9c77c2cc35425fc70a9eb0aacfb279e855377e116592689efd41d4a932271a7 unrolled_ast: f9c77c2cc35425fc70a9eb0aacfb279e855377e116592689efd41d4a932271a7 ssa_ast: 9e5dfd41a6ab1c02e8e5b78c2c4cf6d46c8b989c5e55aa8bee52c487da6b15e9 + flattened_ast: 8642b64748aca31195bc6567eba35cb53eaf12c3704e5ab220eba3835b4771f7 diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index 327f828c8b..8892db2a93 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5bd39c4f920d270f2b11d51660a1b25e3dccb229accf31b1588a449009caeba5 unrolled_ast: 5bd39c4f920d270f2b11d51660a1b25e3dccb229accf31b1588a449009caeba5 ssa_ast: b51f571fdda61c18749690db890e1895b5866359ce0c9d645c0befd5e267c212 + flattened_ast: ac3805aad3231df69b1f8e548ef6e961e04e662c8be78fa2b602b3a21e7afbd0 diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index ae2f62b3c7..ee679f2a44 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -7,3 +7,4 @@ outputs: initial_ast: cdc2abc38fdfddc51357072e7ada6d6e530ddb850416e589aa4abda2cc2ce0b6 unrolled_ast: cdc2abc38fdfddc51357072e7ada6d6e530ddb850416e589aa4abda2cc2ce0b6 ssa_ast: e9d518bfd2800eb6cfd450dd45bd6eb63e3f6e1f72a023581f58d3d3d4db2dfd + flattened_ast: 8510f2659e9152ebd1aa1da6bc6f94914d33504215ce14e1a73271bce3fd2aa7 diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index be1e78231c..b4d60bcfa8 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: e8172b23bc4efbafd48de0729e376e69260ad97a65ce13814f919d75fead6df2 unrolled_ast: e8172b23bc4efbafd48de0729e376e69260ad97a65ce13814f919d75fead6df2 ssa_ast: f88e3acf6213ce19f35417bb359ff0aa357fd078496e457f6bef9beb84ba82b8 + flattened_ast: 9773304230b84cabfece1e163ac6c30963c5067ab434c800493dda568c0845e6 diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index 835a42d9f2..2c3504799e 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -7,3 +7,4 @@ outputs: initial_ast: 33105589dcdf339ca40256b341730dee963d5cc704e86b4b23de92bfe223ce83 unrolled_ast: 33105589dcdf339ca40256b341730dee963d5cc704e86b4b23de92bfe223ce83 ssa_ast: 2983970a53bd527ae95b176f142e784618a5c2c1b2f1fe4534689451b18ba14a + flattened_ast: 6465ed8e2038962c9c504af1fc94b36e94e217492675b9935f74824de321b2dc diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index 11f82449c1..e7f4fae81e 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7eeb297fac064e1afb25869024d1027a7f5e93c7195ac8cff0abc1d4a6a4b3de unrolled_ast: 7eeb297fac064e1afb25869024d1027a7f5e93c7195ac8cff0abc1d4a6a4b3de ssa_ast: c851dce1b2e33fac7dc5f5c746401de28a9319d14faa4d655603f678a2f7f9cb + flattened_ast: 49f93645472a65bccbe73d8b6ad5b0063854fd9410de5dde7c81e8029494ceeb diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index b4737b3bfc..adace50fd7 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -7,3 +7,4 @@ outputs: initial_ast: a723771b9178e664b3c43026841497f8f8e88f6e4febb36fb74ea07f6f67b29f unrolled_ast: a723771b9178e664b3c43026841497f8f8e88f6e4febb36fb74ea07f6f67b29f ssa_ast: 3cf5cc901ab23e8546666ab2fd4d94facbcc168bbc786a69269a2091beee18bd + flattened_ast: fcc3d12ea8df71813ef5489a340cdd7ff3ceed40d3e525a9860aad0b67a2df13 diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index 4fb2c66bc6..0f3f3e79b7 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -7,3 +7,4 @@ outputs: initial_ast: a8f03aef2797a48d9b7d406742a1e9060a1875e246e425469bb11522de61e775 unrolled_ast: a8f03aef2797a48d9b7d406742a1e9060a1875e246e425469bb11522de61e775 ssa_ast: db76486910acebf811b256f4decc0707788f13c9a4cc26fbc0224cda114114b1 + flattened_ast: 0becf0bd43966242603b20d2e150839fb5556e3ab38bd603c9e11628608ef20f diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 27f7d9c01c..f75694c582 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2602eaec812f1822231e70abc207c2dc1cbece29b2733f5ea07c303bccc64baf unrolled_ast: 2602eaec812f1822231e70abc207c2dc1cbece29b2733f5ea07c303bccc64baf ssa_ast: 030ecbb285189c6b7bca560f1b273114241660f80d2830a616d9c59520cbccd3 + flattened_ast: ea9e2d8da3624c48bc189d90da6944e0c9ad7f8da6046194cf7023295505b811 diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index aa54865ce2..a7fc9451d9 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2c209d1972505f8acb8a1177c79c98c582f6ebf7fd60221cb50c9884f8fe555b unrolled_ast: 2c209d1972505f8acb8a1177c79c98c582f6ebf7fd60221cb50c9884f8fe555b ssa_ast: c1a1b9f67eeb03f1859a7e651cf0f2f5a95c9cf9d7b8214ea9e9fe2fc554d22b + flattened_ast: 637d41231b99e19b73dd322fe969728ae88696a4378e72ccb5275cf86da6ebde diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index fc2f0bed80..d7b1e97ad3 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8ebeaa029eb3018dd8efa3feb66edfe8c3a38622403db610529664fff6b7507d unrolled_ast: 8ebeaa029eb3018dd8efa3feb66edfe8c3a38622403db610529664fff6b7507d ssa_ast: a4def03ce8dc9cf09ac6fb8110f52b5acac96390771d0c3f9e3278c6a09d44f9 + flattened_ast: 9c4b242011755e873b77ea92f013bc0b4e916a71fe7d21f2380560e6f35f145f diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index 7f6c86dc76..cddc67c078 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -7,3 +7,4 @@ outputs: initial_ast: 31e6ab631497e3ec69a8d5aa930d76319c4b9abae21225c484b0790cbef3c578 unrolled_ast: 31e6ab631497e3ec69a8d5aa930d76319c4b9abae21225c484b0790cbef3c578 ssa_ast: 9c3ce9b6cf3cb1770008bae447f64a937ddd2ec1e975afb5d10bdf5a648d48ab + flattened_ast: 89ff79c2470ffbead23716adfa619063801373f0f37360c0360ccbd48f4e0497 diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index 92e7eeaa08..d255ebb02c 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 89f06f250b4d9c862287a21fa3bcbbfdcb3a9b0071f78b9709b57abe9061834f unrolled_ast: 89f06f250b4d9c862287a21fa3bcbbfdcb3a9b0071f78b9709b57abe9061834f ssa_ast: 3b35f9a2178435cdd38d0a204f8ac37403b8b2207288037212edc2252b56168a + flattened_ast: 9116b3799b6d7fa9ec98c00664afb32338aabed998d38b996e9d319110632500 diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index fde7eced97..2c51e07302 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: 883524d6db69c29f6d3acf205a738b41f1abeef137664d15637a3c218f9664d2 unrolled_ast: 883524d6db69c29f6d3acf205a738b41f1abeef137664d15637a3c218f9664d2 ssa_ast: d55d0bb7481186bc2edede0c04544d315a1602001030064ea8e1834683e8f581 + flattened_ast: 4b47861ef40bfb8da6956a3f8579f507a2849b49087a18e8d554a99913b2d8bc diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index efcadf78eb..be2658cecc 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7c054e866f1fd714cf58c5636c596b3febac1c2a7775e2085fa10d73e8171851 unrolled_ast: 7c054e866f1fd714cf58c5636c596b3febac1c2a7775e2085fa10d73e8171851 ssa_ast: 5cc20679867fbeddbe64a0cf9e7b8c5c6b08da309017fac2ec079f8ed4fd25f9 + flattened_ast: 50395897a641e37ef08db78c8f6830d3895f7866b8bc58412b00a19b285c39b1 diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index e59edc63ee..c9c010fdb4 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 130eac8ce31338a7eb3214c4fd98ef05b3def0daf4ebf2bac177e6dd6135fa0a unrolled_ast: 130eac8ce31338a7eb3214c4fd98ef05b3def0daf4ebf2bac177e6dd6135fa0a ssa_ast: dfae3a5ed9b7e5dddba9271de9951dc20db8c409ce000d33241dd3607cabe87d + flattened_ast: 1e633126a221c3be410556f34538041dd73b3a6cfcfe2be7006989f6d2b3fe90 diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index 8ecf797881..7b1b78ef47 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: d3d9bf5316584d8913ffc8c890bce54da9a246727d0a93d4287eab7858b9fcbd unrolled_ast: d3d9bf5316584d8913ffc8c890bce54da9a246727d0a93d4287eab7858b9fcbd ssa_ast: 837bf87a10399829a0e4f2545a8a2f2d44ed20afcf2582b5e518f3d25aad88c9 + flattened_ast: 8c90023261a54a556e57fb3a922f94b639b3b0cf0e82a103139e8bc23eb3e875 diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index e73bd881b6..1cf2a6cc3f 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: b8d40993b63e6909f0d5ad81f075f2cc451ad23c205ca1fbc636ed60fbdfcf75 unrolled_ast: b8d40993b63e6909f0d5ad81f075f2cc451ad23c205ca1fbc636ed60fbdfcf75 ssa_ast: 36ff9ed5d501dbbde219cf9a92ca356d33d8486beb42256b9b582e5d151cac5e + flattened_ast: 8ed4c866e764ccf8e2ce8236e486a48a43edf852edca27b847f64beb4faca4ac diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 044ce17f7a..f0439c5ab2 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 4b386715c58749cc56888df56ac95e071f81eda18a274caeeca179709f189902 unrolled_ast: 4b386715c58749cc56888df56ac95e071f81eda18a274caeeca179709f189902 ssa_ast: ced4afc151b9986c916b7010eb5b70b6b6b4fef087005f15a4b7fa192b775785 + flattened_ast: b60ac3f0bb3511449fb2c56270a10bc10d8ea14df842ed102341afa3207cc176 diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 78b5c651f0..3112adfc6b 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: e41880abb13f9df0fb436d60eb0f6d0555768e3f9e38188371772cd952e8cc1d unrolled_ast: e41880abb13f9df0fb436d60eb0f6d0555768e3f9e38188371772cd952e8cc1d ssa_ast: 1da66d15120bc66192916623064d133a53b63d17126912d7601157b73d1ccddb + flattened_ast: b8645fe281195c39403e5306fac74140e98a17c5b096e02aa6796d426d341b3a diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index 5490901811..146059601f 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: f8c3ba8f708137faba2dbe329905bb98015ff1abbb59fe81fc882ea869a5c6c3 unrolled_ast: f8c3ba8f708137faba2dbe329905bb98015ff1abbb59fe81fc882ea869a5c6c3 ssa_ast: 1d0a4e7a41f2c67e4f5ff6a3459990359563462ceffd5c29630e9177e43289e1 + flattened_ast: 757e6bf8ff90254119eeeb0a487f27aac53a59670079b251c92c6b3e0696e156 diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index a1a6ef0cb9..f805fc5bb6 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: b9a9d929f63ec291634df34c854fca50facb66af7e8f676c69c5201a6377e8bb unrolled_ast: b9a9d929f63ec291634df34c854fca50facb66af7e8f676c69c5201a6377e8bb ssa_ast: 193a988fd6dc46f9ef185a2e64bfbc834fd257c09d20f7b3ace19edcbb7161fc + flattened_ast: 009f04b3f18e39c25698add2e795ef680c12c16cf640c7287df388b67256e5c6 diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index f6d1093973..82478db08f 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: 43b2d6014d4045196bf88c48ba56e3560439ce1cf91ce5ffac89c706a1c9ca46 unrolled_ast: 43b2d6014d4045196bf88c48ba56e3560439ce1cf91ce5ffac89c706a1c9ca46 ssa_ast: 1c117f8cf0be934ceb6d8119347121df73d2df9cd59a7f5e3b31e1952b7beb9e + flattened_ast: 679fc7d38cab0bc48ccd9fce162495c0ebb78671472c4963c632321dede0587f diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index 97787fe611..7c80d5e100 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: b55345fd2af09fb529e3fe19b280f71ccd960e364feae247215a7f421bba8de1 unrolled_ast: b55345fd2af09fb529e3fe19b280f71ccd960e364feae247215a7f421bba8de1 ssa_ast: 059dc7a8a3997f8633f96da9d0038c356225a1a5ab572885abac2c1e140aacc2 + flattened_ast: cafb603140260796cde0da93699225fa547663c2f24939335b713bb2c7529fc4 diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index d8049f8df0..d69edf8c97 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 108ce0e3f03ed0373c4339ba33ae050176e6954a15d124778f16d323b1d1c6b5 unrolled_ast: 108ce0e3f03ed0373c4339ba33ae050176e6954a15d124778f16d323b1d1c6b5 ssa_ast: eaee0cfb78c2a5ea05e770e7302fa26318d6efb2e22cdf22313ab68fcc2e3c04 + flattened_ast: 475d9ffe3d1869bd1b7c87820a18bf186d1cf6f714dcf10b9062ad6f7921fcaa diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index 3a93df4923..53f047e67e 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 8249f13958676cd35906b6fb1df7dbf90dcb893c9495aee5933cd42f45ff8f75 unrolled_ast: 8249f13958676cd35906b6fb1df7dbf90dcb893c9495aee5933cd42f45ff8f75 ssa_ast: 1882c7ce17f2865b12205eba080dc50d94d00389e8b36ec5b7e2eae94c208aba + flattened_ast: 4c09304731d061a131c0c73b78eea8ac48d5e701b9c69975364b3e00fcbce609 diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 634fff5d3f..bebc412938 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -8,3 +8,4 @@ outputs: initial_ast: b4e0aad8aec4b581b4513193ab7bed89fcae43f809b71cb6a8eea3fc09508f2d unrolled_ast: b4e0aad8aec4b581b4513193ab7bed89fcae43f809b71cb6a8eea3fc09508f2d ssa_ast: 318c529d269fb78dee369d203183e30f877d7d415986543683423e0d96dd5bb0 + flattened_ast: 8e1b4a6346e2afcf7627e7deb0bb469ce202e90e509efcff7095f89bd8f6bd87 diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index 7e1d994218..f0344447e0 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: 37bc1b910c2532fef99f2dccd07b3faecc3ae670d390ce63f0b4dfa7a7329c25 unrolled_ast: 37bc1b910c2532fef99f2dccd07b3faecc3ae670d390ce63f0b4dfa7a7329c25 ssa_ast: a6447922c77bc30a3470fddf18c6a184de7a18c153966aa31124193027551639 + flattened_ast: 513236cb437de21d0c4d678cbf7524017eae05339bcf9b41ff14a24e4157ef4b diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index b3800ace5a..1af02309ae 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: aa32f601a76be51d621cf125c6c9f936d173f2f6ab7541e86970fc528dd6d885 unrolled_ast: aa32f601a76be51d621cf125c6c9f936d173f2f6ab7541e86970fc528dd6d885 ssa_ast: b81a283e290287d3cfe0feca56b982787195ea9cce65e2dd1f52adb2158e0206 + flattened_ast: a8a75da160e2020ed8984eeea19ca18799690c41753949188a201843241f8258 diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index 7ef13c7f32..238dd931f4 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1556c078e5bc1bca6a7d73bfd44fa50fc0f02a0b42789c0861c0789d9955fb61 unrolled_ast: 1556c078e5bc1bca6a7d73bfd44fa50fc0f02a0b42789c0861c0789d9955fb61 ssa_ast: 924d2e1787a6d206b605890c565d7d72ce0ae431640bed0c73f5f4a52183df5e + flattened_ast: 6e8e9412d1011df8ca2661b020691e62dfc69705ee0221d9952a2e32a86e725f diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index 43ad044ea3..40ca677bae 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: b2da8bc633b1e8a473678b31aa66cb70f5ddeeb4d45671c26904b2402f7a1b2e unrolled_ast: b2da8bc633b1e8a473678b31aa66cb70f5ddeeb4d45671c26904b2402f7a1b2e ssa_ast: 4ee29ae278d8ae1ea8973790acf2183b099328bca74f77bc870558c3d742f357 + flattened_ast: 88dcffca297885f42e8c340c71b8da7985105a5096292509656455f6ee143690 diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index 8e7eb18580..31a7a6a1d4 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0678fd3b4bdf6236aac387deafb390f497e35f531c6e14e7362068515460c860 unrolled_ast: 0678fd3b4bdf6236aac387deafb390f497e35f531c6e14e7362068515460c860 ssa_ast: 65343b305d0dedd7663cc69dfa76e875a98fe39020278d2ee9614935c23a1d6a + flattened_ast: eea59cb689eb126ed1cc38c01901bb9f6fe9b9cd45fd2f5daa96cc71f3e44086 diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 7a7a706d20..ee38d7bca8 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0ad0765bb998877e34f67960e92d8682740e6092111b16f93804881348505543 unrolled_ast: 0ad0765bb998877e34f67960e92d8682740e6092111b16f93804881348505543 ssa_ast: 63f2392d144451afcb4b48ec04fe9ad30b28410a7cd5af60b30fd583279a39b8 + flattened_ast: a1d2726a710f950fdcd0dc38d1e3be0e22fb1468f16b74680ec5bf88a426838b diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 453f8dd2a9..9e4860e5e0 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 865f39a2abd42c7b29695df44feacb998e68aca285df782d13e0d2fa8efa0ac9 unrolled_ast: 865f39a2abd42c7b29695df44feacb998e68aca285df782d13e0d2fa8efa0ac9 ssa_ast: 9fcd4b4502de61765104d2ee025f4f775eaacaae34745d897507723469782d06 + flattened_ast: f23e5928be9e4b60bf41b8dbf8ee3478accbc56e25147e64fb460ebf820f679d diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index e308b62878..05fe0e5400 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: b8d13ed794de2bbb672a6d1b5fab60db48af5b61aa6c9706276641675b2e530f unrolled_ast: b8d13ed794de2bbb672a6d1b5fab60db48af5b61aa6c9706276641675b2e530f ssa_ast: 2cff3cc2dc2a5d5b6337e589fbac9334d4ca890b538c457b1007203d128c4fbd + flattened_ast: 248b9fa6a1c8f88ce244b57430ae7f95bb8710fb54e48b156d9b72d2465a5ff0 diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 8ff844bb01..266504d9ba 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: db5cada6cf63aefa3242db2ba148a3965f0717ebac25656556d71e6f13c0910e unrolled_ast: db5cada6cf63aefa3242db2ba148a3965f0717ebac25656556d71e6f13c0910e ssa_ast: bf4a6b2f05d837dd4a396bbe23a45c0bbbc6858f5be0bdea1711b28caa366fc9 + flattened_ast: dfa16b2609cc1c36e21670ef644f767ca1a5ea393d7f074b583f95a93a18466c diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index 4a193eba50..2a9cab1dad 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 9ebbd82d941d5d182cc5da6c8d9bdf753cf81a913d243f290d0415ff2f73fcda unrolled_ast: 9ebbd82d941d5d182cc5da6c8d9bdf753cf81a913d243f290d0415ff2f73fcda ssa_ast: 86ece47aa9df81365884e98273afea708fa645b48baac1a270007a9be42cfcda + flattened_ast: c8fb19edc93446604edac427a47265ac0e2e66347ac15e928027c44a73eefeed diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index 7f687d7232..cf8737882a 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4629437cb260ce708192d45ee0ab72fa8a3e330a69b65cb433100191e9b1a25e unrolled_ast: 4629437cb260ce708192d45ee0ab72fa8a3e330a69b65cb433100191e9b1a25e ssa_ast: c126a83536a206eadf3d2d6e14b30a3ed0f249e77c74383986b99e62b97b6bcb + flattened_ast: 635e806a4a2da83b321efe9f03e349b1c9de73052814233975d1f8d7019fd670 diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index a95b9981c2..5ef6831d68 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8bc1d352c484123f42022b2a4089be4d25cb9ed049a9b5f3157b54e4de8d3a51 unrolled_ast: 8bc1d352c484123f42022b2a4089be4d25cb9ed049a9b5f3157b54e4de8d3a51 ssa_ast: fbd880e8e5aedc0fb447f7aa98129e96f341f8758034542bf47799b32dcaf8b1 + flattened_ast: bff6f5003f67469770aae4653f71cc7d747bf3e1061dc8e78820ba02cca2c8d6 diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 4269984475..094e35c975 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2d1a0262672e770d11fdf1332e6546657c66a6f86e10ad2430c7a2b942bfca50 unrolled_ast: 2d1a0262672e770d11fdf1332e6546657c66a6f86e10ad2430c7a2b942bfca50 ssa_ast: b69341d4a6c0138ba51853fdcc949caf0e441e4e1fec8ce46db26a3a74adb6e0 + flattened_ast: 2f75e398b83289e4449d00f011e9c279ae9d9c4e1022678e8f8e5b9a9225f299 diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index 22c8cc11ee..4e8940a8a6 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 75d8f8ba03b8983f8c6a199712d0aa273a1ba6a4555866b4381cda179dd486d5 unrolled_ast: 75d8f8ba03b8983f8c6a199712d0aa273a1ba6a4555866b4381cda179dd486d5 ssa_ast: f5a05c3603e1e70e376f827ebd8e46a465dd25dbbf1da9e9948a695aa3505d5e + flattened_ast: 10aec83048fc11d5f0079a61bedfdd9dd8f41f3d91680e663fe97ee2eeaae0fc diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index 4614632e30..536c8512a3 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: f046f5fbcf9a4a0d14e92a3e4a7fdacfa1ef951d44f0eb4b122d08a48534e6d6 unrolled_ast: f046f5fbcf9a4a0d14e92a3e4a7fdacfa1ef951d44f0eb4b122d08a48534e6d6 ssa_ast: e9739112e1bc9266250a6c5f16c051227203f828860fcfbcd0610a84e4eac455 + flattened_ast: 522d0e637cc9f5c77b70fbea811a592b8576ae85507d4c82c8da3b157e2062c5 diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index 6c0b374986..a4fb68d8db 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 99945b4fec94b036b6718754535d5037f2b0f8aa3dde5764b62db2c6d28d4009 unrolled_ast: 99945b4fec94b036b6718754535d5037f2b0f8aa3dde5764b62db2c6d28d4009 ssa_ast: df81a93715d12c4c4b8db50a2aea9a0b5e4fe49ed05e3c9089695a376b713aab + flattened_ast: fadb39413040fc231ec05a38c9d4b8dde69d10626bb518992a81076929e62108 diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index d90b56d1eb..6688919b63 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: e5da283438229a656af778f3e859f3d03b4849a730d86c0f83099857310314ea unrolled_ast: e5da283438229a656af778f3e859f3d03b4849a730d86c0f83099857310314ea ssa_ast: 686d8062f944249162ac3400ca115fc98dfeade6caf9b5c25d3f9ce10ef0f555 + flattened_ast: f0ccff2b810a9256821e59d7f900aaccf81ced00ef74cef12bb6e3e4db0d9403 diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index f8693515da..72ac2b6642 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: b7780fa2e60669ec0d0d8395aeb877cafb6545153d53afdd37c6469cffa8e8be unrolled_ast: b7780fa2e60669ec0d0d8395aeb877cafb6545153d53afdd37c6469cffa8e8be ssa_ast: 6a5fbb66c9400e634fa430499a4bacb1a460f9832adca61ca861754d956032cf + flattened_ast: f3862df55f4b95038b079eb78f1f2176e1985e091860cf65f526facf914c0d13 diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index 9583495c55..a92850bc0e 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 5473d8681c46c59f3393c46d87a9d6d04d73de9689bacc76dc53647a53cab3cb unrolled_ast: 5473d8681c46c59f3393c46d87a9d6d04d73de9689bacc76dc53647a53cab3cb ssa_ast: e6087bfffaf8553bc39a24c30010a36ff714306732c18b411a6c745024debdb0 + flattened_ast: 873fc008b982521ec335fe8618426e7d6c626dcf971d0c842cb83c0e6eb35732 diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index ae062b50b0..a1e182c28f 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 0c6f937d0f8ae327e2d530f95218418d23cfb673a21484625b93c7cc05dbbbf7 unrolled_ast: 0c6f937d0f8ae327e2d530f95218418d23cfb673a21484625b93c7cc05dbbbf7 ssa_ast: 1c032e1299879da3993da660e9a7adf004c48b0a5dbf92c662a6470ae6849fd7 + flattened_ast: 97046b76bc872c872e315219faf95e26fda9bcee926cc1687965f69e89869844 diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index 298787f947..2d5fa8c710 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: d931ce1492ac75a44d3048edc2949265a777a459f591aa7008a71afce44340ed unrolled_ast: d931ce1492ac75a44d3048edc2949265a777a459f591aa7008a71afce44340ed ssa_ast: 34a0cb56f415abfc7ecfbd58a8c12f3c59617d0c1b648cdbf25adf7bfe900aac + flattened_ast: 409c4c2a3ec0e1bbaffec9375e305350e9ce576b0eeae4cd78b90e32ff33e121 diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index f41fff2699..202fbd5d61 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: a0eac83a7a03a7cba433080076e327a9926d04c1e48b5396a821ee800ddedd62 unrolled_ast: a0eac83a7a03a7cba433080076e327a9926d04c1e48b5396a821ee800ddedd62 ssa_ast: 25a6306fefb842917ec54e95a6cdea3de23ee748aceac2af76945f38970a31b2 + flattened_ast: a51efd22ca90947e922815b52a857d6bac5f31f3719ee956eeb488d24892efc8 diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index f48bcf8700..db4dbe1b3b 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7bfb8d5ab769d28a1f28908269b4570fd3b8ba090bf02ae08ef525f280a70a1d unrolled_ast: 7bfb8d5ab769d28a1f28908269b4570fd3b8ba090bf02ae08ef525f280a70a1d ssa_ast: f35f349186d3df967b47db1a4150829aa5416d22a5907b229424a8ec09656a0b + flattened_ast: afd93d643362cac8b68272e27d9bc10673605c31cd99beb6a56452b8c199b478 diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index e828ed997a..7312e09c10 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 70cee78b1afb6d044666ed38b268b7ab3823f3bba7771b520cef80661c8f4760 unrolled_ast: 70cee78b1afb6d044666ed38b268b7ab3823f3bba7771b520cef80661c8f4760 ssa_ast: 8148da3f98b26e21c754e19c77ac69c4c23bbae7144e0840b9ffa9a491ca6034 + flattened_ast: 01e26186084b65b4ca1df69a4ed57f9571a97022372ce37ac00fb7f75a189dd3 diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index 18b0be2338..1f57f2a236 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 9762c149e584c14e3512c40586653d05e613b13d3c1bbf1a51f5fde1447e6f0c unrolled_ast: 9762c149e584c14e3512c40586653d05e613b13d3c1bbf1a51f5fde1447e6f0c ssa_ast: 74e3868e9c7392822e5440ce3a834055b5249f1d445576c0c63749a6f02b7759 + flattened_ast: 812f8bc46e086e6abc61c17d23dcdc35ac085a43f85c24ef56743bd2e9f5e03e diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index c477f0b8ca..b4e999f690 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -8,3 +8,4 @@ outputs: initial_ast: eaf89d01d58522920353e56ed8a1bf97fcf7beb559a73e66a8df2ca5d3b97947 unrolled_ast: eaf89d01d58522920353e56ed8a1bf97fcf7beb559a73e66a8df2ca5d3b97947 ssa_ast: 376344e88bf151450056add93f30c1c1bfb0e3f89eda1b372ec63a90dafa728e + flattened_ast: 4d45b07da5c6cec9db3868d52f6b0d7261242d873793d1105b480e18708666f2 diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index 2604e7fdcc..22a1d79151 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: d4f420018aa9353646ceba020f9f6875d820b709c6ca563a0e9ead72fb8a5396 unrolled_ast: d4f420018aa9353646ceba020f9f6875d820b709c6ca563a0e9ead72fb8a5396 ssa_ast: 620d451be23e558c53e782be7ca238b4c99907720c907262999f0fccec8636f4 + flattened_ast: 965b44e557102734e30756f70f40d1fe4594106752e0be89e018274234ec6834 diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index 44a35e9f56..5a3be3885f 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: 81966e94368a412d6e6af76c479f6c49a4db37b1e9f329908945cfe325d54b9e unrolled_ast: 81966e94368a412d6e6af76c479f6c49a4db37b1e9f329908945cfe325d54b9e ssa_ast: db612a98613cb2ae6da7511625a2e724a516f3691a4f79569454238c006fb993 + flattened_ast: 721dbffb28ef84387f848ccbe63c87b7c17e74d6b742405d37a0b28e729e2550 diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index c5bac9224b..99f1124b20 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: a0029cc9241b6128b90716d69c128cf1af2ff35ec4dc58914ccacfdc8b926bbb unrolled_ast: a0029cc9241b6128b90716d69c128cf1af2ff35ec4dc58914ccacfdc8b926bbb ssa_ast: 153b3b03b4629b9d61dd4fb200c8c18a6457dc8115ca880bd017dbfa20c68a96 + flattened_ast: eed4dac6c11d7bafbc4135af4479b1eb78aa74e94fc5ee2811196161a6d80042 diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index 4dc7ebc075..caf9721798 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: e725a5db3bb150df4b5e385161e2b4e826c6b6178e0849be8f3b57f6985d294e unrolled_ast: e725a5db3bb150df4b5e385161e2b4e826c6b6178e0849be8f3b57f6985d294e ssa_ast: f7166cb3bbdd6f8426ef40dc2ffc93ee63acb262f88da9dbb319e34ea20b6e58 + flattened_ast: afb8d6bcb16f5248050c05ab5326dcacd4345d011fb4e0964fae59208557324f diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index ad42f3a63a..d81e323d5d 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 87088c123c9dce210a5a4d0396b4817c2e3cdbd3827244dfe8248e447790e88f unrolled_ast: 87088c123c9dce210a5a4d0396b4817c2e3cdbd3827244dfe8248e447790e88f ssa_ast: a76ad091020a0d16f016065c211178edfea62fb06920afef2364fc404900eb23 + flattened_ast: a6bf1ace3b735d862fae423da5d24c1db8bc10cb76177804e0c57bd1daff6115 diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index c9e576c3d4..31c230b1f9 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 9939b05cb6091862f6899702f6905339950d6f19a8e1b2567fb3b4ab498a8e8e unrolled_ast: 9939b05cb6091862f6899702f6905339950d6f19a8e1b2567fb3b4ab498a8e8e ssa_ast: fbf59be03396e21d19f8e19d510aaf01161ea89f6885e00c1c8a9b539384020f + flattened_ast: c4c7091c852a23ef53b0aa3fd486b7ff3639c3d076a7ce83f8079de7508b1c84 diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 0f55354a96..ac4171730c 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3f36460d73ae48119dde94fb26a704cdc07046c54ca47579241e53c472f36b6f unrolled_ast: 3f36460d73ae48119dde94fb26a704cdc07046c54ca47579241e53c472f36b6f ssa_ast: 0caf2d4af0b2d6e0da55b08d962cdd2d88590958b4ef82c3ce30f692f61c54c2 + flattened_ast: 11e4c92841ccec7f2a70c3dac70ef64ffd64f4173ed91e3fac49957d0b08c845 diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 08c7f1b01c..425e88f413 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 55024edc5f774ec12f0839c5634ff0d546e8f817d2c560901faffb5bb5d7efe2 unrolled_ast: 55024edc5f774ec12f0839c5634ff0d546e8f817d2c560901faffb5bb5d7efe2 ssa_ast: 10582441282ad7cb3a6c75220a1c8c9f33affca7104258a6a0361b6d491c056a + flattened_ast: 8bf263ae1da6d31e0fe7b05f0e39b8adbaaef078d13f8be3de2cfc862bb76fb7 diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index 4d4f9059c2..5b81a085c5 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 56e2edbb4491dd4dbf7aaede498d0cde5bdf218a7d0b5c0570b751ca237b3b4a unrolled_ast: 56e2edbb4491dd4dbf7aaede498d0cde5bdf218a7d0b5c0570b751ca237b3b4a ssa_ast: 74af2eb64c0e90d7234fbda6a8ad2f5cb2eb7cfa79c417c348d8d8a2cb58277e + flattened_ast: bafd81b5c5ae94b97db075a743b862627a459cf17c48cf28074b4af84e92d4ed diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index d8d2e00c26..f0bcbffe51 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 32996c708f77de27b4dcbdcd6736635438d4557e576ddc3c37bd6e612aebe8b2 unrolled_ast: 32996c708f77de27b4dcbdcd6736635438d4557e576ddc3c37bd6e612aebe8b2 ssa_ast: 621045b5774579e51456c3c994ad50b4429484ba58ba4b1bf01926067675fae9 + flattened_ast: c8673857a922f91329ed994a924da4fe5428d58c883781e12682aed3b0a8f19a diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 5c0973005b..db6002ef3a 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 9a562b8cf637796eedace6dafc66f44be50746bebb1d1ffb7e4ba623affacda7 unrolled_ast: 9a562b8cf637796eedace6dafc66f44be50746bebb1d1ffb7e4ba623affacda7 ssa_ast: 7a7c4beb8748405d34efe3da52f8953e0df7c79f08f0c8885afa60ee36fcbf08 + flattened_ast: d46e712c96a4ea2244bff6772bf9f46a721c95c7697dd2bb961c7c83a10198cf diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 3f231c53e3..da0c28ee04 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 44a03807de18e6cda9a8d6d844b13043655fda2080f0bc6eab643be3e158b8a3 unrolled_ast: 44a03807de18e6cda9a8d6d844b13043655fda2080f0bc6eab643be3e158b8a3 ssa_ast: 01cb6db2e99adcc0d06d2496bf8d6dbf87486c9481d3a54f6b6e1abe34176797 + flattened_ast: 31c9b15329dde2d330bd3f84d0e3ff816d44c2f912182c2a020c0c230b81c5bc diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index 260bbf831a..af0467d6c7 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5f5bded80f0dd36e02a86f1112f67982d64782edf9e0761acf73f663e8673438 unrolled_ast: 5f5bded80f0dd36e02a86f1112f67982d64782edf9e0761acf73f663e8673438 ssa_ast: ebbc7625c424962a52ccfa214c973d40041c7a8b97e6232e89c1c1ee370e9332 + flattened_ast: 4361b01c905b65cb6b6e2b34f6086bab1393c0b0f4dee8bdaf99925b9c616b96 diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index 8c1f18c1a6..d5ec56c7c7 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: af8bdf1762902dab925f07de3f74abc9ea4d8de1c9bfac4e7c3eabc0a6264170 unrolled_ast: af8bdf1762902dab925f07de3f74abc9ea4d8de1c9bfac4e7c3eabc0a6264170 ssa_ast: 1caeea3e0274d21eecafb10c13d968ffa18e42d7937dc6053399347332ac2ac5 + flattened_ast: 54d215faf4fa79331fc2d33ba8b5e5a7f97b14fbcc17b8ec66188846eea7c2eb diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index c619bfd5ac..67b43a57b3 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: c47c6cc2c02368cbb6c01b5682d63a27c14f57f62a5730abeb955ef1fe6ec974 unrolled_ast: c47c6cc2c02368cbb6c01b5682d63a27c14f57f62a5730abeb955ef1fe6ec974 ssa_ast: f23f47e827e736a16b06f1e91a6f8019a0ae7e0a5271ee2db6134dd5169f0bad + flattened_ast: 4d88dfa782b84807e46984520cec404d14b936a4e1891f4984feb3b6915a212b diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index 875b538924..1193600825 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: a1f786214829f3c8d61cfa73e12ff7710c1d21ae8ad9bf2a67d52ecf4b8e03a5 unrolled_ast: a1f786214829f3c8d61cfa73e12ff7710c1d21ae8ad9bf2a67d52ecf4b8e03a5 ssa_ast: 5b0d44ef528ea9543d44f77b41d39579f58ca74c8c864e14736bc3688f107f55 + flattened_ast: 28fa33f61f1e95db4fe6a9c16f815a7e68c330cf374760120155a4e17bcac781 diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 46212cac0a..a0e0d8436d 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 0f8a41afb3bcc828851d5d4bc3d60bd2dbbe76e3b95ba8b49e6659272f62af1c unrolled_ast: 0f8a41afb3bcc828851d5d4bc3d60bd2dbbe76e3b95ba8b49e6659272f62af1c ssa_ast: f2baec9c5e08264e66306c2c9e08c50dab3a7e238221454835b2a9b5e16c8309 + flattened_ast: 2b78516e939d5eb5f4902356f96d1bb357965e1bd9a6b1cc2321affc7d225cd2 diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index d094fa2832..da7d0f1b13 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 9c7b47603f20b28b74ca7875ce3a81e910cfac30e407b50f24e2c7482c5eed4e unrolled_ast: 9c7b47603f20b28b74ca7875ce3a81e910cfac30e407b50f24e2c7482c5eed4e ssa_ast: 442be49fab2e19de095b3e1af51aff69d57731eaf4c59d5de0874e0840533ff1 + flattened_ast: ba57e1e7f73bdc8604a0791415688731651ec3b01f38ef83b8ad42f786941a95 diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index 906ee24b16..da06b4f1e1 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 177dcfd38f4b8ab046a717c2ffa2c0bc3793c477f4e3952fcf16888ef7c294a3 unrolled_ast: 177dcfd38f4b8ab046a717c2ffa2c0bc3793c477f4e3952fcf16888ef7c294a3 ssa_ast: 7210278292972a57c0b76febd5ef3e62cebc300d83282b6d60b2ac3549343ebd + flattened_ast: 679653e18069e26bb34077f48ecf3a2bbe62ad3edd4523f917c587a26b2505e3 diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 19bb00efbc..ed090e182c 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 912d9475602495fb0d03971082aa7d1c43a16567ddcdce2ab72152eddf44b1fb unrolled_ast: 912d9475602495fb0d03971082aa7d1c43a16567ddcdce2ab72152eddf44b1fb ssa_ast: e3960acf8ffb50398654fd5129d0e84b6c81e54941d0866d06c518da4e28819c + flattened_ast: 3afe859ec8a55a00f5b861e3db6d4509100d67df72d4614f7c9fef391c3c3fb2 diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index fb14953eae..5e9db7320b 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: b6c768cd3cf1f5125b01633e151b8bd98e4f32a8b6748a74b3c3f7aeefc13b86 unrolled_ast: b6c768cd3cf1f5125b01633e151b8bd98e4f32a8b6748a74b3c3f7aeefc13b86 ssa_ast: a03bb09f9ef06dd05399d10362974db90da16cd1e6ae753273880d130427adfb + flattened_ast: 647e4455ceb479d7cb88ff7675b9b28043a1c73b42ebb3fb65221236b9d7f482 diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index 207a6d78a8..cdd685b314 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: ca08f6efee84ae09f73c5ea62a09303b78d45eb51cd2eba705cf2195a5f1cf62 unrolled_ast: ca08f6efee84ae09f73c5ea62a09303b78d45eb51cd2eba705cf2195a5f1cf62 ssa_ast: 9b1a5ccad13115c98c2a0ae99636c3cfde79718ad3813812d67894114690202a + flattened_ast: f74881d47f23074f205527fda6fcfde4060c6f4dee22b41a21be754f606beeb9 diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index d62c7763a9..ad407ff723 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: db33923e7ac4583ecb229c1b24dacc18fa9524b2028f6f40db4dac1b8af7c7da unrolled_ast: db33923e7ac4583ecb229c1b24dacc18fa9524b2028f6f40db4dac1b8af7c7da ssa_ast: 2f41fcb393741485573e21fb14d725a532af57b7c0ac7bb26cd25c5ddb648afb + flattened_ast: 760f592f7dde0caf3cc8dd89b2daf48aa10f9f2594b005281a7f20ce7c215b76 diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index dd1cd827e0..acafbb6c13 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 70d9b59c34cd0a78aa23b3c8b25c6b9af958331ecb2efcb02f8f625373f5181d unrolled_ast: 70d9b59c34cd0a78aa23b3c8b25c6b9af958331ecb2efcb02f8f625373f5181d ssa_ast: 0a9f4b40c971d96bcd3a0b95ecca2e37cedc2ae5dc22344a9ed51410e4b7893e + flattened_ast: 118de7c5e82e2a7512c9a113539c3fa21ebacd26aea6da6954be582dbf2fb44b diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 7c23df0adb..7589a034d7 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 83b28339fd2b5554e4a46abc1e301dce93aee00a53293a92de5c09df598aa47b unrolled_ast: 83b28339fd2b5554e4a46abc1e301dce93aee00a53293a92de5c09df598aa47b ssa_ast: 755638f276d61545e5e5f2cf47e71c57d25ccad4a235eadb88ba3c821677cd4e + flattened_ast: 681a8de3345ec742d1ccc30ee8a01dc9f041c006d0057fb93777e0f52c81fe67 diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index b00f9b0bd5..6dcb0ecb19 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -8,3 +8,4 @@ outputs: initial_ast: 86c18a936db07d4eaa8d32d206127ef4c77de72b54fd174c7ba7ff477fc4573b unrolled_ast: 86c18a936db07d4eaa8d32d206127ef4c77de72b54fd174c7ba7ff477fc4573b ssa_ast: 4f5f6ce177f8008f621dc2aa47221c8d014168d49efe15d43f982bdf3c296303 + flattened_ast: f721d2a3ccb154265498b1d45a17a71d4e0b1a871469aa5676db0bc8feff36da diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 382d7c86d5..fe5c15b0a7 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: ad90f853dc9713c273f236463d2887eb9bed564cc62873765c6b4a2fdaadece1 unrolled_ast: ad90f853dc9713c273f236463d2887eb9bed564cc62873765c6b4a2fdaadece1 ssa_ast: 7413dbc06f1bfa388a69e2f894fcb62f29ba96bfde928daf3504612bf4ac52bc + flattened_ast: 4ab0fea6939f64242b293d24809845dc659834899813cce2f1870d3113fd3553 diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index d15a895b64..4f5a893a23 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3844fa7a546f20d76d0d69632b50dd738abe26195018b53aef4933d8b5448a5d unrolled_ast: 3844fa7a546f20d76d0d69632b50dd738abe26195018b53aef4933d8b5448a5d ssa_ast: fc79f03a81b8359e1fd32c3245ae477455bd8327a5f5d6fd388c403d2914bac5 + flattened_ast: 6b2191f01fe88dbda27bc495cc65fc93787fe1c311835f9c76dc097bc568b24d diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index de9d20d6d5..a359b91434 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2fdd2f1a2e189eca4fc71f899580f5023d9d6209fc465b9eb98eaa74eac1aa01 unrolled_ast: 2fdd2f1a2e189eca4fc71f899580f5023d9d6209fc465b9eb98eaa74eac1aa01 ssa_ast: b60242e8fb57ff68a58cbe7780344453571ca06fdf34cde32a46e0b998cd861e + flattened_ast: 0cfebb3512249eba804f3afdd617458162490e188e76d0aaa261f18431600540 diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index 536cca6f1e..b09e860cd2 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: c9354ab8726e5fc1b580238ea62ec024bc06c80df18860e49c4a8ef54a6f5faf unrolled_ast: c9354ab8726e5fc1b580238ea62ec024bc06c80df18860e49c4a8ef54a6f5faf ssa_ast: ffc083a89e36446e14ef887cf4c0c72a684cd62b2f680d3e52a273399e355f28 + flattened_ast: 11610a3df899e7d0f6465cd24f553bc2d916659c1fb2a6a4874d064f8b6d66a2 diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index 3445f4023e..90a3cc14ba 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 520d17d1887984a3c0fe31db6f1fc7a44db23e54f3a4c567a3b92e758752818e unrolled_ast: 520d17d1887984a3c0fe31db6f1fc7a44db23e54f3a4c567a3b92e758752818e ssa_ast: fec84b6d5ee25d358255082979d3560507d61937d355bb6aa99016f590106e3a + flattened_ast: f06af7f99223e797e19fbf6b7b1ede1172b559a57ceaff9d64aa0aa891052b11 diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index b2de9a58d0..906d921e32 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 07acec7a5e59d913d7516f4ca72e6d387a45ecbfb9e1c5078a9de6785b4d222e unrolled_ast: 07acec7a5e59d913d7516f4ca72e6d387a45ecbfb9e1c5078a9de6785b4d222e ssa_ast: cf82a2ac34bab5982262f62dd5c0074c899af73c95c6ac10aa9a510939bfa6d1 + flattened_ast: 56308a94774350b897a25a8da1cf6a294deca062c04f15121e72a9c07d50753f diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index aff6a1622d..e62716780b 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 237489b87ba2620d70b9ca96434b05379ddfb1f6e4f2be90722d224f1678a5de unrolled_ast: 237489b87ba2620d70b9ca96434b05379ddfb1f6e4f2be90722d224f1678a5de ssa_ast: 654613970f0a3ede709cd5ba8c3ec21aaf3ca90713b9cc39ce4d8e7ade3473b8 + flattened_ast: a44678b1d7e18022c884fb8d08eaa48b46ec6125da2bf4f4f31c06afdee65141 diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index d86b365fb6..62aa93e683 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: b3562ff942e5c1fd2b1a5bed5221a9c8a2533a2a35d6677ff304adaab8511abb unrolled_ast: b3562ff942e5c1fd2b1a5bed5221a9c8a2533a2a35d6677ff304adaab8511abb ssa_ast: bc095233b18a20b09634058c9c524fb51650fba5e93781d3889e680d4be554db + flattened_ast: 445aea2bae79f27ff696cef0a5a2ef888e5bec3fd7ce663a6523f42996c56dae diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index fd1b8faf77..3ada233d54 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: b7c31aad15d7c2d19d012bb5c6c8612c49480a4fe9702d03259be0728a2caf13 unrolled_ast: b7c31aad15d7c2d19d012bb5c6c8612c49480a4fe9702d03259be0728a2caf13 ssa_ast: d519797c45466064e2f45488cafcfda38ea7d3f6cb77be2783ebbf013f629f91 + flattened_ast: 553730d74331d7af3fbc5a3b7adda497a313e3a5d2f187ff164044ef875a419e diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 260848c062..8f4b076e09 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: e8f6c132362f1c42bab2c00dc5538262f76d183190a52d82f8c84ad7995820f9 unrolled_ast: e8f6c132362f1c42bab2c00dc5538262f76d183190a52d82f8c84ad7995820f9 ssa_ast: 72b766ac1c204562ca6ae2575ffb7b599fa96ed7c9b2a783e12a1ac953799530 + flattened_ast: 5c8f487fe785e075db2a4b10a7f89749b168f18d047df0b164bf3ebd3cca147a diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index 8f517e19bd..e781238b95 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0d9e14cd0159933ccf60dfa61744b16563cda81959d0f19aa0e395bb97f75abb unrolled_ast: 0d9e14cd0159933ccf60dfa61744b16563cda81959d0f19aa0e395bb97f75abb ssa_ast: 2f7bd60062d631b9301422ded23b43447185f38637c419842e330b613fd20c97 + flattened_ast: 4e673f64dbf0442b02c445478977c5da232ab9e3db977670f13d9e9ec44d5d4b diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index e795c6248d..0e48c48201 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3c821ba412291ba1a0c38e6dfc34b1f08ce058fc079b971201fc1d89c59d5957 unrolled_ast: 3c821ba412291ba1a0c38e6dfc34b1f08ce058fc079b971201fc1d89c59d5957 ssa_ast: 087e18dcadaf7dfe17934ba525b6abe71025208be180b8798476e1a62b3a63f0 + flattened_ast: a4f50e752abf14cc596b592e7109183b0465dbf02b38a9559e345138d6065a38 diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 0b6ca631ce..fe265bc3b3 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: ed69ead35141fbef6b7340139b72e358d29a147adf759c67e1f92d090f8ad5ff unrolled_ast: ed69ead35141fbef6b7340139b72e358d29a147adf759c67e1f92d090f8ad5ff ssa_ast: adc69234798385572f333a1591a11d8ece2f45f825c12f03bd61bc0875ac0b8f + flattened_ast: 6aebdafd0be10dc394a3007c76e38840ac1c4aeab29f6d32f1c5a82e7847f542 diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index 686332efd8..08e1699c74 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4d7d11aa9043eed2e281f7920777f4ebb12f18868dbec33f1785f347dd465cc5 unrolled_ast: 4d7d11aa9043eed2e281f7920777f4ebb12f18868dbec33f1785f347dd465cc5 ssa_ast: ea227f0b4e2725282762c443fc22fe7f14bec54f1f29acaf17406f27838f4b69 + flattened_ast: 8ba7b63006d028d1de978a73397be7e6127f69f1e834f671f197fa5a53c81a59 diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index 18edbaa5fb..126ec20168 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7354f24660eae499ce2ae892cc5d173608a1fa8e4337d0ff6f86f3bbb2c6a9d8 unrolled_ast: 7354f24660eae499ce2ae892cc5d173608a1fa8e4337d0ff6f86f3bbb2c6a9d8 ssa_ast: 3c9222dd72ceb1df9929d69f6b3a3c3a813a4de4f3fa3dc6e35ac6411a532ff7 + flattened_ast: d3b6e6a6a507eb1d9013fd319d1e4065efc42bca84cc64a98ba4e052dba32775 diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index 2adeb79283..eda65a099f 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 34f7e6a34750a431929a423f5fff2966d852184b57c9d4c1ef50846ce7e20099 unrolled_ast: 34f7e6a34750a431929a423f5fff2966d852184b57c9d4c1ef50846ce7e20099 ssa_ast: fa4d2fef310a03d640f454b30a834cab404b8d3e86a8cc1dbd384519b56a69ab + flattened_ast: 8f3ce256269ba117e2690ee1e2e8f9b8d2bfdead50396422f00bed612e274355 diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 4e6ed77533..212933135b 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 8841a0ef40e3fc5570c946012a6c6f67821d8628f2412cd5a2e82e7838940f82 unrolled_ast: 8841a0ef40e3fc5570c946012a6c6f67821d8628f2412cd5a2e82e7838940f82 ssa_ast: 019a97a2d47794b09b004df5722be19db0f41830fb293076cd1e6fd8128dab9d + flattened_ast: 86e978ad9bb1eb8d53761e7bff5a8580f9a7490363fb8ad5e6d043d323a67f9b diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index 67e9065366..87530fc328 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 7bf5ee0e13ce36649c90fa5b69be1b36f52c61416887d334925ecc9821287534 unrolled_ast: 7bf5ee0e13ce36649c90fa5b69be1b36f52c61416887d334925ecc9821287534 ssa_ast: 15e9953709681cecef3248d00c49a4e80f2cb1661a261446869c1acebe4325b3 + flattened_ast: 71a182b2874fc7f5fc86dcb32e5e9b684f890e981cb09699238817c19c905d7f diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index 1aceb0e5a7..a1b286570c 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 3c991edc30bf4d8337c64750e4be4799b58d066a2c704f811d6c285042d2bd3c unrolled_ast: 3c991edc30bf4d8337c64750e4be4799b58d066a2c704f811d6c285042d2bd3c ssa_ast: 79c7ac63ae4665295dd03a0a7c596da8d12dbd06db7af8a077f82941e4fe3991 + flattened_ast: 9f6fc3150706621c8b2a4ba709014dfb590ab8e73b084c008a971935a9cf5a7b diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 4da735ac17..38f9b7b778 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: c4527c820a17783baca02bfe90db98cb0020a0b3a934c353d214e9d529f645f4 unrolled_ast: c4527c820a17783baca02bfe90db98cb0020a0b3a934c353d214e9d529f645f4 ssa_ast: 28a9e6ddda9e809ee33061431926c579e3b42ba4fa6967aeff7946e7d0413540 + flattened_ast: a566375cfac11744cfe1cb24773d151b4d1155487baa13a00e841334f7d9ed0d diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index 66e8cb1053..bfa08f974d 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: ff93a7f9278e2d557572b7c0a7bcacd6ef7a867bf48670eecc3c225980679ca0 unrolled_ast: ff93a7f9278e2d557572b7c0a7bcacd6ef7a867bf48670eecc3c225980679ca0 ssa_ast: a7f780cdf763c765d78826b1953e0ff402d7a5aaaceebef8e2a7c52052c9e31e + flattened_ast: 28c9335238e040c423d8707301cb3f8b06bf3a498b2fbe2d96961fc173cab0a9 diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 55f0a7e30b..a2d6b6426e 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: b01329bc13769e5414afb741035cee67b46e81f09018253c790e5280ee5e2ed7 unrolled_ast: b01329bc13769e5414afb741035cee67b46e81f09018253c790e5280ee5e2ed7 ssa_ast: 599d9fba099689c0fa06938fde6208d09c05052f572c7ed9699bba9419e1fa61 + flattened_ast: a9d50e5ff40be3c9588d003fe618c2b85c4dcca8fc449273a781616c064d1b7c diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index 4846c0c3a8..ba71c1d618 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: 71f1744ec0ae302b38ce08d43867219baa2e0b1493e28feabc6f8f9d3822d6fb unrolled_ast: 71f1744ec0ae302b38ce08d43867219baa2e0b1493e28feabc6f8f9d3822d6fb ssa_ast: dbef80d35d5d09f8e544fbcecf312cda8453768bc2d98d9ae87b7fc2fdbe9f8b + flattened_ast: 9557009bdfdeb327d5c196f8974c4f5d0510fdeaede335c483fcb6717cf8df70 diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index 78e34927e1..636a4e026e 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7a366643df9c81f72e1b2686b865c9fca315918fa89bf41301d7272a02635976 unrolled_ast: 7a366643df9c81f72e1b2686b865c9fca315918fa89bf41301d7272a02635976 ssa_ast: 9c883ec10646722909450022ec413085995a5c7333c52274affc2ddc767ab508 + flattened_ast: 13511db63168717c653afb174978b2389ec6bdb584b75ab2775c1c33d3f7b541 diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index 0067b36393..a0bf81e8e7 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 1e0d2e009848146e75f4255096c405bf468da26a2c013963d71fa79b35b900d5 unrolled_ast: 1e0d2e009848146e75f4255096c405bf468da26a2c013963d71fa79b35b900d5 ssa_ast: 924628431bb1a8978f90d2af3cef6b96774d91f6259129feb9b7111a1c338a57 + flattened_ast: 53b48c015073e596f72bb14f4bcb40d935da4ecfc2d06103786d84fcb5b67b43 diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index c6ed65ddec..fd686edb16 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -8,3 +8,4 @@ outputs: initial_ast: baadf73460ed8607527fd52fc407ce6dc957456c27cdb55e8e42f2c7edaea4ff unrolled_ast: baadf73460ed8607527fd52fc407ce6dc957456c27cdb55e8e42f2c7edaea4ff ssa_ast: 4d265aee02fcf2119fe90af1b3f57a83ed017c17c64a53ff0dc63366e162d8dc + flattened_ast: 57c62e546a6ee2871e188ebbb22d4e3d62293c61c296d2142d4f53d7bfaceef8 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index abfe31120e..1ae2f119ca 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: a1a0654b33bf148052508750d1ce303ab14bd9d22ef2299b2a84b1674db3b9cd unrolled_ast: a1a0654b33bf148052508750d1ce303ab14bd9d22ef2299b2a84b1674db3b9cd ssa_ast: 8d6cf305a923a510639382e6b4b609f4d84653b83fe963d6ce18f9ed40d5f826 + flattened_ast: 5db5b60076df90e42b1960924b0a50fad645d3c071b927552bf0e0c350f0542b diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 4c519eab73..f905c8b545 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: d700e8f5b82f4fe8ffce7385431388213846bbb41bb6538f79ffe9ea11a17b1e unrolled_ast: d700e8f5b82f4fe8ffce7385431388213846bbb41bb6538f79ffe9ea11a17b1e ssa_ast: 761ba39cbbd21b59747afb8dd85739f6b3848cd82fa70bed3ebe6c4609dfca9d + flattened_ast: fe44d4836139587e1f95dd4d9d1167edf652d45cdd4b98cbf70bff3126b3fdd9 diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 91d881e8b1..a0beedb229 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 550ac16da176ea8343a0d8e82b64e824dca4c941c8f036e1327cbdb69f2bd95e unrolled_ast: 550ac16da176ea8343a0d8e82b64e824dca4c941c8f036e1327cbdb69f2bd95e ssa_ast: 8028bf1ab2b76b5242674ff38ccb382bd43373b85db5f0e3667d314f93521499 + flattened_ast: c952ef1cb5dc0078f7622115e88c56b34c99c1170b901aa21a1c6d1d58dd7b4f diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index 43b1ea88bd..7944ffe33e 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: e25c2ee0509a869bec5efe5239de8b651744f981955cd219b9821526f95e2d32 unrolled_ast: e25c2ee0509a869bec5efe5239de8b651744f981955cd219b9821526f95e2d32 ssa_ast: dbcdc1fb76b7e029961448f10ba9e5ad0c363ce08a9a93dc183a945b8fe5a9f7 + flattened_ast: 06660fa822d9013ac2b0873f248ae846d035be12ebd40b8822122a41e8ae3fef diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index ae0df7ac49..12ea3812ba 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: c068fbf1ed6abc29225dd7484e17b9685097856f69a2c74b1db5af577ef07720 unrolled_ast: c068fbf1ed6abc29225dd7484e17b9685097856f69a2c74b1db5af577ef07720 ssa_ast: ad9ca424913b945609dab5abd39be7cb2ac743341c8b8b9ddb73384e9401953a + flattened_ast: 2334d0cad4199026dbb13a1c14c1f48d1fe5fe4ca1c3ad15789d01747632329e diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index a0710a6d63..e2f666528e 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 00eebe1581eddfcb7bad88ca1b27aa6ea48c790747613f76e89c1dd1f4e644d2 unrolled_ast: 00eebe1581eddfcb7bad88ca1b27aa6ea48c790747613f76e89c1dd1f4e644d2 ssa_ast: a34de3d0c75b9f38f242047bf5956ad7e2546f104b12ad2dc538bdeed2942833 + flattened_ast: e60be342618ae55afb6ee91403e00c0457565f7a84b54867e853221e654d80d7 diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index 5ae30b7333..bfbee68960 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: b2a36341fd877c3c22be5db1478f1e2a0b125588557ca3c14dc158d6cc2afafd unrolled_ast: b2a36341fd877c3c22be5db1478f1e2a0b125588557ca3c14dc158d6cc2afafd ssa_ast: db6b17d451e3a9e3cc459121ab7b1b46760569699ea35649422accfacc103764 + flattened_ast: 32550619279afb2bbf27f1b6b9e4111c51488d14e726e187702fc7ed1dc90db0 diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 73d8516027..7105a79d95 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 36fe0ff1953ddd531fe582f11d315b6707097e5a7c50f4e21ce6de430bc17671 unrolled_ast: 36fe0ff1953ddd531fe582f11d315b6707097e5a7c50f4e21ce6de430bc17671 ssa_ast: 2687c11fc85b64c0aa4093df9ebf0c275d85591ec7ccca73e2791e966757ad6a + flattened_ast: c3d4ad65d9894e13e5b120014d65186f45b65e22d14c2ebe8883f2296e6bc3ab diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index 52823c76de..f57e6612a5 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4f6f6d6b9a336bf8d3727f31ca066c85f32ab0e8da11564e675c6eda8539113f unrolled_ast: 4f6f6d6b9a336bf8d3727f31ca066c85f32ab0e8da11564e675c6eda8539113f ssa_ast: 618171dc7b881403f32b30d244006611a7ea20122fa7fd4dea896ca66d9a591d + flattened_ast: a25808eb5ad6a11489c002aff080fe1fd0c22601c2868dcea8a48ab1a4e10d97 diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 53fce87c02..c516e63034 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 3e4f34c9da8ab335e8525fbcad51227d48d6b9058b4b5de6a5610a219aeae7e8 unrolled_ast: 3e4f34c9da8ab335e8525fbcad51227d48d6b9058b4b5de6a5610a219aeae7e8 ssa_ast: 320088bda618271657121200f021d23b7ee6394f85bbf16cb308ce65d76be807 + flattened_ast: a388877c6fa9c1896463dde103018732414df459401aed48422483a36a3a5a3e diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index e9b6e0a747..8a50020d4c 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: db3c56efa3db54e9c2d29e2e94fa870abd19557c3c1f3698e4107fdf45e33209 unrolled_ast: db3c56efa3db54e9c2d29e2e94fa870abd19557c3c1f3698e4107fdf45e33209 ssa_ast: c20010ac9cee1b2057a6c9acb3fef9f2971312742d8a19b6346da669615cc160 + flattened_ast: 76b721a3d05759980bb0d912b7cdfd05cd755f3b2ab96f4f1fd94c8b83231a93 diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index fcc36a2b83..6d4f8c2a83 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 9304396f0dddafbf0b09964b4530c165403bc730d1028f9019d16fc34378f1c8 unrolled_ast: 9304396f0dddafbf0b09964b4530c165403bc730d1028f9019d16fc34378f1c8 ssa_ast: b5fcd2fe699b1fbaa5602e359131a952d16a84080313c7996977189c9f612c27 + flattened_ast: b9dbdd5f57e5bd78f01af6b61571ec701ecdfbc9f6c04bcde8aa5fb92165dc36 diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index 401adff0ce..b2b87409af 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: c8d397cf0c7c80de2fb8e9c41670b214f3e524a545c8bb231bb3641a105fc03d unrolled_ast: c8d397cf0c7c80de2fb8e9c41670b214f3e524a545c8bb231bb3641a105fc03d ssa_ast: 1382eb743a681ff32e2f48bfd21556e6a76b2804623ba72dca1624066a5bffe2 + flattened_ast: 91ad3e4002d6cd4be022c4c704aec05b0b066af550b467cd70fdf2e488322f8b diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index c677cf2e23..7f8147755d 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 54a34a64256292502b5c7122180c29342fde38cb4993959605cc4660ea2a5ac0 unrolled_ast: 54a34a64256292502b5c7122180c29342fde38cb4993959605cc4660ea2a5ac0 ssa_ast: c4695ea5354a1204dd2699e9ea9c27d639f0bcfe1655b4993530e990c3132f66 + flattened_ast: 24d6cdef5b2b3bba250d3ae7c3c240300009057e52681744b87dbc0eb3200aeb diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index 303106e951..54ceab324c 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5b555a94f29af202209e29a7d5b6a326c78eb71925d29e07db51ee24ad8210f2 unrolled_ast: 5b555a94f29af202209e29a7d5b6a326c78eb71925d29e07db51ee24ad8210f2 ssa_ast: 3340e17538b5de99d95c8db44097f867be9c87da2fcf2cf5c6c3e09b84d3e16b + flattened_ast: 49df110d0f883f14ed1efbf9863e2c32258a15d539bc078b6ea87e1422cd580a diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index e63bbd335d..05caf63975 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: ec03fb4f0d49bd5420bf2160ce0ab4b60a35403575d6d3597615fe5e3885a7a6 unrolled_ast: ec03fb4f0d49bd5420bf2160ce0ab4b60a35403575d6d3597615fe5e3885a7a6 ssa_ast: de99f7648e984b88bdbf06a46852852c91f056737c37b82496ec6e084a7416e0 + flattened_ast: a015cfeca12d318986d19dd605e93b55bf0d28cba6672644ae153e1a27066643 diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index 72965f8641..c2fed81cce 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: cdcfb21a597793d5452ca821890f25af0c4806e0456bdef1cc7ee7aaecf861e6 unrolled_ast: cdcfb21a597793d5452ca821890f25af0c4806e0456bdef1cc7ee7aaecf861e6 ssa_ast: d7c14fd2bd128b50976ccbddb878df72aa0971db4f1d0dc82a56ebe9de7f156d + flattened_ast: 994e0d43e0bff1163ffcab11ccda04d929f89ab8ef5bfff1cfb37c2f783b0548 diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index 6fc4bb73ab..537b4ef15e 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: f237b9f78ad01822e6f2eb4149372e67cdef493ca11c49b234d19adaf927c739 unrolled_ast: f237b9f78ad01822e6f2eb4149372e67cdef493ca11c49b234d19adaf927c739 ssa_ast: 3d45cc3f00ba7e974642894fe5ef11d053663218907e58921901b2fbf46c5312 + flattened_ast: 9b0d300ed202c6e25a027fc70d0863c00868c4e255fb037e0846d7b0a2c434ba diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index 8af43c2da7..dbc121c2aa 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: d95a9e41c9283eeed9e89ba1cff9d1796ac7c1e1403b507314e70b68f54d35f8 unrolled_ast: d95a9e41c9283eeed9e89ba1cff9d1796ac7c1e1403b507314e70b68f54d35f8 ssa_ast: f15558ecf772685eec575bab755be21c469b693976f85c428ee3f2a0e8a6b25a + flattened_ast: edf07e01fbcd81c2a72c8b6c602432cd13a7ebfc15c8c424297e1f6a02989da5 diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index 52ffbf011c..a48bc76aeb 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: dc5f476bfaadbf0d8f2202eb8bda63faaf3a3824a220c59a2bd3972167368715 unrolled_ast: dc5f476bfaadbf0d8f2202eb8bda63faaf3a3824a220c59a2bd3972167368715 ssa_ast: 45a3e9d869d40de10a669cdccb0b5da9a62ef1798eb3994d63c9b04e0ccc34d7 + flattened_ast: 45475081ce35ce8a34a514bc2c629b01dad0a5bc76b5691ab09d9e2f73407d46 diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index ba132173cb..e881f14d16 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: c7f6b4e57a9195a22b1d6b6ef0c2fb6d7be3bb3edfc2ac66d7e6b8f3a15e3351 unrolled_ast: c7f6b4e57a9195a22b1d6b6ef0c2fb6d7be3bb3edfc2ac66d7e6b8f3a15e3351 ssa_ast: eb5085fc2cdcca3824baeb2dd020516a9ecf464d510875c398cfa795f96f3181 + flattened_ast: 78625a40ad51ff517f43300ee14becfb42ca616c56bd194a1f67e35c2e1cb7f9 diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index fe357bac5b..86ac8e7f3b 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2eeec4d295c0bd9a4c23659a7bd987caed7d858e8b49c73853e01c5d378d09ca unrolled_ast: 2eeec4d295c0bd9a4c23659a7bd987caed7d858e8b49c73853e01c5d378d09ca ssa_ast: ddcc28efcb4032bc7e22e73a91b21ecd5ea7125da0a6600db36b47ca9980a61d + flattened_ast: fd09ec6c1cefeba4840eb456e5d9e1dd0fa8582062546abf028f80cc2ef7c3a5 diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 6c02e26920..822cd844b4 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: f846bd71c227cb22f6619d246c520c55cd5c858d7d74a147d39ec0eb5f6da1e2 unrolled_ast: f846bd71c227cb22f6619d246c520c55cd5c858d7d74a147d39ec0eb5f6da1e2 ssa_ast: 5dee4775895ad213686631b4539d27d0d25b414da7a90fd98cb7ce700bd9262b + flattened_ast: 8268ceb23538156e0115f11b797151d938800382e6d2c9182a457bef3ab19570 diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 0404177759..173ecab332 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: ca4037a3387ab2996e307eeeff8d332d5e69b52141965e83ec059564660aad84 unrolled_ast: ca4037a3387ab2996e307eeeff8d332d5e69b52141965e83ec059564660aad84 ssa_ast: 47f8680902aab8951310b318687af96bf236deb89b55c2cc53809409ff3700c4 + flattened_ast: c4936443eec9d142fb561d8d8fed24970a072302bfc068295fb7b4c0d128ffe4 diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 9ba441aec1..24d68f839d 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 3d529a35959d5d8c37fe7488610a36f2b8ce8367284191bb5579e0784288d2bf unrolled_ast: 3d529a35959d5d8c37fe7488610a36f2b8ce8367284191bb5579e0784288d2bf ssa_ast: 7f08edb14a688c0203ff0df9054663ac422024e3b1f455c49efb931946ee3c14 + flattened_ast: ee696f42e559a19739f4d80c4f72f5de9e09e44d6642ff58509f3bbf46bfa525 diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index dffa4bb547..66f19b7968 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -8,3 +8,4 @@ outputs: initial_ast: c0c764a3b75cf1fcce95c454b3af25815bca185b2a7eaefa5040bdc818093bbd unrolled_ast: c0c764a3b75cf1fcce95c454b3af25815bca185b2a7eaefa5040bdc818093bbd ssa_ast: a8df9386c64686a3ed340424bc3b14267ac582c459c51322550d98f41d88329a + flattened_ast: fc5cfc60876b8e400a93fbf1910b0e944f1254e9709350d60fe0f1fe03254c78 diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 9fd222744c..aa5ca2cd15 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -7,3 +7,4 @@ outputs: initial_ast: 28b740c1538a4da336c0b6ac9f35c6a8ddedf65cd5548786e7cdfaf0073ecb5d unrolled_ast: 28b740c1538a4da336c0b6ac9f35c6a8ddedf65cd5548786e7cdfaf0073ecb5d ssa_ast: 14ed21816288456b4c5361a6ebcb4484df087fef49ae7602bb76c15bdca92139 + flattened_ast: 57a9b789b180544563032d524aec03f0d96bf568f28417ed8b924316c6fc3de6 diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index cb3fb7bc5b..28be4817fd 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -7,3 +7,4 @@ outputs: initial_ast: 74cc2ca4591a14fbdad57f512eb6a3442062b0968480ebc395d6968329b9ecfd unrolled_ast: 74cc2ca4591a14fbdad57f512eb6a3442062b0968480ebc395d6968329b9ecfd ssa_ast: 1b52523ce1d32a92d668fd4dd4ad0161acc2b2f7c69c6375c6aa49a3a385f0eb + flattened_ast: 86aec335d69bf6ef5a23ad10dd3a070d2989e22accf986f88ee7140ea2e45cc0 diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index f9841692e6..024514373a 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 112b35498e1c800ea5a50c823c5ac30cf80335d26edae3cd157d15923bc79db0 unrolled_ast: 112b35498e1c800ea5a50c823c5ac30cf80335d26edae3cd157d15923bc79db0 ssa_ast: 1e698b1f7d5367ced9d01d94e9313081c63f164fad1e73364debb380e4f83c59 + flattened_ast: 4ea6e31aab70f170545a45b78600923ddaf0ab3701a96a2f6f654cf4e6e6266f diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index b85911d8ed..eda22ac7f6 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1f0f236914057ac4196a1408b1154b1f1192a5f9e6342fc5e466938df18066b0 unrolled_ast: 1f0f236914057ac4196a1408b1154b1f1192a5f9e6342fc5e466938df18066b0 ssa_ast: d3cc8559d9d0ca12af7cb7346d922c35657cd540855f2c9275a4e4153a598e0a + flattened_ast: 12854ebdd7d4eec141f6acd0ece287f17a1ea39e48abeea17c81e5586896d224 diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index 3e8a0c2019..b39a1058eb 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5c740873b56c0065acbc799175895643f3e8a1669dd6ecd77d246bbc0eef202a unrolled_ast: 5c740873b56c0065acbc799175895643f3e8a1669dd6ecd77d246bbc0eef202a ssa_ast: 4c5c5bb76ce8e24bcaa905bcf07c4e8e57d0f49d9c315b1e27062572dc58561a + flattened_ast: e2b0ef09d289122e93f2ed202d3d558edfd8bdd93a4b1aa8fcda11df9f35f45e diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index a0072f8550..8c45c18521 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7e404a8f85e1274cc2a95950de57246e242efd599f31ea9a67f38210f353ed3d unrolled_ast: 7e404a8f85e1274cc2a95950de57246e242efd599f31ea9a67f38210f353ed3d ssa_ast: 19f6eed4266839944bedfe3c666b2ffcb19c09da0d3da51a446f37ea5d4b70d7 + flattened_ast: 4843ded4eef2e3aa551ff5cea6cc162bb7d8c875be9b0f2d054f439f96e83f07 diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index 0b6ca4f230..f89447d2bd 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8ef040aa64559ced49468be313e94dcc4d30e56c65b713ea644e4b6e2702dbb7 unrolled_ast: 8ef040aa64559ced49468be313e94dcc4d30e56c65b713ea644e4b6e2702dbb7 ssa_ast: 3970ac9f20011100b4242e2bf633a2461a2a5dab56f81f078a2d017b1518a77f + flattened_ast: f9c117eadd106531e47b5c5f1a26d440bf2888989319e91579e948042c852c96 diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index 0c56ab440f..3d17b39d25 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 37e1a096337307f274740afd5e9ce826a761a068ecfc7f63e39d95eadf284acf unrolled_ast: 37e1a096337307f274740afd5e9ce826a761a068ecfc7f63e39d95eadf284acf ssa_ast: 719708c4e865a288aa7f15dcf9baead64cfc559a417172267f0499b7085fb032 + flattened_ast: af745740c08ea13ffa601ee2815d5ff44210430ac5964870f48c73385a23c2e8 diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index 408b1d6fa4..4ecde7e2d0 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 50fe96b43e82585c75eb62fb895863fc5dfe15949e2e1f034c73d797701980f5 unrolled_ast: 50fe96b43e82585c75eb62fb895863fc5dfe15949e2e1f034c73d797701980f5 ssa_ast: 032839cc7c893387fda5ba23f71309e253373bae521bbc5e191377ddb5cc55d8 + flattened_ast: d82d50f8d81147580299fdd4cc9e21ce63dec070393b61d8e5408eb6dcb43462 diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index 68cfc68278..01b6ec556e 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: f836742effb62ba99d1b5b95456220a8c3e141dc7dc4fe2564f0ee66031a5795 unrolled_ast: f836742effb62ba99d1b5b95456220a8c3e141dc7dc4fe2564f0ee66031a5795 ssa_ast: 7aa3d00209ef8a8d8211a90aa6c25605c7423e24794ec25df083369bffece2eb + flattened_ast: c8695eac8658658ab31ea2d5790fea836bce9f7afbbfb0a8904fc3b0f463838e diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index e12688558e..497bac0792 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 335f231c457b9c34ad49e5c8b8fb3de9d871b8acd600bd176834895fc31f47a1 unrolled_ast: 335f231c457b9c34ad49e5c8b8fb3de9d871b8acd600bd176834895fc31f47a1 ssa_ast: 0a72ad0882bb46d7476d5b9364db843180e2540d5a68b079b97600f6c3707302 + flattened_ast: c256408102053ce1023316ce33d02e056635e0be3bb6af3f2031086eac2d308d diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index c39e90ff1c..d45c4c6da7 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5bdf744cdf49a8633433cd2dbbab0489c2e3f712e715b52243fed209e6cf2f68 unrolled_ast: 5bdf744cdf49a8633433cd2dbbab0489c2e3f712e715b52243fed209e6cf2f68 ssa_ast: 1a919228cdc0d77d8ca55af2c5c258dedfd8e0bdb12af5020e2a658f6b5c8560 + flattened_ast: c16e9786c07f2cd99f9cc0951f98483a1c0554f5b9c1407a2237d815c6627ecf diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index 6c99d31f97..e8b78fcff9 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: b929ad5e2615cd5a2b162156bd6bd5f2abf3f7cf942fb428b83bf0690d6be267 unrolled_ast: b929ad5e2615cd5a2b162156bd6bd5f2abf3f7cf942fb428b83bf0690d6be267 ssa_ast: 89564ce3d35bf5ab99131fa48e0b05ce52be18d2e496cad8c09d552805f40edd + flattened_ast: 9389c6376b07d7ee2dbc71e748c69cc9afbcc80960a2484828074bbee214717b diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index 50a31ca2ff..f4c99f2b9b 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 653b6cedfac96f1f08d918d19afce6ba199d2427eda1137a49fca868fa543c16 unrolled_ast: 653b6cedfac96f1f08d918d19afce6ba199d2427eda1137a49fca868fa543c16 ssa_ast: a054461f29f32cf6b0581a94c59860e7c411ce41791aed2beb7002904765bd07 + flattened_ast: ac63f757eb5252910849c9bbd2575dfc35befa24ef2108abc83186431ef2d224 diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 790ab10c96..42dfbe5bf6 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8e16b583ae18ce13ddeceefa7133caaf000d7366d01da00b3cc8f76f87226763 unrolled_ast: 8e16b583ae18ce13ddeceefa7133caaf000d7366d01da00b3cc8f76f87226763 ssa_ast: 9112d5cc1be546f946fcb3dce468299fbe42e1670bae6bbce2829b11794486f3 + flattened_ast: 907e2d8acacf21ee1da5dea2c4713866eb0f8737ad7dd3d3452485643b8294ee diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index de3b43fcf6..b92f45a617 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 74e9aa8322108369805572c431dc7937f75573ac92d33552506a22fd12ea906d unrolled_ast: 74e9aa8322108369805572c431dc7937f75573ac92d33552506a22fd12ea906d ssa_ast: bf9e407418196b1ded83ea87bb750dd754f93081eeb93d7f06a2ca14c57fceb8 + flattened_ast: 608c4bd69bc9186821a498148b9bb98c2bc2450ba9dc9fde15f95d39fab005ba diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index cf5759541c..32d933b31a 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 86fec36d4e87c93893ef20f93a409a3e9d7a9fa038a2bbd2116c7a7d8b0af95c unrolled_ast: 86fec36d4e87c93893ef20f93a409a3e9d7a9fa038a2bbd2116c7a7d8b0af95c ssa_ast: 70ba359e0e4a81d84a6bc482086f795f59c327156a900d4323ba8a1a98805935 + flattened_ast: df686d851f53bf4690e516fada19137335cb4cfcb253494f58eaed93ea8952ad diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index 906a5a5a68..a0f6f46431 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 6737e76a6de9664f99273812d243c4065f04a173ff124bc68464645a15b18d2a unrolled_ast: 6737e76a6de9664f99273812d243c4065f04a173ff124bc68464645a15b18d2a ssa_ast: 48c9979eba44e947f97d434db941f64977b050d348364411b866f3d252d11008 + flattened_ast: 403d8064980969dd55c4d531a13934da15a66ca4a3863ceb2ca9e5c55c020536 diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index 215f42dc07..68979baa69 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 063369c9118aa16fea168149dc4dc25c18297fb7fd8374856c4bc1acfdd85f2a unrolled_ast: 063369c9118aa16fea168149dc4dc25c18297fb7fd8374856c4bc1acfdd85f2a ssa_ast: d19ab13fa070601b670fef21f7eb889b1c6d1064aa595145d3bf334e0292e833 + flattened_ast: b43a8ffa5c09369ff37c2964b5e7242f2c53ab5a2bed5c985728eb67bc4069c6 diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 069d9d2143..1abb161d1f 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 5a72ef6ac4d73aecca590d1e4c5d11d52d4cb72d2c4a2d479bca5b302c3e7b9c unrolled_ast: 5a72ef6ac4d73aecca590d1e4c5d11d52d4cb72d2c4a2d479bca5b302c3e7b9c ssa_ast: aa7c67e26d224cd8460da8151e6c29640e0d9a991e19001a19667f020418c772 + flattened_ast: 6ffb98433f47f0ebef579f363979c39c366a81863fc019591f9c736d51691eeb diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index c5149fe7b3..5d6caaf8bf 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3ecb9b7a2f7d40d497e1fd8ad78143bf827d85fa68efc180ffef80a8998165b2 unrolled_ast: 3ecb9b7a2f7d40d497e1fd8ad78143bf827d85fa68efc180ffef80a8998165b2 ssa_ast: c0fe000e5fee98ec3e444e96237b189cadf0edb8bf122a995fa5b2853b310b8c + flattened_ast: 13f00ebdf1dc0bd0847cb9c2702c1622e88a85d0c05c2f9cf9a02664174d550d diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index 02562254db..16fc5ae2c7 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: a2f736980856f1c00cabbd84496d5a8e16a051bda984e873770a7975c70dca2d unrolled_ast: a2f736980856f1c00cabbd84496d5a8e16a051bda984e873770a7975c70dca2d ssa_ast: ccf65b6790eaa79262f765a3db9472ba9b2c1574d5664ca24d678ff60f320501 + flattened_ast: e3180b0448d397d9f02d9660a8bca9287694e1b928dfee6bdaeb1b0964736ddd diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index bd9d438068..2cb86c28e8 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4e3523d4063efccd8f3451a82e75b3338f5ade4ed00da00a3fb202e0417e2e2f unrolled_ast: 4e3523d4063efccd8f3451a82e75b3338f5ade4ed00da00a3fb202e0417e2e2f ssa_ast: 22e0a2ab5dbaab0730b73c148bee14f23f376d244d448171eb9876d88ec239a0 + flattened_ast: c16de4c75bedbd33f59f91a135427255ce963151cebaaaca244223320b0366ee diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index dd21b72c36..f6d5e97d5d 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 450e6b6e0a2478b22fadda70608bb1725e6f7fafdebfd5de9960a48b0c13c807 unrolled_ast: 450e6b6e0a2478b22fadda70608bb1725e6f7fafdebfd5de9960a48b0c13c807 ssa_ast: 4bb9da1479846a82c8070facc5cdea582d2b3819e7290361da9b330dd653415e + flattened_ast: db685ef45e9ac6eb52f5a3b980f671e0b52382b13ad52ff23489576201971e85 diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index 1772fd20c5..019e86200a 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 15545e3a078227160f5d8b0e255282e06bef6dc7ce06e7894ed1e4adfe3bccc6 unrolled_ast: 15545e3a078227160f5d8b0e255282e06bef6dc7ce06e7894ed1e4adfe3bccc6 ssa_ast: 4a91e67b5a5dc82eab83b384eb34981e5c587eb274c52cfb2f2651a8eb22cf1d + flattened_ast: ac74116a676e9d3948c4f8cbad238511c797f34087010fc08fbd9c50a7ea06f5 diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 26ba56aef8..e77d2d15d2 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: df1aeda1df7ab7d73835163b051aa80d820940a441b47d2aeca9e82525969393 unrolled_ast: df1aeda1df7ab7d73835163b051aa80d820940a441b47d2aeca9e82525969393 ssa_ast: 4c525c83203bf5021a08f2db736784d30849364b99380bfaf5a5b2555af29701 + flattened_ast: a29799d842c7b1751eb9ea55c40c4bfdf2b4e970636f96e13d5af348aaa9961d diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index 6ed02b4f4a..33425a7890 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1943ce5bfcfd4eb77abab1f8d55a7045ea7e908736323c2f3e175b0b2d0b8f2e unrolled_ast: 1943ce5bfcfd4eb77abab1f8d55a7045ea7e908736323c2f3e175b0b2d0b8f2e ssa_ast: a19741e1fe28d88bbf1b33bf87d7f49bdde31b792aefc13fbc737e2a0bc0f411 + flattened_ast: 5247fbff4bcc102b2e710422a4374dfa9ed20ce77a50348cb46aa611c33bb458 diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index c5517d3ee2..f7fbcb2b71 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 41d140520bc8873ddac0d9fd2051d354fa464e4ceb0fd5c7729ea4fdb5b115a4 unrolled_ast: 41d140520bc8873ddac0d9fd2051d354fa464e4ceb0fd5c7729ea4fdb5b115a4 ssa_ast: cdecb97c93d83e7d0c7a045e52abacbd77e18755a234565e2d763d1ea2f76454 + flattened_ast: b2100c28742d6d61b3120ecc904dd9b12011fd8c88d97ba044f6d92d73564ac8 diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 300c948815..0afb1a23b5 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5723ac7e75cae6613b16de67843ad55eb47aac46dc8bd6169aee684541c45cbe unrolled_ast: 5723ac7e75cae6613b16de67843ad55eb47aac46dc8bd6169aee684541c45cbe ssa_ast: ee585f097341364324e8c711a157e07fd4e19f6139bb510b5d7b89843396208b + flattened_ast: 525480f713a85748a079c2793b9e0e720f6399b6fa3a2cb5202eebcb8e2276d7 diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index f2d5cb7d00..6225c56e5a 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 535283a68472c23ccd432a898e7f11ab9a63a7d84c650c05a91d558db7630d45 unrolled_ast: 535283a68472c23ccd432a898e7f11ab9a63a7d84c650c05a91d558db7630d45 ssa_ast: b748cce970f5a19a046f92b93ee63076cdbe518312b24bc3f40a0f0a87afb118 + flattened_ast: 318a29eae6b9e7747a4a270c2256b0041089a7129be1451cd74ac705acc8ab4b diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index b149ae1cc0..93d254bb6d 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4bec17f5e1d763bfd54e3a5385d33d65ee6b29150d52ab12d3b3c9deae738574 unrolled_ast: 4bec17f5e1d763bfd54e3a5385d33d65ee6b29150d52ab12d3b3c9deae738574 ssa_ast: dfa310d72db320c2e6aeb2e175b255fd0198874b5800871ed6097d9af95395c1 + flattened_ast: 979f89a065c33856983d047841423ea3b9ed3676d2bde65c9a9cc48444cc7ff4 diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index e7b3aee46c..8e204d3936 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 16b1d1767473c1050f87a2629c77a507f3aeef8fc532483e710726272fbfcab0 unrolled_ast: 16b1d1767473c1050f87a2629c77a507f3aeef8fc532483e710726272fbfcab0 ssa_ast: 75b15fc0b07e42c462135224a96cec4297427b6f9293be14c8de76e3a1792d25 + flattened_ast: 2cc6cf40dd0c2c5b3179a4834147d9d9eb834fdb6c3039dd5f3855d391839b16 diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index 79005576fb..e3808f19bd 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3d0c40c0abd918ce25f3eb7368257ef9a5c789f623dbd467b6ebb8895abab718 unrolled_ast: 3d0c40c0abd918ce25f3eb7368257ef9a5c789f623dbd467b6ebb8895abab718 ssa_ast: 473a2bdbbf60a9f849acdf81addb971fe3ebd33c5587b92f48ed63345a6dfefc + flattened_ast: e607d92b45cc62504b7089fdcae883be9654b969c3b3f4a34fba9c02d00ada30 diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index b025fd7f89..8f1e9d107c 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: b4f7209915579965d8629fef7d264ab9a6db17991139136a9da6ef1fdd06e028 unrolled_ast: b4f7209915579965d8629fef7d264ab9a6db17991139136a9da6ef1fdd06e028 ssa_ast: 30da782fed15b01e82c2e317626b5e778edbf624c1cf4500b6d02974bf87c33c + flattened_ast: 0839248fc976cd7b6c90772f2ffbc8253d2b16f8f050345dd17b5298684dbb89 diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index 308182f9ff..beb74681b4 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: ea83800b18fd8c3dc4ee62b2a3d3d953db303df03b82f5d05e9315bbf1e93ca5 unrolled_ast: ea83800b18fd8c3dc4ee62b2a3d3d953db303df03b82f5d05e9315bbf1e93ca5 ssa_ast: 9f169377804c40a402c270cb162cc8773e158ac15e6ca2b7cf6ca47671f1d9c0 + flattened_ast: 757108744ee08e5258c221789cb7aee8de2dd28fb6c820dbfa8b51c5a4ec9721 diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index 4efd0c899a..66ac90e520 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2bbf41ec1360966b7aa93fb1389051ff045035d54bcb52b6d528ec6e446fe1df unrolled_ast: 2bbf41ec1360966b7aa93fb1389051ff045035d54bcb52b6d528ec6e446fe1df ssa_ast: 234d58f730e2308512e3e89af1611e65f0c2635773e6fea2fe73262f28ef86a5 + flattened_ast: b31f837e6e4dc2f99c919a501f0920816d6ad34dfd772bb775e773f5ae8ce102 diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index 45b9b51f68..bd4d68bcde 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: ea9126f707334828f8b6c13f95ad0311df6bbb7c018979541f11feb4eaf89abb unrolled_ast: ea9126f707334828f8b6c13f95ad0311df6bbb7c018979541f11feb4eaf89abb ssa_ast: fb472642368d5d366af08dee3a0e7d9d74be5aecd24199b656e28ce610dc8dc8 + flattened_ast: 20651292d2edf2047ee89030caf7ebdf5002f7a620c427e40c315fe2b8ef9996 diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index 612ec6f943..8ad05321b4 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: bbd62e03475e634f4a7e45df59ced4a65091dd93e1559fa5811b82cf01c4d50a unrolled_ast: bbd62e03475e634f4a7e45df59ced4a65091dd93e1559fa5811b82cf01c4d50a ssa_ast: c3bf47c72a495b924b8e58544f1f2372b13637654746503a2f5dc281778c900f + flattened_ast: 0153c36c324efbebaa13d06e594307b698f062f21cfe64a6a8aafe4ae3e14a2c diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index e2a751534d..159a5ca06d 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 3e6d9ab78d298f3bc5ab51c841d3af97b18d411c00689580b8b9240ce8702394 unrolled_ast: 3e6d9ab78d298f3bc5ab51c841d3af97b18d411c00689580b8b9240ce8702394 ssa_ast: 68b0a57481ddde93e60139a38c632bb96503762625e0b9dfa64430870fcd1279 + flattened_ast: 24e984de3f201e8c776f28b41f840947ca5ce979ab89365a7904b2c94c2e99cc diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index 0bd5edd55f..d71e17477b 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: b998ef1dde25a4884b4eb0843cc316398019155ee1e8bebdd74255a9800ee0df unrolled_ast: b998ef1dde25a4884b4eb0843cc316398019155ee1e8bebdd74255a9800ee0df ssa_ast: bda6e6d08752cebe77c7b2163478cd899e56e35cf5ca623088dfbd7a25b8a251 + flattened_ast: 6f63098650fd259b772acf874cb8c615279ff0df6cb1e7477c9051a4d397826a diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index 21f2d206e9..81076caf49 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: e4ad85c1d6c92b6dced9315bcb29f63213706436e0762ebb39252f6923af003a unrolled_ast: e4ad85c1d6c92b6dced9315bcb29f63213706436e0762ebb39252f6923af003a ssa_ast: 7a2d271aee2d33bb9ba1ffda9401de575bcdaa3153c1168199c646ac7f66e36a + flattened_ast: 006dc9ba47b1a0215337c2d32a54ab95803ab78edfdd7cc398f4bb1a6d7f1a08 diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index e23353f91b..8ff3380182 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: f700f269106557f3b19178ead467c97c7108c8fa1d1d7206634f1f6f6c9e58e2 unrolled_ast: f700f269106557f3b19178ead467c97c7108c8fa1d1d7206634f1f6f6c9e58e2 ssa_ast: 975bdd54bdeaf944f6086d34cd21670724339d9f0a21afc54b24fab8f1e526a3 + flattened_ast: 639b371ceab28079cdcce7b313761532aa9d818a264d9eb13cf77dae00a39634 diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index 786a1c2221..65f75224a5 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: 202c7491464a4f130cb659e4dc6142c6e21b1a04713dfa6c7d86b4044794cb23 unrolled_ast: 202c7491464a4f130cb659e4dc6142c6e21b1a04713dfa6c7d86b4044794cb23 ssa_ast: 2131fd55480c132da17b3a446b0cf679490834d7c7cfe0dc6f68cefd40e9a81a + flattened_ast: 7e0b21175549bd8cc9cd972885798c7657ce00fabac7fa47a58944589e058c11 diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index e967e9172a..776631a307 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: b415d13873eb1cc17992865ce78259a7e3271ab6f6923ca00cfb67bf8fe24df7 unrolled_ast: b415d13873eb1cc17992865ce78259a7e3271ab6f6923ca00cfb67bf8fe24df7 ssa_ast: 629066faf5e7fa7017097bf91d9739d241c3a99608e99b2531d34d25c833faea + flattened_ast: 5a3e037d3dda2046442ccd4c0cf1e2319180bf7ed117f4fde26b753fafd3ab2f diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 7612bd18e3..ae42ca563b 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0e681df6d9e092539e765866341009f73d0354368027dd4aeac4525dd2e9f48c unrolled_ast: 0e681df6d9e092539e765866341009f73d0354368027dd4aeac4525dd2e9f48c ssa_ast: 62ea90ce18dd83d3ef8852c0b1270318e4c357c1f1274e89e4704b06b893f518 + flattened_ast: b2049b116fb08f08d77289f9e1e931ee5acb26fe1fa9b2868271b3372229bbb7 diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index edb2223fdc..fe764e57bb 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 26307654ae642d33863b8ce667ac033cd49642990e90174b8335ab8d6df05056 unrolled_ast: 26307654ae642d33863b8ce667ac033cd49642990e90174b8335ab8d6df05056 ssa_ast: 959d6d53ba04f077571e0e067d68b7137b5aa94ea3788a8d3da0603132e48908 + flattened_ast: 94fcdfa5064857309c1eb2f6a4507edd0be6c0a92051da282ed3ee52ba9d3407 diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index 2fcb2aff97..38f5151446 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: b0b443aaef4d2cfe1117fa26d9503137525af01b34ab7be37dd68e8abbd82555 unrolled_ast: b0b443aaef4d2cfe1117fa26d9503137525af01b34ab7be37dd68e8abbd82555 ssa_ast: acf246305c84282d40f69db47e9d22c94845874177d9187f2b03b94fcfb014a7 + flattened_ast: 578ce6a5f19d5e14604dff30877d3a965d03c96c63ec27abf7182f90bcd1ff32 diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 61c83752ef..da18b7a7c5 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: a02337cd226a571f6fdc41c387fc86d0af78c65051fd38779dabd0de2b197a1d unrolled_ast: a02337cd226a571f6fdc41c387fc86d0af78c65051fd38779dabd0de2b197a1d ssa_ast: 59a2a29e55aa55c3d554c00b2890beb323737b7dc98108fb7575e4994c86204e + flattened_ast: c0f2ab2b36163969cc5b37956e80b3a6486c4426511d8f2f9412f05a824ba600 diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index b1f6ae2546..57afcf37be 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 412354d4c360d5c0793bae8a1a315b6564d2e2d314bfca7d9154811135a08ac3 unrolled_ast: 412354d4c360d5c0793bae8a1a315b6564d2e2d314bfca7d9154811135a08ac3 ssa_ast: cf2d8b7760d382fab8c7e63d1f64fa0e0b4ed43b4d2fbbb20d8a6dd4a916759c + flattened_ast: 00c29cf50cd0fba6048e5252161d69b90abc997dfb8aafb8b17ee285546b42dd diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 94ddf9cc05..f23abb40bc 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2ebaf21c2e1f6ea369fbbbdfd0c3ad6d21d09f9211147b90758fe58238745865 unrolled_ast: 2ebaf21c2e1f6ea369fbbbdfd0c3ad6d21d09f9211147b90758fe58238745865 ssa_ast: 3fb767e8f3f52cbcfb822f299d84863ef87df8121ca08bf306379f5d0c2d967a + flattened_ast: e7709fb3f6ce382e9c22de4f53cee3ec4db0b4b3a6181183239d071d32f1a037 diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 30272ef7e5..1ca3c8355b 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 711ad274ba7b127c8bf886a03c6bee873e7f08b37d5b753624b9a9b40859d6b5 unrolled_ast: 711ad274ba7b127c8bf886a03c6bee873e7f08b37d5b753624b9a9b40859d6b5 ssa_ast: 4a6b3f4e3d438abc460a0b3b12c2039b08b98f4250e432be316db877c7f427e8 + flattened_ast: 5918d6e41dfaeb501863f51da9bb0bed5745096603e45f74d8a33de76d435c30 diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index 592b790866..d9465f062f 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8da7b855489e320189e900fee6a48e4494c45f12101c3af833c805a4d5f22558 unrolled_ast: 8da7b855489e320189e900fee6a48e4494c45f12101c3af833c805a4d5f22558 ssa_ast: eed5a72037b7ee4e9669bb7168631aaf5f67652f5238f81be6743703dffbc9dc + flattened_ast: 96d422f9678f7d5c8d14b1d5900905e9855b20b5028b7fcf58f8de665b49defe diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 14c99dce95..c86644c22d 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 48c001dd70af0f3843c246d3dd5633060dbc441e6bffb0eb39f143ae3eedfbfd unrolled_ast: 48c001dd70af0f3843c246d3dd5633060dbc441e6bffb0eb39f143ae3eedfbfd ssa_ast: 87015f13a0b1d6f3763d5f7358cad4d8851074e098ea2e0ae2f69a9ddc24c54d + flattened_ast: 5c3600e2f8da43c11c438095c56ab984e6c253debf9e8d54f64cecf29163a4d2 diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index ef1f5b09dc..204be8e656 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 0749301913a3da5f0debc0f87d15795fb6957d7f2c024877ddbcb8562ad0e9d6 unrolled_ast: 0749301913a3da5f0debc0f87d15795fb6957d7f2c024877ddbcb8562ad0e9d6 ssa_ast: 91db06dae86aacf19dc5f81a729bedef5a2ff94635e6713003e8be1cb499cb67 + flattened_ast: 673f4cc13b366e0145635b05d60869b5eb48de1971bff1bf462e5c7c092555d1 diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 5faa852d13..6e2472eeea 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: b77497b7614a2f3487d4af294a2f919ef4923d95f1d957a1da3b00d82325e71f unrolled_ast: b77497b7614a2f3487d4af294a2f919ef4923d95f1d957a1da3b00d82325e71f ssa_ast: 119da3ea609fac351fefd9d535c5dbe7f7455932b9c6026c55ac886f482e5c03 + flattened_ast: d96870245c44ae270101b55ee222d47cf75163314644a31185ace35400c4be47 diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index 929639267a..d98ddc6311 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1df6e014370235ac7f367702523a67daee968e19d00bb7f13658ddffe1c3378c unrolled_ast: 1df6e014370235ac7f367702523a67daee968e19d00bb7f13658ddffe1c3378c ssa_ast: 67eab03620f410da64fb266590b8c645046041f7f0ae8a94b8e082faadc41471 + flattened_ast: 38c92fb59b0bfc9b4d765922cb351c1135db4a681e213df38def569ffadc8b76 diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index 985a3548d2..caf4b0baa2 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: ed69309aa24cef4e035cfc838d42ab82e510b085963c005e697990bc25938fdb unrolled_ast: ed69309aa24cef4e035cfc838d42ab82e510b085963c005e697990bc25938fdb ssa_ast: 0bac5a7cbf70cc88d1e4d501120f5ad74a1a9c088d8452ae9a980fa8a3898511 + flattened_ast: 1921d40be0a8d2f089169cc56173d003310626da5a1d0cfec492ceafaa312fe0 diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index 011b5cf677..87ff0939c0 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 12852668a955965b98ad73f002402ebb0ab99492b45a2dda01eccb925c9f3c57 unrolled_ast: 12852668a955965b98ad73f002402ebb0ab99492b45a2dda01eccb925c9f3c57 ssa_ast: 93575b5a8afb54d2fed622bbf733171684f0a20e27d7e1b07aa5563689ab56f0 + flattened_ast: cf81bc8a57277a2b8139132b8ee5c71302fb44a5f356270ec3a4e2f01608abf6 diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index ea20c2fec1..848c71346c 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1b11c496beb582452ecafcc886a0e0f6ca3c1980d72fcf4cdfd38368d06d4337 unrolled_ast: 1b11c496beb582452ecafcc886a0e0f6ca3c1980d72fcf4cdfd38368d06d4337 ssa_ast: eccdab06dd88f64bee1bd18674dab6060dbc4bbb0d4c330d05385a792d38ff04 + flattened_ast: 436cdde63cd94132cb1ce0c4b623bac578fe5da738edfde8f3b765ac45329f10 diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index 5206a12374..7d4131a804 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 92be701d6c566f2d96345cec34cbf908ce77e8db745d25067c7f53067eca6b1d unrolled_ast: 92be701d6c566f2d96345cec34cbf908ce77e8db745d25067c7f53067eca6b1d ssa_ast: f1379fa438dbd8b6c427cda59c0dbac89fa41ac57fe288379f98ae37e6549f67 + flattened_ast: aa338d80af9c5e1ef7b23c985f2945dbc7a029fbd2b40a56215b9bd460ed9c7d diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index a9769996da..bf39691a0a 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 52e0a1f2fbeb8c2a58df01b37bd9d80a8187369c001a5fce6cfbe06eac4fa781 unrolled_ast: 52e0a1f2fbeb8c2a58df01b37bd9d80a8187369c001a5fce6cfbe06eac4fa781 ssa_ast: 8e9644d27f26e71c62d0f0620d7a862a81d0c6dc10e88c81be276a8672cc854d + flattened_ast: 12eb16bcd46d4b93abe5e9789833301bc7c30913419b96b84bec44f84d45251c diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index 14a99e2885..c9c4a9cb47 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: ff346b460aa1a619013e3301e011782d45c5de7664e39392136aa69a1f5db2e4 unrolled_ast: ff346b460aa1a619013e3301e011782d45c5de7664e39392136aa69a1f5db2e4 ssa_ast: 46e9a5265bc08277e16944b506cd5f24feea5ba3a41d8db63abc23f0bde357a0 + flattened_ast: 42ca1983396ae04a043a87a5325c5c349b58cc2ec790254a3caafa7c9f7e880c diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index e22bc14ffa..64de0af2be 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: dc68152b07fca87b78a026e3a504888bddce3a6766cca75d32c60469b35740d5 unrolled_ast: dc68152b07fca87b78a026e3a504888bddce3a6766cca75d32c60469b35740d5 ssa_ast: 700c3ad98c88ac07b027775a89cc31ecf9d8f281c6c007c17c140f7235652071 + flattened_ast: 52393cb37dcbc36323da903f655514a646f22714117a6d0a2a7c6d65dd4ba293 diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index 5255ee82f7..7204c0f8e4 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 5673789fa955ce304ecdde14a89c1670960787949fd82be0c91d1998148a8df9 unrolled_ast: 5673789fa955ce304ecdde14a89c1670960787949fd82be0c91d1998148a8df9 ssa_ast: 2277d24b683f55561f2f2605c6461ac5e56a54e897410ae59f2ca263e929e3f7 + flattened_ast: a061ca022d65134687e26082d0ebe90ca94a4a32887ac3477771322e5ebe4789 diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 2011f8ad9c..a8cdb91a81 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: f810cbe7c819fe429098cfb8ccb0659690742f00920a32c4e91ab6e8342d7e41 unrolled_ast: f810cbe7c819fe429098cfb8ccb0659690742f00920a32c4e91ab6e8342d7e41 ssa_ast: 0fd697890c79349ee943e084a52574425b53aef54584436e66539547f890acc2 + flattened_ast: e452a541b1324b41f3e8bedc9c2b22df0416e52dc12255bf5cdc05b4241fb46d diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 58658e20c6..9a3709d9d6 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: 578cc38501df28d8a301ac23998e5fb83de15db499fc03e668c37c76c6c2241a unrolled_ast: 578cc38501df28d8a301ac23998e5fb83de15db499fc03e668c37c76c6c2241a ssa_ast: 192f9631822b558394c451b5e4c4bda86c249e27bdab3fc96f7f9bf30d1ed883 + flattened_ast: 21c60602027a7f2761ce1e3cc76f9b15463fb6685d460f807d8e4b9409f1da13 diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index 57da928ed2..9483af2ce1 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3b425bdb2c1f2c9898f7c1b396bf73209e246d10de079f47fa509cdc6be53611 unrolled_ast: 3b425bdb2c1f2c9898f7c1b396bf73209e246d10de079f47fa509cdc6be53611 ssa_ast: a41f151a30cd9d9ce9ab4c5599f18c1f5439de8b72e4bf6503f7dfd8414537ef + flattened_ast: a5c41430a475e859124884f30c1778c47e8625ac5386b9aa915ebfea20927acf diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index 462e1f9220..69ccbb7b80 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: a52c70abbb52f4d42b9dea19b8d539bc01d9e5de8e2874c10d750533c1f90e29 unrolled_ast: a52c70abbb52f4d42b9dea19b8d539bc01d9e5de8e2874c10d750533c1f90e29 ssa_ast: c2d2a8e77ee09804977d8b4c6deffe9198c23b1464681f60251899996d44211e + flattened_ast: 5992756b25d3b236f4e83ab775bbafbc3984d418944b59ad57c8d2fb00fbdc55 diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index cac6989739..64054c7fb3 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 86c26279ac307141984e183dcf9cb9003dec29faff68eb43b3e4636fc987d403 unrolled_ast: 86c26279ac307141984e183dcf9cb9003dec29faff68eb43b3e4636fc987d403 ssa_ast: 7f6da5543396cab9c9409e1d324924b1052525654124bd22703d0c643f27d36c + flattened_ast: be597b8458dabd052339e7d6e0718074dbd8075bda855751149458e485891f69 diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index aaefa2a4ef..b756c20e99 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: ae28ae2cc612c797d8b2bbad03e7c1eb9c73c85d2b328eef8b61d1f730ccf89a unrolled_ast: ae28ae2cc612c797d8b2bbad03e7c1eb9c73c85d2b328eef8b61d1f730ccf89a ssa_ast: 1cef13e093b018022e6059d445f084e654d95c3993d171bc43ef5ae2f842286b + flattened_ast: 65fa9bcc614ce488c6fc038b882cc6761368748c3f699a1a31925ed773360a9e diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index fd658f277a..7be93dd376 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 106dbf72b7b849ecdeaf6826294f659a60238671d80a2040b435af0ebf378c94 unrolled_ast: 106dbf72b7b849ecdeaf6826294f659a60238671d80a2040b435af0ebf378c94 ssa_ast: f8bcb0ad26d3e15d068a5daee572fbfa1a0761bff85e8d4675f2563d0ffe447b + flattened_ast: e4c087ddb726691e320ae8378860918c9298376cabfd2d465ca2bff33ee01a5e diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index c08fd684f6..68e3f2937d 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: bd6815e2e068a3ba64540e9c7f97bdb7ce969bcee0d1a42f8de31c874e9f29e4 unrolled_ast: bd6815e2e068a3ba64540e9c7f97bdb7ce969bcee0d1a42f8de31c874e9f29e4 ssa_ast: f3609974e92a80bb7c6e4234371203ee4819eb1927d13477d1d0c80bee29ef8c + flattened_ast: 71329cb9a50ebae853298bcb67e8a08e892a3ea2e29bbe8c10f994c5967eca3a diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 8f2259e578..571b202301 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 018cf2f80c3af5ecf2d90c5f559a2057144ec844d0de17a17f9ca9ae2096974e unrolled_ast: 018cf2f80c3af5ecf2d90c5f559a2057144ec844d0de17a17f9ca9ae2096974e ssa_ast: 114fea1c1a845da5db59e237c754cbf0f40738fbd126f0a6c1574004b328dc35 + flattened_ast: 490b7a22a552ae190da553fb3d7711b47c572305b40e4e168964adac282262df diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index ecc98a0f64..138ba0b0b6 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 33d20ab39f9d56794597fd795a049bba4be08a492b285c831a0322f5cf34e089 unrolled_ast: 33d20ab39f9d56794597fd795a049bba4be08a492b285c831a0322f5cf34e089 ssa_ast: e1d782212036f713c6ef92e92f1b5a6ac899c5fc4f1611143e9ac0ad8fffd102 + flattened_ast: 65eb635a642ff463611fbf54322558a773af23ddf98daa385ac133aaeb476255 diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 66227d2acb..a841393a2e 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0d3f5be82c54b8f8b2f3a1bc70d72fa780c44cf3fcd66f33e634dabb9f1a8859 unrolled_ast: 0d3f5be82c54b8f8b2f3a1bc70d72fa780c44cf3fcd66f33e634dabb9f1a8859 ssa_ast: bf86f369913984c9e00f0dbacbbf5d823195e1c830cfadb25b288dd79cf6519c + flattened_ast: d004db935e9dcc5fc1ba63a4b159c648f88e337f99ff9ba3a93888ceaad5c453 diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index 9681be9839..d0b08f051c 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: bf9a24746e18670d1edfb155b39ee04302b68439a32f091f377be4b87ddac429 unrolled_ast: bf9a24746e18670d1edfb155b39ee04302b68439a32f091f377be4b87ddac429 ssa_ast: e1042989a217f02a030ced529a8530c55cc5e2ca8880d18a093cdb15c252ffd8 + flattened_ast: b97356c48505220fecb25649aea397a249b3b22ba3d866c177146d7f34a8389f diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index 401c7cc50d..71076990ce 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: aaf3c9b3f51197b7d67d254d0d53e6f2e2e27bc09ebcd87549505d43bbe46a48 unrolled_ast: aaf3c9b3f51197b7d67d254d0d53e6f2e2e27bc09ebcd87549505d43bbe46a48 ssa_ast: a63bf9223d74793e9b2c6638378725218ab9fca16cac02b35d285750be91e406 + flattened_ast: 40196b0826bf484548522927492f8fb3717b6bf3b95d223222aed374df111a9e diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index 5a04bdeef8..d3f29bdf1f 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 7e915dd1372c9bca09b9d764deba88aa18f3739e524374752b3e8a2035614451 unrolled_ast: 7e915dd1372c9bca09b9d764deba88aa18f3739e524374752b3e8a2035614451 ssa_ast: edf631fe8e3e0fa27c2dde7075fcb38525c3e4ba13a1bb73e88f23002dc6d767 + flattened_ast: 5a6238d5bbe0e3525ff779e02be29c96c8d1f98ef572bfe25dae45888073b243 diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 21531055d8..0391e6c32e 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: dbe727e79c1e80b14e66db6d49b4053eadecb6cf04f95999e90eef760b32f266 unrolled_ast: dbe727e79c1e80b14e66db6d49b4053eadecb6cf04f95999e90eef760b32f266 ssa_ast: c8f7e5aba9732b9a59974b6ddc14505daf46bb8f8f66cf06f7647ec90a0d51af + flattened_ast: b9491a1ee9f04b43dd96100c1dbeed379686de09f5fbeeb11f14af9a53ef77a0 diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index 8b826c008c..d56125518b 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 054adee149a040dbc548940627549f49a13b4df3ea616de7fa162af2ba5eed5d unrolled_ast: 054adee149a040dbc548940627549f49a13b4df3ea616de7fa162af2ba5eed5d ssa_ast: 9f960604abdb132de38fb6946bb6b9f5c175397435f6cbea38e6d40c267ad2eb + flattened_ast: b360233b1e6cc1237fbfc037b642e5fd8eb27d23f4d2c64e29b880eea692cfeb diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index 9e15236561..9882928a0f 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2c4fec1e54ded41aff09ab6aff49ed749b5e075964449a45b5d314cc64bd9f78 unrolled_ast: 2c4fec1e54ded41aff09ab6aff49ed749b5e075964449a45b5d314cc64bd9f78 ssa_ast: c054cdaf16ab3d296b26504845e2c76716875c45be0b1f41af4dc63b464d8f50 + flattened_ast: 4cb5faa9c8eb26736a23efb0b7f75e0a962642e019a24b31f3cf6e475314b9f2 diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index 1347632f12..19e1664e03 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: a0b4509dd8fcdd7538a08579f7144a7404376eb45030814635cc8786399303bc unrolled_ast: a0b4509dd8fcdd7538a08579f7144a7404376eb45030814635cc8786399303bc ssa_ast: e7413c20015898401489f0de1b7af3cf9d6ea619639d962ddb6494356a0d0970 + flattened_ast: 98b281b3aeeefb17d6668fde229d03148da34f3abcb9a52c15ec84d81117f25f diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index d59bd34d05..cb64e9b9f0 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 1f8a2b37e0822bf39f4fbcb81e59536b3c60c940e1a17ca38e73d78178540587 unrolled_ast: 1f8a2b37e0822bf39f4fbcb81e59536b3c60c940e1a17ca38e73d78178540587 ssa_ast: 3602c624cf99dc7e2dcc192fd1aa7939c5ff0c079a090a23cbbf58f7a8e22eab + flattened_ast: 0afd6499ae60eca4af46cf188678aec7cf2efb1760f318dba4a657b2a66f629e diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index c3b4bac67b..e519de0c46 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 44ec8d5c3483b6e495055ba37b7a97f37216ba3520ac815a144716964af20bab unrolled_ast: 44ec8d5c3483b6e495055ba37b7a97f37216ba3520ac815a144716964af20bab ssa_ast: cc988a02698e9a6c3b126da21974741bd9e8b5b65761d78072ad1721102d935d + flattened_ast: 61f8931ba9cbe2c63606f3b9aa4be8384a88c2098fe41f7f567350b570ddba33 diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index daa36a27ee..94c124dad9 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 8fc7949984f2ca074ef62a9af976d97ecba45bec30c5a1305dbdfaa3ccf5a043 unrolled_ast: 8fc7949984f2ca074ef62a9af976d97ecba45bec30c5a1305dbdfaa3ccf5a043 ssa_ast: 72e81f1cf38373b3288f7271082e26f83f4a3fa81887d0ef8ed0a1b8d3d087ae + flattened_ast: 24add32879b790d673382b9c6a483a3091132f5fc36f1edcabed0f8ae6e164fd diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index 98e6da0821..81e1eca5cb 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: f4ee09ff6be53b96b40900317a707454c20bcda536e4d224fa1bbb822da18473 unrolled_ast: f4ee09ff6be53b96b40900317a707454c20bcda536e4d224fa1bbb822da18473 ssa_ast: b923af904f45282851e3cf5923e69427d07bac55ca76b5aeae4792f44c3411d8 + flattened_ast: b818ea59202562a7bca0dc44e8c15fe0692b835516dec154c362540b41518289 diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 31190d8303..69274d5e40 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4d937ae7e702dabc63580e4ea403aae9952ff40606c24cc062067b159083360f unrolled_ast: 4d937ae7e702dabc63580e4ea403aae9952ff40606c24cc062067b159083360f ssa_ast: 45cb25906c3b78eb91c321d169c18ef42907fc688b7a860b48c58bcb32ffbff1 + flattened_ast: 2d3890f67f338260e8aa8723922cee5623d323d466ca70407b41d4ef32bb2051 diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index aab5e80547..7bd2b62c3e 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4613ceb643399a5bbf27680b78d708d0566fe12488cc85dce0ad9ee806d1d962 unrolled_ast: 4613ceb643399a5bbf27680b78d708d0566fe12488cc85dce0ad9ee806d1d962 ssa_ast: f6baa7246ec5413fd8dbd6aa7628466dff5a8dfde4da79cd36f5131673e8dff9 + flattened_ast: 5f2f4b2b5450e5a5bc4b11e29c9b8595ef4ac6295fc8531e54bd29c6217b1555 diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index f4f36cadb8..05118ba60a 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2b8825a79a89cd24d7b68b8417011283600a406808b0a59f3af29d127a100066 unrolled_ast: 2b8825a79a89cd24d7b68b8417011283600a406808b0a59f3af29d127a100066 ssa_ast: ff61bdaa92939410813816629989f3dd36509206aa4fbf2ad9e8fd65caf31627 + flattened_ast: 2786446b0dabed3e9c1adaff60c533d2cc58ff893fb08d8d6f49d6000afa28f9 diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index e19250c8c3..6467b68aac 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 11a845c1c91baa0ae8bb5ab7c400ca4036af19260eba6058f0b7c7e5b813ea11 unrolled_ast: 11a845c1c91baa0ae8bb5ab7c400ca4036af19260eba6058f0b7c7e5b813ea11 ssa_ast: 57a353e01f3a7d57f907bb9326853267bc79e8f414cc5bbf0812386b988def7a + flattened_ast: 089afc74a2fe0a94eb7336252d48847961706dd5f490b18edcf41c05e492991a diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index f1d5972b30..2763ff7568 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: aa0f4fe82aff5cec82aa5bc73cb8c434f54039b335e5e63f12eb7b8fe346d6f1 unrolled_ast: aa0f4fe82aff5cec82aa5bc73cb8c434f54039b335e5e63f12eb7b8fe346d6f1 ssa_ast: ddc81317eaeddb8fc62de2e64fcff82ac4f68563e4ea6079ee87b1ca4b1d0216 + flattened_ast: 3a24d97791536d1a8549596d62dafb0a626f149021583bda4d9578a5040fba9f diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index a88b01be53..0cea238b03 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: d223a41ad60f064f1acc4e5dd7cb6047c8ad5939ce60973500562aa4f520f5e0 unrolled_ast: d223a41ad60f064f1acc4e5dd7cb6047c8ad5939ce60973500562aa4f520f5e0 ssa_ast: 637f24cf7010a3961fb9e3a53edb1d04b179a7eedc26ec9368dea418b5b37600 + flattened_ast: 0b8673e4aeee93446020e820fabdc7dc8389678e9e692e899d2a658cc852d5f3 diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index c45f5d67b1..a0ed123e97 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5e1a12374c21738f5c089cedcf6801a30c25d582783ee001d1f68ce2924f2e87 unrolled_ast: 5e1a12374c21738f5c089cedcf6801a30c25d582783ee001d1f68ce2924f2e87 ssa_ast: a05c73c59c877312d9e75ac0eb37831356b74060e53e9c2f942287bf37368393 + flattened_ast: f983eebc4834490cc5d42d2210d8b16794677d993ded1805bdd93782bc52611e diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 1d59d51d5d..f3bc6c529d 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: e306923be38a45fe5b32442987821d6d54f93d9e8783de8766c633988f6ed868 unrolled_ast: e306923be38a45fe5b32442987821d6d54f93d9e8783de8766c633988f6ed868 ssa_ast: e26b954e5042410ba3a6ddf57e416012f47880e52ff219ba72785fb7cfd9f755 + flattened_ast: 5501f1b9981237aa51a1cec6120459aa52d4a789f26b5af458f8be6b90f112eb diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index 3154874473..efb02018fd 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2e83877627cdd191df9bee8cce3f1a9cf81fc371aae89cda9484682cc715a438 unrolled_ast: 2e83877627cdd191df9bee8cce3f1a9cf81fc371aae89cda9484682cc715a438 ssa_ast: da535e7a3ee8bb75ecfb5a7b857d98ef3076b7db60f57b2b403ece7dd8f7b071 + flattened_ast: 674c5e6c22f49db50f1536776215ae0e920779f1e31d4e810cfb1bd2f1965714 diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 0b201e185e..a512c2e551 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: 65d5286403f9d9dd309f669ab4d83cd14e11aebc990cbf30c3424a155dcab371 unrolled_ast: 65d5286403f9d9dd309f669ab4d83cd14e11aebc990cbf30c3424a155dcab371 ssa_ast: ba5efe57b59c95f2202c147d8d6a3943bb6e81396c89d62e94f40d6d8846811b + flattened_ast: 9d7971393facb1f8830173a8575d5572e41c19a66d0b93a6a8c2da711d41c53e diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index 1318849391..65ff2268a4 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 768146fb343594114aca49477c63913cedf965f721d1818f270f115e5c5c1286 unrolled_ast: 768146fb343594114aca49477c63913cedf965f721d1818f270f115e5c5c1286 ssa_ast: 9a3cbbc61c6196dd40a3b0c8610f3103184a4b4cd385e35c8494f7f620edb999 + flattened_ast: c8b282714badc47247491c219ed0bf7d8fd0591de0c27f00fd7f376c321e9f41 diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index 28a0375a23..4de82f5683 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 4442442c9633676ce53dab4aa4223257477c5fab480ee001ca9631222caf4e56 unrolled_ast: 4442442c9633676ce53dab4aa4223257477c5fab480ee001ca9631222caf4e56 ssa_ast: 50b1c0846c5e89ae32abf9cdae79ea46dc5c695805d432502b9cf74148180a2c + flattened_ast: 43f790ddec5976326907cd3a943ded180dcc6f09f0316cd99ac5e51693caa62d diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index 160aa43037..4a6491ed02 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3ca7fda19a2d602587f8d655691385f6ed3c48643a0944db85a893031d6365cb unrolled_ast: 3ca7fda19a2d602587f8d655691385f6ed3c48643a0944db85a893031d6365cb ssa_ast: be11649ecd6161f43ce0f5372f1f57ff038b2d111ef1ff5c2f8fa40609917d90 + flattened_ast: 98ac7b65f3000e6664d5d2eae0dfdff8a9256e3da58cd065630cbfa36e952b3b diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index 6db210941d..cfd6e561b1 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 04158d678be245a4c7ed4a0c36a643133cc84fa8d0eb185ed9e226bcae804ef5 unrolled_ast: 04158d678be245a4c7ed4a0c36a643133cc84fa8d0eb185ed9e226bcae804ef5 ssa_ast: e411b1c2d672618130189b60837ef51811755408eb983fa658919b7a102542cd + flattened_ast: 9ede87d8f0c16cc137afc8c569cd13b99619d456b29f1c942e8416a88c58196d diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 386aa17bd4..ae47cce050 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -7,3 +7,4 @@ outputs: initial_ast: 9a58d421036525d765e7093352a1ba1bc7f916e596fe70df84ab1bb097186fbb unrolled_ast: 9a58d421036525d765e7093352a1ba1bc7f916e596fe70df84ab1bb097186fbb ssa_ast: c0f20a03448953dcad0afc6484cb34bf67d9621ebb3ec083d95cf75f537c3084 + flattened_ast: 62ae97db443ee49d0af160818614531547830c2b629511f73d48524f6843becc diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index b48c59fe77..5b97a8ad63 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -7,3 +7,4 @@ outputs: initial_ast: 97044c7fd198cdd39bfaf410819e906508003d3719d50158e5378fcd5b12477f unrolled_ast: 97044c7fd198cdd39bfaf410819e906508003d3719d50158e5378fcd5b12477f ssa_ast: cb9df052b0fe596d1fedcd1733127ff77368fe5f5ef87479b6bbc6364d9498f5 + flattened_ast: 6b52d17b0af01c2c47740243e4527f07b374e8c24c88af6a0d3a54e0254508ab diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index eb6f8f4d9c..e3af24ce85 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -7,3 +7,4 @@ outputs: initial_ast: 09c568aea7ca2d6c8206f7ca2fba09702a8ef5225a61d275824b57d7210f2970 unrolled_ast: 09c568aea7ca2d6c8206f7ca2fba09702a8ef5225a61d275824b57d7210f2970 ssa_ast: 21a8304116aa457ee7bb83014f2d27e5f571d1c267a5ffafe193c010655ff651 + flattened_ast: bc104c94c5ee0a2cb9a89a3ba9bcefaa856f7f6c7a674d2f3658070a01ad1cab diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index 6a96d52e31..9878c29a81 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 76882a155c6fedce9c756b01db9474d866c239b7fb163b0d89d686294fd718c0 unrolled_ast: 76882a155c6fedce9c756b01db9474d866c239b7fb163b0d89d686294fd718c0 ssa_ast: b221fa0797f0d4a5b1d9a15a5de6c47bd618f6e0a1e1e617851a1df4d392b528 + flattened_ast: 7a7b6adf2299dc6334fa8bcf35e916a8ffca8ccd7269edcab14ddf6a115530d6 diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index f7856a2dbf..c33873feb0 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -8,3 +8,4 @@ outputs: initial_ast: 40b1e08e57e6de175c8c8e3c3949d7db255438a018cf7be686bd8006b057a0a5 unrolled_ast: 40b1e08e57e6de175c8c8e3c3949d7db255438a018cf7be686bd8006b057a0a5 ssa_ast: 0ac6ef9f5fb50d128a705afb033c44bed38e6578970bbdcf9cf5b8ad09e4a4f4 + flattened_ast: 8580d86a4444e4bac913b9d14551692e14d9faef271cbe68f57eb1e49106b1c3 diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index dc0f27990d..4654922d02 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -8,3 +8,4 @@ outputs: initial_ast: d7fa2c0abdf86e9c50f5e766f50ec8544f6b85fe6b119d1dc0880f401de6fb09 unrolled_ast: d7fa2c0abdf86e9c50f5e766f50ec8544f6b85fe6b119d1dc0880f401de6fb09 ssa_ast: e761106918256679e66136397ef89820a2c95d8497d86b46bf800bdbc555779e + flattened_ast: 2ddd262121ec6918acae5727eced4b930ff90900c14a45356b855f33bef5b8fe diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index 2cceb60791..53a51ec58d 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -8,3 +8,4 @@ outputs: initial_ast: 62ec5aa6befd5241154d7d2cde8134725d999b7f846af7861c4ab2b48293c4b1 unrolled_ast: 62ec5aa6befd5241154d7d2cde8134725d999b7f846af7861c4ab2b48293c4b1 ssa_ast: f1fca480dccf3f4f09d5baa6257383010fdef260a0814db62f8dfc81fa5b0f73 + flattened_ast: 6f327721eee048f46ea5986b80c9a9e230a17a969e7e41bac15857d6c19c7180 diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index 04b0219eb0..54e0206ee7 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -8,3 +8,4 @@ outputs: initial_ast: 41e3797dfc7a3e2369a33fae76786f153489a214a7f2c7ad6fc7c4830d721af2 unrolled_ast: 41e3797dfc7a3e2369a33fae76786f153489a214a7f2c7ad6fc7c4830d721af2 ssa_ast: e2e089f0e79cfd7e4edef0f47ec3deb2ac84f0379d922925c66c157ca38e4cec + flattened_ast: 39316dfa9d17881932f14a32c7621d2a1eee1e51f891f119f6674912c3f57170 diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index 8517865765..6686327467 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -7,3 +7,4 @@ outputs: initial_ast: 0948be1c3fe6e215d894a95b29986da5ca6e78e0e23c660b4aaa051b0e6396e0 unrolled_ast: 0948be1c3fe6e215d894a95b29986da5ca6e78e0e23c660b4aaa051b0e6396e0 ssa_ast: e8f1028c5c64ba3ebb940b9a560bcbb143ff195b2466f42510b5489f45d71d41 + flattened_ast: 75cd3a54b3e052bb310037cc0614cda701280de45107245033bed443df6ead99 diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index dddab6034b..553dca9df0 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -7,3 +7,4 @@ outputs: initial_ast: 6bf5d38405967db53365e3e5807e181ac06a912670a1a75edaff0d01f596c605 unrolled_ast: 6bf5d38405967db53365e3e5807e181ac06a912670a1a75edaff0d01f596c605 ssa_ast: b045eefdc1a08bc48a835c8eb76dd6a1f3637e6694bad3bb14e1e89eb68673d3 + flattened_ast: f5c81b129d8a18f9b8c6f27f60dcc2c42a287c4dff16e26d4232739f8291ee3f diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index 0075672b27..5f914bd7fa 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -7,3 +7,4 @@ outputs: initial_ast: c541fb82e5a2329ebf77745ace4851258b621caaa8f121fa51e1d97cd2c146c3 unrolled_ast: c541fb82e5a2329ebf77745ace4851258b621caaa8f121fa51e1d97cd2c146c3 ssa_ast: fc3b5b84c7312a9483cbe8a2cf059af0782ead7245f2f643b94a9034eea9f175 + flattened_ast: 6c90148a9f4032ff9974e569a5c4d3bced4b8d6de6ec88eeaf0cc83f61b1c113 diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 3949b1406f..0eef873398 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -8,3 +8,4 @@ outputs: initial_ast: 93a563a2bfb0525bcf7e3b9eb5a3e0a07735ec9ef3776e264a781452fa752f77 unrolled_ast: 93a563a2bfb0525bcf7e3b9eb5a3e0a07735ec9ef3776e264a781452fa752f77 ssa_ast: 930f6e9fcb791f609849d091e2835ef2baebb8de6a7320297ccfbfb227ce7484 + flattened_ast: ca2352390d4a6a647ea1e4181c46daeedef815d97dff1fa39933bf1bbabc1ea3 diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index d81b8c0a9b..b6396256b2 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5e76175d104b92a99488a5535595a894f0fc614c79973b98a91e2c44bfe97ab8 unrolled_ast: 5e76175d104b92a99488a5535595a894f0fc614c79973b98a91e2c44bfe97ab8 ssa_ast: e14652506a20aa78bcf428b3175b3a7a2d2012876f8f9fbcc72fae10f422f3fc + flattened_ast: 2644125ab082bd0cbec86e331da3b986504b9ce7800a09b9c55e631f3df8cb91 diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index c746d5f3b6..61e3595da8 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -7,3 +7,4 @@ outputs: initial_ast: 4b7fa51a34141f91b423c7bace8afa0e8ac3e1dc396005ab6f9021062a55e6d7 unrolled_ast: 4b7fa51a34141f91b423c7bace8afa0e8ac3e1dc396005ab6f9021062a55e6d7 ssa_ast: 12678a816124bb855606dc49759baf65373a68b1ad36f502290a082492120524 + flattened_ast: 21a05b5516c8167899896940dcb5a700727dc723fa3a4c08672783085e6083e8 diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index 0b371af7f7..1a55fd3304 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -7,3 +7,4 @@ outputs: initial_ast: d5ea2026e18373a8eae307de1dd590f907fcceb127de079a111e3a1889f35a4e unrolled_ast: d5ea2026e18373a8eae307de1dd590f907fcceb127de079a111e3a1889f35a4e ssa_ast: b34cd76da7aa2d0a328aeb02c90a755a6957ade9b7beca4e0a9ba227bae7052d + flattened_ast: bbd6f20ac7c6c740ee57d131a4bf793df19c73b3f0c118146c9f15f283908ed9 diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index 18cc15fe71..f9697034f4 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -7,3 +7,4 @@ outputs: initial_ast: ad88d3b4d2444b9eb204c3780e86bf56d4db72ace64350047e2bda45a46aa9e9 unrolled_ast: ad88d3b4d2444b9eb204c3780e86bf56d4db72ace64350047e2bda45a46aa9e9 ssa_ast: db636b8cbdf0341178b56d897f2f9641e74d887918f8b5a00a94d62f76061b14 + flattened_ast: 8f5f2bc09129f1b14031c1f2e7b4c66f652c2d524b0931ad42789a48559cbdf2 diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index d1c97976e0..b145ebe5ea 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -7,3 +7,4 @@ outputs: initial_ast: 21961958e2eca2e70e5e148e16e3b0d637cbfeb0678f6227d24d2644e9197e09 unrolled_ast: 21961958e2eca2e70e5e148e16e3b0d637cbfeb0678f6227d24d2644e9197e09 ssa_ast: 7c62badbcecbdb6fe94ead8e26f382881e4897f0b88a5e5db93ec027ae241032 + flattened_ast: 4f1eaa5c6ed2d6374068387bae020a2827fd2bdab082f7ea15be76548dbc23fb diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index c71389a2d8..f2a0a57071 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -7,3 +7,4 @@ outputs: initial_ast: a6191807a117f86d62249107b56b69309ad5a866c60eae3b1794228ec53468cf unrolled_ast: a6191807a117f86d62249107b56b69309ad5a866c60eae3b1794228ec53468cf ssa_ast: 3a3944a2d756acf3d1c71899c093745db8fc55953cf8ecc85f23af8ca82f40d3 + flattened_ast: 6bc89b97f84f1b25af9dc48aadae6bbf2a02715d0836bc933bc7274cbe2b1d26 diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 39ac2a5b19..aec1688863 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -7,3 +7,4 @@ outputs: initial_ast: 070fad2a6814eaaa06267eadbefcb9b94471a77f658fe92ca5b2be2d7b81db89 unrolled_ast: 070fad2a6814eaaa06267eadbefcb9b94471a77f658fe92ca5b2be2d7b81db89 ssa_ast: c5483459c4243d993fafb3623eb49236431b5497d3229d6600d385faf38ca3ff + flattened_ast: 510664221c60e1fe86854915c5a28e133c51215281b31974d4195205b22c2dfd diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 53ecbcf9f8..f6aaf01097 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -8,3 +8,4 @@ outputs: initial_ast: 9b9aff198036784ac5144984a6fabf25f2d5970eacd799da139c686eae2926c2 unrolled_ast: 9b9aff198036784ac5144984a6fabf25f2d5970eacd799da139c686eae2926c2 ssa_ast: e84d74c5692eeb6f205f4155445acac7abfb754926f386b0e4bbc08d5c408383 + flattened_ast: 3650b01e39e4d44dd0b96be213230c3129d0cca0e8d62ab7ccc365eae618b292 diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index 48e1e1c888..89784d20e5 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2124c4768c616e164a463b9399b82620aa747ecf4a20077ef272a380d1ddf2c1 unrolled_ast: 2124c4768c616e164a463b9399b82620aa747ecf4a20077ef272a380d1ddf2c1 ssa_ast: ae45fbe125172bc43127cc9b58dd173ab4edddbc001c7979b2d8ee52ff003763 + flattened_ast: 8faaabb30e3d693aaf51a71fb41d1517885b2133d4adafbdcbbfadc64a808e52 diff --git a/tests/expectations/compiler/mapping/mapping.out b/tests/expectations/compiler/mapping/mapping.out index fe57851bc4..2f31fe4804 100644 --- a/tests/expectations/compiler/mapping/mapping.out +++ b/tests/expectations/compiler/mapping/mapping.out @@ -7,3 +7,4 @@ outputs: initial_ast: 32e39614ea147c8a1af9ed62304c684d4509b832ee04fb6cd6d691b044f5ce72 unrolled_ast: 32e39614ea147c8a1af9ed62304c684d4509b832ee04fb6cd6d691b044f5ce72 ssa_ast: 32e39614ea147c8a1af9ed62304c684d4509b832ee04fb6cd6d691b044f5ce72 + flattened_ast: 32e39614ea147c8a1af9ed62304c684d4509b832ee04fb6cd6d691b044f5ce72 diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index 25d1404581..057893b407 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -7,3 +7,4 @@ outputs: initial_ast: a9ab9a512e08bedb3df223528aaabf43ba3173c37825c122601164e9882ad0ac unrolled_ast: a9ab9a512e08bedb3df223528aaabf43ba3173c37825c122601164e9882ad0ac ssa_ast: 0e845781da8085512c359ecd5970d141e7d51cdf8ce261ce8ee9147878acc5e5 + flattened_ast: e91b9abc2f34366085460427e6084fa1e607cbe9ecfe3180687baaeaac0ec026 diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index 6070038b6b..38e48aab08 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -7,3 +7,4 @@ outputs: initial_ast: 34d21fff38bcb4d77f053b5a05914df57ae81f9f123ec32e8addb9aec5c4db60 unrolled_ast: 34d21fff38bcb4d77f053b5a05914df57ae81f9f123ec32e8addb9aec5c4db60 ssa_ast: 8abb8b0d7fe88fd3d1728efef2e81bac83f5327b47cbd5c410cd93a295cafc6f + flattened_ast: 65ea55e58f66024bb5c5e314d94e6a29dc86b7f1341b0a8d5b3c61a8209842e2 diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index 05e9c0bd66..a58df4cff7 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -7,3 +7,4 @@ outputs: initial_ast: bccfb69ed7a069e0701c5aafa6d62aafcde894de33b98a9d763e27ee2a9393c7 unrolled_ast: bccfb69ed7a069e0701c5aafa6d62aafcde894de33b98a9d763e27ee2a9393c7 ssa_ast: 1b19360d885ac0cdd42a1764c53d23aac3169343cb92e3448b94010ab158c038 + flattened_ast: 3ddae87dee541922888f5efbb00b708f070c464d4bda4d3464cc772f1bef4095 diff --git a/tests/expectations/compiler/records/nested_record.out b/tests/expectations/compiler/records/nested_record.out index d8d79c5a46..d3257255dc 100644 --- a/tests/expectations/compiler/records/nested_record.out +++ b/tests/expectations/compiler/records/nested_record.out @@ -7,3 +7,4 @@ outputs: initial_ast: f44547b0d4f64ab525df57c3a1c1b93c9660b33c8ec889e6644a05db954bbc35 unrolled_ast: f44547b0d4f64ab525df57c3a1c1b93c9660b33c8ec889e6644a05db954bbc35 ssa_ast: 0b941c13807b21b429cf7b396158e99c22a63b011195267f97083f37320cda3b + flattened_ast: 5db1c39649b54a24def470167305a4da1a53672c21bab25695c31ccbf58e9f2d diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index 6c63628913..78141f3855 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -7,3 +7,4 @@ outputs: initial_ast: 873805533263f6d62405ab896d4e92cf3daec73388c9de299bad76415ca73e9a unrolled_ast: 873805533263f6d62405ab896d4e92cf3daec73388c9de299bad76415ca73e9a ssa_ast: 2df30ae4ee378e763d22ade5d1235b0c206c8a7e08b00addd7036ac7152004f9 + flattened_ast: bef3a0e3f33cd20cd2bb09acc6552ac8a48f8a1067b18a90e533c303ae558d92 diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index 18b048bd6f..ff81ecfb19 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -7,3 +7,4 @@ outputs: initial_ast: 13f5e1a1623d1d0472e36299aa7f21a5d1e64d554cab369aae5da004806e5a46 unrolled_ast: 13f5e1a1623d1d0472e36299aa7f21a5d1e64d554cab369aae5da004806e5a46 ssa_ast: 30ee208d35f4b0dead5efcb3f5b191aee0651cef69a6cedc4852ed06dadec337 + flattened_ast: f1ef70902abc13842ea3da3b06399f1d9e36847526eb176f5f839e736ae130e0 diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index 62452b8c37..3d0724c9a5 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -7,3 +7,4 @@ outputs: initial_ast: 563c7575b010def88688465270c0335e8626db4404e5aebfaa229cbd3f44feab unrolled_ast: 563c7575b010def88688465270c0335e8626db4404e5aebfaa229cbd3f44feab ssa_ast: 9951a44df52ab954626762f4316f1fb560ba0fb603ad587ce79a4d545d8440a8 + flattened_ast: 14b546d2bb16c596d1509ceca17ce8fabb95ded6f9f40187f093b4177144f482 diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index 79a58ffa97..7d1d586f37 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1732ea65f832dd6713cc18de0f6fb63fcecad65820474a756eb9f56361fe0a7f unrolled_ast: 1732ea65f832dd6713cc18de0f6fb63fcecad65820474a756eb9f56361fe0a7f ssa_ast: 924ce5a24285fcf4b9f8afb847dc7605d7f6688701bcef4beba06d5db6fcd81a + flattened_ast: 712703494534e8ef6cd702a5382f23fffa924040e337907c071af2af6934530b diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index d3e4b5b881..19c1db27ec 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -7,3 +7,4 @@ outputs: initial_ast: abe9a61b3533ac2e2362e466f1cdfce32ec0470227e18a1940ce9deab5add804 unrolled_ast: abe9a61b3533ac2e2362e466f1cdfce32ec0470227e18a1940ce9deab5add804 ssa_ast: 0d2fb5c517082c0d9e550b23cc1be2f67fd9b02e4f6ef1913d8ba921727ee666 + flattened_ast: 1cfb0b18a201b81d7d95b15de41fc08feed06ff21defecf8f855b4cc47768de0 diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index 70265459a1..59bec8b69b 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -7,3 +7,4 @@ outputs: initial_ast: 8b5bca14c867c751c7492d666c170628704e9426a2d5e0807e59538c9744672e unrolled_ast: 8b5bca14c867c751c7492d666c170628704e9426a2d5e0807e59538c9744672e ssa_ast: dc3547e2cc08ae37afe31ca7976e21c00c112a149d8a0d611b3c2ada2c08b6dd + flattened_ast: 9344aad85a1924b0760ff855e99ccde2f09a7cd074ba81a302e0c18dd9c9c07e diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index 57f5f69e8f..38381d7781 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: 1a1667298d727c7ed5249b12209be44385a8751fb788e6bf54dd02ac7e69eea6 initial_ast: 72844a9ef9cb49d1a4cc3b99275d73753aee6d08d7c8554ba3bcbff86c1157cf unrolled_ast: 72844a9ef9cb49d1a4cc3b99275d73753aee6d08d7c8554ba3bcbff86c1157cf - ssa_ast: 627093f65031870c11ba9c94382ccd3ebcbed172c4b936aa858d5e2389261146 + ssa_ast: 513a4236610a60103c94506824761e707fe653146117328d13c19b2ff328dba2 + flattened_ast: 1b54aa32c4256f34ecde3eafa16f5124bf2d8f77acbba8d111568c2fd35cf288 diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index bd0bb530b4..0dc8f3733c 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -7,3 +7,4 @@ outputs: initial_ast: 87c9801546fe09e5a97e5c185cef7abe82454f9aa31427ad7ca41310a3e351d5 unrolled_ast: 87c9801546fe09e5a97e5c185cef7abe82454f9aa31427ad7ca41310a3e351d5 ssa_ast: 502ef899e9d5fa79192bd76c85754c0be2af88cb2c80f5178466bce4bfbb885b + flattened_ast: a10b44d4df805c7f2a839608be1d03b145cd429628afdd7348bcceb316f38f81 diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index 33e7238db3..8f44c77dfa 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -8,4 +8,5 @@ outputs: - initial_input_ast: 4c73cc4d60dd535ca2d782e45811516699eeb0be3a28826d6c2f6799181a41f7 initial_ast: 9c4587e2f9d8de849b3e00b1762d2f22e861f4d9ad800f6a78fc053dd36763d9 unrolled_ast: 9c4587e2f9d8de849b3e00b1762d2f22e861f4d9ad800f6a78fc053dd36763d9 - ssa_ast: 457765ffa961849cc9446ca84a35934f1841ccea34788d1d24551a9417bd841f + ssa_ast: 3a20e0aae778c16b20ca65634c8e127c28b1f248db810a3d11331b98f8fda7ae + flattened_ast: ef3ea2c3671fb8b122bea894844b48b5fb3f02daa746d5955c34e461ba0e3c81 diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index 35e6d0d34e..64ca0b6ca1 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -7,3 +7,4 @@ outputs: initial_ast: 5d00c9d03c623645b351fd1e564757a9931a037d795b13063f596ea74fe99dc1 unrolled_ast: 04190a12a87d20f32f6cf5e50c510e5110ded61001f339817bda3202ea70de72 ssa_ast: b2fff6dd52011be24ca46f27784dade9edb8bc8c92edfc25f8e6b47f08ee09c7 + flattened_ast: 390a1383a03a14d0aa85bfa69056c1a7e1138c92e429c4479d125555eb4a7f7c diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index 291223c3a4..2087395506 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -7,3 +7,4 @@ outputs: initial_ast: 3477b1525c000b75fc9a0f57009d20c1aaf8f61a07cab6671f541b338e69af0c unrolled_ast: a8ed5b1bd4fb6a316cdb0edadca2c3e29e86a0ad94e2e96915b0bd6707bb9e83 ssa_ast: ad8b121a5ab7b57cd7efafcee414b2dcd8200f5af4b84ef0f3f41dcbe3373729 + flattened_ast: 82d097adb1699b0bf891c8bc471f210feb12ab30dc4ec9dd662b760ae3adf4bc diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index d1fefdcbd9..4dda55f698 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -7,4 +7,5 @@ outputs: - initial_input_ast: 23334c9c6f3741f0659966764b58cd0313d2dd73d04be862b0c3d156a6f14c72 initial_ast: 58cc4b8164aec602cba01d9d2fff3ed5cfa9f50e1b9aa2910f05fea427aa7320 unrolled_ast: 58cc4b8164aec602cba01d9d2fff3ed5cfa9f50e1b9aa2910f05fea427aa7320 - ssa_ast: ef092eebbc03ee718172d9f67918773c9306ab1736955d3976c8e4fa747f67c3 + ssa_ast: ee7d0f6f9c2681fc51a734ed44df00afbe676d714c6f83c8001aa76916156174 + flattened_ast: ef7cc0cc9eff8094ecb8a90da0f2b52bab155bf845c9b2704bb825f05e92ed59 diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index 23dadee491..ab28733011 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -7,4 +7,5 @@ outputs: - initial_input_ast: 6ad39429c1fdf45e582200bc1b2d3eef49dac71f921332d3b074ebd38e2cbd76 initial_ast: f759177cce0e2cbf48052e1b2f35bf1082d095de6a54a2daa6029d09a6b8f271 unrolled_ast: f759177cce0e2cbf48052e1b2f35bf1082d095de6a54a2daa6029d09a6b8f271 - ssa_ast: 8ba268dee5ecee845ff3acb65b330c98eaa43c34d49c3f536f835429a5338cfd + ssa_ast: e5e82726d33feed20c21e360cd01f8c5d4773d9cd5b4e7cbdfba525ca3183673 + flattened_ast: ed96b6726e311fd5adbeb6a10492f66922c32b484aeb33c9c588ae9c8a010797 diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index 3ee3d9c0f1..f67484a579 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 93947ef5a8023be7bc081f1f67f90396664bea51ed3e0f6884c64ae6b9d3829c unrolled_ast: 93947ef5a8023be7bc081f1f67f90396664bea51ed3e0f6884c64ae6b9d3829c ssa_ast: 8b211e1280322798fbcc08882c6bfcf2e2299949b27b2d2bf4448973381eee27 + flattened_ast: 4e15e8d1dd86ff7fc81e253e09dc2d05ed48bc320be7d8ff2c8b08a41030a69c diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 511041ed18..a82e9ac6f2 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2e4e69492198f624956c3f1ff26e4ad95e62ad930246ac9bd5a37b5d2bf64487 unrolled_ast: 2e4e69492198f624956c3f1ff26e4ad95e62ad930246ac9bd5a37b5d2bf64487 ssa_ast: af0e381b3626553deb7ca94b5896774471f150e9da823c149320721b06273279 + flattened_ast: c6680a49809f068a483ac8e58f5af238e0ec392a83fa459a98819c70a1bb3893 diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 1a34419b23..38613d7039 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: c1ee7c34b07761872ee12f955b335806c0f9abb1bec63d79d521f0ecec54ef14 unrolled_ast: c1ee7c34b07761872ee12f955b335806c0f9abb1bec63d79d521f0ecec54ef14 ssa_ast: 77d86ad1e6ceef3d4bc8071517d250744589d2843e5941d8a4fe07186f976eda + flattened_ast: 403c3ac0feab10ac20301ad68457ef52286c45a6a1d019a4f99eccc13672ecc1 diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 3789969ad9..dcd31525ed 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 93e234dda18cab978f6ec326632568db5b421556aaae1b3fb71a6ab30f120225 unrolled_ast: 93e234dda18cab978f6ec326632568db5b421556aaae1b3fb71a6ab30f120225 ssa_ast: 9763d56054c4c1908af9bc15b0e882e34e2414e6faad64c0da90291f71e18da0 + flattened_ast: fbfde7b24b6687c5e1161261c778034f213569bf4d1d91123f379a13840bcc87 diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 393c4eb5f9..0580835401 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2efb8672ccc1eef6f3413fcfcd4e0443d845c1458fc7fee58aae96f447ebde48 unrolled_ast: 2efb8672ccc1eef6f3413fcfcd4e0443d845c1458fc7fee58aae96f447ebde48 ssa_ast: a7edbaecd79d5cde7ef282c64e1e8e16380d0d39213390ee60943e88d42e883f + flattened_ast: 14ecf410df37b96bd1a8305f5fce56bf80d9057275cec49387511d6941802c03 diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index accb69d2a9..bd26a0ad2a 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 25e08e3f258a6373ddfc341e7e4890ee9b1030fc20370998c0593174df853aa2 unrolled_ast: 25e08e3f258a6373ddfc341e7e4890ee9b1030fc20370998c0593174df853aa2 ssa_ast: aedd23aef981519d5d5aab45b7fd307f44b0f7472af792bcad3043a0a0424bbf + flattened_ast: 4ee25b443ddb38bcf1f4ffdcf7494d65a1493bd2e8ae652015cd6a91fde018b0 diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index 49b993290c..af6c2a6d92 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 68f727faab1ba9ede8dc531b61651a308af445365ab864a402567e1ae975be07 unrolled_ast: 68f727faab1ba9ede8dc531b61651a308af445365ab864a402567e1ae975be07 ssa_ast: 433de29112facd8f795915e08105fb0d79526fdef4b1ccd6640741e27d0bec95 + flattened_ast: e4a12980edfbc72f6c4eb08852067abc14a8d0702d1c6fd38db20a56daf1f6b1 diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index e061f785a0..94b33fe2d6 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: c10a19aa816777f369a9f5e739b93c9940ed11f60e3934a24cb2ccf895d5b974 unrolled_ast: c10a19aa816777f369a9f5e739b93c9940ed11f60e3934a24cb2ccf895d5b974 ssa_ast: 327dd61f3eac1cbbba226da822e6e55dc938733e391ee2be9702faa7be344461 + flattened_ast: f0e85a023aca05b3aebaa7851a064033d471ba4215ad1de12b536d8e90400ee9 diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index f84f391ead..a94f28afbd 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 118317a8e5f7e3aa7bfc3e6d961c299153672a25ece9e1c17097d31d4018aa6e unrolled_ast: 118317a8e5f7e3aa7bfc3e6d961c299153672a25ece9e1c17097d31d4018aa6e ssa_ast: 7671781ea90b3348576ef4c248370d29553895a547200d87f3cb31058c84eaf3 + flattened_ast: 3740c39dcfa6e278f5974fa0b1678aef0545138e2ca1f93a6e81dc5a8aa3d7fb diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index a77e5411e6..490d4d5579 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 1df4c07feb727a90cb12ab6f339bd04c318e0adfb74ae430dd30d05182fa5345 unrolled_ast: 1df4c07feb727a90cb12ab6f339bd04c318e0adfb74ae430dd30d05182fa5345 ssa_ast: 41e05c14de3e6bbd0a5bc0dbf76e5047dbdd2d1e47314c4b124bfe6244f08ffc + flattened_ast: 8ac58807c7abe5d55985692466959679fa0afe8bde67a87ef23286c83bc3e375 diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index 3d9a21ea9b..be87e223bd 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: ba5b5a2f35f16d10c1cf8ee6696f454af5e8188de40f416cc38335736355bc85 unrolled_ast: ba5b5a2f35f16d10c1cf8ee6696f454af5e8188de40f416cc38335736355bc85 ssa_ast: 0ce99fb0fd8b6129301ce7309467ae6ff4a1be03cd4e48befc2a437f8310c202 + flattened_ast: 8825002c76024d7b433da2e6eae53d916c0837c7f59c2b35066821727bb60760 diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index 6f574c88b9..77ed744bdb 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: e1250d32e00b12a41402ce7f14332a2325fc16d50104ff156f1e10f0b19ab90f unrolled_ast: e1250d32e00b12a41402ce7f14332a2325fc16d50104ff156f1e10f0b19ab90f ssa_ast: 3458a2223fec2fa8784351e7eb756b74542705d4d38c9a61b7d3e383f66289a4 + flattened_ast: f4bd47a2b9d5af1a3654d80adda7263aa12b29d40360b1e71bf4c366d7feee6b diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 05b147139b..1eff19800e 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -7,3 +7,4 @@ outputs: initial_ast: 2bd5fe6240661d3249cf7582ad009242c766cca5aca0c87c9f3ebe0143d4b3df unrolled_ast: 2bd5fe6240661d3249cf7582ad009242c766cca5aca0c87c9f3ebe0143d4b3df ssa_ast: 1844d8600bdbe946d43807d422e4244cea41eefd7645ad616349cebd778f9138 + flattened_ast: c20ebd71a51e4514c871f838fb2a4e1161f7001b1f10d02b2df0e844a2e9c284 diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index 78bfff88c6..36e77f2390 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -7,3 +7,4 @@ outputs: initial_ast: 578440e5715025aa6c89246093aa71d910e7878b7c1e21c96ce90213d7c11692 unrolled_ast: 578440e5715025aa6c89246093aa71d910e7878b7c1e21c96ce90213d7c11692 ssa_ast: 187439f8aa483f0d2421c39e209788d7a4d6800396a1450bf602a8203f65ef98 + flattened_ast: d2395e2e4c057e4f701d39d76cf32ef0f992888e56bd5968cbd9fbc921e316d7 diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index dc7f19f442..a6fe22cde2 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -6,4 +6,5 @@ outputs: - initial_input_ast: 2a38fc7740cc89715b62627a8f8600456df8de97c4cfd9ddeb98c60e04d71622 initial_ast: c7b589b83816584483f4071d47a89505c2a6b8f01da27dae56ccfe72643a2787 unrolled_ast: c7b589b83816584483f4071d47a89505c2a6b8f01da27dae56ccfe72643a2787 - ssa_ast: b5f680027642efa2f1e6d234c56e7bfafc2b4443565ba1139fa30c1d8370d076 + ssa_ast: d1b9e0dc75afaf202ce4cfaedde95ce00403d789efeff8ea60ddff5817a15014 + flattened_ast: 061d6d073458d073a9016564af8eed03d06a8edb267aac931134b1d6cbccc30d diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index b91bfa5f3c..1fcb9995c5 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -7,3 +7,4 @@ outputs: initial_ast: f480626dbdb5fbb81bc8761c788d0a4fb75c8856730b56f279a8eff70b3e5353 unrolled_ast: f480626dbdb5fbb81bc8761c788d0a4fb75c8856730b56f279a8eff70b3e5353 ssa_ast: d18f3131d589a14d57232f3f191853b62bc5b607320dfea840db7756a5f9c3e7 + flattened_ast: 5d171d7878c6e9e6ac63c4d1719332aacd4b834930006a275da1585f19d862ef diff --git a/tests/expectations/compiler/tuple/function_return_zero_fail.out b/tests/expectations/compiler/tuple/function_return_zero_fail.out index f30447d63d..24f63f69ec 100644 --- a/tests/expectations/compiler/tuple/function_return_zero_fail.out +++ b/tests/expectations/compiler/tuple/function_return_zero_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372023]: Tuples must be explicitly typed in Leo\n --> compiler-test:4:12\n |\n 4 | return ();\n | ^^\n |\n = The function definition must match the function return statement\n" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n input r0 as boolean;\\n input r1 as boolean;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n input r0 as boolean;\\n input r1 as boolean;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n input r0 as boolean;\\n input r1 as boolean;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/test-framework/benches/leo_compiler.rs b/tests/test-framework/benches/leo_compiler.rs index abb1ac5759..662838611f 100644 --- a/tests/test-framework/benches/leo_compiler.rs +++ b/tests/test-framework/benches/leo_compiler.rs @@ -39,6 +39,8 @@ enum BenchMode { Unroll, /// Benchmarks static single assignment. Ssa, + /// Benchmarks flattening. + Flatten, /// Benchmarks all the above stages. Full, } @@ -103,6 +105,7 @@ impl Sample { BenchMode::Type => self.bench_type_checker(c), BenchMode::Unroll => self.bench_loop_unroller(c), BenchMode::Ssa => self.bench_ssa(c), + BenchMode::Flatten => self.bench_flattener(c), BenchMode::Full => self.bench_full(c), } } @@ -195,6 +198,26 @@ impl Sample { }) } + fn bench_flattener(&self, c: &mut Criterion) { + self.bencher_after_parse(c, "flattener pass", |mut compiler| { + let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); + let symbol_table = compiler + .type_checker_pass(symbol_table) + .expect("failed to run type check pass"); + compiler + .loop_unrolling_pass(symbol_table) + .expect("failed to run loop unrolling pass"); + let assigner = compiler + .static_single_assignment_pass() + .expect("failed to run ssa pass"); + let start = Instant::now(); + let out = compiler.flattening_pass(&symbol_table, assigner); + let time = start.elapsed(); + out.expect("failed to run flattener pass"); + time + }); + } + fn bench_full(&self, c: &mut Criterion) { self.bencher(c, "full", |mut compiler| { let (input, name) = self.data(); @@ -209,9 +232,12 @@ impl Sample { compiler .loop_unrolling_pass(symbol_table) .expect("failed to run loop unrolling pass"); - compiler + let assigner = compiler .static_single_assignment_pass() .expect("failed to run ssa pass"); + compiler + .flattening_pass(&symbol_table, assigner) + .expect("failed to run flattening pass"); start.elapsed() }) } @@ -230,6 +256,7 @@ bench!(bench_symbol, BenchMode::Symbol); bench!(bench_type, BenchMode::Type); bench!(bench_unroll, BenchMode::Unroll); bench!(bench_ssa, BenchMode::Ssa); +bench!(bench_flatten, BenchMode::Flatten); bench!(bench_full, BenchMode::Full); criterion_group!( @@ -241,6 +268,7 @@ criterion_group!( bench_type, bench_unroll, bench_ssa, + bench_flatten, bench_full ); criterion_main!(benches);