From 3fda5aab6259a69c7b4abb6b62415bbdd28b9200 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 6 Oct 2023 21:35:41 -0400 Subject: [PATCH 01/51] Introduce Array type --- compiler/ast/src/types/array.rs | 50 +++++++++++++++++++++++++++++++++ compiler/ast/src/types/mod.rs | 4 +++ 2 files changed, 54 insertions(+) create mode 100644 compiler/ast/src/types/array.rs diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs new file mode 100644 index 0000000000..df13e8b012 --- /dev/null +++ b/compiler/ast/src/types/array.rs @@ -0,0 +1,50 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::Type; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// An array type. +#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] +pub struct ArrayType { + element: Box, + size: u32, +} + +impl ArrayType { + /// Creates a new array type. + pub fn new(element: Type, size: u32) -> Self { + Self { element: Box::new(element), size } + } + + /// Returns the element type of the array. + pub fn element(&self) -> &Type { + &self.element + } + + /// Returns the size of the array. + pub fn size(&self) -> u32 { + self.size + } +} + +impl fmt::Display for ArrayType { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "[{}; {}]", self.element, self.size) + } +} diff --git a/compiler/ast/src/types/mod.rs b/compiler/ast/src/types/mod.rs index efa91f34aa..680fcc9bbc 100644 --- a/compiler/ast/src/types/mod.rs +++ b/compiler/ast/src/types/mod.rs @@ -13,6 +13,10 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . + +pub mod array; +pub use array::*; + pub mod core_constant; pub use core_constant::*; From 25b7d5cfac88a60fefe952a38ea1fa5c7e50f59f Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 6 Oct 2023 21:39:33 -0400 Subject: [PATCH 02/51] Rename types::Tuple to types::TupleType --- compiler/ast/src/functions/finalize.rs | 4 ++-- compiler/ast/src/functions/mod.rs | 4 ++-- compiler/ast/src/types/tuple.rs | 6 +++--- compiler/ast/src/types/type_.rs | 5 ++--- compiler/parser/src/parser/type_.rs | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/compiler/ast/src/functions/finalize.rs b/compiler/ast/src/functions/finalize.rs index b64a953cff..f6a3a779ce 100644 --- a/compiler/ast/src/functions/finalize.rs +++ b/compiler/ast/src/functions/finalize.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Block, Identifier, Input, Node, NodeID, Output, Tuple, Type}; +use crate::{Block, Identifier, Input, Node, NodeID, Output, TupleType, Type}; use leo_span::Span; @@ -53,7 +53,7 @@ impl Finalize { let output_type = match output.len() { 0 => Type::Unit, 1 => output[0].type_(), - _ => Type::Tuple(Tuple(output.iter().map(|output| output.type_()).collect())), + _ => Type::Tuple(TupleType(output.iter().map(|output| output.type_()).collect())), }; Self { identifier, input, output, output_type, block, span, id } diff --git a/compiler/ast/src/functions/mod.rs b/compiler/ast/src/functions/mod.rs index 97a38cb06d..64d0b01928 100644 --- a/compiler/ast/src/functions/mod.rs +++ b/compiler/ast/src/functions/mod.rs @@ -38,7 +38,7 @@ pub use output::*; pub mod mode; pub use mode::*; -use crate::{Block, Identifier, Node, NodeID, Tuple, Type}; +use crate::{Block, Identifier, Node, NodeID, TupleType, Type}; use leo_span::{sym, Span, Symbol}; use serde::{Deserialize, Serialize}; @@ -100,7 +100,7 @@ impl Function { let output_type = match output.len() { 0 => Type::Unit, 1 => get_output_type(&output[0]), - _ => Type::Tuple(Tuple(output.iter().map(get_output_type).collect())), + _ => Type::Tuple(TupleType(output.iter().map(get_output_type).collect())), }; Function { annotations, variant, identifier, input, output, output_type, block, finalize, span, id } diff --git a/compiler/ast/src/types/tuple.rs b/compiler/ast/src/types/tuple.rs index d5e7bc4c35..f5da3c56e2 100644 --- a/compiler/ast/src/types/tuple.rs +++ b/compiler/ast/src/types/tuple.rs @@ -23,9 +23,9 @@ use std::{fmt, ops::Deref}; /// A type list of at least two types. #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] -pub struct Tuple(pub Vec); +pub struct TupleType(pub Vec); -impl Deref for Tuple { +impl Deref for TupleType { type Target = Vec; fn deref(&self) -> &Self::Target { @@ -33,7 +33,7 @@ impl Deref for Tuple { } } -impl fmt::Display for Tuple { +impl fmt::Display for TupleType { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "({})", self.0.iter().map(|x| x.to_string()).collect::>().join(",")) } diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index aa2f0f7093..11d769fa61 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Identifier, IntegerType, MappingType, Tuple}; +use crate::{ArrayType, Identifier, IntegerType, MappingType, TupleType}; use itertools::Itertools; use serde::{Deserialize, Serialize}; @@ -23,7 +23,6 @@ use std::fmt; /// Explicit type used for defining a variable or expression type #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub enum Type { - // Data types /// The `address` type. Address, /// The `bool` type. @@ -45,7 +44,7 @@ pub enum Type { /// The `string` type. String, /// A static tuple of at least one type. - Tuple(Tuple), + Tuple(TupleType), /// The `unit` type. Unit, /// Placeholder for a type that could not be resolved or was not well-formed. diff --git a/compiler/parser/src/parser/type_.rs b/compiler/parser/src/parser/type_.rs index 3bf399e538..1ad83485bd 100644 --- a/compiler/parser/src/parser/type_.rs +++ b/compiler/parser/src/parser/type_.rs @@ -89,7 +89,7 @@ impl ParserContext<'_> { 1 => Err(ParserError::tuple_must_have_at_least_two_elements("type", span).into()), // Otherwise, parse it into a `Tuple` type. // Note: This is the only place where `Tuple` type is constructed in the parser. - _ => Ok((Type::Tuple(Tuple(types.into_iter().map(|t| t.0).collect())), span)), + _ => Ok((Type::Tuple(TupleType(types.into_iter().map(|t| t.0).collect())), span)), } } else { self.parse_primitive_type() From c3b92d1a4d265f2b38d45f9909f5e73b347d0138 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 6 Oct 2023 21:48:21 -0400 Subject: [PATCH 03/51] Add Array type to Type --- compiler/ast/src/types/array.rs | 10 +++++----- compiler/ast/src/types/type_.rs | 8 +++++++- compiler/passes/src/code_generation/visit_type.rs | 3 ++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs index df13e8b012..8e582b603f 100644 --- a/compiler/ast/src/types/array.rs +++ b/compiler/ast/src/types/array.rs @@ -22,19 +22,19 @@ use std::fmt; /// An array type. #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct ArrayType { - element: Box, + element_type: Box, size: u32, } impl ArrayType { /// Creates a new array type. pub fn new(element: Type, size: u32) -> Self { - Self { element: Box::new(element), size } + Self { element_type: Box::new(element), size } } /// Returns the element type of the array. - pub fn element(&self) -> &Type { - &self.element + pub fn element_type(&self) -> &Type { + &self.element_type } /// Returns the size of the array. @@ -45,6 +45,6 @@ impl ArrayType { impl fmt::Display for ArrayType { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "[{}; {}]", self.element, self.size) + write!(f, "[{}; {}]", self.element_type, self.size) } } diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index 11d769fa61..16343d77fd 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -25,6 +25,8 @@ use std::fmt; pub enum Type { /// The `address` type. Address, + /// The array type. + Array(ArrayType), /// The `bool` type. Boolean, /// The `field` type. @@ -68,6 +70,10 @@ impl Type { | (Type::Signature, Type::Signature) | (Type::String, Type::String) | (Type::Unit, Type::Unit) => true, + (Type::Array(left), Type::Array(right)) => { + left.element_type().eq_flat(right.element_type()) && left.size() == right.size() + } + (Type::Identifier(left), Type::Identifier(right)) => left.matches(right), (Type::Integer(left), Type::Integer(right)) => left.eq(right), (Type::Mapping(left), Type::Mapping(right)) => { left.key.eq_flat(&right.key) && left.value.eq_flat(&right.value) @@ -75,7 +81,6 @@ impl Type { (Type::Tuple(left), Type::Tuple(right)) if left.len() == right.len() => { left.iter().zip_eq(right.iter()).all(|(left_type, right_type)| left_type.eq_flat(right_type)) } - (Type::Identifier(left), Type::Identifier(right)) => left.matches(right), _ => false, } } @@ -85,6 +90,7 @@ impl fmt::Display for Type { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { Type::Address => write!(f, "address"), + Type::Array(ref array_type) => write!(f, "{array_type}"), Type::Boolean => write!(f, "boolean"), Type::Field => write!(f, "field"), Type::Group => write!(f, "group"), diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index 43df14dc70..afb8e78e3e 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -28,8 +28,9 @@ impl<'a> CodeGenerator<'a> { | Type::Scalar | Type::Signature | Type::String + | Type::Identifier(..) | Type::Integer(..) => format!("{input}"), - Type::Identifier(ident) => format!("{ident}"), + Type::Array(_) => todo!(), Type::Mapping(_) => { unreachable!("Mapping types are not supported at this phase of compilation") } From 0792191ddebf0da77625409ca5e1ae62fc86ddf3 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 7 Oct 2023 20:38:36 -0400 Subject: [PATCH 04/51] Add test cases --- .../array/access_array_with_loop_counter.leo | 13 +++++++ tests/tests/compiler/array/array_access.leo | 10 ++++++ .../array/array_in_composite_data_types.leo | 19 ++++++++++ .../compiler/array/array_in_finalize.leo | 14 ++++++++ .../array/array_in_function_signature.leo | 22 ++++++++++++ .../compiler/array/array_initialization.leo | 10 ++++++ .../array/array_initialization_fail.leo | 14 ++++++++ .../tests/compiler/array/array_of_records.leo | 15 ++++++++ .../tests/compiler/array/array_of_structs.leo | 14 ++++++++ .../compiler/array/array_size_limits.leo | 14 ++++++++ .../compiler/array/array_too_large_fail.leo | 10 ++++++ .../compiler/array/array_too_small_fail.leo | 10 ++++++ .../array/array_variable_access_fail.leo | 10 ++++++ .../structs/cyclic_structs_four_fail.leo | 35 +++++++++++++++++++ tests/tests/execution/array_sum.leo | 24 +++++++++++++ 15 files changed, 234 insertions(+) create mode 100644 tests/tests/compiler/array/access_array_with_loop_counter.leo create mode 100644 tests/tests/compiler/array/array_access.leo create mode 100644 tests/tests/compiler/array/array_in_composite_data_types.leo create mode 100644 tests/tests/compiler/array/array_in_finalize.leo create mode 100644 tests/tests/compiler/array/array_in_function_signature.leo create mode 100644 tests/tests/compiler/array/array_initialization.leo create mode 100644 tests/tests/compiler/array/array_initialization_fail.leo create mode 100644 tests/tests/compiler/array/array_of_records.leo create mode 100644 tests/tests/compiler/array/array_of_structs.leo create mode 100644 tests/tests/compiler/array/array_size_limits.leo create mode 100644 tests/tests/compiler/array/array_too_large_fail.leo create mode 100644 tests/tests/compiler/array/array_too_small_fail.leo create mode 100644 tests/tests/compiler/array/array_variable_access_fail.leo create mode 100644 tests/tests/compiler/structs/cyclic_structs_four_fail.leo create mode 100644 tests/tests/execution/array_sum.leo diff --git a/tests/tests/compiler/array/access_array_with_loop_counter.leo b/tests/tests/compiler/array/access_array_with_loop_counter.leo new file mode 100644 index 0000000000..87a50c8e42 --- /dev/null +++ b/tests/tests/compiler/array/access_array_with_loop_counter.leo @@ -0,0 +1,13 @@ +/* +namespace: Compile +expectation: Pass +*/ + + +program test.aleo { + transition foo(a: [bool; 4]) { + for i in 0u32..4u32 { + assert(a[i]); + } + } +} diff --git a/tests/tests/compiler/array/array_access.leo b/tests/tests/compiler/array/array_access.leo new file mode 100644 index 0000000000..88d2664608 --- /dev/null +++ b/tests/tests/compiler/array/array_access.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 8]) -> bool { + return a[0]; + } +} diff --git a/tests/tests/compiler/array/array_in_composite_data_types.leo b/tests/tests/compiler/array/array_in_composite_data_types.leo new file mode 100644 index 0000000000..47237fbd23 --- /dev/null +++ b/tests/tests/compiler/array/array_in_composite_data_types.leo @@ -0,0 +1,19 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + struct bar { + data: [u8; 8], + } + + record floo { + owner: address, + data: [u8; 8], + } + + transition foo(a: [[bool; 8]; 8]) -> bool { + return a[0][0]; + } +} diff --git a/tests/tests/compiler/array/array_in_finalize.leo b/tests/tests/compiler/array/array_in_finalize.leo new file mode 100644 index 0000000000..85864096cf --- /dev/null +++ b/tests/tests/compiler/array/array_in_finalize.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 8]) { + return then finalize a; + } + + finalize foo(a: [bool; 8]) { + assert_eq(true, true); + } +} diff --git a/tests/tests/compiler/array/array_in_function_signature.leo b/tests/tests/compiler/array/array_in_function_signature.leo new file mode 100644 index 0000000000..e40b6f43b8 --- /dev/null +++ b/tests/tests/compiler/array/array_in_function_signature.leo @@ -0,0 +1,22 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 8]) -> bool { + return true; + } + + transition bar(a: [bool; 8]) -> [bool; 8] { + return a; + } + + function baz(a: [bool; 8]) -> bool { + return true; + } + + function qux(a: [bool; 8]) -> [bool; 8] { + return a; + } +} diff --git a/tests/tests/compiler/array/array_initialization.leo b/tests/tests/compiler/array/array_initialization.leo new file mode 100644 index 0000000000..810a8c409f --- /dev/null +++ b/tests/tests/compiler/array/array_initialization.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition bar(a: bool) -> [bool; 8] { + return [a, a, a, a, a, a, a, a]; + } +} diff --git a/tests/tests/compiler/array/array_initialization_fail.leo b/tests/tests/compiler/array/array_initialization_fail.leo new file mode 100644 index 0000000000..99e1ce2315 --- /dev/null +++ b/tests/tests/compiler/array/array_initialization_fail.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition bar(a: bool) -> [bool; 8] { + return [a, a, a, a, a, a, a]; + } + + transition foo() -> [u8; 8] { + return [1u8, 2u8, 3u8, 4u8, 5u8, 6u8, 7u8, 8u32]; + } +} diff --git a/tests/tests/compiler/array/array_of_records.leo b/tests/tests/compiler/array/array_of_records.leo new file mode 100644 index 0000000000..281eca58d8 --- /dev/null +++ b/tests/tests/compiler/array/array_of_records.leo @@ -0,0 +1,15 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + record bar { + owner: address, + data: u8, + } + + transition foo(a: [bar; 8]) -> u8 { + return a[0].data; + } +} diff --git a/tests/tests/compiler/array/array_of_structs.leo b/tests/tests/compiler/array/array_of_structs.leo new file mode 100644 index 0000000000..8c752bc776 --- /dev/null +++ b/tests/tests/compiler/array/array_of_structs.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + struct bar { + data: u8, + } + + transition foo(a: [bar; 8]) -> u8 { + return a[0].data; + } +} diff --git a/tests/tests/compiler/array/array_size_limits.leo b/tests/tests/compiler/array/array_size_limits.leo new file mode 100644 index 0000000000..2952576b6d --- /dev/null +++ b/tests/tests/compiler/array/array_size_limits.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 1]) -> bool { + return true; + } + + transition bar(a: [bool; 32]) -> bool { + return true; + } +} diff --git a/tests/tests/compiler/array/array_too_large_fail.leo b/tests/tests/compiler/array/array_too_large_fail.leo new file mode 100644 index 0000000000..6c8696d830 --- /dev/null +++ b/tests/tests/compiler/array/array_too_large_fail.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 33]) -> bool { + return true; + } +} diff --git a/tests/tests/compiler/array/array_too_small_fail.leo b/tests/tests/compiler/array/array_too_small_fail.leo new file mode 100644 index 0000000000..3427a83179 --- /dev/null +++ b/tests/tests/compiler/array/array_too_small_fail.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 0]) -> bool { + return true; + } +} diff --git a/tests/tests/compiler/array/array_variable_access_fail.leo b/tests/tests/compiler/array/array_variable_access_fail.leo new file mode 100644 index 0000000000..a86f14ba28 --- /dev/null +++ b/tests/tests/compiler/array/array_variable_access_fail.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo(a: [bool; 8], index: u32) -> bool { + return a[index]; + } +} diff --git a/tests/tests/compiler/structs/cyclic_structs_four_fail.leo b/tests/tests/compiler/structs/cyclic_structs_four_fail.leo new file mode 100644 index 0000000000..1ba17fe913 --- /dev/null +++ b/tests/tests/compiler/structs/cyclic_structs_four_fail.leo @@ -0,0 +1,35 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + struct Foo { + foo: [Foo; 1], + } + + struct Bar { + baz: [Baz, 2], + } + + struct Baz { + bar: [Bar, 3], + } + + struct One { + two: [Two, 2], + } + + struct Two { + three: [Three, 3], + four: [Four, 4], + } + + struct Three { + one: [One, 1], + } + + struct Four { + one: [One, 1], + } +} diff --git a/tests/tests/execution/array_sum.leo b/tests/tests/execution/array_sum.leo new file mode 100644 index 0000000000..94612e1609 --- /dev/null +++ b/tests/tests/execution/array_sum.leo @@ -0,0 +1,24 @@ +/* +namespace: Execute +expectation: Pass +cases: + sum_manually: + - input: ["[1u64, 2u64, 3u64, 4u64]"] + sum_with_loop: + - input: ["[1u64, 2u64, 3u64, 4u64]"] +*/ + + +program test.aleo { + transition sum_manually(a: [u64; 4]) -> u64 { + return a[0] + a[1] + a[2] + a[3]; + } + + transition sum_with_loop(a: [u64; 4]) -> u64 { + let sum: u64 = 0u64; + for i in 0u8..4u8 { + sum += a[i]; + } + return sum; + } +} From d8a7f74508023663b2858df55ec22c5db327af8b Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 7 Oct 2023 21:36:17 -0400 Subject: [PATCH 05/51] Add support for parsing the array type --- compiler/ast/src/types/array.rs | 16 ++++++++-------- compiler/ast/src/types/type_.rs | 2 +- compiler/parser/src/parser/type_.rs | 7 +++++++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs index 8e582b603f..132f6cd928 100644 --- a/compiler/ast/src/types/array.rs +++ b/compiler/ast/src/types/array.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::Type; +use crate::{PositiveNumber, Type}; use serde::{Deserialize, Serialize}; use std::fmt; @@ -23,13 +23,13 @@ use std::fmt; #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct ArrayType { element_type: Box, - size: u32, + length: PositiveNumber, } impl ArrayType { /// Creates a new array type. - pub fn new(element: Type, size: u32) -> Self { - Self { element_type: Box::new(element), size } + pub fn new(element: Type, length: PositiveNumber) -> Self { + Self { element_type: Box::new(element), length } } /// Returns the element type of the array. @@ -37,14 +37,14 @@ impl ArrayType { &self.element_type } - /// Returns the size of the array. - pub fn size(&self) -> u32 { - self.size + /// Returns the length of the array. + pub fn length(&self) -> usize { + self.length.to_usize() } } impl fmt::Display for ArrayType { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "[{}; {}]", self.element_type, self.size) + write!(f, "[{}; {}]", self.element_type, self.length) } } diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index 16343d77fd..d99aa53b5e 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -71,7 +71,7 @@ impl Type { | (Type::String, Type::String) | (Type::Unit, Type::Unit) => true, (Type::Array(left), Type::Array(right)) => { - left.element_type().eq_flat(right.element_type()) && left.size() == right.size() + left.element_type().eq_flat(right.element_type()) && left.length() == right.length() } (Type::Identifier(left), Type::Identifier(right)) => left.matches(right), (Type::Integer(left), Type::Integer(right)) => left.eq(right), diff --git a/compiler/parser/src/parser/type_.rs b/compiler/parser/src/parser/type_.rs index 1ad83485bd..f2cd562a85 100644 --- a/compiler/parser/src/parser/type_.rs +++ b/compiler/parser/src/parser/type_.rs @@ -80,6 +80,13 @@ impl ParserContext<'_> { pub fn parse_type(&mut self) -> Result<(Type, Span)> { if let Some(ident) = self.eat_identifier() { Ok((Type::Identifier(ident), ident.span)) + } else if self.token.token == Token::LeftSquare { + // Parse the element type. + let (element_type, _) = self.parse_type()?; + // Parse the length. + let (length, _) = self.eat_whole_number()?; + // Return the array type. + Ok((Type::Array(ArrayType::new(element_type, length)), self.prev_token.span)) } else if self.token.token == Token::LeftParen { let (types, _, span) = self.parse_paren_comma_list(|p| p.parse_type().map(Some))?; match types.len() { From e372710d22e7fa21712c84bf0abf8ddc7ecb5c65 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 7 Oct 2023 21:49:31 -0400 Subject: [PATCH 06/51] Introduce ArrayExpression --- compiler/ast/src/expressions/array.rs | 36 +++++++++++++++++++++++++++ compiler/ast/src/expressions/mod.rs | 3 +++ 2 files changed, 39 insertions(+) create mode 100644 compiler/ast/src/expressions/array.rs diff --git a/compiler/ast/src/expressions/array.rs b/compiler/ast/src/expressions/array.rs new file mode 100644 index 0000000000..6b24fcd40f --- /dev/null +++ b/compiler/ast/src/expressions/array.rs @@ -0,0 +1,36 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use super::*; + +/// An array expression, e.g., `[true, false, true, false]`. +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct ArrayExpression { + /// The elements of the array. + pub elements: Vec, + /// The span from `[` to `]`. + pub span: Span, + /// The ID of the node. + pub id: NodeID, +} + +impl fmt::Display for ArrayExpression { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "[{}]", self.elements.iter().map(|x| x.to_string()).collect::>().join(",")) + } +} + +crate::simple_node_impl!(ArrayExpression); diff --git a/compiler/ast/src/expressions/mod.rs b/compiler/ast/src/expressions/mod.rs index c396c8e9fc..7e6fe0cdc2 100644 --- a/compiler/ast/src/expressions/mod.rs +++ b/compiler/ast/src/expressions/mod.rs @@ -23,6 +23,9 @@ use std::fmt; mod access; pub use access::*; +mod array; +pub use array::*; + mod binary; pub use binary::*; From 5f75ae8c4979d76f7305cd5040b071036e32b68c Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 10:40:06 -0400 Subject: [PATCH 07/51] Support array expressions in AST and visitors --- compiler/ast/src/expressions/mod.rs | 9 ++++++++- compiler/ast/src/passes/consumer.rs | 3 +++ compiler/ast/src/passes/reconstructor.rs | 12 ++++++++++++ compiler/ast/src/passes/visitor.rs | 8 ++++++++ compiler/parser/src/parser/type_.rs | 6 ++++++ 5 files changed, 37 insertions(+), 1 deletion(-) diff --git a/compiler/ast/src/expressions/mod.rs b/compiler/ast/src/expressions/mod.rs index 7e6fe0cdc2..1d4cb40880 100644 --- a/compiler/ast/src/expressions/mod.rs +++ b/compiler/ast/src/expressions/mod.rs @@ -59,8 +59,10 @@ pub use literal::*; /// Expression that evaluates to a value. #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub enum Expression { - /// A struct access expression, e.g., `Foo.bar`. + /// A struct access expression, e.g. `Foo.bar`. Access(AccessExpression), + /// An array expression, e.g., `[true, false, true, false]`. + Array(ArrayExpression), /// A binary expression, e.g., `42 + 24`. Binary(BinaryExpression), /// A call expression, e.g., `my_fun(args)`. @@ -91,6 +93,7 @@ impl Node for Expression { use Expression::*; match self { Access(n) => n.span(), + Array(n) => n.span(), Binary(n) => n.span(), Call(n) => n.span(), Cast(n) => n.span(), @@ -109,6 +112,7 @@ impl Node for Expression { use Expression::*; match self { Access(n) => n.set_span(span), + Array(n) => n.set_span(span), Binary(n) => n.set_span(span), Call(n) => n.set_span(span), Cast(n) => n.set_span(span), @@ -127,6 +131,7 @@ impl Node for Expression { use Expression::*; match self { Access(n) => n.id(), + Array(n) => n.id(), Binary(n) => n.id(), Call(n) => n.id(), Cast(n) => n.id(), @@ -145,6 +150,7 @@ impl Node for Expression { use Expression::*; match self { Access(n) => n.set_id(id), + Array(n) => n.set_id(id), Binary(n) => n.set_id(id), Call(n) => n.set_id(id), Cast(n) => n.set_id(id), @@ -165,6 +171,7 @@ impl fmt::Display for Expression { use Expression::*; match &self { Access(n) => n.fmt(f), + Array(n) => n.fmt(f), Binary(n) => n.fmt(f), Call(n) => n.fmt(f), Cast(n) => n.fmt(f), diff --git a/compiler/ast/src/passes/consumer.rs b/compiler/ast/src/passes/consumer.rs index 7f0e6adba7..9a1d0e5d26 100644 --- a/compiler/ast/src/passes/consumer.rs +++ b/compiler/ast/src/passes/consumer.rs @@ -26,6 +26,7 @@ pub trait ExpressionConsumer { fn consume_expression(&mut self, input: Expression) -> Self::Output { match input { Expression::Access(access) => self.consume_access(access), + Expression::Array(array) => self.consume_array(array), Expression::Binary(binary) => self.consume_binary(binary), Expression::Call(call) => self.consume_call(call), Expression::Cast(cast) => self.consume_cast(cast), @@ -42,6 +43,8 @@ pub trait ExpressionConsumer { fn consume_access(&mut self, _input: AccessExpression) -> Self::Output; + fn consume_array(&mut self, _input: ArrayExpression) -> Self::Output; + fn consume_binary(&mut self, _input: BinaryExpression) -> Self::Output; fn consume_call(&mut self, _input: CallExpression) -> Self::Output; diff --git a/compiler/ast/src/passes/reconstructor.rs b/compiler/ast/src/passes/reconstructor.rs index ecd5b1692b..b162afcaa6 100644 --- a/compiler/ast/src/passes/reconstructor.rs +++ b/compiler/ast/src/passes/reconstructor.rs @@ -27,6 +27,7 @@ pub trait ExpressionReconstructor { fn reconstruct_expression(&mut self, input: Expression) -> (Expression, Self::AdditionalOutput) { match input { Expression::Access(access) => self.reconstruct_access(access), + Expression::Array(array) => self.reconstruct_array(array), Expression::Binary(binary) => self.reconstruct_binary(binary), Expression::Call(call) => self.reconstruct_call(call), Expression::Cast(cast) => self.reconstruct_cast(cast), @@ -75,6 +76,17 @@ pub trait ExpressionReconstructor { ) } + fn reconstruct_array(&mut self, input: ArrayExpression) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Array(ArrayExpression { + elements: input.elements.into_iter().map(|element| self.reconstruct_expression(element).0).collect(), + span: input.span, + id: input.id, + }), + Default::default(), + ) + } + fn reconstruct_binary(&mut self, input: BinaryExpression) -> (Expression, Self::AdditionalOutput) { ( Expression::Binary(BinaryExpression { diff --git a/compiler/ast/src/passes/visitor.rs b/compiler/ast/src/passes/visitor.rs index 5d5f25142d..19659982ff 100644 --- a/compiler/ast/src/passes/visitor.rs +++ b/compiler/ast/src/passes/visitor.rs @@ -28,6 +28,7 @@ pub trait ExpressionVisitor<'a> { fn visit_expression(&mut self, input: &'a Expression, additional: &Self::AdditionalInput) -> Self::Output { match input { Expression::Access(access) => self.visit_access(access, additional), + Expression::Array(array) => self.visit_array(array, additional), Expression::Binary(binary) => self.visit_binary(binary, additional), Expression::Call(call) => self.visit_call(call, additional), Expression::Cast(cast) => self.visit_cast(cast, additional), @@ -61,6 +62,13 @@ pub trait ExpressionVisitor<'a> { Default::default() } + fn visit_array(&mut self, input: &'a ArrayExpression, additional: &Self::AdditionalInput) -> Self::Output { + input.elements.iter().for_each(|expr| { + self.visit_expression(expr, additional); + }); + Default::default() + } + fn visit_binary(&mut self, input: &'a BinaryExpression, additional: &Self::AdditionalInput) -> Self::Output { self.visit_expression(&input.left, additional); self.visit_expression(&input.right, additional); diff --git a/compiler/parser/src/parser/type_.rs b/compiler/parser/src/parser/type_.rs index f2cd562a85..f3c4700d32 100644 --- a/compiler/parser/src/parser/type_.rs +++ b/compiler/parser/src/parser/type_.rs @@ -81,10 +81,16 @@ impl ParserContext<'_> { if let Some(ident) = self.eat_identifier() { Ok((Type::Identifier(ident), ident.span)) } else if self.token.token == Token::LeftSquare { + // Parse the left bracket. + self.expect(&Token::LeftSquare)?; // Parse the element type. let (element_type, _) = self.parse_type()?; + // Parse the semi-colon. + self.expect(&Token::Semicolon)?; // Parse the length. let (length, _) = self.eat_whole_number()?; + // Parse the right bracket. + self.expect(&Token::RightSquare)?; // Return the array type. Ok((Type::Array(ArrayType::new(element_type, length)), self.prev_token.span)) } else if self.token.token == Token::LeftParen { From f18953144f2bd506b88dca592617fbd8482a2bec Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 10:40:41 -0400 Subject: [PATCH 08/51] Stubs for arrays in passes --- .../src/code_generation/visit_expressions.rs | 36 +++++++++++++++++-- .../passes/src/code_generation/visit_type.rs | 2 +- .../rename_expression.rs | 27 ++++++++++++++ .../compiler/array/array_initialization.leo | 3 +- .../compiler/array/array_with_units_fail.leo | 10 ++++++ 5 files changed, 73 insertions(+), 5 deletions(-) create mode 100644 tests/tests/compiler/array/array_with_units_fail.leo diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index 455034104d..be41789068 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -17,6 +17,7 @@ use crate::CodeGenerator; use leo_ast::{ AccessExpression, + ArrayExpression, AssociatedConstant, AssociatedFunction, BinaryExpression, @@ -49,6 +50,7 @@ impl<'a> CodeGenerator<'a> { pub(crate) fn visit_expression(&mut self, input: &'a Expression) -> (String, String) { match input { Expression::Access(expr) => self.visit_access(expr), + Expression::Array(expr) => self.visit_array(expr), Expression::Binary(expr) => self.visit_binary(expr), Expression::Call(expr) => self.visit_call(expr), Expression::Cast(expr) => self.visit_cast(expr), @@ -130,18 +132,46 @@ impl<'a> CodeGenerator<'a> { } fn visit_cast(&mut self, input: &'a CastExpression) -> (String, String) { - let (expression_operand, expression_instructions) = self.visit_expression(&input.expression); + let (expression_operand, mut instructions) = self.visit_expression(&input.expression); + // Construct the destination register. let destination_register = format!("r{}", self.next_register); + // Increment the register counter. + self.next_register += 1; + let cast_instruction = format!(" cast {expression_operand} into {destination_register} as {};\n", input.type_); + // Concatenate the instructions. + instructions.push_str(&cast_instruction); + + (destination_register, instructions) + } + + fn visit_array(&mut self, input: &'a ArrayExpression) -> (String, String) { + let (expression_operands, mut instructions) = + input.elements.iter().map(|expr| self.visit_expression(expr)).fold( + (String::new(), String::new()), + |(mut operands, mut instructions), (operand, operand_instructions)| { + operands.push_str(&operand); + instructions.push_str(&operand_instructions); + (operands, instructions) + }, + ); + + // Construct the destination register. + let destination_register = format!("r{}", self.next_register); // Increment the register counter. self.next_register += 1; + // Get the array type. + let array_type: String = todo!(); + + let array_instruction = + format!(" cast {expression_operands} into {destination_register} as {};\n", array_type); + // Concatenate the instructions. - let mut instructions = expression_instructions; - instructions.push_str(&cast_instruction); + instructions.push_str(&array_instruction); (destination_register, instructions) } diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index afb8e78e3e..34c534dedc 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -19,7 +19,7 @@ use crate::CodeGenerator; use leo_ast::{Mode, Type}; impl<'a> CodeGenerator<'a> { - fn visit_type(&mut self, input: &'a Type) -> String { + pub(crate) fn visit_type(&mut self, input: &'a Type) -> String { match input { Type::Address | Type::Boolean diff --git a/compiler/passes/src/static_single_assignment/rename_expression.rs b/compiler/passes/src/static_single_assignment/rename_expression.rs index 974bd9adcd..930bf26708 100644 --- a/compiler/passes/src/static_single_assignment/rename_expression.rs +++ b/compiler/passes/src/static_single_assignment/rename_expression.rs @@ -18,6 +18,7 @@ use crate::StaticSingleAssigner; use leo_ast::{ AccessExpression, + ArrayExpression, AssociatedFunction, BinaryExpression, CallExpression, @@ -108,6 +109,32 @@ impl ExpressionConsumer for StaticSingleAssigner<'_> { (Expression::Identifier(place), statements) } + /// Consumes an array expression, accumulating any statements that are generated. + fn consume_array(&mut self, input: ArrayExpression) -> Self::Output { + let mut statements = Vec::new(); + + // Process the elements, accumulating any statements produced. + let elements = input + .elements + .into_iter() + .map(|element| { + let (element, mut stmts) = self.consume_expression(element); + statements.append(&mut stmts); + element + }) + .collect(); + + // Construct and accumulate a new assignment statement for the array expression. + let (place, statement) = self.unique_simple_assign_statement(Expression::Array(ArrayExpression { + elements, + span: input.span, + id: input.id, + })); + statements.push(statement); + + (Expression::Identifier(place), statements) + } + /// Consumes a binary expression, accumulating any statements that are generated. fn consume_binary(&mut self, input: BinaryExpression) -> Self::Output { // Reconstruct the lhs of the binary expression. diff --git a/tests/tests/compiler/array/array_initialization.leo b/tests/tests/compiler/array/array_initialization.leo index 810a8c409f..e6058bf54e 100644 --- a/tests/tests/compiler/array/array_initialization.leo +++ b/tests/tests/compiler/array/array_initialization.leo @@ -5,6 +5,7 @@ expectation: Pass program test.aleo { transition bar(a: bool) -> [bool; 8] { - return [a, a, a, a, a, a, a, a]; + let result: [bool; 8] = [a, a, a, a, a, a, a, a]; + return result; } } diff --git a/tests/tests/compiler/array/array_with_units_fail.leo b/tests/tests/compiler/array/array_with_units_fail.leo new file mode 100644 index 0000000000..03b51259fb --- /dev/null +++ b/tests/tests/compiler/array/array_with_units_fail.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition foo() -> bool { + let bar: [(), 2] = [(), ()]; + } +} From c94acdebbdb26fcd3809d4e0f45bfb69e9d43134 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 11:03:29 -0400 Subject: [PATCH 09/51] Support array access expressions in AST and visitors --- compiler/ast/src/access/array_access.rs | 42 +++++++++++++++++++ compiler/ast/src/access/mod.rs | 3 ++ compiler/ast/src/expressions/access.rs | 9 +++- compiler/ast/src/passes/reconstructor.rs | 6 +++ compiler/ast/src/passes/visitor.rs | 4 ++ .../array/access_array_with_loop_counter.leo | 2 +- .../compiler/array/array_with_units_fail.leo | 2 +- tests/tests/execution/array_sum.leo | 2 +- 8 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 compiler/ast/src/access/array_access.rs diff --git a/compiler/ast/src/access/array_access.rs b/compiler/ast/src/access/array_access.rs new file mode 100644 index 0000000000..43fa3c202d --- /dev/null +++ b/compiler/ast/src/access/array_access.rs @@ -0,0 +1,42 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::{Expression, Node, NodeID}; +use leo_span::Span; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// An array access expression, e.g., `foo[index]`. +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct ArrayAccess { + /// An expression evaluating to some array type, e.g., `[false, true]`. + pub array: Box, + /// The index to access in the array expression. E.g., `0` for `[false, true]` would yield `false`. + pub index: Box, + /// The span for the entire expression `foo[index]`. + pub span: Span, + /// The ID of the node. + pub id: NodeID, +} + +impl fmt::Display for ArrayAccess { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "{}.{}", self.array, self.index) + } +} + +crate::simple_node_impl!(ArrayAccess); diff --git a/compiler/ast/src/access/mod.rs b/compiler/ast/src/access/mod.rs index 62dfb44f47..95aeed7bcc 100644 --- a/compiler/ast/src/access/mod.rs +++ b/compiler/ast/src/access/mod.rs @@ -14,6 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . +mod array_access; +pub use array_access::*; + mod associated_constant_access; pub use associated_constant_access::*; diff --git a/compiler/ast/src/expressions/access.rs b/compiler/ast/src/expressions/access.rs index 6178100512..0b6375e9af 100644 --- a/compiler/ast/src/expressions/access.rs +++ b/compiler/ast/src/expressions/access.rs @@ -23,8 +23,8 @@ use std::fmt; /// An access expressions, extracting a smaller part out of a whole. #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub enum AccessExpression { - // /// An `array[index]` expression. - // Array(ArrayAccess), + /// An `array[index]` expression. + Array(ArrayAccess), // /// An expression accessing a range of an array. // ArrayRange(ArrayRangeAccess), /// Access to an associated variable of a struct e.g `u8::MAX`. @@ -40,6 +40,7 @@ pub enum AccessExpression { impl Node for AccessExpression { fn span(&self) -> Span { match self { + AccessExpression::Array(n) => n.span(), AccessExpression::AssociatedConstant(n) => n.span(), AccessExpression::AssociatedFunction(n) => n.span(), AccessExpression::Member(n) => n.span(), @@ -49,6 +50,7 @@ impl Node for AccessExpression { fn set_span(&mut self, span: Span) { match self { + AccessExpression::Array(n) => n.set_span(span), AccessExpression::AssociatedConstant(n) => n.set_span(span), AccessExpression::AssociatedFunction(n) => n.set_span(span), AccessExpression::Member(n) => n.set_span(span), @@ -58,6 +60,7 @@ impl Node for AccessExpression { fn id(&self) -> NodeID { match self { + AccessExpression::Array(n) => n.id(), AccessExpression::AssociatedConstant(n) => n.id(), AccessExpression::AssociatedFunction(n) => n.id(), AccessExpression::Member(n) => n.id(), @@ -67,6 +70,7 @@ impl Node for AccessExpression { fn set_id(&mut self, id: NodeID) { match self { + AccessExpression::Array(n) => n.set_id(id), AccessExpression::AssociatedConstant(n) => n.set_id(id), AccessExpression::AssociatedFunction(n) => n.set_id(id), AccessExpression::Member(n) => n.set_id(id), @@ -79,6 +83,7 @@ impl fmt::Display for AccessExpression { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { use AccessExpression::*; match self { + Array(access) => access.fmt(f), AssociatedConstant(access) => access.fmt(f), AssociatedFunction(access) => access.fmt(f), Member(access) => access.fmt(f), diff --git a/compiler/ast/src/passes/reconstructor.rs b/compiler/ast/src/passes/reconstructor.rs index b162afcaa6..d28937748f 100644 --- a/compiler/ast/src/passes/reconstructor.rs +++ b/compiler/ast/src/passes/reconstructor.rs @@ -45,6 +45,12 @@ pub trait ExpressionReconstructor { fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { ( Expression::Access(match input { + AccessExpression::Array(array) => AccessExpression::Array(ArrayAccess { + array: Box::new(self.reconstruct_expression(*array.array).0), + index: Box::new(self.reconstruct_expression(*array.index).0), + span: array.span, + id: array.id, + }), AccessExpression::AssociatedFunction(function) => { AccessExpression::AssociatedFunction(AssociatedFunction { ty: function.ty, diff --git a/compiler/ast/src/passes/visitor.rs b/compiler/ast/src/passes/visitor.rs index 19659982ff..dbcefea609 100644 --- a/compiler/ast/src/passes/visitor.rs +++ b/compiler/ast/src/passes/visitor.rs @@ -45,6 +45,10 @@ pub trait ExpressionVisitor<'a> { fn visit_access(&mut self, input: &'a AccessExpression, additional: &Self::AdditionalInput) -> Self::Output { match input { + AccessExpression::Array(array) => { + self.visit_expression(&array.array, additional); + self.visit_expression(&array.index, additional); + } AccessExpression::AssociatedFunction(function) => { function.arguments.iter().for_each(|arg| { self.visit_expression(arg, &Default::default()); diff --git a/tests/tests/compiler/array/access_array_with_loop_counter.leo b/tests/tests/compiler/array/access_array_with_loop_counter.leo index 87a50c8e42..534ab6d605 100644 --- a/tests/tests/compiler/array/access_array_with_loop_counter.leo +++ b/tests/tests/compiler/array/access_array_with_loop_counter.leo @@ -6,7 +6,7 @@ expectation: Pass program test.aleo { transition foo(a: [bool; 4]) { - for i in 0u32..4u32 { + for i: i32 in 0u32..4u32 { assert(a[i]); } } diff --git a/tests/tests/compiler/array/array_with_units_fail.leo b/tests/tests/compiler/array/array_with_units_fail.leo index 03b51259fb..bbd887b8d7 100644 --- a/tests/tests/compiler/array/array_with_units_fail.leo +++ b/tests/tests/compiler/array/array_with_units_fail.leo @@ -5,6 +5,6 @@ expectation: Pass program test.aleo { transition foo() -> bool { - let bar: [(), 2] = [(), ()]; + let bar: [(); 2] = [(), ()]; } } diff --git a/tests/tests/execution/array_sum.leo b/tests/tests/execution/array_sum.leo index 94612e1609..cc060a2a10 100644 --- a/tests/tests/execution/array_sum.leo +++ b/tests/tests/execution/array_sum.leo @@ -16,7 +16,7 @@ program test.aleo { transition sum_with_loop(a: [u64; 4]) -> u64 { let sum: u64 = 0u64; - for i in 0u8..4u8 { + for i: u8 in 0u8..4u8 { sum += a[i]; } return sum; From eb420b6544554e58611a13249cb86a7fb335b088 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 11:27:47 -0400 Subject: [PATCH 10/51] Stubs for arrays access expressions in passes --- compiler/compiler/tests/utilities/check_unique_node_ids.rs | 5 +++++ compiler/passes/src/code_generation/visit_expressions.rs | 1 + .../src/dead_code_elimination/eliminate_expression.rs | 7 +++++++ compiler/passes/src/type_checking/check_expressions.rs | 1 + 4 files changed, 14 insertions(+) diff --git a/compiler/compiler/tests/utilities/check_unique_node_ids.rs b/compiler/compiler/tests/utilities/check_unique_node_ids.rs index 0debeb7554..09c9451e34 100644 --- a/compiler/compiler/tests/utilities/check_unique_node_ids.rs +++ b/compiler/compiler/tests/utilities/check_unique_node_ids.rs @@ -62,6 +62,11 @@ impl<'a> ExpressionVisitor<'a> for CheckUniqueNodeIds<'a> { fn visit_access(&mut self, input: &'a AccessExpression, _: &Self::AdditionalInput) -> Self::Output { match input { + AccessExpression::Array(ArrayAccess { array, index, id, .. }) => { + self.visit_expression(array, &Default::default()); + self.visit_expression(index, &Default::default()); + self.check(*id); + } AccessExpression::AssociatedConstant(AssociatedConstant { ty, name, id, .. }) => { self.check_ty(ty); self.visit_identifier(name, &Default::default()); diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index be41789068..d09a3c4216 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -492,6 +492,7 @@ impl<'a> CodeGenerator<'a> { fn visit_access(&mut self, input: &'a AccessExpression) -> (String, String) { match input { + AccessExpression::Array(array) => todo!(), AccessExpression::Member(access) => self.visit_member_access(access), AccessExpression::AssociatedConstant(constant) => self.visit_associated_constant(constant), AccessExpression::AssociatedFunction(function) => self.visit_associated_function(function), diff --git a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs index b52d33145f..07117e2b11 100644 --- a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs +++ b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs @@ -18,6 +18,7 @@ use crate::DeadCodeEliminator; use leo_ast::{ AccessExpression, + ArrayAccess, AssociatedFunction, Expression, ExpressionReconstructor, @@ -37,6 +38,12 @@ impl ExpressionReconstructor for DeadCodeEliminator<'_> { fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { ( Expression::Access(match input { + AccessExpression::Array(array) => AccessExpression::Array(ArrayAccess { + array: Box::new(self.reconstruct_expression(*array.array).0), + index: Box::new(self.reconstruct_expression(*array.index).0), + span: array.span, + id: array.id, + }), AccessExpression::AssociatedFunction(function) => { // If the associated function manipulates a mapping, mark the statement as necessary. match (&function.ty, function.name.name) { diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 03771fed26..317068d8fb 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -42,6 +42,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { fn visit_access(&mut self, input: &'a AccessExpression, expected: &Self::AdditionalInput) -> Self::Output { match input { + AccessExpression::Array(array) => todo!(), AccessExpression::AssociatedFunction(access) => { // Check core struct name and function. if let Some(core_instruction) = self.get_core_function_call(&access.ty, &access.name) { From 2edc7aa92f0aaf35a6b2d695cfdc59915606de28 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 12:01:32 -0400 Subject: [PATCH 11/51] Parse array access expressions --- compiler/parser/src/parser/expression.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index d452892a60..6bd5ae5619 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -485,6 +485,17 @@ impl ParserContext<'_> { } else if self.eat(&Token::DoubleColon) { // Eat a core struct constant or core struct function call. expr = self.parse_associated_access_expression(expr)?; + } else if self.eat(&Token::LeftSquare) { + // Eat an array access. + let index = self.parse_expression()?; + // Eat the closing bracket. + let span = self.expect(&Token::RightSquare)?; + expr = Expression::Access(AccessExpression::Array(ArrayAccess { + span: expr.span() + span, + array: Box::new(expr), + index: Box::new(index), + id: self.node_builder.next_id(), + })) } else if self.check(&Token::LeftParen) { // Check that the expression is an identifier. if !matches!(expr, Expression::Identifier(_)) { From 13e17044fd2fce8d494387b0360b3ef1142328e9 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 12:38:54 -0400 Subject: [PATCH 12/51] Parse array init expressions --- compiler/parser/src/parser/context.rs | 8 ++++++++ compiler/parser/src/parser/expression.rs | 15 +++++++++++++++ compiler/parser/src/tokenizer/token.rs | 3 +++ errors/src/errors/parser/parser_errors.rs | 7 +++++++ 4 files changed, 33 insertions(+) diff --git a/compiler/parser/src/parser/context.rs b/compiler/parser/src/parser/context.rs index 32ae516462..5c1059b7f4 100644 --- a/compiler/parser/src/parser/context.rs +++ b/compiler/parser/src/parser/context.rs @@ -240,6 +240,14 @@ impl<'a> ParserContext<'a> { self.parse_list(Delimiter::Parenthesis, Some(Token::Comma), f) } + /// Parse a list separated by `,` and delimited by brackets. + pub(super) fn parse_bracket_comma_list( + &mut self, + f: impl FnMut(&mut Self) -> Result>, + ) -> Result<(Vec, bool, Span)> { + self.parse_list(Delimiter::Bracket, Some(Token::Comma), f) + } + /// Returns true if the current token is `(`. pub(super) fn peek_is_left_par(&self) -> bool { matches!(self.token.token, Token::LeftParen) diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index 6bd5ae5619..b01cd78166 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -543,6 +543,19 @@ impl ParserContext<'_> { } } + /// Returns an [`Expression`] AST node if the next tokens represent an array initialization expression. + fn parse_array_expression(&mut self) -> Result { + let (elements, _, span) = self.parse_bracket_comma_list(|p| p.parse_expression().map(Some))?; + + match elements.is_empty() { + // If the array expression is empty, return an error. + true => Err(ParserError::array_must_have_at_least_one_element("expression", span).into()), + // Otherwise, return an array expression. + // Note: This is the only place where `ArrayExpression` is constructed in the parser. + false => Ok(Expression::Array(ArrayExpression { elements, span, id: self.node_builder.next_id() })), + } + } + /// Returns a reference to the next token if it is a [`GroupCoordinate`], or [None] if /// the next token is not a [`GroupCoordinate`]. fn peek_group_coordinate(&self, dist: &mut usize) -> Option { @@ -651,6 +664,8 @@ impl ParserContext<'_> { fn parse_primary_expression(&mut self) -> Result { if let Token::LeftParen = self.token.token { return self.parse_tuple_expression(); + } else if let Token::LeftSquare = self.token.token { + return self.parse_array_expression(); } let SpannedToken { token, span } = self.token.clone(); diff --git a/compiler/parser/src/tokenizer/token.rs b/compiler/parser/src/tokenizer/token.rs index 853d8ef3d8..b79967f6c9 100644 --- a/compiler/parser/src/tokenizer/token.rs +++ b/compiler/parser/src/tokenizer/token.rs @@ -380,6 +380,8 @@ pub enum Delimiter { Parenthesis, /// `{ ... }` Brace, + /// `[ ... ]` + Bracket, } impl Delimiter { @@ -388,6 +390,7 @@ impl Delimiter { match self { Self::Parenthesis => (Token::LeftParen, Token::RightParen), Self::Brace => (Token::LeftCurly, Token::RightCurly), + Self::Bracket => (Token::LeftSquare, Token::RightSquare), } } } diff --git a/errors/src/errors/parser/parser_errors.rs b/errors/src/errors/parser/parser_errors.rs index fa39d284b4..734c2f1fd6 100644 --- a/errors/src/errors/parser/parser_errors.rs +++ b/errors/src/errors/parser/parser_errors.rs @@ -291,4 +291,11 @@ create_messages!( msg: format!("expected no underscores or leading zeros -- found '{found}'"), help: None, } + + @formatted + array_must_have_at_least_one_element { + args: (kind: impl Display), + msg: format!("An array {kind} must have at least one element."), + help: None, + } ); From 22766a4359f32684047572fae6831f7249bb4799 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sun, 8 Oct 2023 12:55:43 -0400 Subject: [PATCH 13/51] Fix test cases --- tests/tests/compiler/array/array_access.leo | 2 +- tests/tests/compiler/array/array_in_composite_data_types.leo | 2 +- tests/tests/compiler/array/array_of_records.leo | 2 +- tests/tests/compiler/array/array_of_structs.leo | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests/compiler/array/array_access.leo b/tests/tests/compiler/array/array_access.leo index 88d2664608..e3fddfd8ee 100644 --- a/tests/tests/compiler/array/array_access.leo +++ b/tests/tests/compiler/array/array_access.leo @@ -5,6 +5,6 @@ expectation: Pass program test.aleo { transition foo(a: [bool; 8]) -> bool { - return a[0]; + return a[0u32]; } } diff --git a/tests/tests/compiler/array/array_in_composite_data_types.leo b/tests/tests/compiler/array/array_in_composite_data_types.leo index 47237fbd23..2cecc2b44c 100644 --- a/tests/tests/compiler/array/array_in_composite_data_types.leo +++ b/tests/tests/compiler/array/array_in_composite_data_types.leo @@ -14,6 +14,6 @@ program test.aleo { } transition foo(a: [[bool; 8]; 8]) -> bool { - return a[0][0]; + return a[0u32][0u32]; } } diff --git a/tests/tests/compiler/array/array_of_records.leo b/tests/tests/compiler/array/array_of_records.leo index 281eca58d8..279c4f1c38 100644 --- a/tests/tests/compiler/array/array_of_records.leo +++ b/tests/tests/compiler/array/array_of_records.leo @@ -10,6 +10,6 @@ program test.aleo { } transition foo(a: [bar; 8]) -> u8 { - return a[0].data; + return a[0u32].data; } } diff --git a/tests/tests/compiler/array/array_of_structs.leo b/tests/tests/compiler/array/array_of_structs.leo index 8c752bc776..08be797fa7 100644 --- a/tests/tests/compiler/array/array_of_structs.leo +++ b/tests/tests/compiler/array/array_of_structs.leo @@ -9,6 +9,6 @@ program test.aleo { } transition foo(a: [bar; 8]) -> u8 { - return a[0].data; + return a[0u8].data; } } From 7e471b774806d68553e834835804b03662c4199d Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Mon, 9 Oct 2023 13:48:29 -0400 Subject: [PATCH 14/51] Add type checking for arrays --- compiler/ast/src/types/array.rs | 8 +++ compiler/parser/src/parser/expression.rs | 2 +- .../src/type_checking/check_expressions.rs | 71 ++++++++++++++++++- .../passes/src/type_checking/check_program.rs | 25 ++++--- .../src/type_checking/check_statements.rs | 2 +- compiler/passes/src/type_checking/checker.rs | 30 ++++++-- .../errors/type_checker/type_checker_error.rs | 14 ++++ .../array/access_array_with_loop_counter.leo | 2 +- .../array/array_initialization_fail.leo | 2 +- .../compiler/array/array_too_large_fail.leo | 2 +- .../compiler/array/array_with_units_fail.leo | 2 +- 11 files changed, 139 insertions(+), 21 deletions(-) diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs index 132f6cd928..6e0d644c3d 100644 --- a/compiler/ast/src/types/array.rs +++ b/compiler/ast/src/types/array.rs @@ -41,6 +41,14 @@ impl ArrayType { pub fn length(&self) -> usize { self.length.to_usize() } + + /// Returns the base element type of the array. + pub fn base_element_type(&self) -> &Type { + match self.element_type.as_ref() { + Type::Array(array_type) => array_type.base_element_type(), + type_ => type_, + } + } } impl fmt::Display for ArrayType { diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index b01cd78166..bd62fdaad9 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -512,7 +512,7 @@ impl ParserContext<'_> { }); } // Check if next token is a dot to see if we are calling recursive method. - if !self.check(&Token::Dot) { + if !(self.check(&Token::Dot) || self.check(&Token::LeftSquare)) { break; } } diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 317068d8fb..e5e1f7e029 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -20,6 +20,8 @@ use leo_ast::*; use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{sym, Span}; +use itertools::Itertools; +use snarkvm_console::network::{Network, Testnet3}; use std::str::FromStr; fn return_incorrect_type(t1: Option, t2: Option, expected: &Option) -> Option { @@ -42,7 +44,29 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { fn visit_access(&mut self, input: &'a AccessExpression, expected: &Self::AdditionalInput) -> Self::Output { match input { - AccessExpression::Array(array) => todo!(), + AccessExpression::Array(access) => { + // Check that the expression is an array. + let array_type = self.visit_expression(&access.array, &None); + self.assert_array_type(&array_type, access.array.span()); + + // Check that the index is an integer type. + let index_type = self.visit_expression(&access.index, &None); + self.assert_int_type(&index_type, access.index.span()); + + // Get the element type of the array. + let element_type = match array_type { + Some(Type::Array(array_type)) => Some(array_type.element_type().clone()), + _ => None, + }; + + // If the expected type is known, then check that the element type is the same as the expected type. + if let Some(expected) = expected { + self.assert_type(&element_type, expected, input.span()); + } + + // Return the element type of the array. + return element_type; + } AccessExpression::AssociatedFunction(access) => { // Check core struct name and function. if let Some(core_instruction) = self.get_core_function_call(&access.ty, &access.name) { @@ -209,6 +233,51 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { None } + fn visit_array(&mut self, input: &'a ArrayExpression, additional: &Self::AdditionalInput) -> Self::Output { + // Get the types of each element expression. + let element_types = + input.elements.iter().map(|element| self.visit_expression(element, &None)).collect::>(); + + // Construct the array type. + let return_type = match element_types.len() { + // The array cannot be empty. + 0 => { + self.emit_err(TypeCheckerError::array_empty(input.span())); + None + } + // Check that the element types match. + 1..=Testnet3::MAX_ARRAY_ELEMENTS => { + let mut element_types = element_types.into_iter(); + // Note that this unwrap is safe because we already checked that the array is not empty. + element_types.next().unwrap().map(|first_type| { + // Check that all elements have the same type. + for (element_type, element) in element_types.zip_eq(input.elements.iter().skip(1)) { + self.assert_type(&element_type, &first_type, element.span()); + } + // Return the array type. + Type::Array(ArrayType::new(first_type, PositiveNumber { value: input.elements.len().to_string() })) + }) + } + // The array cannot have more than `MAX_ARRAY_ELEMENTS` elements. + num_elements => { + self.emit_err(TypeCheckerError::array_too_large( + num_elements, + Testnet3::MAX_ARRAY_ELEMENTS, + input.span(), + )); + None + } + }; + + // If the expected type is known, then check that the array type is the same as the expected type. + if let Some(expected) = additional { + self.assert_type(&return_type, expected, input.span()); + } + + // Return the array type. + return_type + } + fn visit_binary(&mut self, input: &'a BinaryExpression, destination: &Self::AdditionalInput) -> Self::Output { match input.op { BinaryOperation::And | BinaryOperation::Or | BinaryOperation::Nand | BinaryOperation::Nor => { diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index 2de2e765b3..d4cb6eefc7 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -109,7 +109,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { // TODO: Better span to target duplicate member. if !input.members.iter().all(|Member { identifier, type_, span, .. }| { // Check that the member types are defined. - self.assert_type_is_defined(type_, *span); + self.assert_type_is_valid(type_, *span); used.insert(identifier.name) }) { self.emit_err(if input.is_record { @@ -146,11 +146,20 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } // Ensure that there are no record members. self.assert_member_is_not_record(identifier.span, input.identifier.name, type_); + // If the member is a struct, add it to the struct dependency graph. // Note that we have already checked that each member is defined and valid. if let Type::Identifier(member_type) = type_ { self.struct_graph.add_edge(input.identifier.name, member_type.name); + } else if let Type::Array(array_type) = type_ { + // Get the base element type. + let base_element_type = array_type.base_element_type(); + // If the base element type is a struct, then add it to the struct dependency graph. + if let Type::Identifier(member_type) = base_element_type { + self.struct_graph.add_edge(input.identifier.name, member_type.name); + } } + // If the input is a struct, then check that the member does not have a mode. if !input.is_record && !matches!(mode, Mode::None) { self.emit_err(TypeCheckerError::struct_cannot_have_member_mode(*span)); @@ -160,7 +169,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { fn visit_mapping(&mut self, input: &'a Mapping) { // Check that a mapping's key type is valid. - self.assert_type_is_defined(&input.key_type, input.span); + self.assert_type_is_valid(&input.key_type, input.span); // Check that a mapping's key type is not a tuple, record, or mapping. match input.key_type { Type::Tuple(_) => self.emit_err(TypeCheckerError::invalid_mapping_type("key", "tuple", input.span)), @@ -177,7 +186,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } // Check that a mapping's value type is valid. - self.assert_type_is_defined(&input.value_type, input.span); + self.assert_type_is_valid(&input.value_type, input.span); // Check that a mapping's value type is not a tuple, record or mapping. match input.value_type { Type::Tuple(_) => self.emit_err(TypeCheckerError::invalid_mapping_type("value", "tuple", input.span)), @@ -226,7 +235,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { // Type check the function's parameters. function.input.iter().for_each(|input_var| { // Check that the type of input parameter is defined. - self.assert_type_is_defined(&input_var.type_(), input_var.span()); + self.assert_type_is_valid(&input_var.type_(), input_var.span()); // Check that the type of the input parameter is not a tuple. if matches!(input_var.type_(), Type::Tuple(_)) { self.emit_err(TypeCheckerError::function_cannot_take_tuple_as_input(input_var.span())) @@ -272,7 +281,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } Output::Internal(function_output) => { // Check that the type of output is defined. - if self.assert_type_is_defined(&function_output.type_, function_output.span) { + if self.assert_type_is_valid(&function_output.type_, function_output.span) { // If the function is not a transition function, then it cannot output a record. if let Type::Identifier(identifier) = function_output.type_ { if !matches!(function.variant, Variant::Transition) @@ -337,7 +346,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { finalize.input.iter().for_each(|input_var| { // Check that the type of input parameter is defined. - if self.assert_type_is_defined(&input_var.type_(), input_var.span()) { + if self.assert_type_is_valid(&input_var.type_(), input_var.span()) { // Check that the input parameter is not a tuple. if matches!(input_var.type_(), Type::Tuple(_)) { self.emit_err(TypeCheckerError::finalize_cannot_take_tuple_as_input(input_var.span())) @@ -378,7 +387,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { // Note that checking that each of the component types are defined is sufficient to guarantee that the `output_type` is defined. finalize.output.iter().for_each(|output_type| { // Check that the type of output is defined. - if self.assert_type_is_defined(&output_type.type_(), output_type.span()) { + if self.assert_type_is_valid(&output_type.type_(), output_type.span()) { // Check that the output is not a tuple. This is necessary to forbid nested tuples. if matches!(&output_type.type_(), Type::Tuple(_)) { self.emit_err(TypeCheckerError::nested_tuple_type(output_type.span())) @@ -408,7 +417,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { self.visit_block(&finalize.block); // Check that the return type is defined. Note that the component types are already checked. - self.assert_type_is_defined(&finalize.output_type, finalize.span); + self.assert_type_is_valid(&finalize.output_type, finalize.span); // If the function has a return type, then check that it has a return. if finalize.output_type != Type::Unit && !self.has_return { diff --git a/compiler/passes/src/type_checking/check_statements.rs b/compiler/passes/src/type_checking/check_statements.rs index a33364080c..bda7770dcc 100644 --- a/compiler/passes/src/type_checking/check_statements.rs +++ b/compiler/passes/src/type_checking/check_statements.rs @@ -203,7 +203,7 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { fn visit_definition(&mut self, input: &'a DefinitionStatement) { // Check that the type of the definition is defined. - self.assert_type_is_defined(&input.type_, input.span); + self.assert_type_is_valid(&input.type_, input.span); // Check that the type of the definition is not a unit type, singleton tuple type, or nested tuple type. match &input.type_ { diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index f0c5c1364c..69873b0331 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -16,11 +16,12 @@ use crate::{CallGraph, StructGraph, SymbolTable}; -use leo_ast::{CoreConstant, CoreFunction, Identifier, IntegerType, MappingType, Node, Type, Variant}; +use leo_ast::{ArrayType, CoreConstant, CoreFunction, Identifier, IntegerType, MappingType, Node, Type, Variant}; use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{Span, Symbol}; use itertools::Itertools; +use snarkvm_console::network::{Network, Testnet3}; use std::cell::RefCell; pub struct TypeChecker<'a> { @@ -1054,8 +1055,8 @@ impl<'a> TypeChecker<'a> { } } - /// Emits an error if the type or its constituent types are not defined. - pub(crate) fn assert_type_is_defined(&self, type_: &Type, span: Span) -> bool { + /// Emits an error if the type or its constituent types is not valid. + pub(crate) fn assert_type_is_valid(&self, type_: &Type, span: Span) -> bool { let mut is_defined = true; match type_ { // String types are temporarily disabled. @@ -1071,13 +1072,25 @@ impl<'a> TypeChecker<'a> { // Check that the constituent types of the tuple are valid. Type::Tuple(tuple_type) => { for type_ in tuple_type.iter() { - is_defined &= self.assert_type_is_defined(type_, span) + is_defined &= self.assert_type_is_valid(type_, span) } } // Check that the constituent types of mapping are valid. Type::Mapping(mapping_type) => { - is_defined &= self.assert_type_is_defined(&mapping_type.key, span); - is_defined &= self.assert_type_is_defined(&mapping_type.value, span); + is_defined &= self.assert_type_is_valid(&mapping_type.key, span); + is_defined &= self.assert_type_is_valid(&mapping_type.value, span); + } + // Check that the array element types are valid. + Type::Array(array_type) => { + // Check that the array length is valid. + match array_type.length() { + 0 => self.emit_err(TypeCheckerError::array_empty(span)), + 1..=Testnet3::MAX_ARRAY_ELEMENTS => {} + length => { + self.emit_err(TypeCheckerError::array_too_large(length, Testnet3::MAX_ARRAY_ELEMENTS, span)) + } + } + is_defined &= self.assert_type_is_valid(array_type.element_type(), span) } _ => {} // Do nothing. } @@ -1092,6 +1105,11 @@ impl<'a> TypeChecker<'a> { _ => None, } } + + /// Emits an error if the type is not an array. + pub(crate) fn assert_array_type(&self, type_: &Option, span: Span) { + self.check_type(|type_| matches!(type_, Type::Array(_)), "array".to_string(), type_, span); + } } fn types_to_string(types: &[Type]) -> String { diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index 2b020a5016..c013b597d7 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -684,4 +684,18 @@ create_messages!( msg: format!("A constant declaration statement can only bind a single value"), help: None, } + + @formatted + array_empty { + args: (), + msg: format!("An array cannot be empty"), + help: None, + } + + @formatted + array_too_large { + args: (size: impl Display, max: impl Display), + msg: format!("An array cannot have more than {max} elements, found one with {size} elements"), + help: None, + } ); diff --git a/tests/tests/compiler/array/access_array_with_loop_counter.leo b/tests/tests/compiler/array/access_array_with_loop_counter.leo index 534ab6d605..23e38e4bde 100644 --- a/tests/tests/compiler/array/access_array_with_loop_counter.leo +++ b/tests/tests/compiler/array/access_array_with_loop_counter.leo @@ -6,7 +6,7 @@ expectation: Pass program test.aleo { transition foo(a: [bool; 4]) { - for i: i32 in 0u32..4u32 { + for i: u32 in 0u32..4u32 { assert(a[i]); } } diff --git a/tests/tests/compiler/array/array_initialization_fail.leo b/tests/tests/compiler/array/array_initialization_fail.leo index 99e1ce2315..46d07e37a2 100644 --- a/tests/tests/compiler/array/array_initialization_fail.leo +++ b/tests/tests/compiler/array/array_initialization_fail.leo @@ -1,6 +1,6 @@ /* namespace: Compile -expectation: Pass +expectation: Fail */ program test.aleo { diff --git a/tests/tests/compiler/array/array_too_large_fail.leo b/tests/tests/compiler/array/array_too_large_fail.leo index 6c8696d830..46b600adac 100644 --- a/tests/tests/compiler/array/array_too_large_fail.leo +++ b/tests/tests/compiler/array/array_too_large_fail.leo @@ -1,6 +1,6 @@ /* namespace: Compile -expectation: Pass +expectation: Fail */ program test.aleo { diff --git a/tests/tests/compiler/array/array_with_units_fail.leo b/tests/tests/compiler/array/array_with_units_fail.leo index bbd887b8d7..77e0f38c28 100644 --- a/tests/tests/compiler/array/array_with_units_fail.leo +++ b/tests/tests/compiler/array/array_with_units_fail.leo @@ -1,6 +1,6 @@ /* namespace: Compile -expectation: Pass +expectation: Fail */ program test.aleo { From 072ab7b930219a05c9451e902839b32ba923e779 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Mon, 9 Oct 2023 14:51:26 -0400 Subject: [PATCH 15/51] Change PositiveNumber to NonzeroNumber --- compiler/ast/src/access/tuple_access.rs | 4 +- compiler/ast/src/common/positive_number.rs | 42 ++++++++++++++----- compiler/ast/src/types/array.rs | 8 ++-- compiler/parser/src/parser/context.rs | 4 +- .../src/type_checking/check_expressions.rs | 4 +- 5 files changed, 41 insertions(+), 21 deletions(-) diff --git a/compiler/ast/src/access/tuple_access.rs b/compiler/ast/src/access/tuple_access.rs index 4799dd6c7b..26a9e6f7f2 100644 --- a/compiler/ast/src/access/tuple_access.rs +++ b/compiler/ast/src/access/tuple_access.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Expression, Node, NodeID, PositiveNumber}; +use crate::{Expression, Node, NodeID, NonzeroNumber}; use leo_span::Span; use serde::{Deserialize, Serialize}; @@ -26,7 +26,7 @@ pub struct TupleAccess { /// An expression evaluating to some tuple type, e.g., `(5, 2)`. pub tuple: Box, /// The index to access in the tuple expression. E.g., `0` for `(5, 2)` would yield `5`. - pub index: PositiveNumber, + pub index: NonzeroNumber, /// The span for the entire expression `tuple.index`. pub span: Span, /// The ID of the node. diff --git a/compiler/ast/src/common/positive_number.rs b/compiler/ast/src/common/positive_number.rs index c7e817eb8d..5aad1bbe1d 100644 --- a/compiler/ast/src/common/positive_number.rs +++ b/compiler/ast/src/common/positive_number.rs @@ -17,27 +17,47 @@ use serde::{Deserialize, Serialize}; use std::{fmt, str::FromStr}; -/// A number string guaranteed to be positive. +/// A number string guaranteed to be nonzero. #[derive(Clone, Serialize, Deserialize, Debug, PartialEq, Eq, Hash)] -pub struct PositiveNumber { - /// The string representation of the positive number. - // FIXME(Centril): This should become an `u128`. - pub value: String, +pub struct NonzeroNumber { + /// The string representation of the nonzero number. + string: String, + /// The numeric value of the nonzero number. + value: usize, } -impl PositiveNumber { +impl NonzeroNumber { + /// Returns the string representation of the nonzero number. + pub fn string(&self) -> &str { + &self.string + } + + /// Returns the numeric value of the nonzero number. + pub fn value(&self) -> usize { + self.value + } + /// Returns `true` if this number is zero. pub fn is_zero(&self) -> bool { - self.value.eq("0") + self.value == 0 } +} + +impl From for NonzeroNumber { + fn from(string: String) -> Self { + let value = usize::from_str(&string).unwrap(); + Self { string, value } + } +} - /// Converts the positive number into a `usize` or panics if it was malformed. - pub fn to_usize(&self) -> usize { - usize::from_str(&self.value).expect("failed to parse positive number") +impl From for NonzeroNumber { + fn from(value: usize) -> Self { + let string = value.to_string(); + Self { string, value } } } -impl fmt::Display for PositiveNumber { +impl fmt::Display for NonzeroNumber { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.value) } diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs index 6e0d644c3d..a9d9292998 100644 --- a/compiler/ast/src/types/array.rs +++ b/compiler/ast/src/types/array.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{PositiveNumber, Type}; +use crate::{NonzeroNumber, Type}; use serde::{Deserialize, Serialize}; use std::fmt; @@ -23,12 +23,12 @@ use std::fmt; #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct ArrayType { element_type: Box, - length: PositiveNumber, + length: NonzeroNumber, } impl ArrayType { /// Creates a new array type. - pub fn new(element: Type, length: PositiveNumber) -> Self { + pub fn new(element: Type, length: NonzeroNumber) -> Self { Self { element_type: Box::new(element), length } } @@ -39,7 +39,7 @@ impl ArrayType { /// Returns the length of the array. pub fn length(&self) -> usize { - self.length.to_usize() + self.length.value() } /// Returns the base element type of the array. diff --git a/compiler/parser/src/parser/context.rs b/compiler/parser/src/parser/context.rs index 5c1059b7f4..3ef12ced1a 100644 --- a/compiler/parser/src/parser/context.rs +++ b/compiler/parser/src/parser/context.rs @@ -156,7 +156,7 @@ impl<'a> ParserContext<'a> { /// Removes the next token if it is a [`Token::Integer(_)`] and returns it, or [None] if /// the next token is not a [`Token::Integer(_)`] or if the next token does not exist. /// - pub fn eat_whole_number(&mut self) -> Result<(PositiveNumber, Span)> { + pub fn eat_whole_number(&mut self) -> Result<(NonzeroNumber, Span)> { if let Token::Integer(value) = &self.token.token { let value = value.clone(); self.bump(); @@ -165,7 +165,7 @@ impl<'a> ParserContext<'a> { return Err(ParserError::tuple_index_must_be_whole_number(&self.token.token, self.token.span).into()); } - Ok((PositiveNumber { value }, self.prev_token.span)) + Ok((NonzeroNumber::from(value), self.prev_token.span)) } else { Err(ParserError::unexpected(&self.token.token, "integer literal", self.token.span).into()) } diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index e5e1f7e029..a2e2b968d4 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -100,7 +100,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { match type_ { Type::Tuple(tuple) => { // Check out of range access. - let index = access.index.to_usize(); + let index = access.index.value(); if index > tuple.len() - 1 { self.emit_err(TypeCheckerError::tuple_out_of_range(index, tuple.len(), access.span())); } else { @@ -255,7 +255,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { self.assert_type(&element_type, &first_type, element.span()); } // Return the array type. - Type::Array(ArrayType::new(first_type, PositiveNumber { value: input.elements.len().to_string() })) + Type::Array(ArrayType::new(first_type, NonzeroNumber::from(input.elements.len()))) }) } // The array cannot have more than `MAX_ARRAY_ELEMENTS` elements. From 5b2e73d419cfd2d9853ff7330a1f062b449641b8 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 08:55:59 -0400 Subject: [PATCH 16/51] Refactor TupleTyple --- compiler/ast/src/expressions/literal.rs | 1 - compiler/ast/src/functions/finalize.rs | 2 +- compiler/ast/src/functions/mod.rs | 2 +- compiler/ast/src/types/tuple.rs | 27 ++++++++++++++++--------- compiler/ast/src/types/type_.rs | 8 +++++--- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/compiler/ast/src/expressions/literal.rs b/compiler/ast/src/expressions/literal.rs index ecdcb2aa99..3777c57e27 100644 --- a/compiler/ast/src/expressions/literal.rs +++ b/compiler/ast/src/expressions/literal.rs @@ -18,7 +18,6 @@ use crate::{GroupLiteral, IntegerType}; use super::*; -// TODO: Refactor integer literals to use `IntegerType`. /// A literal. #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub enum Literal { diff --git a/compiler/ast/src/functions/finalize.rs b/compiler/ast/src/functions/finalize.rs index f6a3a779ce..fbc0b31173 100644 --- a/compiler/ast/src/functions/finalize.rs +++ b/compiler/ast/src/functions/finalize.rs @@ -53,7 +53,7 @@ impl Finalize { let output_type = match output.len() { 0 => Type::Unit, 1 => output[0].type_(), - _ => Type::Tuple(TupleType(output.iter().map(|output| output.type_()).collect())), + _ => Type::Tuple(TupleType::new(output.iter().map(|output| output.type_()).collect())), }; Self { identifier, input, output, output_type, block, span, id } diff --git a/compiler/ast/src/functions/mod.rs b/compiler/ast/src/functions/mod.rs index 64d0b01928..e305838a9f 100644 --- a/compiler/ast/src/functions/mod.rs +++ b/compiler/ast/src/functions/mod.rs @@ -100,7 +100,7 @@ impl Function { let output_type = match output.len() { 0 => Type::Unit, 1 => get_output_type(&output[0]), - _ => Type::Tuple(TupleType(output.iter().map(get_output_type).collect())), + _ => Type::Tuple(TupleType::new(output.iter().map(get_output_type).collect())), }; Function { annotations, variant, identifier, input, output, output_type, block, finalize, span, id } diff --git a/compiler/ast/src/types/tuple.rs b/compiler/ast/src/types/tuple.rs index f5da3c56e2..fad0ffbcf3 100644 --- a/compiler/ast/src/types/tuple.rs +++ b/compiler/ast/src/types/tuple.rs @@ -17,24 +17,33 @@ use crate::Type; use serde::{Deserialize, Serialize}; -use std::{fmt, ops::Deref}; - -// TODO: Consider defining a safe interface for constructing a tuple type. +use std::fmt; /// A type list of at least two types. #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] -pub struct TupleType(pub Vec); +pub struct TupleType { + elements: Vec, +} -impl Deref for TupleType { - type Target = Vec; +impl TupleType { + /// Creates a new tuple type. + pub fn new(elements: Vec) -> Self { + Self { elements } + } + + /// Returns the elements of the tuple type. + pub fn elements(&self) -> &[Type] { + &self.elements + } - fn deref(&self) -> &Self::Target { - &self.0 + /// Returns the length of the tuple type. + pub fn length(&self) -> usize { + self.elements.len() } } impl fmt::Display for TupleType { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "({})", self.0.iter().map(|x| x.to_string()).collect::>().join(",")) + write!(f, "({})", self.elements.iter().map(|x| x.to_string()).collect::>().join(",")) } } diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index d99aa53b5e..928a80df78 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -78,9 +78,11 @@ impl Type { (Type::Mapping(left), Type::Mapping(right)) => { left.key.eq_flat(&right.key) && left.value.eq_flat(&right.value) } - (Type::Tuple(left), Type::Tuple(right)) if left.len() == right.len() => { - left.iter().zip_eq(right.iter()).all(|(left_type, right_type)| left_type.eq_flat(right_type)) - } + (Type::Tuple(left), Type::Tuple(right)) if left.length() == right.length() => left + .elements() + .iter() + .zip_eq(right.elements().iter()) + .all(|(left_type, right_type)| left_type.eq_flat(right_type)), _ => false, } } From d3209dae9cbcc136a831faa9df66a83c643b94e1 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 08:56:20 -0400 Subject: [PATCH 17/51] Cleanup --- compiler/compiler/tests/utilities/check_unique_node_ids.rs | 2 +- compiler/parser/src/parser/type_.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/compiler/tests/utilities/check_unique_node_ids.rs b/compiler/compiler/tests/utilities/check_unique_node_ids.rs index 09c9451e34..61cac355a5 100644 --- a/compiler/compiler/tests/utilities/check_unique_node_ids.rs +++ b/compiler/compiler/tests/utilities/check_unique_node_ids.rs @@ -47,7 +47,7 @@ impl<'a> CheckUniqueNodeIds<'a> { self.check_ty(&mapping.value); } Type::Tuple(tuple) => { - for ty in &tuple.0 { + for ty in tuple.elements() { self.check_ty(ty); } } diff --git a/compiler/parser/src/parser/type_.rs b/compiler/parser/src/parser/type_.rs index f3c4700d32..9c06ecfff7 100644 --- a/compiler/parser/src/parser/type_.rs +++ b/compiler/parser/src/parser/type_.rs @@ -102,7 +102,7 @@ impl ParserContext<'_> { 1 => Err(ParserError::tuple_must_have_at_least_two_elements("type", span).into()), // Otherwise, parse it into a `Tuple` type. // Note: This is the only place where `Tuple` type is constructed in the parser. - _ => Ok((Type::Tuple(TupleType(types.into_iter().map(|t| t.0).collect())), span)), + _ => Ok((Type::Tuple(TupleType::new(types.into_iter().map(|t| t.0).collect())), span)), } } else { self.parse_primitive_type() From 4b9a96ee50e17e26aca9e76cec6157f3d44822e4 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 08:57:54 -0400 Subject: [PATCH 18/51] Update passes --- .../src/code_generation/visit_expressions.rs | 2 +- .../src/loop_unrolling/unroll_statement.rs | 2 +- .../src/type_checking/check_expressions.rs | 16 +++++---- .../src/type_checking/check_statements.rs | 36 ++++++++++--------- compiler/passes/src/type_checking/checker.rs | 4 +-- 5 files changed, 33 insertions(+), 27 deletions(-) diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index d09a3c4216..839d520c3c 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -554,7 +554,7 @@ impl<'a> CodeGenerator<'a> { let return_type = &self.symbol_table.lookup_fn_symbol(function_name).unwrap().output_type; match return_type { Type::Unit => {} // Do nothing - Type::Tuple(tuple) => match tuple.len() { + Type::Tuple(tuple) => match tuple.length() { 0 | 1 => unreachable!("Parsing guarantees that a tuple type has at least two elements"), len => { for _ in 0..len { diff --git a/compiler/passes/src/loop_unrolling/unroll_statement.rs b/compiler/passes/src/loop_unrolling/unroll_statement.rs index 01558d1037..56b4ae46e5 100644 --- a/compiler/passes/src/loop_unrolling/unroll_statement.rs +++ b/compiler/passes/src/loop_unrolling/unroll_statement.rs @@ -99,7 +99,7 @@ impl StatementReconstructor for Unroller<'_> { "Type checking guarantees that if the lhs is a tuple, its associated type is also a tuple." ), }; - tuple_expression.elements.iter().zip_eq(tuple_type.0.iter()).for_each(|(expression, _type_)| { + tuple_expression.elements.iter().zip_eq(tuple_type.elements().iter()).for_each(|(expression, _type_)| { let identifier = match expression { Expression::Identifier(identifier) => identifier, _ => unreachable!("Type checking guarantees that if the lhs is a tuple, all of its elements are identifiers.") diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index a2e2b968d4..d420d58163 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -101,11 +101,15 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { Type::Tuple(tuple) => { // Check out of range access. let index = access.index.value(); - if index > tuple.len() - 1 { - self.emit_err(TypeCheckerError::tuple_out_of_range(index, tuple.len(), access.span())); + if index > tuple.length() - 1 { + self.emit_err(TypeCheckerError::tuple_out_of_range( + index, + tuple.length(), + access.span(), + )); } else { // Lookup type of tuple index. - let actual = tuple.get(index).expect("failed to get tuple index").clone(); + let actual = tuple.elements().get(index).expect("failed to get tuple index").clone(); if let Some(expected) = expected { // Emit error for mismatched types. if !actual.eq_flat(expected) { @@ -744,15 +748,15 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { // Check the expected tuple types if they are known. if let Some(Type::Tuple(expected_types)) = expected { // Check actual length is equal to expected length. - if expected_types.len() != input.elements.len() { + if expected_types.length() != input.elements.len() { self.emit_err(TypeCheckerError::incorrect_tuple_length( - expected_types.len(), + expected_types.length(), input.elements.len(), input.span(), )); } - expected_types.iter().zip(input.elements.iter()).for_each(|(expected, expr)| { + expected_types.elements().iter().zip(input.elements.iter()).for_each(|(expected, expr)| { // Check that the component expression is not a tuple. if matches!(expr, Expression::Tuple(_)) { self.emit_err(TypeCheckerError::nested_tuple_expression(expr.span())) diff --git a/compiler/passes/src/type_checking/check_statements.rs b/compiler/passes/src/type_checking/check_statements.rs index bda7770dcc..1bd4e0a1ab 100644 --- a/compiler/passes/src/type_checking/check_statements.rs +++ b/compiler/passes/src/type_checking/check_statements.rs @@ -157,10 +157,10 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { // If the type is an empty tuple, return an error. Type::Unit => self.emit_err(TypeCheckerError::lhs_must_be_identifier_or_tuple(input.span)), // If the type is a singleton tuple, return an error. - Type::Tuple(tuple) => match tuple.len() { + Type::Tuple(tuple) => match tuple.length() { 0 | 1 => unreachable!("Parsing guarantees that tuple types have at least two elements."), _ => { - if tuple.iter().any(|type_| matches!(type_, Type::Tuple(_))) { + if tuple.elements().iter().any(|type_| matches!(type_, Type::Tuple(_))) { self.emit_err(TypeCheckerError::nested_tuple_type(input.span)) } } @@ -210,10 +210,10 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { // If the type is an empty tuple, return an error. Type::Unit => self.emit_err(TypeCheckerError::lhs_must_be_identifier_or_tuple(input.span)), // If the type is a singleton tuple, return an error. - Type::Tuple(tuple) => match tuple.len() { + Type::Tuple(tuple) => match tuple.length() { 0 | 1 => unreachable!("Parsing guarantees that tuple types have at least two elements."), _ => { - if tuple.iter().any(|type_| matches!(type_, Type::Tuple(_))) { + if tuple.elements().iter().any(|type_| matches!(type_, Type::Tuple(_))) { self.emit_err(TypeCheckerError::nested_tuple_type(input.span)) } } @@ -252,25 +252,27 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { "Type checking guarantees that if the lhs is a tuple, its associated type is also a tuple." ), }; - if tuple_expression.elements.len() != tuple_type.len() { + if tuple_expression.elements.len() != tuple_type.length() { return self.emit_err(TypeCheckerError::incorrect_num_tuple_elements( tuple_expression.elements.len(), - tuple_type.len(), + tuple_type.length(), input.place.span(), )); } - tuple_expression.elements.iter().zip_eq(tuple_type.0.iter()).for_each(|(expression, type_)| { - let identifier = match expression { - Expression::Identifier(identifier) => identifier, - _ => { - return self.emit_err(TypeCheckerError::lhs_tuple_element_must_be_an_identifier( - expression.span(), - )); - } - }; - insert_variable(identifier.name, type_.clone(), identifier.span) - }); + tuple_expression.elements.iter().zip_eq(tuple_type.elements().iter()).for_each( + |(expression, type_)| { + let identifier = match expression { + Expression::Identifier(identifier) => identifier, + _ => { + return self.emit_err(TypeCheckerError::lhs_tuple_element_must_be_an_identifier( + expression.span(), + )); + } + }; + insert_variable(identifier.name, type_.clone(), identifier.span) + }, + ); } _ => self.emit_err(TypeCheckerError::lhs_must_be_identifier_or_tuple(input.place.span())), } diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 69873b0331..8768fd86e7 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -1047,7 +1047,7 @@ impl<'a> TypeChecker<'a> { self.emit_err(TypeCheckerError::struct_or_record_cannot_contain_record(parent, identifier.name, span)) } Type::Tuple(tuple_type) => { - for type_ in tuple_type.iter() { + for type_ in tuple_type.elements().iter() { self.assert_member_is_not_record(span, parent, type_) } } @@ -1071,7 +1071,7 @@ impl<'a> TypeChecker<'a> { } // Check that the constituent types of the tuple are valid. Type::Tuple(tuple_type) => { - for type_ in tuple_type.iter() { + for type_ in tuple_type.elements().iter() { is_defined &= self.assert_type_is_valid(type_, span) } } From 82ad245aff117c16a5bf9de2dd0795c59f925255 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 08:58:10 -0400 Subject: [PATCH 19/51] WIP flattening --- .../src/flattening/flatten_expression.rs | 223 +---------------- .../src/flattening/flatten_statement.rs | 6 +- compiler/passes/src/flattening/flattener.rs | 224 ++++++++++++++++++ 3 files changed, 240 insertions(+), 213 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index c171d9dd40..fece7baacd 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -19,6 +19,7 @@ use itertools::Itertools; use leo_ast::{ AccessExpression, + ArrayAccess, AssociatedFunction, Expression, ExpressionReconstructor, @@ -41,6 +42,12 @@ impl ExpressionReconstructor for Flattener<'_> { let mut statements = Vec::new(); ( match input { + AccessExpression::Array(array) => Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(self.reconstruct_expression(*array.array).0), + index: Box::new(self.reconstruct_expression(*array.index).0), + span: array.span, + id: array.id, + })), AccessExpression::AssociatedFunction(function) => { Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { ty: function.ty, @@ -71,12 +78,14 @@ impl ExpressionReconstructor for Flattener<'_> { match expr { Expression::Identifier(identifier) => { // Note that this unwrap is safe since TYC guarantees that all tuples are declared and indices are valid. - self.tuples.get(&identifier.name).unwrap().elements[tuple.index.to_usize()].clone() + self.tuples.get(&identifier.name).unwrap().elements[tuple.index.value()].clone() } _ => unreachable!("SSA guarantees that subexpressions are identifiers or literals."), } } - expr => Expression::Access(expr), + AccessExpression::AssociatedConstant(access) => { + Expression::Access(AccessExpression::AssociatedConstant(access)) + } }, statements, ) @@ -105,7 +114,7 @@ impl ExpressionReconstructor for Flattener<'_> { (Expression::Struct(StructExpression { name: input.name, members, span: input.span, id: input.id }), statements) } - /// Reconstructs ternary expressions over tuples and structs, accumulating any statements that are generated. + /// Reconstructs ternary expressions over arrays, structs, and tuples, accumulating any statements that are generated. /// This is necessary because Aleo instructions does not support ternary expressions over composite data types. /// For example, the ternary expression `cond ? (a, b) : (c, d)` is flattened into the following: /// ```leo @@ -123,154 +132,6 @@ impl ExpressionReconstructor for Flattener<'_> { fn reconstruct_ternary(&mut self, input: TernaryExpression) -> (Expression, Self::AdditionalOutput) { let mut statements = Vec::new(); match (*input.if_true, *input.if_false) { - // Folds ternary expressions over tuples into a tuple of ternary expression. - // Note that this branch is only invoked when folding a conditional returns. - (Expression::Tuple(first), Expression::Tuple(second)) => { - let tuple = Expression::Tuple(TupleExpression { - elements: first - .elements - .into_iter() - .zip_eq(second.elements) - .map(|(if_true, if_false)| { - // Reconstruct the true case. - let (if_true, stmts) = self.reconstruct_expression(if_true); - statements.extend(stmts); - - // Reconstruct the false case. - let (if_false, stmts) = self.reconstruct_expression(if_false); - statements.extend(stmts); - - // Construct a new ternary expression for the tuple element. - let (ternary, stmts) = self.reconstruct_ternary(TernaryExpression { - condition: input.condition.clone(), - if_true: Box::new(if_true), - if_false: Box::new(if_false), - span: input.span, - id: input.id, - }); - - // Accumulate any statements generated. - statements.extend(stmts); - - // Create and accumulate an intermediate assignment statement for the ternary expression corresponding to the tuple element. - let (identifier, statement) = self.unique_simple_assign_statement(ternary); - statements.push(statement); - - // Return the identifier associated with the folded tuple element. - Expression::Identifier(identifier) - }) - .collect(), - span: Default::default(), - id: self.node_builder.next_id(), - }); - (tuple, statements) - } - // If both expressions are access expressions which themselves are structs, construct ternary expression for nested struct member. - ( - Expression::Access(AccessExpression::Member(first)), - Expression::Access(AccessExpression::Member(second)), - ) => { - // Lookup the struct symbols associated with the expressions. - // TODO: Remove clones - let first_struct_symbol = - self.lookup_struct_symbol(&Expression::Access(AccessExpression::Member(first.clone()))); - let second_struct_symbol = - self.lookup_struct_symbol(&Expression::Access(AccessExpression::Member(second.clone()))); - - match (first_struct_symbol, second_struct_symbol) { - (Some(first_struct_symbol), Some(second_struct_symbol)) => { - let first_member_struct = self.symbol_table.lookup_struct(first_struct_symbol).unwrap(); - let second_member_struct = self.symbol_table.lookup_struct(second_struct_symbol).unwrap(); - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(first_member_struct, second_member_struct); - - // For each struct member, construct a new ternary expression. - let members = first_member_struct - .members - .iter() - .map(|Member { identifier, .. }| { - // Construct a new ternary expression for the struct member. - let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { - condition: input.condition.clone(), - if_true: Box::new(Expression::Access(AccessExpression::Member(MemberAccess { - inner: Box::new(Expression::Access(AccessExpression::Member(first.clone()))), - name: *identifier, - span: Default::default(), - id: self.node_builder.next_id(), - }))), - if_false: Box::new(Expression::Access(AccessExpression::Member(MemberAccess { - inner: Box::new(Expression::Access(AccessExpression::Member(second.clone()))), - name: *identifier, - span: Default::default(), - id: self.node_builder.next_id(), - }))), - span: Default::default(), - id: self.node_builder.next_id(), - }); - - // Accumulate any statements generated. - statements.extend(stmts); - - // Create and accumulate an intermediate assignment statement for the ternary expression corresponding to the struct member. - let (result, statement) = self.unique_simple_assign_statement(expression); - statements.push(statement); - - StructVariableInitializer { - identifier: *identifier, - expression: Some(Expression::Identifier(result)), - span: Default::default(), - id: self.node_builder.next_id(), - } - }) - .collect(); - - let (expr, stmts) = self.reconstruct_struct_init(StructExpression { - name: first_member_struct.identifier, - members, - span: Default::default(), - id: self.node_builder.next_id(), - }); - - // Accumulate any statements generated. - statements.extend(stmts); - - // Create a new assignment statement for the struct expression. - let (identifier, statement) = self.unique_simple_assign_statement(expr); - - // Mark the lhs of the assignment as a struct. - self.structs.insert(identifier.name, first_member_struct.identifier.name); - - statements.push(statement); - - (Expression::Identifier(identifier), statements) - } - _ => { - let if_true = Expression::Access(AccessExpression::Member(first)); - let if_false = Expression::Access(AccessExpression::Member(second)); - // Reconstruct the true case. - let (if_true, stmts) = self.reconstruct_expression(if_true); - statements.extend(stmts); - - // Reconstruct the false case. - let (if_false, stmts) = self.reconstruct_expression(if_false); - statements.extend(stmts); - - let (identifier, statement) = - self.unique_simple_assign_statement(Expression::Ternary(TernaryExpression { - condition: input.condition, - if_true: Box::new(if_true), - if_false: Box::new(if_false), - span: input.span, - id: input.id, - })); - - // Accumulate the new assignment statement. - statements.push(statement); - - (Expression::Identifier(identifier), statements) - } - } - } // If both expressions are identifiers which are structs, construct ternary expression for each of the members and a struct expression for the result. (Expression::Identifier(first), Expression::Identifier(second)) if self.structs.contains_key(&first.name) && self.structs.contains_key(&second.name) => @@ -280,65 +141,7 @@ impl ExpressionReconstructor for Flattener<'_> { // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. assert_eq!(first_struct, second_struct); - // For each struct member, construct a new ternary expression. - let members = first_struct - .members - .iter() - .map(|Member { identifier, .. }| { - // Construct a new ternary expression for the struct member. - let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { - condition: input.condition.clone(), - if_true: Box::new(Expression::Access(AccessExpression::Member(MemberAccess { - inner: Box::new(Expression::Identifier(first)), - name: *identifier, - span: Default::default(), - id: self.node_builder.next_id(), - }))), - if_false: Box::new(Expression::Access(AccessExpression::Member(MemberAccess { - inner: Box::new(Expression::Identifier(second)), - name: *identifier, - span: Default::default(), - id: self.node_builder.next_id(), - }))), - span: Default::default(), - id: self.node_builder.next_id(), - }); - - // Accumulate any statements generated. - statements.extend(stmts); - - // Create and accumulate an intermediate assignment statement for the ternary expression corresponding to the struct member. - let (result, statement) = self.unique_simple_assign_statement(expression); - statements.push(statement); - - StructVariableInitializer { - identifier: *identifier, - expression: Some(Expression::Identifier(result)), - span: Default::default(), - id: self.node_builder.next_id(), - } - }) - .collect(); - - let (expr, stmts) = self.reconstruct_struct_init(StructExpression { - name: first_struct.identifier, - members, - span: Default::default(), - id: self.node_builder.next_id(), - }); - - // Accumulate any statements generated. - statements.extend(stmts); - - // Create a new assignment statement for the struct expression. - let (identifier, statement) = self.unique_simple_assign_statement(expr); - - // Mark the lhs of the assignment as a struct. - self.structs.insert(identifier.name, first_struct.identifier.name); - - statements.push(statement); - - (Expression::Identifier(identifier), statements) + self.ternary_struct(first_struct, &input.condition, &first, &second) } // If both expressions are identifiers which map to tuples, construct ternary expression over the tuples. (Expression::Identifier(first), Expression::Identifier(second)) diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index ebb14c9e80..1e0a852fff 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -181,8 +181,8 @@ impl StatementReconstructor for Flattener<'_> { Type::Tuple(tuple) => { // Create a new tuple expression with unique identifiers for each index of the lhs. let tuple_expression = TupleExpression { - elements: (0..tuple.len()) - .zip_eq(tuple.0.iter()) + elements: (0..tuple.length()) + .zip_eq(tuple.elements().iter()) .map(|(i, type_)| { let identifier = Identifier::new( self.assigner.unique_symbol(lhs_identifier.name, format!("$index${i}$")), @@ -299,7 +299,7 @@ impl StatementReconstructor for Flattener<'_> { _ => unreachable!("Type checking guarantees that the output type is a tuple."), }; - tuple.elements.iter().zip_eq(output_type.0.iter()).for_each(|(identifier, type_)| { + tuple.elements.iter().zip_eq(output_type.elements().iter()).for_each(|(identifier, type_)| { let identifier = match identifier { Expression::Identifier(identifier) => identifier, _ => unreachable!("Type checking guarantees that a tuple element on the lhs is an identifier."), diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 07447390f5..224b16db27 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -18,18 +18,29 @@ use crate::{Assigner, SymbolTable}; use leo_ast::{ AccessExpression, + ArrayAccess, + ArrayType, BinaryExpression, BinaryOperation, Block, Expression, ExpressionReconstructor, Identifier, + IntegerType, + Literal, Member, + MemberAccess, NodeBuilder, + NonzeroNumber, ReturnStatement, Statement, + Struct, + StructExpression, + StructVariableInitializer, TernaryExpression, + TupleAccess, TupleExpression, + TupleType, Type, UnitExpression, }; @@ -55,6 +66,8 @@ pub struct Flattener<'a> { pub(crate) returns: Vec<(Option, ReturnStatement)>, /// A mapping between variables and flattened tuple expressions. pub(crate) tuples: IndexMap, + /// A mapping from variables to array types. + pub(crate) arrays: IndexMap, } impl<'a> Flattener<'a> { @@ -67,6 +80,7 @@ impl<'a> Flattener<'a> { condition_stack: Vec::new(), returns: Vec::new(), tuples: IndexMap::new(), + arrays: IndexMap::new(), } } @@ -189,6 +203,7 @@ impl<'a> Flattener<'a> { } /// A wrapper around `assigner.unique_simple_assign_statement` that updates `self.structs`. + // TODO (@d0cd) Update to check for tuples and arrays pub(crate) fn unique_simple_assign_statement(&mut self, expr: Expression) -> (Identifier, Statement) { // Create a new variable for the expression. let name = self.assigner.unique_symbol("$var", "$"); @@ -281,4 +296,213 @@ impl<'a> Flattener<'a> { })); } } + + pub(crate) fn ternary_array( + &mut self, + array: &ArrayType, + condition: &Expression, + first: &Identifier, + second: &Identifier, + ) -> (Expression, Vec) { + // Initialize a vector to accumulate any statements generated. + let mut statements = Vec::new(); + // For each array element, construct a new ternary expression. + let elements = (0..array.length()).map(|i| { + // Create an assignment statement for the first access expression. + let (first, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(Expression::Identifier(*first)), + index: Box::new(Expression::Literal(Literal::Integer( + IntegerType::U32, + i.to_string(), + Default::default(), + self.node_builder.next_id(), + ))), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + // Create an assignment statement for the second access expression. + let (second, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(Expression::Identifier(*second)), + index: Box::new(Expression::Literal(Literal::Integer( + IntegerType::U32, + i.to_string(), + Default::default(), + self.node_builder.next_id(), + ))), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + + // Recursively reconstruct the ternary expression. + let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { + condition: Box::new(condition.clone()), + // Access the member of the first expression. + if_true: Box::new(Expression::Identifier(first)), + // Access the member of the second expression. + if_false: Box::new(Expression::Identifier(second)), + span: Default::default(), + id: self.node_builder.next_id(), + }); + + // Accumulate any statements generated. + statements.extend(stmts); + + // Create a new assignment statement for the struct expression. + let (identifier, statement) = self.unique_simple_assign_statement(expression); + + // Mark the lhs of the assignment as an array. + self.arrays.insert(identifier.name, array.clone()); + + statements.push(statement); + + (Expression::Identifier(identifier), statements) + }); + } + + pub(crate) fn ternary_struct( + &mut self, + struct_: &Struct, + condition: &Expression, + first: &Identifier, + second: &Identifier, + ) -> (Expression, Vec) { + // Initialize a vector to accumulate any statements generated. + let mut statements = Vec::new(); + // For each struct member, construct a new ternary expression. + let members = struct_ + .members + .iter() + .map(|Member { identifier, .. }| { + // Create an assignment statement for the first access expression. + let (first, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Member(MemberAccess { + inner: Box::new(Expression::Identifier(*first)), + name: *identifier, + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + // Create an assignment statement for the second access expression. + let (second, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Member(MemberAccess { + inner: Box::new(Expression::Identifier(*second)), + name: *identifier, + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + // Recursively reconstruct the ternary expression. + let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { + condition: Box::new(condition.clone()), + // Access the member of the first expression. + if_true: Box::new(Expression::Identifier(first)), + // Access the member of the second expression. + if_false: Box::new(Expression::Identifier(second)), + span: Default::default(), + id: self.node_builder.next_id(), + }); + + // Accumulate any statements generated. + statements.extend(stmts); + + StructVariableInitializer { + identifier: *identifier, + expression: Some(expression), + span: Default::default(), + id: self.node_builder.next_id(), + } + }) + .collect(); + + let (expr, stmts) = self.reconstruct_struct_init(StructExpression { + name: struct_.identifier, + members, + span: Default::default(), + id: self.node_builder.next_id(), + }); + + // Accumulate any statements generated. + statements.extend(stmts); + + // Create a new assignment statement for the struct expression. + let (identifier, statement) = self.unique_simple_assign_statement(expr); + + // Mark the lhs of the assignment as a struct. + self.structs.insert(identifier.name, struct_.identifier.name); + + statements.push(statement); + + (Expression::Identifier(identifier), statements) + } + + pub(crate) fn ternary_tuple( + &mut self, + tuple: TupleType, + condition: &Expression, + first: &Identifier, + second: &Identifier, + ) -> (Expression, Vec) { + // Initialize a vector to accumulate any statements generated. + let mut statements = Vec::new(); + // For each tuple element, construct a new ternary expression. + let elements = (0..tuple.length()) + .map(|i| { + // Create an assignment statement for the first access expression. + let (first, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Tuple(TupleAccess { + tuple: Box::new(Expression::Identifier(*first)), + index: NonzeroNumber::from(i), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + // Create an assignment statement for the second access expression. + let (second, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Tuple(TupleAccess { + tuple: Box::new(Expression::Identifier(*second)), + index: NonzeroNumber::from(i), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + + // Recursively reconstruct the ternary expression. + let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { + condition: Box::new(condition.clone()), + // Access the member of the first expression. + if_true: Box::new(Expression::Identifier(first)), + // Access the member of the second expression. + if_false: Box::new(Expression::Identifier(second)), + span: Default::default(), + id: self.node_builder.next_id(), + }); + + // Accumulate any statements generated. + statements.extend(stmts); + + expression + }) + .collect(); + + // Construct the tuple expression. + let tuple = TupleExpression { elements, span: Default::default(), id: self.node_builder.next_id() }; + let (expr, stmts) = self.reconstruct_tuple(tuple.clone()); + + // Accumulate any statements generated. + statements.extend(stmts); + + // Create a new assignment statement for the tuple expression. + let (identifier, statement) = self.unique_simple_assign_statement(expr); + + // Mark the lhs of the assignment as a tuple. + self.tuples.insert(identifier.name, tuple); + + statements.push(statement); + + (Expression::Identifier(identifier), statements) + } } From 7e5a6e9755123b467f96225b6af3e45a5426e870 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 09:12:25 -0400 Subject: [PATCH 20/51] WIP flattening for arrays --- .../src/flattening/flatten_expression.rs | 11 ++ compiler/passes/src/flattening/flattener.rs | 111 ++++++++++-------- 2 files changed, 74 insertions(+), 48 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index fece7baacd..be8b23bd14 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -132,6 +132,17 @@ impl ExpressionReconstructor for Flattener<'_> { fn reconstruct_ternary(&mut self, input: TernaryExpression) -> (Expression, Self::AdditionalOutput) { let mut statements = Vec::new(); match (*input.if_true, *input.if_false) { + // If both expressions are identifiers which are arrays, construct ternary expressions for each of the members and an array expression for the result. + (Expression::Identifier(first), Expression::Identifier(second)) + if self.arrays.contains_key(&first.name) && self.arrays.contains_key(&second.name) => + { + let first_array = self.arrays.get(&first.name).unwrap().clone(); + let second_array = self.arrays.get(&second.name).unwrap(); + // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. + assert_eq!(&first_array, second_array); + + self.ternary_array(first_array, &input.condition, &first, &second) + } // If both expressions are identifiers which are structs, construct ternary expression for each of the members and a struct expression for the result. (Expression::Identifier(first), Expression::Identifier(second)) if self.structs.contains_key(&first.name) && self.structs.contains_key(&second.name) => diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 224b16db27..4566cf256e 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -19,6 +19,7 @@ use crate::{Assigner, SymbolTable}; use leo_ast::{ AccessExpression, ArrayAccess, + ArrayExpression, ArrayType, BinaryExpression, BinaryOperation, @@ -299,7 +300,7 @@ impl<'a> Flattener<'a> { pub(crate) fn ternary_array( &mut self, - array: &ArrayType, + array: ArrayType, condition: &Expression, first: &Identifier, second: &Identifier, @@ -307,60 +308,74 @@ impl<'a> Flattener<'a> { // Initialize a vector to accumulate any statements generated. let mut statements = Vec::new(); // For each array element, construct a new ternary expression. - let elements = (0..array.length()).map(|i| { - // Create an assignment statement for the first access expression. - let (first, stmt) = - self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { - array: Box::new(Expression::Identifier(*first)), - index: Box::new(Expression::Literal(Literal::Integer( - IntegerType::U32, - i.to_string(), - Default::default(), - self.node_builder.next_id(), - ))), - span: Default::default(), - id: self.node_builder.next_id(), - }))); - statements.push(stmt); - // Create an assignment statement for the second access expression. - let (second, stmt) = - self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { - array: Box::new(Expression::Identifier(*second)), - index: Box::new(Expression::Literal(Literal::Integer( - IntegerType::U32, - i.to_string(), - Default::default(), - self.node_builder.next_id(), - ))), + let elements = (0..array.length()) + .map(|i| { + // Create an assignment statement for the first access expression. + let (first, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(Expression::Identifier(*first)), + index: Box::new(Expression::Literal(Literal::Integer( + IntegerType::U32, + i.to_string(), + Default::default(), + self.node_builder.next_id(), + ))), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + // Create an assignment statement for the second access expression. + let (second, stmt) = + self.unique_simple_assign_statement(Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(Expression::Identifier(*second)), + index: Box::new(Expression::Literal(Literal::Integer( + IntegerType::U32, + i.to_string(), + Default::default(), + self.node_builder.next_id(), + ))), + span: Default::default(), + id: self.node_builder.next_id(), + }))); + statements.push(stmt); + + // Recursively reconstruct the ternary expression. + let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { + condition: Box::new(condition.clone()), + // Access the member of the first expression. + if_true: Box::new(Expression::Identifier(first)), + // Access the member of the second expression. + if_false: Box::new(Expression::Identifier(second)), span: Default::default(), id: self.node_builder.next_id(), - }))); - statements.push(stmt); - - // Recursively reconstruct the ternary expression. - let (expression, stmts) = self.reconstruct_ternary(TernaryExpression { - condition: Box::new(condition.clone()), - // Access the member of the first expression. - if_true: Box::new(Expression::Identifier(first)), - // Access the member of the second expression. - if_false: Box::new(Expression::Identifier(second)), - span: Default::default(), - id: self.node_builder.next_id(), - }); + }); - // Accumulate any statements generated. - statements.extend(stmts); + // Accumulate any statements generated. + statements.extend(stmts); - // Create a new assignment statement for the struct expression. - let (identifier, statement) = self.unique_simple_assign_statement(expression); + expression + }) + .collect(); - // Mark the lhs of the assignment as an array. - self.arrays.insert(identifier.name, array.clone()); + // Construct the array expression. + let (expr, stmts) = self.reconstruct_array(ArrayExpression { + elements, + span: Default::default(), + id: self.node_builder.next_id(), + }); - statements.push(statement); + // Accumulate any statements generated. + statements.extend(stmts); - (Expression::Identifier(identifier), statements) - }); + // Create a new assignment statement for the array expression. + let (identifier, statement) = self.unique_simple_assign_statement(expr); + + // Mark the lhs of the assignment as an array. + self.arrays.insert(identifier.name, array); + + statements.push(statement); + + (Expression::Identifier(identifier), statements) } pub(crate) fn ternary_struct( From d1a5283513c11f6eb53dfeea380b7d466fa40aaf Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 17:48:59 -0400 Subject: [PATCH 21/51] WIP --- .../src/flattening/flatten_expression.rs | 6 +-- .../passes/src/flattening/flatten_program.rs | 8 ++- .../src/flattening/flatten_statement.rs | 19 ++++--- compiler/passes/src/flattening/flattener.rs | 52 ++++--------------- 4 files changed, 32 insertions(+), 53 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index be8b23bd14..cea07d5ec0 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -147,10 +147,10 @@ impl ExpressionReconstructor for Flattener<'_> { (Expression::Identifier(first), Expression::Identifier(second)) if self.structs.contains_key(&first.name) && self.structs.contains_key(&second.name) => { - let first_struct = self.symbol_table.lookup_struct(*self.structs.get(&first.name).unwrap()).unwrap(); - let second_struct = self.symbol_table.lookup_struct(*self.structs.get(&second.name).unwrap()).unwrap(); + let first_struct = self.structs.get(&first.name).unwrap().clone(); + let second_struct = self.structs.get(&second.name).unwrap(); // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(first_struct, second_struct); + assert_eq!(&first_struct, second_struct); self.ternary_struct(first_struct, &input.condition, &first, &second) } diff --git a/compiler/passes/src/flattening/flatten_program.rs b/compiler/passes/src/flattening/flatten_program.rs index 3434c490ff..773490eae5 100644 --- a/compiler/passes/src/flattening/flatten_program.rs +++ b/compiler/passes/src/flattening/flatten_program.rs @@ -28,7 +28,9 @@ impl ProgramReconstructor for Flattener<'_> { self.structs = Default::default(); for input in &finalize.input { if let Type::Identifier(struct_name) = input.type_() { - self.structs.insert(input.identifier().name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(input.identifier().name, struct_); } } // Flatten the finalize block. @@ -55,7 +57,9 @@ impl ProgramReconstructor for Flattener<'_> { self.structs = Default::default(); for input in &function.input { if let Type::Identifier(struct_name) = input.type_() { - self.structs.insert(input.identifier().name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(input.identifier().name, struct_); } } diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index 1e0a852fff..bb6b1d0814 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -191,7 +191,9 @@ impl StatementReconstructor for Flattener<'_> { // If the output type is a struct, add it to `self.structs`. if let Type::Identifier(struct_name) = type_ { - self.structs.insert(identifier.name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(identifier.name, struct_); } Expression::Identifier(identifier) @@ -217,7 +219,9 @@ impl StatementReconstructor for Flattener<'_> { type_ => { // If the function returns a struct, add it to `self.structs`. if let Type::Identifier(struct_name) = type_ { - self.structs.insert(lhs_identifier.name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(lhs_identifier.name, struct_); }; ( Statement::Assign(Box::new(AssignStatement { @@ -266,7 +270,9 @@ impl StatementReconstructor for Flattener<'_> { }; // If the value type is a struct, add it to `self.structs`. if let Type::Identifier(struct_name) = value_type { - self.structs.insert(lhs_identifier.name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(lhs_identifier.name, struct_); } // Reconstruct the assignment. ( @@ -280,8 +286,7 @@ impl StatementReconstructor for Flattener<'_> { ) } (Expression::Identifier(identifier), expression) => { - self.update_structs(&identifier, &expression); - (self.assigner.simple_assign_statement(identifier, expression, self.node_builder.next_id()), statements) + (self.simple_assign_statement(identifier, expression), statements) } // If the lhs is a tuple and the rhs is a function call, then return the reconstructed statement. (Expression::Tuple(tuple), Expression::Call(call)) => { @@ -306,7 +311,9 @@ impl StatementReconstructor for Flattener<'_> { }; // If the output type is a struct, add it to `self.structs`. if let Type::Identifier(struct_name) = type_ { - self.structs.insert(identifier.name, struct_name.name); + // Note that this unwrap is safe since type checking guarantees that the struct exists. + let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); + self.structs.insert(identifier.name, struct_); } }); diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 4566cf256e..d3bd7b9f79 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -57,7 +57,7 @@ pub struct Flattener<'a> { /// A struct used to construct (unique) assignment statements. pub(crate) assigner: &'a Assigner, /// The set of variables that are structs. - pub(crate) structs: IndexMap, + pub(crate) structs: IndexMap, /// A stack of condition `Expression`s visited up to the current point in the AST. pub(crate) condition_stack: Vec, /// A list containing tuples of guards and expressions associated `ReturnStatement`s. @@ -167,41 +167,8 @@ impl<'a> Flattener<'a> { } } - /// Looks up the name of the struct associated with an identifier or access expression, if it exists. - pub(crate) fn lookup_struct_symbol(&self, expression: &Expression) -> Option { - match expression { - Expression::Identifier(identifier) => self.structs.get(&identifier.name).copied(), - Expression::Access(AccessExpression::Member(access)) => { - // The inner expression of an access expression is either an identifier or another access expression. - let name = self.lookup_struct_symbol(&access.inner).unwrap(); - let struct_ = self.symbol_table.lookup_struct(name).unwrap(); - let Member { type_, .. } = - struct_.members.iter().find(|member| member.name() == access.name.name).unwrap(); - match type_ { - Type::Identifier(identifier) => Some(identifier.name), - _ => None, - } - } - _ => None, - } - } - - /// Updates `self.structs` for new assignment statements. - /// Expects the left hand side of the assignment to be an identifier. - pub(crate) fn update_structs(&mut self, lhs: &Identifier, rhs: &Expression) { - match rhs { - Expression::Struct(rhs) => { - self.structs.insert(lhs.name, rhs.name.name); - } - // If the rhs of the assignment is an identifier that is a struct, add it to `self.structs`. - Expression::Identifier(rhs) if self.structs.contains_key(&rhs.name) => { - // Note that this unwrap is safe because we just checked that the key exists. - self.structs.insert(lhs.name, *self.structs.get(&rhs.name).unwrap()); - } - // Otherwise, do nothing. - _ => (), - } - } + /// Gets the type of the expression, if it's being tracked. + pub(crate) fn get_type(&self, expression: &Expression) -> Option {} /// A wrapper around `assigner.unique_simple_assign_statement` that updates `self.structs`. // TODO (@d0cd) Update to check for tuples and arrays @@ -211,7 +178,7 @@ impl<'a> Flattener<'a> { // Construct the lhs of the assignment. let place = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; // Construct the assignment statement. - let statement = self.assigner.simple_assign_statement(place, expr, self.node_builder.next_id()); + let statement = self.simple_assign_statement(place, expr); match &statement { Statement::Assign(assign) => { @@ -222,10 +189,11 @@ impl<'a> Flattener<'a> { (place, statement) } - /// A wrapper around `assigner.simple_assign_statement` that updates `self.structs`. + /// A wrapper around `assigner.simple_assign_statement` that tracks the type of the lhs. pub(crate) fn simple_assign_statement(&mut self, lhs: Identifier, rhs: Expression) -> Statement { - self.update_structs(&lhs, &rhs); - self.assigner.simple_assign_statement(lhs, rhs, self.node_builder.next_id()) + let statement = self.assigner.simple_assign_statement(lhs, rhs, self.node_builder.next_id()); + self.update_types(&statement); + statement } /// Folds a list of return statements into a single return statement and adds the produced statements to the block. @@ -380,7 +348,7 @@ impl<'a> Flattener<'a> { pub(crate) fn ternary_struct( &mut self, - struct_: &Struct, + struct_: Struct, condition: &Expression, first: &Identifier, second: &Identifier, @@ -447,7 +415,7 @@ impl<'a> Flattener<'a> { let (identifier, statement) = self.unique_simple_assign_statement(expr); // Mark the lhs of the assignment as a struct. - self.structs.insert(identifier.name, struct_.identifier.name); + self.structs.insert(identifier.name, struct_); statements.push(statement); From 2fc155798eb1606beb809142e6868bf37c20f645 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 20:39:19 -0400 Subject: [PATCH 22/51] Add the type map to the symbol table --- compiler/passes/src/common/symbol_table/mod.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/compiler/passes/src/common/symbol_table/mod.rs b/compiler/passes/src/common/symbol_table/mod.rs index 5ef2cfa614..70abaef771 100644 --- a/compiler/passes/src/common/symbol_table/mod.rs +++ b/compiler/passes/src/common/symbol_table/mod.rs @@ -22,7 +22,7 @@ pub use variable_symbol::*; use std::cell::RefCell; -use leo_ast::{normalize_json_value, remove_key_from_json, Function, Struct}; +use leo_ast::{normalize_json_value, remove_key_from_json, Function, NodeID, Struct, Type}; use leo_errors::{AstError, Result}; use leo_span::{Span, Symbol}; @@ -30,6 +30,7 @@ use indexmap::IndexMap; use serde::{Deserialize, Serialize}; use serde_json; +// TODO (@d0cd) Consider a safe interface for the symbol table. #[derive(Clone, Debug, Default, Serialize, Deserialize)] pub struct SymbolTable { /// The parent scope if it exists. @@ -48,6 +49,8 @@ pub struct SymbolTable { pub(crate) scope_index: usize, /// The sub-scopes of this scope. pub(crate) scopes: Vec>, + /// A mapping from node IDs to types. + pub(crate) types: IndexMap, } impl SymbolTable { @@ -101,6 +104,12 @@ impl SymbolTable { Ok(()) } + /// Inserts a type for a node ID into the symbol table. + pub fn insert_type(&mut self, node_id: NodeID, type_: Type) -> Result<()> { + self.types.insert(node_id, type_); + Ok(()) + } + /// Removes a variable from the symbol table. pub fn remove_variable_from_current_scope(&mut self, symbol: Symbol) { self.variables.remove(&symbol); @@ -180,6 +189,11 @@ impl SymbolTable { self.scopes.get(index) } + /// Returns the type associated with the node ID, if it exists in the symbol table. + pub fn lookup_type(&self, node_id: NodeID) -> Option<&Type> { + self.types.get(&node_id) + } + /// Serializes the symbol table into a JSON string. pub fn to_json_string(&self) -> Result { Ok(serde_json::to_string_pretty(&self) From 621a2f2a9503b1ee31e8b2a8448e4e4054b38c0e Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 21:06:01 -0400 Subject: [PATCH 23/51] Add expressions to the type map --- .../passes/src/common/symbol_table/mod.rs | 4 ++-- .../src/type_checking/check_expressions.rs | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/compiler/passes/src/common/symbol_table/mod.rs b/compiler/passes/src/common/symbol_table/mod.rs index 70abaef771..06107598fb 100644 --- a/compiler/passes/src/common/symbol_table/mod.rs +++ b/compiler/passes/src/common/symbol_table/mod.rs @@ -31,6 +31,7 @@ use serde::{Deserialize, Serialize}; use serde_json; // TODO (@d0cd) Consider a safe interface for the symbol table. +// TODO (@d0cd) Cleanup API #[derive(Clone, Debug, Default, Serialize, Deserialize)] pub struct SymbolTable { /// The parent scope if it exists. @@ -105,9 +106,8 @@ impl SymbolTable { } /// Inserts a type for a node ID into the symbol table. - pub fn insert_type(&mut self, node_id: NodeID, type_: Type) -> Result<()> { + pub fn insert_type(&mut self, node_id: NodeID, type_: Type) { self.types.insert(node_id, type_); - Ok(()) } /// Removes a variable from the symbol table. diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index d420d58163..5e8cd3b922 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -42,6 +42,29 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { type AdditionalInput = Option; type Output = Option; + fn visit_expression(&mut self, input: &'a Expression, additional: &Self::AdditionalInput) -> Self::Output { + let output = match input { + Expression::Access(access) => self.visit_access(access, additional), + Expression::Binary(binary) => self.visit_binary(binary, additional), + Expression::Call(call) => self.visit_call(call, additional), + Expression::Cast(cast) => self.visit_cast(cast, additional), + Expression::Struct(struct_) => self.visit_struct_init(struct_, additional), + Expression::Err(err) => self.visit_err(err, additional), + Expression::Identifier(identifier) => self.visit_identifier(identifier, additional), + Expression::Literal(literal) => self.visit_literal(literal, additional), + Expression::Ternary(ternary) => self.visit_ternary(ternary, additional), + Expression::Tuple(tuple) => self.visit_tuple(tuple, additional), + Expression::Unary(unary) => self.visit_unary(unary, additional), + Expression::Unit(unit) => self.visit_unit(unit, additional), + }; + // If the output type is known, add the expression and its associated type to the symbol table. + if let Some(type_) = &output { + self.symbol_table.borrow_mut().insert_type(input.id(), type_.clone()); + } + // Return the output type. + output + } + fn visit_access(&mut self, input: &'a AccessExpression, expected: &Self::AdditionalInput) -> Self::Output { match input { AccessExpression::Array(access) => { From a3446d3aea393886cab703635f0005980b0001f9 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 10 Oct 2023 22:05:09 -0400 Subject: [PATCH 24/51] Introduce TypeTable --- compiler/compiler/src/compiler.rs | 12 ++++++++---- compiler/compiler/tests/utilities/mod.rs | 2 +- compiler/passes/src/common/mod.rs | 8 +++++++- compiler/passes/src/common/symbol_table/mod.rs | 14 +------------- .../passes/src/type_checking/check_expressions.rs | 2 +- compiler/passes/src/type_checking/checker.rs | 5 ++++- compiler/passes/src/type_checking/mod.rs | 6 +++--- tests/test-framework/benches/leo_compiler.rs | 14 +++++++------- 8 files changed, 32 insertions(+), 31 deletions(-) diff --git a/compiler/compiler/src/compiler.rs b/compiler/compiler/src/compiler.rs index b58b438736..2846b3fe93 100644 --- a/compiler/compiler/src/compiler.rs +++ b/compiler/compiler/src/compiler.rs @@ -173,12 +173,16 @@ impl<'a> Compiler<'a> { } /// Runs the type checker pass. - pub fn type_checker_pass(&'a self, symbol_table: SymbolTable) -> Result<(SymbolTable, StructGraph, CallGraph)> { - let (symbol_table, struct_graph, call_graph) = TypeChecker::do_pass((&self.ast, self.handler, symbol_table))?; + pub fn type_checker_pass( + &'a self, + symbol_table: SymbolTable, + ) -> Result<(SymbolTable, TypeTable, StructGraph, CallGraph)> { + let (symbol_table, type_table, struct_graph, call_graph) = + TypeChecker::do_pass((&self.ast, self.handler, symbol_table))?; if self.compiler_options.output.type_checked_symbol_table { self.write_symbol_table_to_json("type_checked_symbol_table.json", &symbol_table)?; } - Ok((symbol_table, struct_graph, call_graph)) + Ok((symbol_table, type_table, struct_graph, call_graph)) } /// Runs the loop unrolling pass. @@ -265,7 +269,7 @@ impl<'a> Compiler<'a> { /// Runs the compiler stages. pub fn compiler_stages(&mut self) -> Result<(SymbolTable, StructGraph, CallGraph)> { let st = self.symbol_table_pass()?; - let (st, struct_graph, call_graph) = self.type_checker_pass(st)?; + let (st, _, struct_graph, call_graph) = self.type_checker_pass(st)?; // TODO: Make this pass optional. let st = self.loop_unrolling_pass(st)?; diff --git a/compiler/compiler/tests/utilities/mod.rs b/compiler/compiler/tests/utilities/mod.rs index f6cb2b0434..4c8822c870 100644 --- a/compiler/compiler/tests/utilities/mod.rs +++ b/compiler/compiler/tests/utilities/mod.rs @@ -226,7 +226,7 @@ pub fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>) -> Result; + +use indexmap::IndexMap; +use leo_ast::{NodeID, Type}; diff --git a/compiler/passes/src/common/symbol_table/mod.rs b/compiler/passes/src/common/symbol_table/mod.rs index 06107598fb..c69dea16f9 100644 --- a/compiler/passes/src/common/symbol_table/mod.rs +++ b/compiler/passes/src/common/symbol_table/mod.rs @@ -22,7 +22,7 @@ pub use variable_symbol::*; use std::cell::RefCell; -use leo_ast::{normalize_json_value, remove_key_from_json, Function, NodeID, Struct, Type}; +use leo_ast::{normalize_json_value, remove_key_from_json, Function, Struct}; use leo_errors::{AstError, Result}; use leo_span::{Span, Symbol}; @@ -50,8 +50,6 @@ pub struct SymbolTable { pub(crate) scope_index: usize, /// The sub-scopes of this scope. pub(crate) scopes: Vec>, - /// A mapping from node IDs to types. - pub(crate) types: IndexMap, } impl SymbolTable { @@ -105,11 +103,6 @@ impl SymbolTable { Ok(()) } - /// Inserts a type for a node ID into the symbol table. - pub fn insert_type(&mut self, node_id: NodeID, type_: Type) { - self.types.insert(node_id, type_); - } - /// Removes a variable from the symbol table. pub fn remove_variable_from_current_scope(&mut self, symbol: Symbol) { self.variables.remove(&symbol); @@ -189,11 +182,6 @@ impl SymbolTable { self.scopes.get(index) } - /// Returns the type associated with the node ID, if it exists in the symbol table. - pub fn lookup_type(&self, node_id: NodeID) -> Option<&Type> { - self.types.get(&node_id) - } - /// Serializes the symbol table into a JSON string. pub fn to_json_string(&self) -> Result { Ok(serde_json::to_string_pretty(&self) diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 5e8cd3b922..0a4e6f2848 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -59,7 +59,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { }; // If the output type is known, add the expression and its associated type to the symbol table. if let Some(type_) = &output { - self.symbol_table.borrow_mut().insert_type(input.id(), type_.clone()); + self.type_table.insert(input.id(), type_.clone()); } // Return the output type. output diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 8768fd86e7..381c75c898 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{CallGraph, StructGraph, SymbolTable}; +use crate::{CallGraph, StructGraph, SymbolTable, TypeTable}; use leo_ast::{ArrayType, CoreConstant, CoreFunction, Identifier, IntegerType, MappingType, Node, Type, Variant}; use leo_errors::{emitter::Handler, TypeCheckerError}; @@ -27,6 +27,8 @@ use std::cell::RefCell; pub struct TypeChecker<'a> { /// The symbol table for the program. pub(crate) symbol_table: RefCell, + /// A mapping from nod IDs to their respective type. + pub(crate) type_table: TypeTable, /// A dependency graph of the structs in program. pub(crate) struct_graph: StructGraph, /// The call graph for the program. @@ -104,6 +106,7 @@ impl<'a> TypeChecker<'a> { // Note that the `struct_graph` and `call_graph` are initialized with their full node sets. Self { symbol_table: RefCell::new(symbol_table), + type_table: Default::default(), struct_graph: StructGraph::new(struct_names), call_graph: CallGraph::new(function_names), handler, diff --git a/compiler/passes/src/type_checking/mod.rs b/compiler/passes/src/type_checking/mod.rs index e6ffe75cdb..c8199762c9 100644 --- a/compiler/passes/src/type_checking/mod.rs +++ b/compiler/passes/src/type_checking/mod.rs @@ -27,20 +27,20 @@ pub use check_statements::*; pub mod checker; pub use checker::*; -use crate::{CallGraph, Pass, StructGraph, SymbolTable}; +use crate::{CallGraph, Pass, StructGraph, SymbolTable, TypeTable}; use leo_ast::{Ast, ProgramVisitor}; use leo_errors::{emitter::Handler, Result}; impl<'a> Pass for TypeChecker<'a> { type Input = (&'a Ast, &'a Handler, SymbolTable); - type Output = Result<(SymbolTable, StructGraph, CallGraph)>; + type Output = Result<(SymbolTable, TypeTable, StructGraph, CallGraph)>; fn do_pass((ast, handler, st): Self::Input) -> Self::Output { let mut visitor = TypeChecker::new(st, handler); visitor.visit_program(ast.as_repr()); handler.last_err().map_err(|e| *e)?; - Ok((visitor.symbol_table.take(), visitor.struct_graph, visitor.call_graph)) + Ok((visitor.symbol_table.take(), visitor.type_table, visitor.struct_graph, visitor.call_graph)) } } diff --git a/tests/test-framework/benches/leo_compiler.rs b/tests/test-framework/benches/leo_compiler.rs index 6fe06a33ab..a51f57784d 100644 --- a/tests/test-framework/benches/leo_compiler.rs +++ b/tests/test-framework/benches/leo_compiler.rs @@ -190,7 +190,7 @@ impl Sample { fn bench_loop_unroller(&self, c: &mut Criterion) { self.bencher_after_parse(c, "loop unrolling pass", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, _struct_graph, _call_graph) = + let (symbol_table, _, _struct_graph, _call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let start = Instant::now(); let out = compiler.loop_unrolling_pass(symbol_table); @@ -203,7 +203,7 @@ impl Sample { fn bench_ssa(&self, c: &mut Criterion) { self.bencher_after_parse(c, "full", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, _struct_graph, _call_graph) = + let (symbol_table, _, _struct_graph, _call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); let start = Instant::now(); @@ -217,7 +217,7 @@ 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, _struct_graph, _call_graph) = + let (symbol_table, _, _struct_graph, _call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); @@ -232,7 +232,7 @@ impl Sample { fn bench_inline(&self, c: &mut Criterion) { self.bencher_after_parse(c, "inliner pass", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, _struct_graph, call_graph) = + let (symbol_table, _, _struct_graph, call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); @@ -248,7 +248,7 @@ impl Sample { fn bench_dce(&self, c: &mut Criterion) { self.bencher_after_parse(c, "inliner pass", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, _struct_graph, call_graph) = + let (symbol_table, _, _struct_graph, call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); @@ -265,7 +265,7 @@ impl Sample { fn bench_codegen(&self, c: &mut Criterion) { self.bencher_after_parse(c, "inliner pass", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, struct_graph, call_graph) = + let (symbol_table, _, struct_graph, call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); @@ -286,7 +286,7 @@ impl Sample { let start = Instant::now(); compiler.parse_program_from_string(input, name).expect("Failed to parse program"); let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); - let (symbol_table, struct_graph, call_graph) = + let (symbol_table, _, struct_graph, call_graph) = compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); From 93aca5c103e1fa030e7dd13fb44818029922546b Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 11 Oct 2023 12:07:30 -0400 Subject: [PATCH 25/51] Ensure type consistency in SSA pass --- .../src/static_single_assignment/mod.rs | 12 +-- .../rename_expression.rs | 2 +- .../rename_program.rs | 6 +- .../rename_statement.rs | 94 +++++++++++++------ .../static_single_assigner.rs | 33 +++++-- 5 files changed, 101 insertions(+), 46 deletions(-) diff --git a/compiler/passes/src/static_single_assignment/mod.rs b/compiler/passes/src/static_single_assignment/mod.rs index 753fa35f72..10c27c6c81 100644 --- a/compiler/passes/src/static_single_assignment/mod.rs +++ b/compiler/passes/src/static_single_assignment/mod.rs @@ -59,19 +59,19 @@ mod rename_statement; pub mod static_single_assigner; pub use static_single_assigner::*; -use crate::{Assigner, Pass, SymbolTable}; +use crate::{Assigner, Pass, SymbolTable, TypeTable}; use leo_ast::{Ast, NodeBuilder, ProgramConsumer}; use leo_errors::Result; impl<'a> Pass for StaticSingleAssigner<'a> { - type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable); - type Output = Result; + type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable, TypeTable); + type Output = Result<(Ast, TypeTable)>; - fn do_pass((ast, node_builder, assigner, symbol_table): Self::Input) -> Self::Output { - let mut consumer = StaticSingleAssigner::new(node_builder, symbol_table, assigner); + fn do_pass((ast, node_builder, assigner, symbol_table, type_table): Self::Input) -> Self::Output { + let mut consumer = StaticSingleAssigner::new(node_builder, symbol_table, type_table, assigner); let program = consumer.consume_program(ast.into_repr()); - Ok(Ast::new(program)) + Ok((Ast::new(program), consumer.type_table)) } } diff --git a/compiler/passes/src/static_single_assignment/rename_expression.rs b/compiler/passes/src/static_single_assignment/rename_expression.rs index 930bf26708..e7556936b6 100644 --- a/compiler/passes/src/static_single_assignment/rename_expression.rs +++ b/compiler/passes/src/static_single_assignment/rename_expression.rs @@ -283,7 +283,7 @@ impl ExpressionConsumer for StaticSingleAssigner<'_> { // If consuming the left-hand side of a definition or assignment, a new unique name is introduced. true => { let new_name = self.assigner.unique_symbol(identifier.name, "$"); - self.rename_table.update(identifier.name, new_name); + self.rename_table.update(identifier.name, new_name, identifier.id); new_name } // Otherwise, we look up the previous name in the `RenameTable`. diff --git a/compiler/passes/src/static_single_assignment/rename_program.rs b/compiler/passes/src/static_single_assignment/rename_program.rs index b09126d804..4b82284b5d 100644 --- a/compiler/passes/src/static_single_assignment/rename_program.rs +++ b/compiler/passes/src/static_single_assignment/rename_program.rs @@ -70,7 +70,8 @@ impl FunctionConsumer for StaticSingleAssigner<'_> { // There is no need to reconstruct `function.inputs`. // However, for each input, we must add each symbol to the rename table. for input_variable in function.input.iter() { - self.rename_table.update(input_variable.identifier().name, input_variable.identifier().name); + let identifier = input_variable.identifier(); + self.rename_table.update(identifier.name, identifier.name, identifier.id); } let block = @@ -86,7 +87,8 @@ impl FunctionConsumer for StaticSingleAssigner<'_> { // There is no need to reconstruct `finalize.inputs`. // However, for each input, we must add each symbol to the rename table. for input_variable in finalize.input.iter() { - self.rename_table.update(input_variable.identifier().name, input_variable.identifier().name); + let identifier = input_variable.identifier(); + self.rename_table.update(identifier.name, identifier.name, identifier.id); } let block = Block { diff --git a/compiler/passes/src/static_single_assignment/rename_statement.rs b/compiler/passes/src/static_single_assignment/rename_statement.rs index 861c9848c7..b4897cd7ef 100644 --- a/compiler/passes/src/static_single_assignment/rename_statement.rs +++ b/compiler/passes/src/static_single_assignment/rename_statement.rs @@ -33,15 +33,18 @@ use leo_ast::{ ExpressionStatement, Identifier, IterationStatement, + Node, ReturnStatement, Statement, StatementConsumer, TernaryExpression, TupleExpression, + Type, }; use leo_span::Symbol; use indexmap::IndexSet; +use itertools::Itertools; impl StatementConsumer for StaticSingleAssigner<'_> { type Output = Vec; @@ -95,7 +98,7 @@ impl StatementConsumer for StaticSingleAssigner<'_> { }; self.is_lhs = false; - statements.push(self.assigner.simple_assign_statement(place, value, self.node_builder.next_id())); + statements.push(self.simple_assign_statement(place, value)); statements } @@ -168,39 +171,53 @@ impl StatementConsumer for StaticSingleAssigner<'_> { for symbol in write_set { // Note that phi functions only need to be instantiated if the variable exists before the `ConditionalStatement`. if self.rename_table.lookup(**symbol).is_some() { - // Helper to lookup a symbol and create an argument for the phi function. + // Helper to lookup an and create an argument for the phi function. let create_phi_argument = |table: &RenameTable, symbol: Symbol| { let name = *table.lookup(symbol).unwrap_or_else(|| panic!("Symbol {symbol} should exist in the program.")); - Box::new(Expression::Identifier(Identifier { - name, - span: Default::default(), - id: self.node_builder.next_id(), - })) + let id = *table + .lookup_id(symbol) + .unwrap_or_else(|| panic!("Symbol {symbol} should exist in the program.")); + Box::new(Expression::Identifier(Identifier { name, span: Default::default(), id })) }; // Create a new name for the variable written to in the `ConditionalStatement`. let new_name = self.assigner.unique_symbol(symbol, "$"); + // Create the arguments for the phi function. + let if_true = create_phi_argument(&if_table, **symbol); + let if_false = create_phi_argument(&else_table, **symbol); + + // Create a new node ID for the the phi function. + let id = self.node_builder.next_id(); + // Update the type of the node ID. + let type_ = match self.type_table.get(&if_true.id()) { + Some(type_) => type_.clone(), + None => unreachable!("Type checking guarantees that all expressions have a type."), + }; + self.type_table.insert(id, type_); + + // Construct a ternary expression for the phi function. let (value, stmts) = self.consume_ternary(TernaryExpression { condition: Box::new(condition.clone()), - if_true: create_phi_argument(&if_table, **symbol), - if_false: create_phi_argument(&else_table, **symbol), + if_true, + if_false, span: Default::default(), - id: self.node_builder.next_id(), + id, }); statements.extend(stmts); - // Create a new `AssignStatement` for the phi function. - let assignment = self.assigner.simple_assign_statement( - Identifier { name: new_name, span: Default::default(), id: self.node_builder.next_id() }, - value, - self.node_builder.next_id(), - ); - // Update the `RenameTable` with the new name of the variable. - self.rename_table.update(*(*symbol), new_name); + let id = match self.rename_table.lookup_id(**symbol) { + Some(id) => id, + None => unreachable!("The ID for the symbol `{}` should already exist in the program.", symbol), + }; + self.rename_table.update(*(*symbol), new_name, *id); + + // Create a new `AssignStatement` for the phi function. + let identifier = Identifier { name: new_name, span: Default::default(), id: *id }; + let assignment = self.simple_assign_statement(identifier, value); // Store the generated phi function. statements.push(assignment); @@ -233,10 +250,10 @@ impl StatementConsumer for StaticSingleAssigner<'_> { Expression::Identifier(identifier) => identifier, _ => unreachable!("`self.consume_identifier` will always return an `Identifier`."), }; - statements.push(self.assigner.simple_assign_statement(identifier, value, self.node_builder.next_id())); + statements.push(self.simple_assign_statement(identifier, value)); } Expression::Tuple(tuple) => { - let elements = tuple.elements.into_iter().map(|element| { + let elements: Vec = tuple.elements.into_iter().map(|element| { match element { Expression::Identifier(identifier) => { let identifier = match self.consume_identifier(identifier).0 { @@ -248,16 +265,37 @@ impl StatementConsumer for StaticSingleAssigner<'_> { _ => unreachable!("Type checking guarantees that the tuple elements on the lhs of a `DefinitionStatement` are always be identifiers."), } }).collect(); - statements.push(Statement::Assign(Box::new(AssignStatement { - place: Expression::Tuple(TupleExpression { - elements, - span: Default::default(), - id: self.node_builder.next_id(), - }), - value, + + // Get the type of `value`. + let tuple_type_ = match self.type_table.get(&value.id()) { + Some(Type::Tuple(type_)) => type_.clone(), + _ => unreachable!("Type checking guarantees that this expression is a tuple."), + }; + + // Update the type of each element in the tuple. + for (element, type_) in elements.iter().zip_eq(tuple_type_.elements()) { + self.type_table.insert(element.id(), type_.clone()); + } + + // Construct the lhs of the assignment. + let place = Expression::Tuple(TupleExpression { + elements, span: Default::default(), id: self.node_builder.next_id(), - }))); + }); + + // Update the type of the lhs. + self.type_table.insert(place.id(), Type::Tuple(tuple_type_)); + + // Create the assignment statement. + let assignment = Statement::Assign(Box::new(AssignStatement { + place, + value, + span: definition.span, + id: definition.id, + })); + + statements.push(assignment); } _ => unreachable!( "Type checking guarantees that the left-hand-side of a `DefinitionStatement` is an identifier or tuple." diff --git a/compiler/passes/src/static_single_assignment/static_single_assigner.rs b/compiler/passes/src/static_single_assignment/static_single_assigner.rs index 13071742d7..d8561ae0aa 100644 --- a/compiler/passes/src/static_single_assignment/static_single_assigner.rs +++ b/compiler/passes/src/static_single_assignment/static_single_assigner.rs @@ -14,15 +14,17 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Assigner, RenameTable, SymbolTable}; +use crate::{Assigner, RenameTable, SymbolTable, TypeTable}; -use leo_ast::{Expression, Identifier, NodeBuilder, Statement}; +use leo_ast::{AssignStatement, Expression, Identifier, Node, NodeBuilder, Statement}; pub struct StaticSingleAssigner<'a> { /// A counter used to generate unique node IDs. pub(crate) node_builder: &'a NodeBuilder, /// The `SymbolTable` of the program. pub(crate) symbol_table: &'a SymbolTable, + /// A mapping from node IDs to their types. + pub(crate) type_table: TypeTable, /// The `RenameTable` for the current basic block in the AST pub(crate) rename_table: RenameTable, /// A flag to determine whether or not the traversal is on the left-hand side of a definition or an assignment. @@ -33,8 +35,13 @@ pub struct StaticSingleAssigner<'a> { impl<'a> StaticSingleAssigner<'a> { /// Initializes a new `StaticSingleAssigner` with an empty `RenameTable`. - pub(crate) fn new(node_builder: &'a NodeBuilder, symbol_table: &'a SymbolTable, assigner: &'a Assigner) -> Self { - Self { node_builder, symbol_table, rename_table: RenameTable::new(None), is_lhs: false, assigner } + pub(crate) fn new( + node_builder: &'a NodeBuilder, + symbol_table: &'a SymbolTable, + type_table: TypeTable, + assigner: &'a Assigner, + ) -> Self { + Self { node_builder, symbol_table, type_table, rename_table: RenameTable::new(None), is_lhs: false, assigner } } /// Pushes a new scope, setting the current scope as the new scope's parent. @@ -49,6 +56,17 @@ impl<'a> StaticSingleAssigner<'a> { core::mem::replace(&mut self.rename_table, *parent) } + pub(crate) fn simple_assign_statement(&mut self, identifier: Identifier, rhs: Expression) -> Statement { + // Update the type table. + let type_ = match self.type_table.get(&rhs.id()) { + Some(type_) => type_.clone(), + None => unreachable!("Type checking guarantees that all expressions have a type."), + }; + self.type_table.insert(identifier.id(), type_); + // Construct the statement. + self.assigner.simple_assign_statement(identifier, rhs, self.node_builder.next_id()) + } + /// Constructs a simple assign statement for `expr` with a unique name. /// For example, `expr` is transformed into `$var$0 = expr;`. /// The lhs is guaranteed to be unique with respect to the `Assigner`. @@ -60,11 +78,8 @@ impl<'a> StaticSingleAssigner<'a> { let place = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; // Construct the statement. - let statement = self.assigner.simple_assign_statement(place, expr, self.node_builder.next_id()); - - // Construct the identifier to be returned. Note that it must have a unique node ID. - let identifier = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; + let statement = self.simple_assign_statement(place.clone(), expr); - (identifier, statement) + (place, statement) } } From 3e59672c348c807777b171bb7c74887ec446ecb2 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 11 Oct 2023 12:07:59 -0400 Subject: [PATCH 26/51] Cleanup --- .../passes/src/function_inlining/assignment_renamer.rs | 9 +++++---- .../passes/src/function_inlining/inline_expression.rs | 8 ++++++-- compiler/passes/src/type_checking/checker.rs | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/compiler/passes/src/function_inlining/assignment_renamer.rs b/compiler/passes/src/function_inlining/assignment_renamer.rs index 8cce2deda8..4252fec3c4 100644 --- a/compiler/passes/src/function_inlining/assignment_renamer.rs +++ b/compiler/passes/src/function_inlining/assignment_renamer.rs @@ -24,6 +24,7 @@ use leo_ast::{ ExpressionReconstructor, Identifier, IterationStatement, + NodeID, ProgramReconstructor, Statement, StatementReconstructor, @@ -48,9 +49,9 @@ impl<'a> AssignmentRenamer<'a> { } /// Load the internal rename table with a set of entries. - pub fn load(&mut self, entries: impl Iterator) { - for (key, value) in entries { - self.rename_table.update(key, value); + pub fn load(&mut self, entries: impl Iterator) { + for (key, value, id) in entries { + self.rename_table.update(key, value, id); } } @@ -69,7 +70,7 @@ impl ExpressionReconstructor for AssignmentRenamer<'_> { // If consuming the left-hand side of an assignment, a new unique name is introduced. true => { let new_name = self.assigner.unique_symbol(input.name, "$"); - self.rename_table.update(input.name, new_name); + self.rename_table.update(input.name, new_name, input.id); new_name } // Otherwise, we look up the previous name in the `RenameTable`. diff --git a/compiler/passes/src/function_inlining/inline_expression.rs b/compiler/passes/src/function_inlining/inline_expression.rs index f756cae290..c5d6cb7f8f 100644 --- a/compiler/passes/src/function_inlining/inline_expression.rs +++ b/compiler/passes/src/function_inlining/inline_expression.rs @@ -63,8 +63,12 @@ impl ExpressionReconstructor for FunctionInliner<'_> { .collect::>(); // Initializer `self.assignment_renamer` with the function parameters. - self.assignment_renamer - .load(callee.input.iter().map(|input| (input.identifier().name, input.identifier().name))); + self.assignment_renamer.load( + callee + .input + .iter() + .map(|input| (input.identifier().name, input.identifier().name, input.identifier().id)), + ); // Duplicate the body of the callee and create a unique assignment statement for each assignment in the body. // This is necessary to ensure the inlined variables do not conflict with variables in the caller. diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 381c75c898..6095b740fb 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -27,7 +27,7 @@ use std::cell::RefCell; pub struct TypeChecker<'a> { /// The symbol table for the program. pub(crate) symbol_table: RefCell, - /// A mapping from nod IDs to their respective type. + /// A mapping from node IDs to their types. pub(crate) type_table: TypeTable, /// A dependency graph of the structs in program. pub(crate) struct_graph: StructGraph, From edcc1a6fce080e6d0d8f30728f2e60901cf823ac Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 11 Oct 2023 12:13:49 -0400 Subject: [PATCH 27/51] Update RenameTable --- .../passes/src/common/rename_table/mod.rs | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/compiler/passes/src/common/rename_table/mod.rs b/compiler/passes/src/common/rename_table/mod.rs index f5a267ade6..d29fea3626 100644 --- a/compiler/passes/src/common/rename_table/mod.rs +++ b/compiler/passes/src/common/rename_table/mod.rs @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . +use leo_ast::{NodeID}; use leo_span::Symbol; use indexmap::IndexMap; @@ -24,29 +25,34 @@ pub struct RenameTable { /// The `RenameTable` of the parent scope. pub(crate) parent: Option>, /// The mapping from names in the original AST to new names in the renamed AST. - mapping: IndexMap, + names: IndexMap, + /// The mapping from symbols to node IDs. + /// These are used to ensure that newly introduced symbols reference the appropriate information + /// that has been previously indexed by node ID. e,g. `TypeTable`. + ids: IndexMap, } impl RenameTable { /// Create a new `RenameTable` with the given parent. pub(crate) fn new(parent: Option>) -> Self { - Self { parent, mapping: IndexMap::new() } + Self { parent, names: IndexMap::new(), ids: IndexMap::new() } } /// Returns the symbols that were renamed in the current scope. pub(crate) fn local_names(&self) -> impl Iterator { - self.mapping.keys() + self.names.keys() } /// Updates `self.mapping` with the desired entry. /// Creates a new entry if `symbol` is not already in `self.mapping`. - pub(crate) fn update(&mut self, symbol: Symbol, new_symbol: Symbol) { - self.mapping.insert(symbol, new_symbol); + pub(crate) fn update(&mut self, symbol: Symbol, new_symbol: Symbol, id: NodeID) { + self.names.insert(symbol, new_symbol); + self.ids.insert(new_symbol, id); } /// Looks up the new name for `symbol`, recursively checking the parent if it is not found. pub(crate) fn lookup(&self, symbol: Symbol) -> Option<&Symbol> { - if let Some(var) = self.mapping.get(&symbol) { + if let Some(var) = self.names.get(&symbol) { Some(var) } else if let Some(parent) = &self.parent { parent.lookup(symbol) @@ -54,4 +60,15 @@ impl RenameTable { None } } + + /// Looks up the node ID for `symbol`, recursively checking the parent if it is not found. + pub(crate) fn lookup_id(&self, symbol: Symbol) -> Option<&NodeID> { + if let Some(id) = self.ids.get(&symbol) { + Some(id) + } else if let Some(parent) = &self.parent { + parent.lookup_id(symbol) + } else { + None + } + } } From c193b1d2ab601e950305d561bbe6bab01264d7ab Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 11 Oct 2023 12:56:56 -0400 Subject: [PATCH 28/51] Ensure type consistency during loop unrolling --- compiler/passes/src/loop_unrolling/mod.rs | 8 ++--- .../passes/src/loop_unrolling/unroller.rs | 32 ++++++++++++------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/compiler/passes/src/loop_unrolling/mod.rs b/compiler/passes/src/loop_unrolling/mod.rs index a2c3def780..29279f6891 100644 --- a/compiler/passes/src/loop_unrolling/mod.rs +++ b/compiler/passes/src/loop_unrolling/mod.rs @@ -29,17 +29,17 @@ pub use unroll_program::*; pub mod unroll_statement; pub use unroll_statement::*; -use crate::{Pass, SymbolTable}; +use crate::{Pass, SymbolTable, TypeTable}; use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::{emitter::Handler, Result}; impl<'a> Pass for Unroller<'a> { - type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable); + type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable, &'a mut TypeTable); type Output = Result<(Ast, SymbolTable)>; - fn do_pass((ast, handler, node_builder, st): Self::Input) -> Self::Output { - let mut reconstructor = Self::new(st, handler, node_builder); + fn do_pass((ast, handler, node_builder, st, tt): Self::Input) -> Self::Output { + let mut reconstructor = Self::new(st, tt, handler, node_builder); let program = reconstructor.reconstruct_program(ast.into_repr()); handler.last_err().map_err(|e| *e)?; diff --git a/compiler/passes/src/loop_unrolling/unroller.rs b/compiler/passes/src/loop_unrolling/unroller.rs index 2749a1ce1b..53c5996e18 100644 --- a/compiler/passes/src/loop_unrolling/unroller.rs +++ b/compiler/passes/src/loop_unrolling/unroller.rs @@ -30,13 +30,15 @@ use std::cell::RefCell; use leo_errors::{emitter::Handler, loop_unroller::LoopUnrollerError}; -use crate::{constant_propagation_table::ConstantPropagationTable, Clusivity, LoopBound, RangeIterator, SymbolTable}; +use crate::{constant_propagation_table::ConstantPropagationTable, Clusivity, LoopBound, RangeIterator, SymbolTable, TypeTable}; pub struct Unroller<'a> { /// A table of constant variables. pub(crate) constant_propagation_table: RefCell, /// The symbol table for the function being processed. pub(crate) symbol_table: RefCell, + /// A mapping from node IDs to their types. + pub(crate) type_table: &'a mut TypeTable, /// The index of the current scope. pub(crate) scope_index: usize, /// An error handler used for any errors found during unrolling. @@ -48,10 +50,11 @@ pub struct Unroller<'a> { } impl<'a> Unroller<'a> { - pub(crate) fn new(symbol_table: SymbolTable, handler: &'a Handler, node_builder: &'a NodeBuilder) -> Self { + pub(crate) fn new(symbol_table: SymbolTable, type_table: &'a mut TypeTable, handler: &'a Handler, node_builder: &'a NodeBuilder) -> Self { Self { constant_propagation_table: RefCell::new(ConstantPropagationTable::default()), symbol_table: RefCell::new(symbol_table), + type_table, scope_index: 0, handler, node_builder, @@ -171,67 +174,72 @@ impl<'a> Unroller<'a> { let prior_is_unrolling = self.is_unrolling; self.is_unrolling = true; + // Construct a new node ID. + let id = self.node_builder.next_id(); + // Update the type table. + self.type_table.insert(id, input.type_); + // Reconstruct `iteration_count` as a `Literal`. let value = match input.type_ { Type::Integer(IntegerType::I8) => Literal::Integer( IntegerType::I8, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::I16) => Literal::Integer( IntegerType::I16, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::I32) => Literal::Integer( IntegerType::I32, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::I64) => Literal::Integer( IntegerType::I64, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::I128) => Literal::Integer( IntegerType::I128, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::U8) => Literal::Integer( IntegerType::U8, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::U16) => Literal::Integer( IntegerType::U16, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::U32) => Literal::Integer( IntegerType::U32, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::U64) => Literal::Integer( IntegerType::U64, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), Type::Integer(IntegerType::U128) => Literal::Integer( IntegerType::U128, iteration_count.to_string(), Default::default(), - self.node_builder.next_id(), + id ), _ => unreachable!( "The iteration variable must be an integer type. This should be enforced by type checking." From 64550555eef34c4ae2075f4385e1424eb838b801 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 11 Oct 2023 13:07:29 -0400 Subject: [PATCH 29/51] Ensure type consistency during function inlining --- .../src/function_inlining/function_inliner.rs | 7 +++++-- .../src/function_inlining/inline_expression.rs | 18 ++++++------------ compiler/passes/src/function_inlining/mod.rs | 6 +++--- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/compiler/passes/src/function_inlining/function_inliner.rs b/compiler/passes/src/function_inlining/function_inliner.rs index d8d1d8908d..b52d8b1f1a 100644 --- a/compiler/passes/src/function_inlining/function_inliner.rs +++ b/compiler/passes/src/function_inlining/function_inliner.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Assigner, AssignmentRenamer, CallGraph}; +use crate::{Assigner, AssignmentRenamer, CallGraph, TypeTable}; use leo_ast::{Function, NodeBuilder}; use leo_span::Symbol; @@ -26,18 +26,21 @@ pub struct FunctionInliner<'a> { pub(crate) call_graph: &'a CallGraph, /// A wrapper around an Assigner used to create unique variable assignments. pub(crate) assignment_renamer: AssignmentRenamer<'a>, + /// A mapping between node IDs and their types. + pub(crate) type_table: &'a mut TypeTable, /// A map of reconstructed functions in the current program scope. pub(crate) reconstructed_functions: Vec<(Symbol, Function)>, } impl<'a> FunctionInliner<'a> { /// Initializes a new `FunctionInliner`. - pub fn new(node_builder: &'a NodeBuilder, call_graph: &'a CallGraph, assigner: &'a Assigner) -> Self { + pub fn new(node_builder: &'a NodeBuilder, call_graph: &'a CallGraph, assigner: &'a Assigner, type_table: &'a mut TypeTable) -> Self { Self { node_builder, call_graph, assignment_renamer: AssignmentRenamer::new(assigner), reconstructed_functions: Default::default(), + type_table } } } diff --git a/compiler/passes/src/function_inlining/inline_expression.rs b/compiler/passes/src/function_inlining/inline_expression.rs index c5d6cb7f8f..cd6e7f0046 100644 --- a/compiler/passes/src/function_inlining/inline_expression.rs +++ b/compiler/passes/src/function_inlining/inline_expression.rs @@ -16,17 +16,7 @@ use crate::{FunctionInliner, Replacer}; -use leo_ast::{ - CallExpression, - Expression, - ExpressionReconstructor, - Identifier, - ReturnStatement, - Statement, - StatementReconstructor, - UnitExpression, - Variant, -}; +use leo_ast::{CallExpression, Expression, ExpressionReconstructor, Identifier, ReturnStatement, Statement, StatementReconstructor, Type, UnitExpression, Variant}; use indexmap::IndexMap; use itertools::Itertools; @@ -93,7 +83,11 @@ impl ExpressionReconstructor for FunctionInliner<'_> { _ => unreachable!("This branch checks that the last statement is a return statement."), } } - _ => Expression::Unit(UnitExpression { span: Default::default(), id: self.node_builder.next_id() }), + _ => { + let id = self.node_builder.next_id(); + self.type_table.insert(id, Type::Unit); + Expression::Unit(UnitExpression { span: Default::default(), id }) + }, }; (result, inlined_statements) diff --git a/compiler/passes/src/function_inlining/mod.rs b/compiler/passes/src/function_inlining/mod.rs index 4cdae3c977..debe5c1656 100644 --- a/compiler/passes/src/function_inlining/mod.rs +++ b/compiler/passes/src/function_inlining/mod.rs @@ -70,11 +70,11 @@ use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::Result; impl<'a> Pass for FunctionInliner<'a> { - type Input = (Ast, &'a NodeBuilder, &'a CallGraph, &'a Assigner); + type Input = (Ast, &'a NodeBuilder, &'a CallGraph, &'a Assigner, &'a mut TypeTable); type Output = Result; - fn do_pass((ast, node_builder, call_graph, assigner): Self::Input) -> Self::Output { - let mut reconstructor = FunctionInliner::new(node_builder, call_graph, assigner); + fn do_pass((ast, node_builder, call_graph, assigner, tt): Self::Input) -> Self::Output { + let mut reconstructor = FunctionInliner::new(node_builder, call_graph, assigner, tt); let program = reconstructor.reconstruct_program(ast.into_repr()); Ok(Ast::new(program)) From 17cdda2227f9c81b625e073d8a63d74cf52ddf33 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 12 Oct 2023 09:23:09 -0400 Subject: [PATCH 30/51] Refactor TypeTable --- compiler/passes/src/common/mod.rs | 6 +-- .../passes/src/common/rename_table/mod.rs | 6 +-- compiler/passes/src/common/type_table/mod.rs | 43 +++++++++++++++++++ 3 files changed, 48 insertions(+), 7 deletions(-) create mode 100644 compiler/passes/src/common/type_table/mod.rs diff --git a/compiler/passes/src/common/mod.rs b/compiler/passes/src/common/mod.rs index d2ec89c481..47405d0150 100644 --- a/compiler/passes/src/common/mod.rs +++ b/compiler/passes/src/common/mod.rs @@ -32,7 +32,5 @@ pub use constant_propagation_table::*; pub mod symbol_table; pub use symbol_table::*; -pub type TypeTable = IndexMap; - -use indexmap::IndexMap; -use leo_ast::{NodeID, Type}; +pub mod type_table; +pub use type_table::*; diff --git a/compiler/passes/src/common/rename_table/mod.rs b/compiler/passes/src/common/rename_table/mod.rs index d29fea3626..1831571682 100644 --- a/compiler/passes/src/common/rename_table/mod.rs +++ b/compiler/passes/src/common/rename_table/mod.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use leo_ast::{NodeID}; +use leo_ast::NodeID; use leo_span::Symbol; use indexmap::IndexMap; @@ -62,8 +62,8 @@ impl RenameTable { } /// Looks up the node ID for `symbol`, recursively checking the parent if it is not found. - pub(crate) fn lookup_id(&self, symbol: Symbol) -> Option<&NodeID> { - if let Some(id) = self.ids.get(&symbol) { + pub(crate) fn lookup_id(&self, symbol: &Symbol) -> Option<&NodeID> { + if let Some(id) = self.ids.get(symbol) { Some(id) } else if let Some(parent) = &self.parent { parent.lookup_id(symbol) diff --git a/compiler/passes/src/common/type_table/mod.rs b/compiler/passes/src/common/type_table/mod.rs new file mode 100644 index 0000000000..fe855fc940 --- /dev/null +++ b/compiler/passes/src/common/type_table/mod.rs @@ -0,0 +1,43 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use leo_ast::{NodeID, Type}; + +use indexmap::IndexMap; +use std::{ + cell::{Ref, RefCell}, + fmt::Display, +}; + +/// A mapping between node IDs and their types. +#[derive(Debug, Default, Clone)] +pub struct TypeTable { + /// The inner table. + /// `RefCell` is used here to avoid `&mut` all over the compiler. + inner: RefCell>, +} + +impl TypeTable { + /// Gets an entry from the table. + pub fn get(&self, index: &NodeID) -> Option { + self.inner.borrow().get(index).cloned() + } + + /// Inserts an entry into the table. + pub fn insert(&self, index: NodeID, value: Type) { + self.inner.borrow_mut().insert(index, value); + } +} From 3b720001d664564f0a016181c7fddaba524f0d2c Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 12 Oct 2023 09:24:13 -0400 Subject: [PATCH 31/51] Update SSA pass --- .../src/static_single_assignment/mod.rs | 6 ++-- .../rename_expression.rs | 4 ++- .../rename_statement.rs | 32 +++++++++++++------ .../static_single_assigner.rs | 10 +++--- 4 files changed, 34 insertions(+), 18 deletions(-) diff --git a/compiler/passes/src/static_single_assignment/mod.rs b/compiler/passes/src/static_single_assignment/mod.rs index 10c27c6c81..42ff4aac58 100644 --- a/compiler/passes/src/static_single_assignment/mod.rs +++ b/compiler/passes/src/static_single_assignment/mod.rs @@ -65,13 +65,13 @@ use leo_ast::{Ast, NodeBuilder, ProgramConsumer}; use leo_errors::Result; impl<'a> Pass for StaticSingleAssigner<'a> { - type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable, TypeTable); - type Output = Result<(Ast, TypeTable)>; + type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable, &'a TypeTable); + type Output = Result; fn do_pass((ast, node_builder, assigner, symbol_table, type_table): Self::Input) -> Self::Output { let mut consumer = StaticSingleAssigner::new(node_builder, symbol_table, type_table, assigner); let program = consumer.consume_program(ast.into_repr()); - Ok((Ast::new(program), consumer.type_table)) + Ok(Ast::new(program)) } } diff --git a/compiler/passes/src/static_single_assignment/rename_expression.rs b/compiler/passes/src/static_single_assignment/rename_expression.rs index e7556936b6..984eaf2d0f 100644 --- a/compiler/passes/src/static_single_assignment/rename_expression.rs +++ b/compiler/passes/src/static_single_assignment/rename_expression.rs @@ -298,7 +298,9 @@ impl ExpressionConsumer for StaticSingleAssigner<'_> { /// Consumes and returns the literal without making any modifications. fn consume_literal(&mut self, input: Literal) -> Self::Output { - (Expression::Literal(input), Default::default()) + // Construct and accumulate a new assignment statement for the literal. + let (place, statement) = self.unique_simple_assign_statement(Expression::Literal(input)); + (Expression::Identifier(place), vec![statement]) } /// Consumes a ternary expression, accumulating any statements that are generated. diff --git a/compiler/passes/src/static_single_assignment/rename_statement.rs b/compiler/passes/src/static_single_assignment/rename_statement.rs index b4897cd7ef..576e59bc30 100644 --- a/compiler/passes/src/static_single_assignment/rename_statement.rs +++ b/compiler/passes/src/static_single_assignment/rename_statement.rs @@ -176,8 +176,8 @@ impl StatementConsumer for StaticSingleAssigner<'_> { let name = *table.lookup(symbol).unwrap_or_else(|| panic!("Symbol {symbol} should exist in the program.")); let id = *table - .lookup_id(symbol) - .unwrap_or_else(|| panic!("Symbol {symbol} should exist in the program.")); + .lookup_id(&name) + .unwrap_or_else(|| panic!("Symbol {name} should exist in the rename table.")); Box::new(Expression::Identifier(Identifier { name, span: Default::default(), id })) }; @@ -192,7 +192,7 @@ impl StatementConsumer for StaticSingleAssigner<'_> { let id = self.node_builder.next_id(); // Update the type of the node ID. let type_ = match self.type_table.get(&if_true.id()) { - Some(type_) => type_.clone(), + Some(type_) => type_, None => unreachable!("Type checking guarantees that all expressions have a type."), }; self.type_table.insert(id, type_); @@ -208,15 +208,19 @@ impl StatementConsumer for StaticSingleAssigner<'_> { statements.extend(stmts); - // Update the `RenameTable` with the new name of the variable. - let id = match self.rename_table.lookup_id(**symbol) { - Some(id) => id, - None => unreachable!("The ID for the symbol `{}` should already exist in the program.", symbol), + // Get the ID for the new name of the variable. + let id = match self.rename_table.lookup_id(symbol) { + Some(id) => *id, + None => { + unreachable!("The ID for the symbol `{}` should already exist in the rename table.", symbol) + } }; - self.rename_table.update(*(*symbol), new_name, *id); + + // Update the `RenameTable` with the new name of the variable. + self.rename_table.update(*(*symbol), new_name, id); // Create a new `AssignStatement` for the phi function. - let identifier = Identifier { name: new_name, span: Default::default(), id: *id }; + let identifier = Identifier { name: new_name, span: Default::default(), id }; let assignment = self.simple_assign_statement(identifier, value); // Store the generated phi function. @@ -246,20 +250,28 @@ impl StatementConsumer for StaticSingleAssigner<'_> { self.is_lhs = true; match definition.place { Expression::Identifier(identifier) => { + // Add the identifier to the rename table. + self.rename_table.update(identifier.name, identifier.name, identifier.id); + // Rename the identifier. let identifier = match self.consume_identifier(identifier).0 { Expression::Identifier(identifier) => identifier, _ => unreachable!("`self.consume_identifier` will always return an `Identifier`."), }; + // Create a new assignment statement. statements.push(self.simple_assign_statement(identifier, value)); } Expression::Tuple(tuple) => { let elements: Vec = tuple.elements.into_iter().map(|element| { match element { Expression::Identifier(identifier) => { + // Add the identifier to the rename table. + self.rename_table.update(identifier.name, identifier.name, identifier.id); + // Rename the identifier. let identifier = match self.consume_identifier(identifier).0 { Expression::Identifier(identifier) => identifier, _ => unreachable!("`self.consume_identifier` will always return an `Identifier`."), }; + // Return the renamed identifier. Expression::Identifier(identifier) } _ => unreachable!("Type checking guarantees that the tuple elements on the lhs of a `DefinitionStatement` are always be identifiers."), @@ -268,7 +280,7 @@ impl StatementConsumer for StaticSingleAssigner<'_> { // Get the type of `value`. let tuple_type_ = match self.type_table.get(&value.id()) { - Some(Type::Tuple(type_)) => type_.clone(), + Some(Type::Tuple(type_)) => type_, _ => unreachable!("Type checking guarantees that this expression is a tuple."), }; diff --git a/compiler/passes/src/static_single_assignment/static_single_assigner.rs b/compiler/passes/src/static_single_assignment/static_single_assigner.rs index d8561ae0aa..df12a1c38a 100644 --- a/compiler/passes/src/static_single_assignment/static_single_assigner.rs +++ b/compiler/passes/src/static_single_assignment/static_single_assigner.rs @@ -24,7 +24,7 @@ pub struct StaticSingleAssigner<'a> { /// The `SymbolTable` of the program. pub(crate) symbol_table: &'a SymbolTable, /// A mapping from node IDs to their types. - pub(crate) type_table: TypeTable, + pub(crate) type_table: &'a TypeTable, /// The `RenameTable` for the current basic block in the AST pub(crate) rename_table: RenameTable, /// A flag to determine whether or not the traversal is on the left-hand side of a definition or an assignment. @@ -38,7 +38,7 @@ impl<'a> StaticSingleAssigner<'a> { pub(crate) fn new( node_builder: &'a NodeBuilder, symbol_table: &'a SymbolTable, - type_table: TypeTable, + type_table: &'a TypeTable, assigner: &'a Assigner, ) -> Self { Self { node_builder, symbol_table, type_table, rename_table: RenameTable::new(None), is_lhs: false, assigner } @@ -59,10 +59,12 @@ impl<'a> StaticSingleAssigner<'a> { pub(crate) fn simple_assign_statement(&mut self, identifier: Identifier, rhs: Expression) -> Statement { // Update the type table. let type_ = match self.type_table.get(&rhs.id()) { - Some(type_) => type_.clone(), + Some(type_) => type_, None => unreachable!("Type checking guarantees that all expressions have a type."), }; self.type_table.insert(identifier.id(), type_); + // Update the rename table. + self.rename_table.update(identifier.name, identifier.name, identifier.id); // Construct the statement. self.assigner.simple_assign_statement(identifier, rhs, self.node_builder.next_id()) } @@ -78,7 +80,7 @@ impl<'a> StaticSingleAssigner<'a> { let place = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; // Construct the statement. - let statement = self.simple_assign_statement(place.clone(), expr); + let statement = self.simple_assign_statement(place, expr); (place, statement) } From b36966db8f8908ca5b9049881d90a304b455772f Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 12 Oct 2023 09:26:29 -0400 Subject: [PATCH 32/51] Clean up passes --- .../src/function_inlining/function_inliner.rs | 11 +- .../function_inlining/inline_expression.rs | 15 ++- compiler/passes/src/function_inlining/mod.rs | 4 +- compiler/passes/src/loop_unrolling/mod.rs | 2 +- .../passes/src/loop_unrolling/unroller.rs | 110 ++++++++---------- .../src/type_checking/check_expressions.rs | 1 + compiler/passes/src/type_checking/checker.rs | 6 +- compiler/passes/src/type_checking/mod.rs | 10 +- 8 files changed, 79 insertions(+), 80 deletions(-) diff --git a/compiler/passes/src/function_inlining/function_inliner.rs b/compiler/passes/src/function_inlining/function_inliner.rs index b52d8b1f1a..6243baad48 100644 --- a/compiler/passes/src/function_inlining/function_inliner.rs +++ b/compiler/passes/src/function_inlining/function_inliner.rs @@ -27,20 +27,25 @@ pub struct FunctionInliner<'a> { /// A wrapper around an Assigner used to create unique variable assignments. pub(crate) assignment_renamer: AssignmentRenamer<'a>, /// A mapping between node IDs and their types. - pub(crate) type_table: &'a mut TypeTable, + pub(crate) type_table: &'a TypeTable, /// A map of reconstructed functions in the current program scope. pub(crate) reconstructed_functions: Vec<(Symbol, Function)>, } impl<'a> FunctionInliner<'a> { /// Initializes a new `FunctionInliner`. - pub fn new(node_builder: &'a NodeBuilder, call_graph: &'a CallGraph, assigner: &'a Assigner, type_table: &'a mut TypeTable) -> Self { + pub fn new( + node_builder: &'a NodeBuilder, + call_graph: &'a CallGraph, + assigner: &'a Assigner, + type_table: &'a TypeTable, + ) -> Self { Self { node_builder, call_graph, assignment_renamer: AssignmentRenamer::new(assigner), reconstructed_functions: Default::default(), - type_table + type_table, } } } diff --git a/compiler/passes/src/function_inlining/inline_expression.rs b/compiler/passes/src/function_inlining/inline_expression.rs index cd6e7f0046..54f6378702 100644 --- a/compiler/passes/src/function_inlining/inline_expression.rs +++ b/compiler/passes/src/function_inlining/inline_expression.rs @@ -16,7 +16,18 @@ use crate::{FunctionInliner, Replacer}; -use leo_ast::{CallExpression, Expression, ExpressionReconstructor, Identifier, ReturnStatement, Statement, StatementReconstructor, Type, UnitExpression, Variant}; +use leo_ast::{ + CallExpression, + Expression, + ExpressionReconstructor, + Identifier, + ReturnStatement, + Statement, + StatementReconstructor, + Type, + UnitExpression, + Variant, +}; use indexmap::IndexMap; use itertools::Itertools; @@ -87,7 +98,7 @@ impl ExpressionReconstructor for FunctionInliner<'_> { let id = self.node_builder.next_id(); self.type_table.insert(id, Type::Unit); Expression::Unit(UnitExpression { span: Default::default(), id }) - }, + } }; (result, inlined_statements) diff --git a/compiler/passes/src/function_inlining/mod.rs b/compiler/passes/src/function_inlining/mod.rs index debe5c1656..085f9623fb 100644 --- a/compiler/passes/src/function_inlining/mod.rs +++ b/compiler/passes/src/function_inlining/mod.rs @@ -64,13 +64,13 @@ mod inline_program; pub mod function_inliner; pub use function_inliner::*; -use crate::{Assigner, CallGraph, Pass}; +use crate::{Assigner, CallGraph, Pass, TypeTable}; use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::Result; impl<'a> Pass for FunctionInliner<'a> { - type Input = (Ast, &'a NodeBuilder, &'a CallGraph, &'a Assigner, &'a mut TypeTable); + type Input = (Ast, &'a NodeBuilder, &'a CallGraph, &'a Assigner, &'a TypeTable); type Output = Result; fn do_pass((ast, node_builder, call_graph, assigner, tt): Self::Input) -> Self::Output { diff --git a/compiler/passes/src/loop_unrolling/mod.rs b/compiler/passes/src/loop_unrolling/mod.rs index 29279f6891..ef87844540 100644 --- a/compiler/passes/src/loop_unrolling/mod.rs +++ b/compiler/passes/src/loop_unrolling/mod.rs @@ -35,7 +35,7 @@ use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::{emitter::Handler, Result}; impl<'a> Pass for Unroller<'a> { - type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable, &'a mut TypeTable); + type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable, &'a TypeTable); type Output = Result<(Ast, SymbolTable)>; fn do_pass((ast, handler, node_builder, st, tt): Self::Input) -> Self::Output { diff --git a/compiler/passes/src/loop_unrolling/unroller.rs b/compiler/passes/src/loop_unrolling/unroller.rs index 53c5996e18..c95f03843c 100644 --- a/compiler/passes/src/loop_unrolling/unroller.rs +++ b/compiler/passes/src/loop_unrolling/unroller.rs @@ -30,7 +30,14 @@ use std::cell::RefCell; use leo_errors::{emitter::Handler, loop_unroller::LoopUnrollerError}; -use crate::{constant_propagation_table::ConstantPropagationTable, Clusivity, LoopBound, RangeIterator, SymbolTable, TypeTable}; +use crate::{ + constant_propagation_table::ConstantPropagationTable, + Clusivity, + LoopBound, + RangeIterator, + SymbolTable, + TypeTable, +}; pub struct Unroller<'a> { /// A table of constant variables. @@ -38,7 +45,7 @@ pub struct Unroller<'a> { /// The symbol table for the function being processed. pub(crate) symbol_table: RefCell, /// A mapping from node IDs to their types. - pub(crate) type_table: &'a mut TypeTable, + pub(crate) type_table: &'a TypeTable, /// The index of the current scope. pub(crate) scope_index: usize, /// An error handler used for any errors found during unrolling. @@ -50,7 +57,12 @@ pub struct Unroller<'a> { } impl<'a> Unroller<'a> { - pub(crate) fn new(symbol_table: SymbolTable, type_table: &'a mut TypeTable, handler: &'a Handler, node_builder: &'a NodeBuilder) -> Self { + pub(crate) fn new( + symbol_table: SymbolTable, + type_table: &'a TypeTable, + handler: &'a Handler, + node_builder: &'a NodeBuilder, + ) -> Self { Self { constant_propagation_table: RefCell::new(ConstantPropagationTable::default()), symbol_table: RefCell::new(symbol_table), @@ -177,70 +189,40 @@ impl<'a> Unroller<'a> { // Construct a new node ID. let id = self.node_builder.next_id(); // Update the type table. - self.type_table.insert(id, input.type_); + self.type_table.insert(id, input.type_.clone()); // Reconstruct `iteration_count` as a `Literal`. let value = match input.type_ { - Type::Integer(IntegerType::I8) => Literal::Integer( - IntegerType::I8, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::I16) => Literal::Integer( - IntegerType::I16, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::I32) => Literal::Integer( - IntegerType::I32, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::I64) => Literal::Integer( - IntegerType::I64, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::I128) => Literal::Integer( - IntegerType::I128, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::U8) => Literal::Integer( - IntegerType::U8, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::U16) => Literal::Integer( - IntegerType::U16, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::U32) => Literal::Integer( - IntegerType::U32, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::U64) => Literal::Integer( - IntegerType::U64, - iteration_count.to_string(), - Default::default(), - id - ), - Type::Integer(IntegerType::U128) => Literal::Integer( - IntegerType::U128, - iteration_count.to_string(), - Default::default(), - id - ), + Type::Integer(IntegerType::I8) => { + Literal::Integer(IntegerType::I8, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::I16) => { + Literal::Integer(IntegerType::I16, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::I32) => { + Literal::Integer(IntegerType::I32, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::I64) => { + Literal::Integer(IntegerType::I64, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::I128) => { + Literal::Integer(IntegerType::I128, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::U8) => { + Literal::Integer(IntegerType::U8, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::U16) => { + Literal::Integer(IntegerType::U16, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::U32) => { + Literal::Integer(IntegerType::U32, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::U64) => { + Literal::Integer(IntegerType::U64, iteration_count.to_string(), Default::default(), id) + } + Type::Integer(IntegerType::U128) => { + Literal::Integer(IntegerType::U128, iteration_count.to_string(), Default::default(), id) + } _ => unreachable!( "The iteration variable must be an integer type. This should be enforced by type checking." ), diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 0a4e6f2848..a8f49f3618 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -45,6 +45,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { fn visit_expression(&mut self, input: &'a Expression, additional: &Self::AdditionalInput) -> Self::Output { let output = match input { Expression::Access(access) => self.visit_access(access, additional), + Expression::Array(array) => self.visit_array(array, additional), Expression::Binary(binary) => self.visit_binary(binary, additional), Expression::Call(call) => self.visit_call(call, additional), Expression::Cast(cast) => self.visit_cast(cast, additional), diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 6095b740fb..18260776c5 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -28,7 +28,7 @@ pub struct TypeChecker<'a> { /// The symbol table for the program. pub(crate) symbol_table: RefCell, /// A mapping from node IDs to their types. - pub(crate) type_table: TypeTable, + pub(crate) type_table: &'a TypeTable, /// A dependency graph of the structs in program. pub(crate) struct_graph: StructGraph, /// The call graph for the program. @@ -98,7 +98,7 @@ const MAGNITUDE_TYPES: [Type; 3] = impl<'a> TypeChecker<'a> { /// Returns a new type checker given a symbol table and error handler. - pub fn new(symbol_table: SymbolTable, handler: &'a Handler) -> Self { + pub fn new(symbol_table: SymbolTable, type_table: &'a TypeTable, handler: &'a Handler) -> Self { let struct_names = symbol_table.structs.keys().cloned().collect(); let function_names = symbol_table.functions.keys().cloned().collect(); @@ -106,7 +106,7 @@ impl<'a> TypeChecker<'a> { // Note that the `struct_graph` and `call_graph` are initialized with their full node sets. Self { symbol_table: RefCell::new(symbol_table), - type_table: Default::default(), + type_table, struct_graph: StructGraph::new(struct_names), call_graph: CallGraph::new(function_names), handler, diff --git a/compiler/passes/src/type_checking/mod.rs b/compiler/passes/src/type_checking/mod.rs index c8199762c9..98052729ca 100644 --- a/compiler/passes/src/type_checking/mod.rs +++ b/compiler/passes/src/type_checking/mod.rs @@ -33,14 +33,14 @@ use leo_ast::{Ast, ProgramVisitor}; use leo_errors::{emitter::Handler, Result}; impl<'a> Pass for TypeChecker<'a> { - type Input = (&'a Ast, &'a Handler, SymbolTable); - type Output = Result<(SymbolTable, TypeTable, StructGraph, CallGraph)>; + type Input = (&'a Ast, &'a Handler, SymbolTable, &'a TypeTable); + type Output = Result<(SymbolTable, StructGraph, CallGraph)>; - fn do_pass((ast, handler, st): Self::Input) -> Self::Output { - let mut visitor = TypeChecker::new(st, handler); + fn do_pass((ast, handler, st, tt): Self::Input) -> Self::Output { + let mut visitor = TypeChecker::new(st, tt, handler); visitor.visit_program(ast.as_repr()); handler.last_err().map_err(|e| *e)?; - Ok((visitor.symbol_table.take(), visitor.type_table, visitor.struct_graph, visitor.call_graph)) + Ok((visitor.symbol_table.take(), visitor.struct_graph, visitor.call_graph)) } } From f494a891c41a7d1427e9c4bf585864c7f8752d27 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 12 Oct 2023 09:27:12 -0400 Subject: [PATCH 33/51] Add TypeTable to compiler --- compiler/compiler/src/compiler.rs | 45 +++++++++++++------ compiler/compiler/tests/utilities/mod.rs | 2 +- .../expectations/compiler/address/branch.out | 8 ++-- .../compiler/boolean/conditional.out | 8 ++-- tests/test-framework/benches/leo_compiler.rs | 14 +++--- .../compiler/array/array_too_small_fail.leo | 2 +- 6 files changed, 48 insertions(+), 31 deletions(-) diff --git a/compiler/compiler/src/compiler.rs b/compiler/compiler/src/compiler.rs index 2846b3fe93..befe13fd1b 100644 --- a/compiler/compiler/src/compiler.rs +++ b/compiler/compiler/src/compiler.rs @@ -52,6 +52,8 @@ pub struct Compiler<'a> { node_builder: NodeBuilder, /// The `Assigner` is used to construct (unique) assignment statements. assigner: Assigner, + /// The type table. + type_table: TypeTable, } impl<'a> Compiler<'a> { @@ -66,6 +68,7 @@ impl<'a> Compiler<'a> { ) -> Self { let node_builder = NodeBuilder::default(); let assigner = Assigner::default(); + let type_table = TypeTable::default(); Self { handler, main_file_path, @@ -77,6 +80,7 @@ impl<'a> Compiler<'a> { compiler_options: compiler_options.unwrap_or_default(), node_builder, assigner, + type_table, } } @@ -173,22 +177,24 @@ impl<'a> Compiler<'a> { } /// Runs the type checker pass. - pub fn type_checker_pass( - &'a self, - symbol_table: SymbolTable, - ) -> Result<(SymbolTable, TypeTable, StructGraph, CallGraph)> { - let (symbol_table, type_table, struct_graph, call_graph) = - TypeChecker::do_pass((&self.ast, self.handler, symbol_table))?; + pub fn type_checker_pass(&'a self, symbol_table: SymbolTable) -> Result<(SymbolTable, StructGraph, CallGraph)> { + let (symbol_table, struct_graph, call_graph) = + TypeChecker::do_pass((&self.ast, self.handler, symbol_table, &self.type_table))?; if self.compiler_options.output.type_checked_symbol_table { self.write_symbol_table_to_json("type_checked_symbol_table.json", &symbol_table)?; } - Ok((symbol_table, type_table, struct_graph, call_graph)) + Ok((symbol_table, struct_graph, call_graph)) } /// Runs the loop unrolling pass. pub fn loop_unrolling_pass(&mut self, symbol_table: SymbolTable) -> Result { - let (ast, symbol_table) = - Unroller::do_pass((std::mem::take(&mut self.ast), self.handler, &self.node_builder, symbol_table))?; + let (ast, symbol_table) = Unroller::do_pass(( + std::mem::take(&mut self.ast), + self.handler, + &self.node_builder, + symbol_table, + &self.type_table, + ))?; self.ast = ast; if self.compiler_options.output.unrolled_ast { @@ -209,6 +215,7 @@ impl<'a> Compiler<'a> { &self.node_builder, &self.assigner, symbol_table, + &self.type_table, ))?; if self.compiler_options.output.ssa_ast { @@ -220,8 +227,13 @@ impl<'a> Compiler<'a> { /// Runs the flattening pass. pub fn flattening_pass(&mut self, symbol_table: &SymbolTable) -> Result<()> { - self.ast = - Flattener::do_pass((std::mem::take(&mut self.ast), symbol_table, &self.node_builder, &self.assigner))?; + self.ast = Flattener::do_pass(( + std::mem::take(&mut self.ast), + symbol_table, + &self.type_table, + &self.node_builder, + &self.assigner, + ))?; if self.compiler_options.output.flattened_ast { self.write_ast_to_json("flattened_ast.json")?; @@ -232,8 +244,13 @@ impl<'a> Compiler<'a> { /// Runs the function inlining pass. pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()> { - let ast = - FunctionInliner::do_pass((std::mem::take(&mut self.ast), &self.node_builder, call_graph, &self.assigner))?; + let ast = FunctionInliner::do_pass(( + std::mem::take(&mut self.ast), + &self.node_builder, + call_graph, + &self.assigner, + &self.type_table, + ))?; self.ast = ast; if self.compiler_options.output.inlined_ast { @@ -269,7 +286,7 @@ impl<'a> Compiler<'a> { /// Runs the compiler stages. pub fn compiler_stages(&mut self) -> Result<(SymbolTable, StructGraph, CallGraph)> { let st = self.symbol_table_pass()?; - let (st, _, struct_graph, call_graph) = self.type_checker_pass(st)?; + let (st, struct_graph, call_graph) = self.type_checker_pass(st)?; // TODO: Make this pass optional. let st = self.loop_unrolling_pass(st)?; diff --git a/compiler/compiler/tests/utilities/mod.rs b/compiler/compiler/tests/utilities/mod.rs index 4c8822c870..f6cb2b0434 100644 --- a/compiler/compiler/tests/utilities/mod.rs +++ b/compiler/compiler/tests/utilities/mod.rs @@ -226,7 +226,7 @@ pub fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>) -> Result Date: Thu, 12 Oct 2023 18:09:02 -0400 Subject: [PATCH 34/51] Update flattener --- .../src/flattening/flatten_expression.rs | 112 +++++----- .../passes/src/flattening/flatten_program.rs | 19 -- .../src/flattening/flatten_statement.rs | 136 ++++++------ compiler/passes/src/flattening/flattener.rs | 201 +++++++++++++----- compiler/passes/src/flattening/mod.rs | 8 +- 5 files changed, 277 insertions(+), 199 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index cea07d5ec0..3ebc9ee5a6 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -25,11 +25,12 @@ use leo_ast::{ ExpressionReconstructor, Member, MemberAccess, + Node, Statement, StructExpression, StructVariableInitializer, TernaryExpression, - TupleExpression, + Type, }; // TODO: Clean up logic. To be done in a follow-up PR (feat/tuples) @@ -133,68 +134,55 @@ impl ExpressionReconstructor for Flattener<'_> { let mut statements = Vec::new(); match (*input.if_true, *input.if_false) { // If both expressions are identifiers which are arrays, construct ternary expressions for each of the members and an array expression for the result. - (Expression::Identifier(first), Expression::Identifier(second)) - if self.arrays.contains_key(&first.name) && self.arrays.contains_key(&second.name) => - { - let first_array = self.arrays.get(&first.name).unwrap().clone(); - let second_array = self.arrays.get(&second.name).unwrap(); - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(&first_array, second_array); - - self.ternary_array(first_array, &input.condition, &first, &second) - } - // If both expressions are identifiers which are structs, construct ternary expression for each of the members and a struct expression for the result. - (Expression::Identifier(first), Expression::Identifier(second)) - if self.structs.contains_key(&first.name) && self.structs.contains_key(&second.name) => - { - let first_struct = self.structs.get(&first.name).unwrap().clone(); - let second_struct = self.structs.get(&second.name).unwrap(); - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(&first_struct, second_struct); - - self.ternary_struct(first_struct, &input.condition, &first, &second) - } - // If both expressions are identifiers which map to tuples, construct ternary expression over the tuples. - (Expression::Identifier(first), Expression::Identifier(second)) - if self.tuples.contains_key(&first.name) && self.tuples.contains_key(&second.name) => - { - // Note that this unwrap is safe since we check that `self.tuples` contains the key. - let first_tuple = self.tuples.get(&first.name).unwrap(); - // Note that this unwrap is safe since we check that `self.tuples` contains the key. - let second_tuple = self.tuples.get(&second.name).unwrap(); - // Note that type checking guarantees that both expressions have the same same type. - self.reconstruct_ternary(TernaryExpression { - condition: input.condition, - if_true: Box::new(Expression::Tuple(first_tuple.clone())), - if_false: Box::new(Expression::Tuple(second_tuple.clone())), - span: input.span, - id: input.id, - }) + (Expression::Identifier(first), Expression::Identifier(second)) => { + match (self.type_table.get(&first.id()), self.type_table.get(&second.id())) { + (Some(Type::Array(first_type)), Some(Type::Array(second_type))) => { + // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. + assert_eq!(first_type, second_type); + self.ternary_array(&first_type, &input.condition, &first, &second) + } + (Some(Type::Identifier(first_type)), Some(Type::Identifier(second_type))) => { + // Get the struct definitions. + let first_type = self.symbol_table.lookup_struct(first_type.name).unwrap(); + let second_type = self.symbol_table.lookup_struct(second_type.name).unwrap(); + // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. + assert_eq!(first_type, second_type); + self.ternary_struct(first_type, &input.condition, &first, &second) + } + (Some(Type::Tuple(first_type)), Some(Type::Tuple(second_type))) => { + // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. + assert_eq!(first_type, second_type); + self.ternary_tuple(&first_type, &input.condition, &first, &second) + } + _ => { + // Reconstruct the true case. + let (if_true, stmts) = self.reconstruct_expression(Expression::Identifier(first)); + statements.extend(stmts); + + // Reconstruct the false case. + let (if_false, stmts) = self.reconstruct_expression(Expression::Identifier(second)); + statements.extend(stmts); + + let (identifier, statement) = + self.unique_simple_assign_statement(Expression::Ternary(TernaryExpression { + condition: input.condition, + if_true: Box::new(if_true), + if_false: Box::new(if_false), + span: input.span, + id: input.id, + })); + + // Accumulate the new assignment statement. + statements.push(statement); + + (Expression::Identifier(identifier), statements) + } + } } - // Otherwise, create a new intermediate assignment for the ternary expression are return the assigned variable. - // Note that a new assignment must be created to flattened nested ternary expressions. - (if_true, if_false) => { - // Reconstruct the true case. - let (if_true, stmts) = self.reconstruct_expression(if_true); - statements.extend(stmts); - - // Reconstruct the false case. - let (if_false, stmts) = self.reconstruct_expression(if_false); - statements.extend(stmts); - - let (identifier, statement) = - self.unique_simple_assign_statement(Expression::Ternary(TernaryExpression { - condition: input.condition, - if_true: Box::new(if_true), - if_false: Box::new(if_false), - span: input.span, - id: input.id, - })); - - // Accumulate the new assignment statement. - statements.push(statement); - - (Expression::Identifier(identifier), statements) + (expr1, expr2) => { + println!("expr1: {:?}", expr1); + println!("expr2: {:?}", expr2); + unreachable!("SSA guarantees that the subexpressions of a ternary expression are identifiers.") } } } diff --git a/compiler/passes/src/flattening/flatten_program.rs b/compiler/passes/src/flattening/flatten_program.rs index 773490eae5..940f5cbf66 100644 --- a/compiler/passes/src/flattening/flatten_program.rs +++ b/compiler/passes/src/flattening/flatten_program.rs @@ -24,15 +24,6 @@ impl ProgramReconstructor for Flattener<'_> { // First, flatten the finalize block. This allows us to initialize self.finalizes correctly. // Note that this is safe since the finalize block is independent of the function body. let finalize = function.finalize.map(|finalize| { - // Initialize `self.structs` with the finalize's input as necessary. - self.structs = Default::default(); - for input in &finalize.input { - if let Type::Identifier(struct_name) = input.type_() { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(input.identifier().name, struct_); - } - } // Flatten the finalize block. let mut block = self.reconstruct_block(finalize.block).0; @@ -53,16 +44,6 @@ impl ProgramReconstructor for Flattener<'_> { } }); - // Initialize `self.structs` with the function's input as necessary. - self.structs = Default::default(); - for input in &function.input { - if let Type::Identifier(struct_name) = input.type_() { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(input.identifier().name, struct_); - } - } - // Flatten the function body. let mut block = self.reconstruct_block(function.block).0; diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index bb6b1d0814..6908199518 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -107,13 +107,25 @@ impl StatementReconstructor for Flattener<'_> { variant: AssertVariant::Assert(Expression::Binary(BinaryExpression { op: BinaryOperation::Or, span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the binary expression. + let id = self.node_builder.next_id(); + // Update the type table with the type of the binary expression. + self.type_table.insert(id, Type::Boolean); + id + }, // Take the logical negation of the guard. left: Box::new(Expression::Unary(UnaryExpression { op: UnaryOperation::Not, receiver: Box::new(guard), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the unary expression. + let id = self.node_builder.next_id(); + // Update the type table with the type of the unary expression. + self.type_table.insert(id, Type::Boolean); + id + }, })), right: Box::new(match assert.variant { // If the assert statement is an `assert`, use the expression as is. @@ -124,7 +136,13 @@ impl StatementReconstructor for Flattener<'_> { op: BinaryOperation::Eq, right: Box::new(right), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the unary expression. + let id = self.node_builder.next_id(); + // Update the type table with the type of the unary expression. + self.type_table.insert(id, Type::Boolean); + id + }, }), // If the assert statement is an `assert_ne`, construct a new inequality expression. AssertVariant::AssertNeq(left, right) => Expression::Binary(BinaryExpression { @@ -132,7 +150,13 @@ impl StatementReconstructor for Flattener<'_> { op: BinaryOperation::Neq, right: Box::new(right), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the unary expression. + let id = self.node_builder.next_id(); + // Update the type table with the type of the unary expression. + self.type_table.insert(id, Type::Boolean); + id + }, }), }), })), @@ -184,26 +208,34 @@ impl StatementReconstructor for Flattener<'_> { elements: (0..tuple.length()) .zip_eq(tuple.elements().iter()) .map(|(i, type_)| { - let identifier = Identifier::new( + // Return the identifier as an expression. + Expression::Identifier(Identifier::new( self.assigner.unique_symbol(lhs_identifier.name, format!("$index${i}$")), - self.node_builder.next_id(), - ); - - // If the output type is a struct, add it to `self.structs`. - if let Type::Identifier(struct_name) = type_ { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(identifier.name, struct_); - } - - Expression::Identifier(identifier) + { + // Construct a node ID for the identifier. + let id = self.node_builder.next_id(); + // Update the type table with the type. + self.type_table.insert(id, type_.clone()); + id + }, + )) }) .collect(), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Construct a node ID for the tuple expression. + let id = self.node_builder.next_id(); + // Update the type table with the type. + self.type_table.insert(id, Type::Tuple(tuple.clone())); + id + }, }; // Add the `tuple_expression` to `self.tuples`. self.tuples.insert(lhs_identifier.name, tuple_expression.clone()); + + // Update the type table with the type of the tuple expression. + self.type_table.insert(tuple_expression.id, Type::Tuple(tuple.clone())); + // Construct a new assignment statement with a tuple expression on the lhs. ( Statement::Assign(Box::new(AssignStatement { @@ -216,23 +248,7 @@ impl StatementReconstructor for Flattener<'_> { ) } // Otherwise, reconstruct the assignment as is. - type_ => { - // If the function returns a struct, add it to `self.structs`. - if let Type::Identifier(struct_name) = type_ { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(lhs_identifier.name, struct_); - }; - ( - Statement::Assign(Box::new(AssignStatement { - place: Expression::Identifier(lhs_identifier), - value: Expression::Call(call), - span: Default::default(), - id: self.node_builder.next_id(), - })), - statements, - ) - } + _ => (self.simple_assign_statement(lhs_identifier, Expression::Call(call)), statements), } } // If the `rhs` is an invocation of `get` or `get_or_use` on a mapping, then check if the value type is a struct. @@ -268,22 +284,8 @@ impl StatementReconstructor for Flattener<'_> { } _ => unreachable!("Type checking guarantee that `arguments[0]` is the name of the mapping."), }; - // If the value type is a struct, add it to `self.structs`. - if let Type::Identifier(struct_name) = value_type { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(lhs_identifier.name, struct_); - } // Reconstruct the assignment. - ( - Statement::Assign(Box::new(AssignStatement { - place: Expression::Identifier(lhs_identifier), - value, - span: Default::default(), - id: self.node_builder.next_id(), - })), - statements, - ) + (self.simple_assign_statement(lhs_identifier, value), statements) } (Expression::Identifier(identifier), expression) => { (self.simple_assign_statement(identifier, expression), statements) @@ -300,7 +302,7 @@ impl StatementReconstructor for Flattener<'_> { let function = self.symbol_table.lookup_fn_symbol(function_name).unwrap(); let output_type = match &function.output_type { - Type::Tuple(tuple) => tuple.clone(), + Type::Tuple(tuple_type) => tuple_type.clone(), _ => unreachable!("Type checking guarantees that the output type is a tuple."), }; @@ -309,14 +311,13 @@ impl StatementReconstructor for Flattener<'_> { Expression::Identifier(identifier) => identifier, _ => unreachable!("Type checking guarantees that a tuple element on the lhs is an identifier."), }; - // If the output type is a struct, add it to `self.structs`. - if let Type::Identifier(struct_name) = type_ { - // Note that this unwrap is safe since type checking guarantees that the struct exists. - let struct_ = self.symbol_table.lookup_struct(struct_name.name).unwrap().clone(); - self.structs.insert(identifier.name, struct_); - } + // Add the type of each identifier to the type table. + self.type_table.insert(identifier.id, type_.clone()); }); + // Set the type of the tuple expression. + self.type_table.insert(tuple.id, Type::Tuple(output_type.clone())); + ( Statement::Assign(Box::new(AssignStatement { place: Expression::Tuple(tuple), @@ -330,11 +331,14 @@ impl StatementReconstructor for Flattener<'_> { // If the lhs is a tuple and the rhs is a tuple, create a new assign statement for each tuple element. (Expression::Tuple(lhs_tuple), Expression::Tuple(rhs_tuple)) => { statements.extend(lhs_tuple.elements.into_iter().zip(rhs_tuple.elements).map(|(lhs, rhs)| { - let identifier = match &lhs { - Expression::Identifier(identifier) => identifier, - _ => unreachable!("Type checking guarantees that `lhs` is an identifier."), + // Get the type of the rhs. + let type_ = match self.type_table.get(&lhs.id()) { + Some(type_) => type_.clone(), + None => unreachable!("Type checking guarantees that the type of the lhs is in the type table."), }; - self.update_structs(identifier, &rhs); + // Set the type of the lhs. + self.type_table.insert(rhs.id(), type_); + // Return the assign statement. Statement::Assign(Box::new(AssignStatement { place: lhs, value: rhs, @@ -353,12 +357,14 @@ impl StatementReconstructor for Flattener<'_> { let rhs_tuple = self.tuples.get(&identifier.name).unwrap().clone(); // Create a new assign statement for each tuple element. for (lhs, rhs) in lhs_tuple.elements.into_iter().zip(rhs_tuple.elements) { - let identifier = match &lhs { - Expression::Identifier(identifier) => identifier, - _ => unreachable!("Type checking guarantees that `lhs` is an identifier."), + // Get the type of the rhs. + let type_ = match self.type_table.get(&lhs.id()) { + Some(type_) => type_.clone(), + None => unreachable!("Type checking guarantees that the type of the lhs is in the type table."), }; - self.update_structs(identifier, &rhs); - + // Set the type of the lhs. + self.type_table.insert(rhs.id(), type_); + // Return the assign statement. statements.push(Statement::Assign(Box::new(AssignStatement { place: lhs, value: rhs, diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index d3bd7b9f79..6b16648ff4 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Assigner, SymbolTable}; +use crate::{Assigner, SymbolTable, TypeTable}; use leo_ast::{ AccessExpression, @@ -31,6 +31,7 @@ use leo_ast::{ Literal, Member, MemberAccess, + Node, NodeBuilder, NonzeroNumber, ReturnStatement, @@ -49,15 +50,17 @@ use leo_span::Symbol; use indexmap::IndexMap; +// TODO: TypeTable should be placed behind a RefCell. + pub struct Flattener<'a> { /// The symbol table associated with the program. pub(crate) symbol_table: &'a SymbolTable, + /// A mapping between node IDs and their types. + pub(crate) type_table: &'a TypeTable, /// A counter used to generate unique node IDs. pub(crate) node_builder: &'a NodeBuilder, /// A struct used to construct (unique) assignment statements. pub(crate) assigner: &'a Assigner, - /// The set of variables that are structs. - pub(crate) structs: IndexMap, /// A stack of condition `Expression`s visited up to the current point in the AST. pub(crate) condition_stack: Vec, /// A list containing tuples of guards and expressions associated `ReturnStatement`s. @@ -67,21 +70,23 @@ pub struct Flattener<'a> { pub(crate) returns: Vec<(Option, ReturnStatement)>, /// A mapping between variables and flattened tuple expressions. pub(crate) tuples: IndexMap, - /// A mapping from variables to array types. - pub(crate) arrays: IndexMap, } impl<'a> Flattener<'a> { - pub(crate) fn new(symbol_table: &'a SymbolTable, node_builder: &'a NodeBuilder, assigner: &'a Assigner) -> Self { + pub(crate) fn new( + symbol_table: &'a SymbolTable, + type_table: &'a TypeTable, + node_builder: &'a NodeBuilder, + assigner: &'a Assigner, + ) -> Self { Self { symbol_table, + type_table, node_builder, assigner, - structs: IndexMap::new(), condition_stack: Vec::new(), returns: Vec::new(), tuples: IndexMap::new(), - arrays: IndexMap::new(), } } @@ -97,12 +102,19 @@ impl<'a> Flattener<'a> { false => { let (first, rest) = self.condition_stack.split_first().unwrap(); Some(rest.iter().cloned().fold(first.clone(), |acc, condition| { + // Construct the binary expression. Expression::Binary(BinaryExpression { op: BinaryOperation::And, left: Box::new(acc), right: Box::new(condition), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the binary expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Boolean); + id + }, }) })) } @@ -136,11 +148,22 @@ impl<'a> Flattener<'a> { id: self.node_builder.next_id(), }; let (value, stmts) = self.reconstruct_ternary(TernaryExpression { + id: { + // Create a new node ID for the ternary expression. + let id = self.node_builder.next_id(); + // Get the type of the node ID. + let type_ = match self.type_table.get(&if_true.id()) { + Some(type_) => type_, + None => unreachable!("Type checking guarantees that all expressions have a type."), + }; + // Set the type of the node ID. + self.type_table.insert(id, type_); + id + }, condition: Box::new(guard), if_true: Box::new(if_true), if_false: Box::new(if_false), span: Default::default(), - id: self.node_builder.next_id(), }); statements.extend(stmts); @@ -167,11 +190,7 @@ impl<'a> Flattener<'a> { } } - /// Gets the type of the expression, if it's being tracked. - pub(crate) fn get_type(&self, expression: &Expression) -> Option {} - /// A wrapper around `assigner.unique_simple_assign_statement` that updates `self.structs`. - // TODO (@d0cd) Update to check for tuples and arrays pub(crate) fn unique_simple_assign_statement(&mut self, expr: Expression) -> (Identifier, Statement) { // Create a new variable for the expression. let name = self.assigner.unique_symbol("$var", "$"); @@ -180,20 +199,19 @@ impl<'a> Flattener<'a> { // Construct the assignment statement. let statement = self.simple_assign_statement(place, expr); - match &statement { - Statement::Assign(assign) => { - self.update_structs(&place, &assign.value); - } - _ => unreachable!("`assigner.unique_simple_assign_statement` always returns an assignment statement."), - } (place, statement) } /// A wrapper around `assigner.simple_assign_statement` that tracks the type of the lhs. pub(crate) fn simple_assign_statement(&mut self, lhs: Identifier, rhs: Expression) -> Statement { - let statement = self.assigner.simple_assign_statement(lhs, rhs, self.node_builder.next_id()); - self.update_types(&statement); - statement + // Update the type table. + let type_ = match self.type_table.get(&rhs.id()) { + Some(type_) => type_, + None => unreachable!("Type checking guarantees that all expressions have a type."), + }; + self.type_table.insert(lhs.id(), type_); + // Construct the statement. + self.assigner.simple_assign_statement(lhs, rhs, self.node_builder.next_id()) } /// Folds a list of return statements into a single return statement and adds the produced statements to the block. @@ -268,7 +286,7 @@ impl<'a> Flattener<'a> { pub(crate) fn ternary_array( &mut self, - array: ArrayType, + array: &ArrayType, condition: &Expression, first: &Identifier, second: &Identifier, @@ -286,10 +304,22 @@ impl<'a> Flattener<'a> { IntegerType::U32, i.to_string(), Default::default(), - self.node_builder.next_id(), + { + // Create a new node ID for the literal. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Integer(IntegerType::U32)); + id + }, ))), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, array.element_type().clone()); + id + }, }))); statements.push(stmt); // Create an assignment statement for the second access expression. @@ -300,10 +330,22 @@ impl<'a> Flattener<'a> { IntegerType::U32, i.to_string(), Default::default(), - self.node_builder.next_id(), + { + // Create a new node ID for the literal. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Integer(IntegerType::U32)); + id + }, ))), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, array.element_type().clone()); + id + }, }))); statements.push(stmt); @@ -315,7 +357,13 @@ impl<'a> Flattener<'a> { // Access the member of the second expression. if_false: Box::new(Expression::Identifier(second)), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the ternary expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, array.element_type().clone()); + id + }, }); // Accumulate any statements generated. @@ -329,7 +377,13 @@ impl<'a> Flattener<'a> { let (expr, stmts) = self.reconstruct_array(ArrayExpression { elements, span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a node ID for the array expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Array(array.clone())); + id + }, }); // Accumulate any statements generated. @@ -338,9 +392,6 @@ impl<'a> Flattener<'a> { // Create a new assignment statement for the array expression. let (identifier, statement) = self.unique_simple_assign_statement(expr); - // Mark the lhs of the assignment as an array. - self.arrays.insert(identifier.name, array); - statements.push(statement); (Expression::Identifier(identifier), statements) @@ -348,7 +399,7 @@ impl<'a> Flattener<'a> { pub(crate) fn ternary_struct( &mut self, - struct_: Struct, + struct_: &Struct, condition: &Expression, first: &Identifier, second: &Identifier, @@ -359,14 +410,20 @@ impl<'a> Flattener<'a> { let members = struct_ .members .iter() - .map(|Member { identifier, .. }| { + .map(|Member { identifier, type_, .. }| { // Create an assignment statement for the first access expression. let (first, stmt) = self.unique_simple_assign_statement(Expression::Access(AccessExpression::Member(MemberAccess { inner: Box::new(Expression::Identifier(*first)), name: *identifier, span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }))); statements.push(stmt); // Create an assignment statement for the second access expression. @@ -375,7 +432,13 @@ impl<'a> Flattener<'a> { inner: Box::new(Expression::Identifier(*second)), name: *identifier, span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }))); statements.push(stmt); // Recursively reconstruct the ternary expression. @@ -386,7 +449,13 @@ impl<'a> Flattener<'a> { // Access the member of the second expression. if_false: Box::new(Expression::Identifier(second)), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the ternary expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }); // Accumulate any statements generated. @@ -405,7 +474,13 @@ impl<'a> Flattener<'a> { name: struct_.identifier, members, span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the struct expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Identifier(struct_.identifier)); + id + }, }); // Accumulate any statements generated. @@ -414,9 +489,6 @@ impl<'a> Flattener<'a> { // Create a new assignment statement for the struct expression. let (identifier, statement) = self.unique_simple_assign_statement(expr); - // Mark the lhs of the assignment as a struct. - self.structs.insert(identifier.name, struct_); - statements.push(statement); (Expression::Identifier(identifier), statements) @@ -424,7 +496,7 @@ impl<'a> Flattener<'a> { pub(crate) fn ternary_tuple( &mut self, - tuple: TupleType, + tuple_type: &TupleType, condition: &Expression, first: &Identifier, second: &Identifier, @@ -432,15 +504,24 @@ impl<'a> Flattener<'a> { // Initialize a vector to accumulate any statements generated. let mut statements = Vec::new(); // For each tuple element, construct a new ternary expression. - let elements = (0..tuple.length()) - .map(|i| { + let elements = tuple_type + .elements() + .iter() + .enumerate() + .map(|(i, type_)| { // Create an assignment statement for the first access expression. let (first, stmt) = self.unique_simple_assign_statement(Expression::Access(AccessExpression::Tuple(TupleAccess { tuple: Box::new(Expression::Identifier(*first)), index: NonzeroNumber::from(i), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }))); statements.push(stmt); // Create an assignment statement for the second access expression. @@ -449,7 +530,13 @@ impl<'a> Flattener<'a> { tuple: Box::new(Expression::Identifier(*second)), index: NonzeroNumber::from(i), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the access expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }))); statements.push(stmt); @@ -461,7 +548,13 @@ impl<'a> Flattener<'a> { // Access the member of the second expression. if_false: Box::new(Expression::Identifier(second)), span: Default::default(), - id: self.node_builder.next_id(), + id: { + // Create a new node ID for the ternary expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, type_.clone()); + id + }, }); // Accumulate any statements generated. @@ -472,7 +565,17 @@ impl<'a> Flattener<'a> { .collect(); // Construct the tuple expression. - let tuple = TupleExpression { elements, span: Default::default(), id: self.node_builder.next_id() }; + let tuple = TupleExpression { + elements, + span: Default::default(), + id: { + // Create a new node ID for the tuple expression. + let id = self.node_builder.next_id(); + // Set the type of the node ID. + self.type_table.insert(id, Type::Tuple(tuple_type.clone())); + id + }, + }; let (expr, stmts) = self.reconstruct_tuple(tuple.clone()); // Accumulate any statements generated. diff --git a/compiler/passes/src/flattening/mod.rs b/compiler/passes/src/flattening/mod.rs index 3af1449355..2586b28ce1 100644 --- a/compiler/passes/src/flattening/mod.rs +++ b/compiler/passes/src/flattening/mod.rs @@ -59,17 +59,17 @@ mod flatten_statement; pub mod flattener; pub use flattener::*; -use crate::{Assigner, Pass, SymbolTable}; +use crate::{Assigner, Pass, SymbolTable, TypeTable}; use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::Result; impl<'a> Pass for Flattener<'a> { - type Input = (Ast, &'a SymbolTable, &'a NodeBuilder, &'a Assigner); + type Input = (Ast, &'a SymbolTable, &'a TypeTable, &'a NodeBuilder, &'a Assigner); type Output = Result; - fn do_pass((ast, st, node_builder, assigner): Self::Input) -> Self::Output { - let mut reconstructor = Flattener::new(st, node_builder, assigner); + fn do_pass((ast, st, tt, node_builder, assigner): Self::Input) -> Self::Output { + let mut reconstructor = Flattener::new(st, tt, node_builder, assigner); let program = reconstructor.reconstruct_program(ast.into_repr()); Ok(Ast::new(program)) From 992f0b83def82d8401fa0dca9a9c052b23d45150 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 11:11:53 -0400 Subject: [PATCH 35/51] Redesign flattening --- .../src/flattening/flatten_expression.rs | 55 +---- .../src/flattening/flatten_statement.rs | 210 +----------------- compiler/passes/src/flattening/flattener.rs | 20 +- 3 files changed, 10 insertions(+), 275 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index 3ebc9ee5a6..3d1ece6d60 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -30,6 +30,7 @@ use leo_ast::{ StructExpression, StructVariableInitializer, TernaryExpression, + TupleAccess, Type, }; @@ -38,60 +39,6 @@ use leo_ast::{ impl ExpressionReconstructor for Flattener<'_> { type AdditionalOutput = Vec; - /// Replaces a tuple access expression with the appropriate expression. - fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { - let mut statements = Vec::new(); - ( - match input { - AccessExpression::Array(array) => Expression::Access(AccessExpression::Array(ArrayAccess { - array: Box::new(self.reconstruct_expression(*array.array).0), - index: Box::new(self.reconstruct_expression(*array.index).0), - span: array.span, - id: array.id, - })), - AccessExpression::AssociatedFunction(function) => { - Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { - ty: function.ty, - name: function.name, - arguments: function - .arguments - .into_iter() - .map(|arg| self.reconstruct_expression(arg).0) - .collect(), - span: function.span, - id: function.id, - })) - } - AccessExpression::Member(member) => Expression::Access(AccessExpression::Member(MemberAccess { - inner: Box::new(self.reconstruct_expression(*member.inner).0), - name: member.name, - span: member.span, - id: member.id, - })), - AccessExpression::Tuple(tuple) => { - // Reconstruct the tuple expression. - let (expr, stmts) = self.reconstruct_expression(*tuple.tuple); - - // Accumulate any statements produced. - statements.extend(stmts); - - // Lookup the expression in the tuple map. - match expr { - Expression::Identifier(identifier) => { - // Note that this unwrap is safe since TYC guarantees that all tuples are declared and indices are valid. - self.tuples.get(&identifier.name).unwrap().elements[tuple.index.value()].clone() - } - _ => unreachable!("SSA guarantees that subexpressions are identifiers or literals."), - } - } - AccessExpression::AssociatedConstant(access) => { - Expression::Access(AccessExpression::AssociatedConstant(access)) - } - }, - statements, - ) - } - /// Reconstructs a struct init expression, flattening any tuples in the expression. fn reconstruct_struct_init(&mut self, input: StructExpression) -> (Expression, Self::AdditionalOutput) { let mut statements = Vec::new(); diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index 6908199518..c498690e97 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -173,136 +173,11 @@ impl StatementReconstructor for Flattener<'_> { fn reconstruct_assign(&mut self, assign: AssignStatement) -> (Statement, Self::AdditionalOutput) { // Flatten the rhs of the assignment. let (value, mut statements) = self.reconstruct_expression(assign.value); - match (assign.place, value.clone()) { - // If the lhs is an identifier and the rhs is a tuple, then add the tuple to `self.tuples`. - (Expression::Identifier(identifier), Expression::Tuple(tuple)) => { - self.tuples.insert(identifier.name, tuple); - // Note that tuple assignments are removed from the AST. - (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) - } - // If the lhs is an identifier and the rhs is an identifier that is a tuple, then add it to `self.tuples`. - (Expression::Identifier(lhs_identifier), Expression::Identifier(rhs_identifier)) - if self.tuples.contains_key(&rhs_identifier.name) => - { - // Lookup the entry in `self.tuples` and add it for the lhs of the assignment. - // Note that the `unwrap` is safe since the match arm checks that the entry exists. - self.tuples.insert(lhs_identifier.name, self.tuples.get(&rhs_identifier.name).unwrap().clone()); - // Note that tuple assignments are removed from the AST. - (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) - } - // If the lhs is an identifier and the rhs is a function call that produces a tuple, then add it to `self.tuples`. - (Expression::Identifier(lhs_identifier), Expression::Call(call)) => { - // Retrieve the entry in the symbol table for the function call. - // Note that this unwrap is safe since type checking ensures that the function exists. - let function_name = match call.function.borrow() { - Expression::Identifier(rhs_identifier) => rhs_identifier.name, - _ => unreachable!("Parsing guarantees that `function` is an identifier."), - }; - - let function = self.symbol_table.lookup_fn_symbol(function_name).unwrap(); - match &function.output_type { - // If the function returns a tuple, reconstruct the assignment and add an entry to `self.tuples`. - Type::Tuple(tuple) => { - // Create a new tuple expression with unique identifiers for each index of the lhs. - let tuple_expression = TupleExpression { - elements: (0..tuple.length()) - .zip_eq(tuple.elements().iter()) - .map(|(i, type_)| { - // Return the identifier as an expression. - Expression::Identifier(Identifier::new( - self.assigner.unique_symbol(lhs_identifier.name, format!("$index${i}$")), - { - // Construct a node ID for the identifier. - let id = self.node_builder.next_id(); - // Update the type table with the type. - self.type_table.insert(id, type_.clone()); - id - }, - )) - }) - .collect(), - span: Default::default(), - id: { - // Construct a node ID for the tuple expression. - let id = self.node_builder.next_id(); - // Update the type table with the type. - self.type_table.insert(id, Type::Tuple(tuple.clone())); - id - }, - }; - // Add the `tuple_expression` to `self.tuples`. - self.tuples.insert(lhs_identifier.name, tuple_expression.clone()); - - // Update the type table with the type of the tuple expression. - self.type_table.insert(tuple_expression.id, Type::Tuple(tuple.clone())); - - // Construct a new assignment statement with a tuple expression on the lhs. - ( - Statement::Assign(Box::new(AssignStatement { - place: Expression::Tuple(tuple_expression), - value: Expression::Call(call), - span: Default::default(), - id: self.node_builder.next_id(), - })), - statements, - ) - } - // Otherwise, reconstruct the assignment as is. - _ => (self.simple_assign_statement(lhs_identifier, Expression::Call(call)), statements), - } - } - // If the `rhs` is an invocation of `get` or `get_or_use` on a mapping, then check if the value type is a struct. - // Note that the parser rewrites `.get` and `.get_or_use` to `Mapping::get` and `Mapping::get_or_use` respectively. - ( - Expression::Identifier(lhs_identifier), - Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { - ty: Type::Identifier(Identifier { name: sym::Mapping, .. }), - name: Identifier { name: sym::get, .. }, - arguments, - .. - })), - ) - | ( - Expression::Identifier(lhs_identifier), - Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { - ty: Type::Identifier(Identifier { name: sym::Mapping, .. }), - name: Identifier { name: sym::get_or_use, .. }, - arguments, - .. - })), - ) => { - // Get the value type of the mapping. - let value_type = match arguments[0] { - Expression::Identifier(identifier) => { - // Retrieve the entry in the symbol table for the mapping. - // Note that this unwrap is safe since type checking ensures that the mapping exists. - let variable = self.symbol_table.lookup_variable(identifier.name).unwrap(); - match &variable.type_ { - Type::Mapping(mapping_type) => &*mapping_type.value, - _ => unreachable!("Type checking guarantee that `arguments[0]` is a mapping."), - } - } - _ => unreachable!("Type checking guarantee that `arguments[0]` is the name of the mapping."), - }; - // Reconstruct the assignment. - (self.simple_assign_statement(lhs_identifier, value), statements) - } - (Expression::Identifier(identifier), expression) => { - (self.simple_assign_statement(identifier, expression), statements) - } - // If the lhs is a tuple and the rhs is a function call, then return the reconstructed statement. - (Expression::Tuple(tuple), Expression::Call(call)) => { - // Retrieve the entry in the symbol table for the function call. - // Note that this unwrap is safe since type checking ensures that the function exists. - let function_name = match call.function.borrow() { - Expression::Identifier(rhs_identifier) => rhs_identifier.name, - _ => unreachable!("Parsing guarantees that `function` is an identifier."), - }; - - let function = self.symbol_table.lookup_fn_symbol(function_name).unwrap(); - - let output_type = match &function.output_type { - Type::Tuple(tuple_type) => tuple_type.clone(), + match (assign.place, &value) { + (Expression::Identifier(identifier), _) => (self.simple_assign_statement(identifier, value), statements), + (Expression::Tuple(tuple), expression) => { + let output_type = match &self.type_table.get(&expression.id()) { + Some(Type::Tuple(tuple_type)) => tuple_type.clone(), _ => unreachable!("Type checking guarantees that the output type is a tuple."), }; @@ -321,67 +196,13 @@ impl StatementReconstructor for Flattener<'_> { ( Statement::Assign(Box::new(AssignStatement { place: Expression::Tuple(tuple), - value: Expression::Call(call), + value, span: Default::default(), id: self.node_builder.next_id(), })), statements, ) } - // If the lhs is a tuple and the rhs is a tuple, create a new assign statement for each tuple element. - (Expression::Tuple(lhs_tuple), Expression::Tuple(rhs_tuple)) => { - statements.extend(lhs_tuple.elements.into_iter().zip(rhs_tuple.elements).map(|(lhs, rhs)| { - // Get the type of the rhs. - let type_ = match self.type_table.get(&lhs.id()) { - Some(type_) => type_.clone(), - None => unreachable!("Type checking guarantees that the type of the lhs is in the type table."), - }; - // Set the type of the lhs. - self.type_table.insert(rhs.id(), type_); - // Return the assign statement. - Statement::Assign(Box::new(AssignStatement { - place: lhs, - value: rhs, - span: Default::default(), - id: self.node_builder.next_id(), - })) - })); - (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) - } - // If the lhs is a tuple and the rhs is an identifier that is a tuple, create a new assign statement for each tuple element. - (Expression::Tuple(lhs_tuple), Expression::Identifier(identifier)) - if self.tuples.contains_key(&identifier.name) => - { - // Lookup the entry in `self.tuples`. - // Note that the `unwrap` is safe since the match arm checks that the entry exists. - let rhs_tuple = self.tuples.get(&identifier.name).unwrap().clone(); - // Create a new assign statement for each tuple element. - for (lhs, rhs) in lhs_tuple.elements.into_iter().zip(rhs_tuple.elements) { - // Get the type of the rhs. - let type_ = match self.type_table.get(&lhs.id()) { - Some(type_) => type_.clone(), - None => unreachable!("Type checking guarantees that the type of the lhs is in the type table."), - }; - // Set the type of the lhs. - self.type_table.insert(rhs.id(), type_); - // Return the assign statement. - statements.push(Statement::Assign(Box::new(AssignStatement { - place: lhs, - value: rhs, - span: Default::default(), - id: self.node_builder.next_id(), - }))); - } - (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) - } - // If the lhs of an assignment is a tuple, then the rhs can be one of the following: - // - A function call that produces a tuple. (handled above) - // - A tuple. (handled above) - // - An identifier that is a tuple. (handled above) - // - A ternary expression that produces a tuple. (handled when the rhs is flattened above) - (Expression::Tuple(_), _) => { - unreachable!("`Type checking guarantees that the rhs of an assignment to a tuple is a tuple.`") - } _ => unreachable!("`AssignStatement`s can only have `Identifier`s or `Tuple`s on the left hand side."), } } @@ -442,12 +263,10 @@ impl StatementReconstructor for Flattener<'_> { unreachable!("`ConsoleStatement`s should not be in the AST at this phase of compilation.") } - /// Static single assignment converts definition statements into assignment statements. fn reconstruct_definition(&mut self, _definition: DefinitionStatement) -> (Statement, Self::AdditionalOutput) { unreachable!("`DefinitionStatement`s should not exist in the AST at this phase of compilation.") } - // TODO: Error message requesting the user to enable loop-unrolling. fn reconstruct_iteration(&mut self, _input: IterationStatement) -> (Statement, Self::AdditionalOutput) { unreachable!("`IterationStatement`s should not be in the AST at this phase of compilation."); } @@ -458,22 +277,9 @@ impl StatementReconstructor for Flattener<'_> { // Construct the associated guard. let guard = self.construct_guard(); - // Note that SSA guarantees that `input.expression` is either a literal, identifier, or unit expression. match input.expression { - // If the input is an identifier that maps to a tuple, - // construct a `ReturnStatement` with the tuple and add it to `self.returns` - Expression::Identifier(identifier) if self.tuples.contains_key(&identifier.name) => { - // Note that the `unwrap` is safe since the match arm checks that the entry exists in `self.tuples`. - let tuple = self.tuples.get(&identifier.name).unwrap().clone(); - self.returns.push((guard, ReturnStatement { - span: input.span, - expression: Expression::Tuple(tuple), - finalize_arguments: input.finalize_arguments, - id: input.id, - })); - } - // Otherwise, add the expression directly. - _ => self.returns.push((guard, input)), + Expression::Unit(_) | Expression::Identifier(_) => self.returns.push((guard, input)), + _ => unreachable!("SSA guarantees that the expression is always an identifier or unit expression."), }; (Statement::dummy(Default::default(), self.node_builder.next_id()), Default::default()) diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 6b16648ff4..70007144f1 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -46,11 +46,6 @@ use leo_ast::{ Type, UnitExpression, }; -use leo_span::Symbol; - -use indexmap::IndexMap; - -// TODO: TypeTable should be placed behind a RefCell. pub struct Flattener<'a> { /// The symbol table associated with the program. @@ -68,8 +63,6 @@ pub struct Flattener<'a> { /// Note that returns are inserted in the order they are encountered during a pre-order traversal of the AST. /// Note that type checking guarantees that there is at most one return in a basic block. pub(crate) returns: Vec<(Option, ReturnStatement)>, - /// A mapping between variables and flattened tuple expressions. - pub(crate) tuples: IndexMap, } impl<'a> Flattener<'a> { @@ -79,15 +72,7 @@ impl<'a> Flattener<'a> { node_builder: &'a NodeBuilder, assigner: &'a Assigner, ) -> Self { - Self { - symbol_table, - type_table, - node_builder, - assigner, - condition_stack: Vec::new(), - returns: Vec::new(), - tuples: IndexMap::new(), - } + Self { symbol_table, type_table, node_builder, assigner, condition_stack: Vec::new(), returns: Vec::new() } } /// Clears the state associated with `ReturnStatements`, returning the ones that were previously stored. @@ -584,9 +569,6 @@ impl<'a> Flattener<'a> { // Create a new assignment statement for the tuple expression. let (identifier, statement) = self.unique_simple_assign_statement(expr); - // Mark the lhs of the assignment as a tuple. - self.tuples.insert(identifier.name, tuple); - statements.push(statement); (Expression::Identifier(identifier), statements) From b1096f1036847fa70d403e5b5860b4da0c0cc8cb Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 11:17:51 -0400 Subject: [PATCH 36/51] Introduce destructuring pass --- .../destructuring/destructure_expression.rs | 66 +++++ .../src/destructuring/destructure_program.rs | 21 ++ .../destructuring/destructure_statement.rs | 273 ++++++++++++++++++ .../passes/src/destructuring/destructurer.rs | 98 +++++++ compiler/passes/src/destructuring/mod.rs | 46 +++ 5 files changed, 504 insertions(+) create mode 100644 compiler/passes/src/destructuring/destructure_expression.rs create mode 100644 compiler/passes/src/destructuring/destructure_program.rs create mode 100644 compiler/passes/src/destructuring/destructure_statement.rs create mode 100644 compiler/passes/src/destructuring/destructurer.rs create mode 100644 compiler/passes/src/destructuring/mod.rs diff --git a/compiler/passes/src/destructuring/destructure_expression.rs b/compiler/passes/src/destructuring/destructure_expression.rs new file mode 100644 index 0000000000..31726be3b8 --- /dev/null +++ b/compiler/passes/src/destructuring/destructure_expression.rs @@ -0,0 +1,66 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::Destructurer; +use itertools::Itertools; + +use leo_ast::{ + AccessExpression, + ArrayAccess, + AssociatedFunction, + Expression, + ExpressionReconstructor, + Member, + MemberAccess, + Node, + Statement, + StructExpression, + StructVariableInitializer, + TernaryExpression, + Type, +}; + +impl ExpressionReconstructor for Destructurer<'_> { + type AdditionalOutput = Vec; + + /// Replaces a tuple access expression with the appropriate expression. + fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { + ( + match input { + AccessExpression::Tuple(tuple_access) => { + // Lookup the expression in the tuple map. + match tuple_access.tuple.as_ref() { + Expression::Identifier(identifier) => { + match self + .tuples + .get(&identifier.name) + .and_then(|tuple| tuple.elements.get(tuple_access.index.value())) + { + Some(element) => element.clone(), + None => { + unreachable!("SSA guarantees that all tuples are declared and indices are valid.") + } + } + } + _ => unreachable!("SSA guarantees that subexpressions are identifiers or literals."), + } + } + _ => Expression::Access(input), + }, + Default::default(), + ) + } +} diff --git a/compiler/passes/src/destructuring/destructure_program.rs b/compiler/passes/src/destructuring/destructure_program.rs new file mode 100644 index 0000000000..bcb5539299 --- /dev/null +++ b/compiler/passes/src/destructuring/destructure_program.rs @@ -0,0 +1,21 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::Destructurer; + +use leo_ast::{Finalize, Function, ProgramReconstructor, StatementReconstructor, Type}; + +impl ProgramReconstructor for Destructurer<'_> {} diff --git a/compiler/passes/src/destructuring/destructure_statement.rs b/compiler/passes/src/destructuring/destructure_statement.rs new file mode 100644 index 0000000000..165f08fcd2 --- /dev/null +++ b/compiler/passes/src/destructuring/destructure_statement.rs @@ -0,0 +1,273 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::Destructurer; +use itertools::Itertools; +use std::borrow::Borrow; + +use leo_ast::{ + AccessExpression, + AssertStatement, + AssertVariant, + AssignStatement, + AssociatedFunction, + BinaryExpression, + BinaryOperation, + Block, + ConditionalStatement, + ConsoleStatement, + DefinitionStatement, + Expression, + ExpressionReconstructor, + Identifier, + IterationStatement, + Node, + ReturnStatement, + Statement, + StatementReconstructor, + TupleExpression, + Type, + UnaryExpression, + UnaryOperation, +}; +use leo_span::sym; + +impl StatementReconstructor for Destructurer<'_> { + /// Flattens an assign statement, if necessary. + /// Marks variables as structs as necessary. + /// Note that new statements are only produced if the right hand side is a ternary expression over structs. + /// Otherwise, the statement is returned as is. + fn reconstruct_assign(&mut self, assign: AssignStatement) -> (Statement, Self::AdditionalOutput) { + // Flatten the rhs of the assignment. + let value = self.reconstruct_expression(assign.value).0; + match (assign.place, value.clone()) { + // If the lhs is an identifier and the rhs is a tuple, then add the tuple to `self.tuples`. + // Return a dummy statement in its place. + (Expression::Identifier(identifier), Expression::Tuple(tuple)) => { + self.tuples.insert(identifier.name, tuple); + // Note that tuple assignments are removed from the AST. + (Statement::dummy(Default::default(), self.node_builder.next_id()), Default::default()) + } + // If the lhs is an identifier and the rhs is an identifier that is a tuple, then add it to `self.tuples`. + // Return a dummy statement in its place. + (Expression::Identifier(lhs_identifier), Expression::Identifier(rhs_identifier)) + if self.tuples.contains_key(&rhs_identifier.name) => + { + // Lookup the entry in `self.tuples` and add it for the lhs of the assignment. + // Note that the `unwrap` is safe since the match arm checks that the entry exists. + self.tuples.insert(lhs_identifier.name, self.tuples.get(&rhs_identifier.name).unwrap().clone()); + // Note that tuple assignments are removed from the AST. + (Statement::dummy(Default::default(), self.node_builder.next_id()), Default::default()) + } + // If the lhs is an identifier and the rhs is a function call that produces a tuple, then add it to `self.tuples`. + (Expression::Identifier(lhs_identifier), Expression::Call(call)) => { + // Retrieve the entry in the type table for the function call. + let value_type = match self.type_table.get(&call.id()) { + Some(type_) => type_, + None => unreachable!("Type checking guarantees that the type of the rhs is in the type table."), + }; + + match &value_type { + // If the function returns a tuple, reconstruct the assignment and add an entry to `self.tuples`. + Type::Tuple(tuple) => { + // Create a new tuple expression with unique identifiers for each index of the lhs. + let tuple_expression = TupleExpression { + elements: (0..tuple.length()) + .zip_eq(tuple.elements().iter()) + .map(|(i, type_)| { + // Return the identifier as an expression. + Expression::Identifier(Identifier::new( + self.assigner.unique_symbol(lhs_identifier.name, format!("$index${i}$")), + { + // Construct a node ID for the identifier. + let id = self.node_builder.next_id(); + // Update the type table with the type. + self.type_table.insert(id, type_.clone()); + id + }, + )) + }) + .collect(), + span: Default::default(), + id: { + // Construct a node ID for the tuple expression. + let id = self.node_builder.next_id(); + // Update the type table with the type. + self.type_table.insert(id, Type::Tuple(tuple.clone())); + id + }, + }; + // Add the `tuple_expression` to `self.tuples`. + self.tuples.insert(lhs_identifier.name, tuple_expression.clone()); + + // Update the type table with the type of the tuple expression. + self.type_table.insert(tuple_expression.id, Type::Tuple(tuple.clone())); + + // Construct a new assignment statement with a tuple expression on the lhs. + ( + Statement::Assign(Box::new(AssignStatement { + place: Expression::Tuple(tuple_expression), + value: Expression::Call(call), + span: Default::default(), + id: self.node_builder.next_id(), + })), + Default::default(), + ) + } + // Otherwise, reconstruct the assignment as is. + _ => (self.simple_assign_statement(lhs_identifier, Expression::Call(call)), Default::default()), + } + } + (Expression::Identifier(identifier), expression) => { + (self.simple_assign_statement(identifier, expression), Default::default()) + } + // If the lhs is a tuple and the rhs is a function call, then return the reconstructed statement. + (Expression::Tuple(tuple), Expression::Call(call)) => ( + Statement::Assign(Box::new(AssignStatement { + place: Expression::Tuple(tuple), + value: Expression::Call(call), + span: Default::default(), + id: self.node_builder.next_id(), + })), + Default::default(), + ), + // If the lhs is a tuple and the rhs is a tuple, create a new assign statement for each tuple element. + (Expression::Tuple(lhs_tuple), Expression::Tuple(rhs_tuple)) => { + let statements = lhs_tuple + .elements + .into_iter() + .zip_eq(rhs_tuple.elements) + .map(|(lhs, rhs)| { + // Get the type of the rhs. + let type_ = match self.type_table.get(&lhs.id()) { + Some(type_) => type_.clone(), + None => { + unreachable!("Type checking guarantees that the type of the lhs is in the type table.") + } + }; + // Set the type of the lhs. + self.type_table.insert(rhs.id(), type_); + // Return the assign statement. + Statement::Assign(Box::new(AssignStatement { + place: lhs, + value: rhs, + span: Default::default(), + id: self.node_builder.next_id(), + })) + }) + .collect(); + (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) + } + // If the lhs is a tuple and the rhs is an identifier that is a tuple, create a new assign statement for each tuple element. + (Expression::Tuple(lhs_tuple), Expression::Identifier(identifier)) + if self.tuples.contains_key(&identifier.name) => + { + // Lookup the entry in `self.tuples`. + // Note that the `unwrap` is safe since the match arm checks that the entry exists. + let rhs_tuple = self.tuples.get(&identifier.name).unwrap().clone(); + // Create a new assign statement for each tuple element. + let statements = lhs_tuple + .elements + .into_iter() + .zip_eq(rhs_tuple.elements.into_iter()) + .map(|(lhs, rhs)| { + // Get the type of the rhs. + let type_ = match self.type_table.get(&lhs.id()) { + Some(type_) => type_.clone(), + None => { + unreachable!("Type checking guarantees that the type of the lhs is in the type table.") + } + }; + // Set the type of the lhs. + self.type_table.insert(rhs.id(), type_); + // Return the assign statement. + Statement::Assign(Box::new(AssignStatement { + place: lhs, + value: rhs, + span: Default::default(), + id: self.node_builder.next_id(), + })) + }) + .collect(); + (Statement::dummy(Default::default(), self.node_builder.next_id()), statements) + } + // If the lhs of an assignment is a tuple, then the rhs can be one of the following: + // - A function call that produces a tuple. (handled above) + // - A tuple. (handled above) + // - An identifier that is a tuple. (handled above) + // - A ternary expression that produces a tuple. (handled when the rhs is flattened above) + (Expression::Tuple(_), _) => { + unreachable!("`Type checking guarantees that the rhs of an assignment to a tuple is a tuple.`") + } + _ => unreachable!("`AssignStatement`s can only have `Identifier`s or `Tuple`s on the left hand side."), + } + } + + fn reconstruct_block(&mut self, block: Block) -> (Block, Self::AdditionalOutput) { + let mut statements = Vec::with_capacity(block.statements.len()); + + // Reconstruct the statements in the block, accumulating any additional statements. + for statement in block.statements { + let (reconstructed_statement, additional_statements) = self.reconstruct_statement(statement); + statements.extend(additional_statements); + statements.push(reconstructed_statement); + } + + (Block { span: block.span, statements, id: self.node_builder.next_id() }, Default::default()) + } + + fn reconstruct_conditional(&mut self, _: ConditionalStatement) -> (Statement, Self::AdditionalOutput) { + unreachable!("`ConditionalStatement`s should not be in the AST at this phase of compilation.") + } + + fn reconstruct_console(&mut self, _: ConsoleStatement) -> (Statement, Self::AdditionalOutput) { + unreachable!("`ConsoleStatement`s should not be in the AST at this phase of compilation.") + } + + fn reconstruct_definition(&mut self, _: DefinitionStatement) -> (Statement, Self::AdditionalOutput) { + unreachable!("`DefinitionStatement`s should not exist in the AST at this phase of compilation.") + } + + fn reconstruct_iteration(&mut self, _: IterationStatement) -> (Statement, Self::AdditionalOutput) { + unreachable!("`IterationStatement`s should not be in the AST at this phase of compilation."); + } + + /// Reconstructs + fn reconstruct_return(&mut self, input: ReturnStatement) -> (Statement, Self::AdditionalOutput) { + // Note that SSA guarantees that `input.expression` is either a literal, identifier, or unit expression. + let expression = match input.expression { + // If the input is an identifier that maps to a tuple, use the tuple expression. + Expression::Identifier(identifier) if self.tuples.contains_key(&identifier.name) => { + // Note that the `unwrap` is safe since the match arm checks that the entry exists in `self.tuples`. + let tuple = self.tuples.get(&identifier.name).unwrap().clone(); + Expression::Tuple(tuple) + } + // Otherwise, use the original expression. + _ => input.expression, + }; + + // TODO: Do finalize args need to be destructured. + ( + Statement::Return(ReturnStatement { + expression, + finalize_arguments: input.finalize_arguments, + span: input.span, + id: input.id, + }), + Default::default(), + ) + } +} diff --git a/compiler/passes/src/destructuring/destructurer.rs b/compiler/passes/src/destructuring/destructurer.rs new file mode 100644 index 0000000000..561ebe2bc3 --- /dev/null +++ b/compiler/passes/src/destructuring/destructurer.rs @@ -0,0 +1,98 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use crate::{Assigner, SymbolTable, TypeTable}; + +use leo_ast::{ + AccessExpression, + ArrayAccess, + ArrayExpression, + ArrayType, + BinaryExpression, + BinaryOperation, + Block, + Expression, + ExpressionReconstructor, + Identifier, + IntegerType, + Literal, + Member, + MemberAccess, + Node, + NodeBuilder, + NonzeroNumber, + ReturnStatement, + Statement, + Struct, + StructExpression, + StructVariableInitializer, + TernaryExpression, + TupleAccess, + TupleExpression, + TupleType, + Type, +}; +use leo_span::Symbol; + +use indexmap::IndexMap; + +pub struct Destructurer<'a> { + /// The symbol table associated with the program. + pub(crate) symbol_table: &'a SymbolTable, + /// A mapping between node IDs and their types. + pub(crate) type_table: &'a TypeTable, + /// A counter used to generate unique node IDs. + pub(crate) node_builder: &'a NodeBuilder, + /// A struct used to construct (unique) assignment statements. + pub(crate) assigner: &'a Assigner, + /// A mapping between variables and flattened tuple expressions. + pub(crate) tuples: IndexMap, +} + +impl<'a> Destructurer<'a> { + pub(crate) fn new( + symbol_table: &'a SymbolTable, + type_table: &'a TypeTable, + node_builder: &'a NodeBuilder, + assigner: &'a Assigner, + ) -> Self { + Self { symbol_table, type_table, node_builder, assigner, tuples: IndexMap::new() } + } + + /// A wrapper around `assigner.unique_simple_assign_statement` that updates `self.structs`. + pub(crate) fn unique_simple_assign_statement(&mut self, expr: Expression) -> (Identifier, Statement) { + // Create a new variable for the expression. + let name = self.assigner.unique_symbol("$var", "$"); + // Construct the lhs of the assignment. + let place = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; + // Construct the assignment statement. + let statement = self.simple_assign_statement(place, expr); + + (place, statement) + } + + /// A wrapper around `assigner.simple_assign_statement` that tracks the type of the lhs. + pub(crate) fn simple_assign_statement(&mut self, lhs: Identifier, rhs: Expression) -> Statement { + // Update the type table. + let type_ = match self.type_table.get(&rhs.id()) { + Some(type_) => type_, + None => unreachable!("Type checking guarantees that all expressions have a type."), + }; + self.type_table.insert(lhs.id(), type_); + // Construct the statement. + self.assigner.simple_assign_statement(lhs, rhs, self.node_builder.next_id()) + } +} diff --git a/compiler/passes/src/destructuring/mod.rs b/compiler/passes/src/destructuring/mod.rs new file mode 100644 index 0000000000..dc81124802 --- /dev/null +++ b/compiler/passes/src/destructuring/mod.rs @@ -0,0 +1,46 @@ +// Copyright (C) 2019-2023 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +//! The destructuring pass traverses the AST and destructures tuples into individual variables. +//! This pass assumes that tuples have a depth of 1, which is ensured by the type checking pass. +//! +//! TODO(@d0cd) + +mod destructure_expression; + +mod destructure_program; + +mod destructure_statement; + +pub mod destructurer; +pub use destructurer::*; + +use crate::{Assigner, Pass, SymbolTable, TypeTable}; + +use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; +use leo_errors::Result; + +impl<'a> Pass for Destructurer<'a> { + type Input = (Ast, &'a SymbolTable, &'a TypeTable, &'a NodeBuilder, &'a Assigner); + type Output = Result; + + fn do_pass((ast, st, tt, node_builder, assigner): Self::Input) -> Self::Output { + let mut reconstructor = Destructurer::new(st, tt, node_builder, assigner); + let program = reconstructor.reconstruct_program(ast.into_repr()); + + Ok(Ast::new(program)) + } +} From a3c0892ffdf9c565b0e745e173ccdddd56d621d1 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 11:34:36 -0400 Subject: [PATCH 37/51] Add Destructuring pass to the compiler --- compiler/compiler/src/compiler.rs | 19 ++++++++++++++ compiler/compiler/src/options.rs | 2 ++ compiler/compiler/tests/compile.rs | 5 +++- compiler/compiler/tests/execute.rs | 5 +++- compiler/compiler/tests/utilities/mod.rs | 7 +++-- .../src/flattening/flatten_expression.rs | 2 -- compiler/passes/src/lib.rs | 3 +++ compiler/passes/src/type_checking/checker.rs | 20 ++++++++------ .../errors/type_checker/type_checker_error.rs | 7 +++++ leo/cli/commands/build.rs | 2 ++ leo/cli/commands/mod.rs | 2 ++ .../compiler/statements/mutate.out | 8 +++--- tests/test-framework/benches/leo_compiler.rs | 26 +++++++++++++++++++ 13 files changed, 90 insertions(+), 18 deletions(-) diff --git a/compiler/compiler/src/compiler.rs b/compiler/compiler/src/compiler.rs index befe13fd1b..32dddf32a3 100644 --- a/compiler/compiler/src/compiler.rs +++ b/compiler/compiler/src/compiler.rs @@ -242,6 +242,23 @@ impl<'a> Compiler<'a> { Ok(()) } + /// Runs the destructuring pass. + pub fn destructuring_pass(&mut self, symbol_table: &SymbolTable) -> Result<()> { + self.ast = Destructurer::do_pass(( + std::mem::take(&mut self.ast), + symbol_table, + &self.type_table, + &self.node_builder, + &self.assigner, + ))?; + + if self.compiler_options.output.destructured_ast { + self.write_ast_to_json("destructured_ast.json")?; + } + + Ok(()) + } + /// Runs the function inlining pass. pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()> { let ast = FunctionInliner::do_pass(( @@ -295,6 +312,8 @@ impl<'a> Compiler<'a> { self.flattening_pass(&st)?; + self.destructuring_pass(&st)?; + self.function_inlining_pass(&call_graph)?; self.dead_code_elimination_pass()?; diff --git a/compiler/compiler/src/options.rs b/compiler/compiler/src/options.rs index 174cfd7bf9..0e25f739d2 100644 --- a/compiler/compiler/src/options.rs +++ b/compiler/compiler/src/options.rs @@ -52,6 +52,8 @@ pub struct OutputOptions { pub ssa_ast: bool, /// If enabled writes the AST after flattening. pub flattened_ast: bool, + /// If enabled writes the AST after destructuring. + pub destructured_ast: bool, /// If enabled writes the AST after inlining. pub inlined_ast: bool, /// If enabled writes the AST after dead code elimination. diff --git a/compiler/compiler/tests/compile.rs b/compiler/compiler/tests/compile.rs index 5ce8896936..526a6a85c8 100644 --- a/compiler/compiler/tests/compile.rs +++ b/compiler/compiler/tests/compile.rs @@ -66,6 +66,7 @@ struct CompileOutput { pub unrolled_ast: String, pub ssa_ast: String, pub flattened_ast: String, + pub destructured_ast: String, pub inlined_ast: String, pub dce_ast: String, pub bytecode: String, @@ -95,6 +96,7 @@ fn run_test(test: Test, handler: &Handler, buf: &BufferEmitter) -> Result Result Result Result Result Result (String, String, String, String, String, String) { +pub fn hash_asts() -> (String, String, String, String, String, String, String) { let initial_ast = hash_file("/tmp/output/test.initial_ast.json"); let unrolled_ast = hash_file("/tmp/output/test.unrolled_ast.json"); let ssa_ast = hash_file("/tmp/output/test.ssa_ast.json"); let flattened_ast = hash_file("/tmp/output/test.flattened_ast.json"); + let destructured_ast = hash_file("/tmp/output/test.destructured_ast.json"); let inlined_ast = hash_file("/tmp/output/test.inlined_ast.json"); let dce_ast = hash_file("/tmp/output/test.dce_ast.json"); - (initial_ast, unrolled_ast, ssa_ast, flattened_ast, inlined_ast, dce_ast) + (initial_ast, unrolled_ast, ssa_ast, flattened_ast, destructured_ast, inlined_ast, dce_ast) } pub fn hash_symbol_tables() -> (String, String, String) { @@ -236,6 +237,8 @@ pub fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>) -> Result { type AdditionalOutput = Vec; diff --git a/compiler/passes/src/lib.rs b/compiler/passes/src/lib.rs index 41d218727c..23a35a251f 100644 --- a/compiler/passes/src/lib.rs +++ b/compiler/passes/src/lib.rs @@ -26,6 +26,9 @@ pub use common::*; pub mod dead_code_elimination; pub use dead_code_elimination::*; +pub mod destructuring; +pub use destructuring::*; + pub mod flattening; pub use flattening::*; diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 18260776c5..55cdf2ecfa 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -1060,28 +1060,28 @@ impl<'a> TypeChecker<'a> { /// Emits an error if the type or its constituent types is not valid. pub(crate) fn assert_type_is_valid(&self, type_: &Type, span: Span) -> bool { - let mut is_defined = true; + let mut is_valid = true; match type_ { // String types are temporarily disabled. Type::String => { - is_defined = false; + is_valid = false; self.emit_err(TypeCheckerError::strings_are_not_supported(span)); } // Check that the named composite type has been defined. Type::Identifier(identifier) if self.symbol_table.borrow().lookup_struct(identifier.name).is_none() => { - is_defined = false; + is_valid = false; self.emit_err(TypeCheckerError::undefined_type(identifier.name, span)); } // Check that the constituent types of the tuple are valid. Type::Tuple(tuple_type) => { for type_ in tuple_type.elements().iter() { - is_defined &= self.assert_type_is_valid(type_, span) + is_valid &= self.assert_type_is_valid(type_, span) } } // Check that the constituent types of mapping are valid. Type::Mapping(mapping_type) => { - is_defined &= self.assert_type_is_valid(&mapping_type.key, span); - is_defined &= self.assert_type_is_valid(&mapping_type.value, span); + is_valid &= self.assert_type_is_valid(&mapping_type.key, span); + is_valid &= self.assert_type_is_valid(&mapping_type.value, span); } // Check that the array element types are valid. Type::Array(array_type) => { @@ -1093,11 +1093,15 @@ impl<'a> TypeChecker<'a> { self.emit_err(TypeCheckerError::array_too_large(length, Testnet3::MAX_ARRAY_ELEMENTS, span)) } } - is_defined &= self.assert_type_is_valid(array_type.element_type(), span) + // Check that the array element type is not a tuple. + if let Type::Tuple(_) = array_type.element_type() { + self.emit_err(TypeCheckerError::array_element_cannot_be_tuple(span)) + } + is_valid &= self.assert_type_is_valid(array_type.element_type(), span) } _ => {} // Do nothing. } - is_defined + is_valid } /// Emits an error if the type is not a mapping. diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index c013b597d7..c66e4338bd 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -698,4 +698,11 @@ create_messages!( msg: format!("An array cannot have more than {max} elements, found one with {size} elements"), help: None, } + + @formatted + array_element_cannot_be_tuple { + args: (), + msg: format!("An array cannot have a tuple as an element type"), + help: None, + } ); diff --git a/leo/cli/commands/build.rs b/leo/cli/commands/build.rs index abbace59f0..4c5775f30e 100644 --- a/leo/cli/commands/build.rs +++ b/leo/cli/commands/build.rs @@ -53,6 +53,7 @@ impl From for CompilerOptions { unrolled_ast: options.enable_unrolled_ast_snapshot, ssa_ast: options.enable_ssa_ast_snapshot, flattened_ast: options.enable_flattened_ast_snapshot, + destructured_ast: options.enable_destructured_ast_snapshot, inlined_ast: options.enable_inlined_ast_snapshot, dce_ast: options.enable_dce_ast_snapshot, }, @@ -63,6 +64,7 @@ impl From for CompilerOptions { out_options.output.unrolled_ast = true; out_options.output.ssa_ast = true; out_options.output.flattened_ast = true; + out_options.output.destructured_ast = true; out_options.output.inlined_ast = true; out_options.output.dce_ast = true; } diff --git a/leo/cli/commands/mod.rs b/leo/cli/commands/mod.rs index b6ae036af7..463f06782f 100644 --- a/leo/cli/commands/mod.rs +++ b/leo/cli/commands/mod.rs @@ -145,6 +145,8 @@ pub struct BuildOptions { pub enable_ssa_ast_snapshot: bool, #[clap(long, help = "Writes AST snapshot of the flattened AST.")] pub enable_flattened_ast_snapshot: bool, + #[clap(long, help = "Writes AST snapshot of the destructured AST.")] + pub enable_destructured_ast_snapshot: bool, #[clap(long, help = "Writes AST snapshot of the inlined AST.")] pub enable_inlined_ast_snapshot: bool, #[clap(long, help = "Writes AST snapshot of the dead code eliminated (DCE) AST.")] diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index 43313b8c2a..048cd820ba 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -7,9 +7,9 @@ outputs: unrolled_symbol_table: 583ed0adba552a2abfd5927ecebd5c20fa943380c8d0b45e00a33e7c03de3300 initial_ast: 34a1afc5b8e850d3ca1fffbabcfb5ea6bacea945b20628868784f8a5b4140854 unrolled_ast: 34a1afc5b8e850d3ca1fffbabcfb5ea6bacea945b20628868784f8a5b4140854 - ssa_ast: df3ca19301a9f38667d034bfdb7ae892292ffa822eaa491e72cf75730c6355be - flattened_ast: ede7aeb18282c9c9b48b3b60212fea5fb8886321d4a0742e96b2b640129b0463 - inlined_ast: ede7aeb18282c9c9b48b3b60212fea5fb8886321d4a0742e96b2b640129b0463 - dce_ast: a53f58149602de59ef43a6987aac4e8fbec357995ca89e3d5093aedce9af73f4 + ssa_ast: bb6b1c14a80f6c148484d7e330bac0d6591163a2a98d0787f530ae5d28dcaed3 + flattened_ast: 4752b34e62f67e177c91688f03fe3f1f827420b09e586d5daccfbe19beb5ab18 + inlined_ast: 4752b34e62f67e177c91688f03fe3f1f827420b09e586d5daccfbe19beb5ab18 + dce_ast: 4d25901f577f93b7a8ab66c82774d538f648eb0d7675c3d4513e558f8a19c967 bytecode: 4f4c5c377fed78feede8ee754c9f838f449f8d00cf771b2bb65884e876f90b7e warnings: "" diff --git a/tests/test-framework/benches/leo_compiler.rs b/tests/test-framework/benches/leo_compiler.rs index 6fe06a33ab..f82163c868 100644 --- a/tests/test-framework/benches/leo_compiler.rs +++ b/tests/test-framework/benches/leo_compiler.rs @@ -41,6 +41,8 @@ enum BenchMode { Ssa, /// Benchmarks flattening. Flatten, + /// Benchmarks destructuring. + Destructure, /// Benchmarks function inlining. Inline, /// Benchmarks dead code elimination. @@ -98,6 +100,7 @@ fn new_compiler(handler: &Handler) -> Compiler<'_> { unrolled_ast: false, ssa_ast: false, flattened_ast: false, + destructured_ast: false, inlined_ast: false, dce_ast: false, }, @@ -125,6 +128,7 @@ impl Sample { BenchMode::Unroll => self.bench_loop_unroller(c), BenchMode::Ssa => self.bench_ssa(c), BenchMode::Flatten => self.bench_flattener(c), + BenchMode::Destructure => self.bench_destructurer(c), BenchMode::Inline => self.bench_inline(c), BenchMode::Dce => self.bench_dce(c), BenchMode::Codegen => self.bench_codegen(c), @@ -229,6 +233,22 @@ impl Sample { }); } + fn bench_destructurer(&self, c: &mut Criterion) { + self.bencher_after_parse(c, "destructurer pass", |mut compiler| { + let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); + let (symbol_table, _struct_graph, _call_graph) = + compiler.type_checker_pass(symbol_table).expect("failed to run type check pass"); + let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); + compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); + compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); + let start = Instant::now(); + let out = compiler.destructuring_pass(&symbol_table); + let time = start.elapsed(); + out.expect("failed to run destructurer pass"); + time + }); + } + fn bench_inline(&self, c: &mut Criterion) { self.bencher_after_parse(c, "inliner pass", |mut compiler| { let symbol_table = compiler.symbol_table_pass().expect("failed to generate symbol table"); @@ -237,6 +257,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); + compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); let start = Instant::now(); let out = compiler.function_inlining_pass(&call_graph); let time = start.elapsed(); @@ -253,6 +274,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); + compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run inliner pass"); let start = Instant::now(); let out = compiler.dead_code_elimination_pass(); @@ -270,6 +292,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); + compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run inliner pass"); compiler.dead_code_elimination_pass().expect("failed to run dce pass"); let start = Instant::now(); @@ -291,6 +314,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattening pass"); + compiler.destructuring_pass(&symbol_table).expect("failed to run destructuring pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run function inlining pass"); compiler.dead_code_elimination_pass().expect("failed to run dce pass"); compiler @@ -315,6 +339,7 @@ bench!(bench_type, BenchMode::Type); bench!(bench_unroll, BenchMode::Unroll); bench!(bench_ssa, BenchMode::Ssa); bench!(bench_flatten, BenchMode::Flatten); +bench!(bench_destructure, BenchMode::Destructure); bench!(bench_inline, BenchMode::Inline); bench!(bench_dce, BenchMode::Dce); bench!(bench_codegen, BenchMode::Codegen); @@ -330,6 +355,7 @@ criterion_group!( bench_unroll, bench_ssa, bench_flatten, + bench_destructure, bench_inline, bench_dce, bench_codegen, From 8ca1de3951e134a241ca327964948242ae191fec Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:07:44 -0400 Subject: [PATCH 38/51] Refactor Reconstructor --- compiler/ast/src/passes/reconstructor.rs | 99 ++++++++++++++++-------- 1 file changed, 65 insertions(+), 34 deletions(-) diff --git a/compiler/ast/src/passes/reconstructor.rs b/compiler/ast/src/passes/reconstructor.rs index d28937748f..793df279b9 100644 --- a/compiler/ast/src/passes/reconstructor.rs +++ b/compiler/ast/src/passes/reconstructor.rs @@ -43,41 +43,72 @@ pub trait ExpressionReconstructor { } fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { + match input { + AccessExpression::Array(array) => self.reconstruct_array_access(array), + AccessExpression::AssociatedConstant(constant) => self.reconstruct_associated_constant(constant), + AccessExpression::AssociatedFunction(function) => self.reconstruct_associated_function(function), + AccessExpression::Member(member) => self.reconstruct_member_access(member), + AccessExpression::Tuple(tuple) => self.reconstruct_tuple_access(tuple), + } + } + + fn reconstruct_array_access(&mut self, input: ArrayAccess) -> (Expression, Self::AdditionalOutput) { ( - Expression::Access(match input { - AccessExpression::Array(array) => AccessExpression::Array(ArrayAccess { - array: Box::new(self.reconstruct_expression(*array.array).0), - index: Box::new(self.reconstruct_expression(*array.index).0), - span: array.span, - id: array.id, - }), - AccessExpression::AssociatedFunction(function) => { - AccessExpression::AssociatedFunction(AssociatedFunction { - ty: function.ty, - name: function.name, - arguments: function - .arguments - .into_iter() - .map(|arg| self.reconstruct_expression(arg).0) - .collect(), - span: function.span, - id: function.id, - }) - } - AccessExpression::Member(member) => AccessExpression::Member(MemberAccess { - inner: Box::new(self.reconstruct_expression(*member.inner).0), - name: member.name, - span: member.span, - id: member.id, - }), - AccessExpression::Tuple(tuple) => AccessExpression::Tuple(TupleAccess { - tuple: Box::new(self.reconstruct_expression(*tuple.tuple).0), - index: tuple.index, - span: tuple.span, - id: tuple.id, - }), - AccessExpression::AssociatedConstant(constant) => AccessExpression::AssociatedConstant(constant), - }), + Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(self.reconstruct_expression(*input.array).0), + index: Box::new(self.reconstruct_expression(*input.index).0), + span: input.span, + id: input.id, + })), + Default::default(), + ) + } + + fn reconstruct_associated_constant(&mut self, input: AssociatedConstant) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Access(AccessExpression::AssociatedConstant(AssociatedConstant { + ty: input.ty, + name: input.name, + span: input.span, + id: input.id, + })), + Default::default(), + ) + } + + fn reconstruct_associated_function(&mut self, input: AssociatedFunction) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { + ty: input.ty, + name: input.name, + arguments: input.arguments.into_iter().map(|arg| self.reconstruct_expression(arg).0).collect(), + span: input.span, + id: input.id, + })), + Default::default(), + ) + } + + fn reconstruct_member_access(&mut self, input: MemberAccess) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Access(AccessExpression::Member(MemberAccess { + inner: Box::new(self.reconstruct_expression(*input.inner).0), + name: input.name, + span: input.span, + id: input.id, + })), + Default::default(), + ) + } + + fn reconstruct_tuple_access(&mut self, input: TupleAccess) -> (Expression, Self::AdditionalOutput) { + ( + Expression::Access(AccessExpression::Tuple(TupleAccess { + tuple: Box::new(self.reconstruct_expression(*input.tuple).0), + index: input.index, + span: input.span, + id: input.id, + })), Default::default(), ) } From 08d3997813673107f73736f443c179b57b1ebb47 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:08:33 -0400 Subject: [PATCH 39/51] Update TYC --- compiler/passes/src/type_checking/checker.rs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 55cdf2ecfa..ae4a04405b 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -1093,9 +1093,21 @@ impl<'a> TypeChecker<'a> { self.emit_err(TypeCheckerError::array_too_large(length, Testnet3::MAX_ARRAY_ELEMENTS, span)) } } - // Check that the array element type is not a tuple. - if let Type::Tuple(_) = array_type.element_type() { - self.emit_err(TypeCheckerError::array_element_cannot_be_tuple(span)) + // Check that the array element type is valid. + match array_type.element_type() { + // Array elements cannot be tuples. + Type::Tuple(_) => self.emit_err(TypeCheckerError::array_element_cannot_be_tuple(span)), + // Array elements cannot be records. + Type::Identifier(identifier) => { + // Look up the type. + if let Some(struct_) = self.symbol_table.borrow().lookup_struct(identifier.name) { + // Check that the type is not a record. + if struct_.is_record { + self.emit_err(TypeCheckerError::array_element_cannot_be_record(span)); + } + } + } + _ => {} // Do nothing. } is_valid &= self.assert_type_is_valid(array_type.element_type(), span) } From 044933c0fbdd84468462ec18d9edf77454c7c07d Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:09:02 -0400 Subject: [PATCH 40/51] Update loop unrolling --- .../src/loop_unrolling/unroll_expression.rs | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/compiler/passes/src/loop_unrolling/unroll_expression.rs b/compiler/passes/src/loop_unrolling/unroll_expression.rs index b9939ad92e..b43f95a28f 100644 --- a/compiler/passes/src/loop_unrolling/unroll_expression.rs +++ b/compiler/passes/src/loop_unrolling/unroll_expression.rs @@ -15,12 +15,32 @@ // along with the Leo library. If not, see . use leo_ast::*; +use leo_errors::LoopUnrollerError; use crate::Unroller; impl ExpressionReconstructor for Unroller<'_> { type AdditionalOutput = bool; + fn reconstruct_array_access(&mut self, input: ArrayAccess) -> (Expression, Self::AdditionalOutput) { + // Reconstruct the index. + let index = self.reconstruct_expression(*input.index).0; + // If the index is not a literal, then emit an error. + if !matches!(index, Expression::Literal(_)) { + self.emit_err(LoopUnrollerError::variable_array_access(input.span)); + } + + ( + Expression::Access(AccessExpression::Array(ArrayAccess { + array: Box::new(self.reconstruct_expression(*input.array).0), + index: Box::new(index), + span: input.span, + id: input.id, + })), + Default::default(), + ) + } + fn reconstruct_identifier(&mut self, input: Identifier) -> (Expression, Self::AdditionalOutput) { // Substitute the identifier with the constant value if it is a constant. if let Some(expr) = self.constant_propagation_table.borrow().lookup_constant(input.name) { From c80aee091a64417d90c5460eeccbd49b9d09a19e Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:09:33 -0400 Subject: [PATCH 41/51] Update DCE --- .../eliminate_expression.rs | 74 ++++++------------- 1 file changed, 23 insertions(+), 51 deletions(-) diff --git a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs index 07117e2b11..df429c0bc0 100644 --- a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs +++ b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs @@ -34,58 +34,30 @@ use leo_span::sym; impl ExpressionReconstructor for DeadCodeEliminator<'_> { type AdditionalOutput = (); - /// Reconstructs the components of an access expression. - fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { - ( - Expression::Access(match input { - AccessExpression::Array(array) => AccessExpression::Array(ArrayAccess { - array: Box::new(self.reconstruct_expression(*array.array).0), - index: Box::new(self.reconstruct_expression(*array.index).0), - span: array.span, - id: array.id, - }), - AccessExpression::AssociatedFunction(function) => { - // If the associated function manipulates a mapping, mark the statement as necessary. - match (&function.ty, function.name.name) { - (Type::Identifier(Identifier { name: sym::Mapping, .. }), sym::get) - | (Type::Identifier(Identifier { name: sym::Mapping, .. }), sym::get_or_use) - | (Type::Identifier(Identifier { name: sym::Mapping, .. }), sym::set) => { - self.is_necessary = true; - } - _ => {} - }; - // Reconstruct the access expression. - let result = AccessExpression::AssociatedFunction(AssociatedFunction { - ty: function.ty, - name: function.name, - arguments: function - .arguments - .into_iter() - .map(|arg| self.reconstruct_expression(arg).0) - .collect(), - span: function.span, - id: function.id, - }); - // Unset `self.is_necessary`. - self.is_necessary = false; - result - } - AccessExpression::Member(member) => AccessExpression::Member(MemberAccess { - inner: Box::new(self.reconstruct_expression(*member.inner).0), - name: member.name, - span: member.span, - id: member.id, - }), - AccessExpression::Tuple(tuple) => AccessExpression::Tuple(TupleAccess { - tuple: Box::new(self.reconstruct_expression(*tuple.tuple).0), - index: tuple.index, - span: tuple.span, - id: tuple.id, - }), - AccessExpression::AssociatedConstant(constant) => AccessExpression::AssociatedConstant(constant), - }), + /// Reconstructs the associated function access expression. + fn reconstruct_associated_function(&mut self, input: AssociatedFunction) -> (Expression, Self::AdditionalOutput) { + // If the associated function manipulates a mapping, mark the statement as necessary. + match (&input.ty, input.name.name) { + (Type::Identifier(Identifier { name: sym::Mapping, .. }), sym::remove) + | (Type::Identifier(Identifier { name: sym::Mapping, .. }), sym::set) => { + self.is_necessary = true; + } + _ => {} + }; + // Reconstruct the access expression. + let result = ( + Expression::Access(AccessExpression::AssociatedFunction(AssociatedFunction { + ty: input.ty, + name: input.name, + arguments: input.arguments.into_iter().map(|arg| self.reconstruct_expression(arg).0).collect(), + span: input.span, + id: input.id, + })), Default::default(), - ) + ); + // Unset `self.is_necessary`. + self.is_necessary = false; + result } /// Reconstruct the components of the struct init expression. From 49a0c7a4698e0b7dff6e57c0eabb3c5b6b1a73f1 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:10:00 -0400 Subject: [PATCH 42/51] Support codegen for arrays --- compiler/compiler/src/compiler.rs | 7 ++-- compiler/compiler/tests/utilities/mod.rs | 5 ++- .../passes/src/code_generation/generator.rs | 7 +++- compiler/passes/src/code_generation/mod.rs | 8 ++--- .../src/code_generation/visit_expressions.rs | 30 ++++++++++++---- .../src/code_generation/visit_program.rs | 8 +++-- .../passes/src/code_generation/visit_type.rs | 6 ++-- .../destructuring/destructure_expression.rs | 35 +++++++------------ .../passes/src/destructuring/destructurer.rs | 23 ++---------- compiler/passes/src/destructuring/mod.rs | 6 ++-- 10 files changed, 65 insertions(+), 70 deletions(-) diff --git a/compiler/compiler/src/compiler.rs b/compiler/compiler/src/compiler.rs index 32dddf32a3..02e9d287a0 100644 --- a/compiler/compiler/src/compiler.rs +++ b/compiler/compiler/src/compiler.rs @@ -243,10 +243,9 @@ impl<'a> Compiler<'a> { } /// Runs the destructuring pass. - pub fn destructuring_pass(&mut self, symbol_table: &SymbolTable) -> Result<()> { + pub fn destructuring_pass(&mut self) -> Result<()> { self.ast = Destructurer::do_pass(( std::mem::take(&mut self.ast), - symbol_table, &self.type_table, &self.node_builder, &self.assigner, @@ -297,7 +296,7 @@ impl<'a> Compiler<'a> { struct_graph: &StructGraph, call_graph: &CallGraph, ) -> Result { - CodeGenerator::do_pass((&self.ast, symbol_table, struct_graph, call_graph, &self.ast.ast)) + CodeGenerator::do_pass((&self.ast, symbol_table, &self.type_table, struct_graph, call_graph, &self.ast.ast)) } /// Runs the compiler stages. @@ -312,7 +311,7 @@ impl<'a> Compiler<'a> { self.flattening_pass(&st)?; - self.destructuring_pass(&st)?; + self.destructuring_pass()?; self.function_inlining_pass(&call_graph)?; diff --git a/compiler/compiler/tests/utilities/mod.rs b/compiler/compiler/tests/utilities/mod.rs index 5bba8cc652..1d017768a8 100644 --- a/compiler/compiler/tests/utilities/mod.rs +++ b/compiler/compiler/tests/utilities/mod.rs @@ -24,7 +24,6 @@ use leo_errors::{ LeoWarning, }; use leo_package::root::env::Env; -use leo_passes::{CodeGenerator, Pass}; use leo_span::source_map::FileName; use leo_test_framework::{test::TestConfig, Test}; @@ -237,14 +236,14 @@ pub fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>) -> Result. -use crate::{CallGraph, StructGraph, SymbolTable}; +use crate::{CallGraph, StructGraph, SymbolTable, TypeTable}; use leo_ast::{Function, Program, ProgramId}; use leo_span::Symbol; use indexmap::IndexMap; +use snarkvm_console::program::Access; pub struct CodeGenerator<'a> { /// The symbol table for the program. pub(crate) symbol_table: &'a SymbolTable, + /// A mapping between expressions and their types. + pub(crate) type_table: &'a TypeTable, /// The struct dependency graph for the program. pub(crate) struct_graph: &'a StructGraph, /// The call graph for the program. @@ -57,6 +60,7 @@ impl<'a> CodeGenerator<'a> { /// Initializes a new `CodeGenerator`. pub fn new( symbol_table: &'a SymbolTable, + type_table: &'a TypeTable, struct_graph: &'a StructGraph, _call_graph: &'a CallGraph, program: &'a Program, @@ -64,6 +68,7 @@ impl<'a> CodeGenerator<'a> { // Initialize variable mapping. Self { symbol_table, + type_table, struct_graph, _call_graph, next_register: 0, diff --git a/compiler/passes/src/code_generation/mod.rs b/compiler/passes/src/code_generation/mod.rs index f250861559..fa283a2bed 100644 --- a/compiler/passes/src/code_generation/mod.rs +++ b/compiler/passes/src/code_generation/mod.rs @@ -25,17 +25,17 @@ mod visit_statements; mod visit_type; -use crate::{CallGraph, Pass, StructGraph, SymbolTable}; +use crate::{CallGraph, Pass, StructGraph, SymbolTable, TypeTable}; use leo_ast::{Ast, Program}; use leo_errors::Result; impl<'a> Pass for CodeGenerator<'a> { - type Input = (&'a Ast, &'a SymbolTable, &'a StructGraph, &'a CallGraph, &'a Program); + type Input = (&'a Ast, &'a SymbolTable, &'a TypeTable, &'a StructGraph, &'a CallGraph, &'a Program); type Output = Result; - fn do_pass((ast, symbol_table, struct_graph, call_graph, program): Self::Input) -> Self::Output { - let mut generator = Self::new(symbol_table, struct_graph, call_graph, program); + fn do_pass((ast, symbol_table, type_table, struct_graph, call_graph, program): Self::Input) -> Self::Output { + let mut generator = Self::new(symbol_table, type_table, struct_graph, call_graph, program); let bytecode = generator.visit_program(ast.as_repr()); Ok(bytecode) diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index 839d520c3c..ef32a3efb5 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -17,6 +17,7 @@ use crate::CodeGenerator; use leo_ast::{ AccessExpression, + ArrayAccess, ArrayExpression, AssociatedConstant, AssociatedFunction, @@ -165,7 +166,11 @@ impl<'a> CodeGenerator<'a> { self.next_register += 1; // Get the array type. - let array_type: String = todo!(); + let array_type = match self.type_table.get(&input.id) { + Some(Type::Array(array_type)) => Type::Array(array_type), + _ => unreachable!("All types should be known at this phase of compilation"), + }; + let array_type: String = self.visit_type(&array_type); let array_instruction = format!(" cast {expression_operands} into {destination_register} as {};\n", array_type); @@ -279,11 +284,22 @@ impl<'a> CodeGenerator<'a> { (destination_register, instructions) } + fn visit_array_access(&mut self, input: &'a ArrayAccess) -> (String, String) { + let (array_operand, _) = self.visit_expression(&input.array); + let index_operand = match input.index.as_ref() { + Expression::Literal(Literal::Integer(_, string, _, _)) => format!("{}u32", string), + _ => unreachable!("Array indices must be integer literals"), + }; + let array_access = format!("{}[{}]", array_operand, index_operand); + + (array_access, String::new()) + } + fn visit_member_access(&mut self, input: &'a MemberAccess) -> (String, String) { - let (inner_struct, _inner_instructions) = self.visit_expression(&input.inner); - let member_access_instruction = format!("{inner_struct}.{}", input.name); + let (inner_struct, _) = self.visit_expression(&input.inner); + let member_access = format!("{inner_struct}.{}", input.name); - (member_access_instruction, String::new()) + (member_access, String::new()) } // group::GEN -> group::GEN @@ -492,11 +508,13 @@ impl<'a> CodeGenerator<'a> { fn visit_access(&mut self, input: &'a AccessExpression) -> (String, String) { match input { - AccessExpression::Array(array) => todo!(), + AccessExpression::Array(array) => self.visit_array_access(array), AccessExpression::Member(access) => self.visit_member_access(access), AccessExpression::AssociatedConstant(constant) => self.visit_associated_constant(constant), AccessExpression::AssociatedFunction(function) => self.visit_associated_function(function), - AccessExpression::Tuple(_) => todo!(), // Tuples are not supported in AVM yet. + AccessExpression::Tuple(_) => { + unreachable!("Tuple access should not be in the AST at this phase of compilation.") + } } } diff --git a/compiler/passes/src/code_generation/visit_program.rs b/compiler/passes/src/code_generation/visit_program.rs index ae2d479c6a..43909e52ed 100644 --- a/compiler/passes/src/code_generation/visit_program.rs +++ b/compiler/passes/src/code_generation/visit_program.rs @@ -130,7 +130,8 @@ impl<'a> CodeGenerator<'a> { // Construct and append the record variables. for var in struct_.members.iter() { - writeln!(output_string, " {} as {};", var.identifier, var.type_,).expect("failed to write to string"); + writeln!(output_string, " {} as {};", var.identifier, self.visit_type(&var.type_),) + .expect("failed to write to string"); } output_string @@ -152,7 +153,8 @@ impl<'a> CodeGenerator<'a> { writeln!( output_string, " {} as {}.{mode};", // todo: CAUTION private record variables only. - var.identifier, var.type_ + var.identifier, + self.visit_type(&var.type_) ) .expect("failed to write to string"); } @@ -291,9 +293,9 @@ impl<'a> CodeGenerator<'a> { let (is_record, _) = self.composite_mapping.get(&identifier.name).unwrap(); match is_record { // If the type is a record, then declare the type as is. - true => format!("{identifier}.record"), // If the type is a struct, then add the public modifier. false => format!("{identifier}.public"), + true => unreachable!("Type checking guarantees that mappings cannot contain records."), } } type_ => format!("{type_}.public"), diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index 34c534dedc..674e065c53 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -19,7 +19,7 @@ use crate::CodeGenerator; use leo_ast::{Mode, Type}; impl<'a> CodeGenerator<'a> { - pub(crate) fn visit_type(&mut self, input: &'a Type) -> String { + pub(crate) fn visit_type(&mut self, input: &Type) -> String { match input { Type::Address | Type::Boolean @@ -30,7 +30,9 @@ impl<'a> CodeGenerator<'a> { | Type::String | Type::Identifier(..) | Type::Integer(..) => format!("{input}"), - Type::Array(_) => todo!(), + Type::Array(array_type) => { + format!("[{}; {}u32]", self.visit_type(&array_type.element_type()), array_type.length()) + } Type::Mapping(_) => { unreachable!("Mapping types are not supported at this phase of compilation") } diff --git a/compiler/passes/src/destructuring/destructure_expression.rs b/compiler/passes/src/destructuring/destructure_expression.rs index 31726be3b8..cb40386a1d 100644 --- a/compiler/passes/src/destructuring/destructure_expression.rs +++ b/compiler/passes/src/destructuring/destructure_expression.rs @@ -30,6 +30,7 @@ use leo_ast::{ StructExpression, StructVariableInitializer, TernaryExpression, + TupleAccess, Type, }; @@ -37,30 +38,18 @@ impl ExpressionReconstructor for Destructurer<'_> { type AdditionalOutput = Vec; /// Replaces a tuple access expression with the appropriate expression. - fn reconstruct_access(&mut self, input: AccessExpression) -> (Expression, Self::AdditionalOutput) { - ( - match input { - AccessExpression::Tuple(tuple_access) => { - // Lookup the expression in the tuple map. - match tuple_access.tuple.as_ref() { - Expression::Identifier(identifier) => { - match self - .tuples - .get(&identifier.name) - .and_then(|tuple| tuple.elements.get(tuple_access.index.value())) - { - Some(element) => element.clone(), - None => { - unreachable!("SSA guarantees that all tuples are declared and indices are valid.") - } - } - } - _ => unreachable!("SSA guarantees that subexpressions are identifiers or literals."), + fn reconstruct_tuple_access(&mut self, input: TupleAccess) -> (Expression, Self::AdditionalOutput) { + // Lookup the expression in the tuple map. + match input.tuple.as_ref() { + Expression::Identifier(identifier) => { + match self.tuples.get(&identifier.name).and_then(|tuple| tuple.elements.get(input.index.value())) { + Some(element) => (element.clone(), Default::default()), + None => { + unreachable!("SSA guarantees that all tuples are declared and indices are valid.") } } - _ => Expression::Access(input), - }, - Default::default(), - ) + } + _ => unreachable!("SSA guarantees that subexpressions are identifiers or literals."), + } } } diff --git a/compiler/passes/src/destructuring/destructurer.rs b/compiler/passes/src/destructuring/destructurer.rs index 561ebe2bc3..6385a8b5ba 100644 --- a/compiler/passes/src/destructuring/destructurer.rs +++ b/compiler/passes/src/destructuring/destructurer.rs @@ -50,8 +50,6 @@ use leo_span::Symbol; use indexmap::IndexMap; pub struct Destructurer<'a> { - /// The symbol table associated with the program. - pub(crate) symbol_table: &'a SymbolTable, /// A mapping between node IDs and their types. pub(crate) type_table: &'a TypeTable, /// A counter used to generate unique node IDs. @@ -63,25 +61,8 @@ pub struct Destructurer<'a> { } impl<'a> Destructurer<'a> { - pub(crate) fn new( - symbol_table: &'a SymbolTable, - type_table: &'a TypeTable, - node_builder: &'a NodeBuilder, - assigner: &'a Assigner, - ) -> Self { - Self { symbol_table, type_table, node_builder, assigner, tuples: IndexMap::new() } - } - - /// A wrapper around `assigner.unique_simple_assign_statement` that updates `self.structs`. - pub(crate) fn unique_simple_assign_statement(&mut self, expr: Expression) -> (Identifier, Statement) { - // Create a new variable for the expression. - let name = self.assigner.unique_symbol("$var", "$"); - // Construct the lhs of the assignment. - let place = Identifier { name, span: Default::default(), id: self.node_builder.next_id() }; - // Construct the assignment statement. - let statement = self.simple_assign_statement(place, expr); - - (place, statement) + pub(crate) fn new(type_table: &'a TypeTable, node_builder: &'a NodeBuilder, assigner: &'a Assigner) -> Self { + Self { type_table, node_builder, assigner, tuples: IndexMap::new() } } /// A wrapper around `assigner.simple_assign_statement` that tracks the type of the lhs. diff --git a/compiler/passes/src/destructuring/mod.rs b/compiler/passes/src/destructuring/mod.rs index dc81124802..8c2ae20393 100644 --- a/compiler/passes/src/destructuring/mod.rs +++ b/compiler/passes/src/destructuring/mod.rs @@ -34,11 +34,11 @@ use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::Result; impl<'a> Pass for Destructurer<'a> { - type Input = (Ast, &'a SymbolTable, &'a TypeTable, &'a NodeBuilder, &'a Assigner); + type Input = (Ast, &'a TypeTable, &'a NodeBuilder, &'a Assigner); type Output = Result; - fn do_pass((ast, st, tt, node_builder, assigner): Self::Input) -> Self::Output { - let mut reconstructor = Destructurer::new(st, tt, node_builder, assigner); + fn do_pass((ast, tt, node_builder, assigner): Self::Input) -> Self::Output { + let mut reconstructor = Destructurer::new(tt, node_builder, assigner); let program = reconstructor.reconstruct_program(ast.into_repr()); Ok(Ast::new(program)) From 144ef44b8c60df62cdf0269eb26adee1f05ad167 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:10:56 -0400 Subject: [PATCH 43/51] Update errors --- errors/src/errors/loop_unroller/loop_unroller_errors.rs | 7 +++++++ errors/src/errors/type_checker/type_checker_error.rs | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/errors/src/errors/loop_unroller/loop_unroller_errors.rs b/errors/src/errors/loop_unroller/loop_unroller_errors.rs index fde5c4c8b1..66b6900e26 100644 --- a/errors/src/errors/loop_unroller/loop_unroller_errors.rs +++ b/errors/src/errors/loop_unroller/loop_unroller_errors.rs @@ -29,4 +29,11 @@ create_messages!( msg: format!("The loop range must be increasing."), help: None, } + + @formatted + variable_array_access { + args: (), + msg: format!("The array index must be constant."), + help: None, + } ); diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index c66e4338bd..8caa7bdb74 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -705,4 +705,11 @@ create_messages!( msg: format!("An array cannot have a tuple as an element type"), help: None, } + + @formatted + array_element_cannot_be_record { + args: (), + msg: format!("An array cannot have a record as an element type"), + help: None, + } ); From 630508c4ae0ca84a27ae13f0dc713a94ffc114f5 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:11:13 -0400 Subject: [PATCH 44/51] Update tests --- tests/test-framework/benches/leo_compiler.rs | 10 +++++----- .../compiler/array/array_in_function_signature.leo | 2 ++ tests/tests/compiler/array/array_of_records.leo | 2 +- .../compiler/array/array_variable_access_fail.leo | 2 +- tests/tests/execution/array_sum.leo | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/tests/test-framework/benches/leo_compiler.rs b/tests/test-framework/benches/leo_compiler.rs index f82163c868..4ee7ed60a6 100644 --- a/tests/test-framework/benches/leo_compiler.rs +++ b/tests/test-framework/benches/leo_compiler.rs @@ -242,7 +242,7 @@ impl Sample { compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); let start = Instant::now(); - let out = compiler.destructuring_pass(&symbol_table); + let out = compiler.destructuring_pass(); let time = start.elapsed(); out.expect("failed to run destructurer pass"); time @@ -257,7 +257,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); - compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); + compiler.destructuring_pass().expect("failed to run destructurer pass"); let start = Instant::now(); let out = compiler.function_inlining_pass(&call_graph); let time = start.elapsed(); @@ -274,7 +274,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); - compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); + compiler.destructuring_pass().expect("failed to run destructurer pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run inliner pass"); let start = Instant::now(); let out = compiler.dead_code_elimination_pass(); @@ -292,7 +292,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattener pass"); - compiler.destructuring_pass(&symbol_table).expect("failed to run destructurer pass"); + compiler.destructuring_pass().expect("failed to run destructurer pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run inliner pass"); compiler.dead_code_elimination_pass().expect("failed to run dce pass"); let start = Instant::now(); @@ -314,7 +314,7 @@ impl Sample { let symbol_table = compiler.loop_unrolling_pass(symbol_table).expect("failed to run loop unrolling pass"); compiler.static_single_assignment_pass(&symbol_table).expect("failed to run ssa pass"); compiler.flattening_pass(&symbol_table).expect("failed to run flattening pass"); - compiler.destructuring_pass(&symbol_table).expect("failed to run destructuring pass"); + compiler.destructuring_pass().expect("failed to run destructuring pass"); compiler.function_inlining_pass(&call_graph).expect("failed to run function inlining pass"); compiler.dead_code_elimination_pass().expect("failed to run dce pass"); compiler diff --git a/tests/tests/compiler/array/array_in_function_signature.leo b/tests/tests/compiler/array/array_in_function_signature.leo index e40b6f43b8..d472b72ebb 100644 --- a/tests/tests/compiler/array/array_in_function_signature.leo +++ b/tests/tests/compiler/array/array_in_function_signature.leo @@ -13,10 +13,12 @@ program test.aleo { } function baz(a: [bool; 8]) -> bool { + assert(a[0u8]); return true; } function qux(a: [bool; 8]) -> [bool; 8] { + assert(a[0u8]); return a; } } diff --git a/tests/tests/compiler/array/array_of_records.leo b/tests/tests/compiler/array/array_of_records.leo index 279c4f1c38..e42ce452d0 100644 --- a/tests/tests/compiler/array/array_of_records.leo +++ b/tests/tests/compiler/array/array_of_records.leo @@ -1,6 +1,6 @@ /* namespace: Compile -expectation: Pass +expectation: Fail */ program test.aleo { diff --git a/tests/tests/compiler/array/array_variable_access_fail.leo b/tests/tests/compiler/array/array_variable_access_fail.leo index a86f14ba28..e2d40e1cd9 100644 --- a/tests/tests/compiler/array/array_variable_access_fail.leo +++ b/tests/tests/compiler/array/array_variable_access_fail.leo @@ -1,6 +1,6 @@ /* namespace: Compile -expectation: Pass +expectation: Fail */ program test.aleo { diff --git a/tests/tests/execution/array_sum.leo b/tests/tests/execution/array_sum.leo index cc060a2a10..f8db8831f4 100644 --- a/tests/tests/execution/array_sum.leo +++ b/tests/tests/execution/array_sum.leo @@ -11,7 +11,7 @@ cases: program test.aleo { transition sum_manually(a: [u64; 4]) -> u64 { - return a[0] + a[1] + a[2] + a[3]; + return a[0u8] + a[1u8] + a[2u8] + a[3u8]; } transition sum_with_loop(a: [u64; 4]) -> u64 { From 6756320fd85abc6e801833cc77dc4039276e9118 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 20 Oct 2023 14:04:05 -0400 Subject: [PATCH 45/51] Regen expectations --- compiler/ast/src/access/tuple_access.rs | 4 ++-- compiler/ast/src/common/positive_number.rs | 20 ++++++++-------- compiler/ast/src/types/array.rs | 6 ++--- compiler/parser/src/parser/context.rs | 4 ++-- .../passes/src/destructuring/destructurer.rs | 2 +- compiler/passes/src/flattening/flattener.rs | 6 ++--- .../src/type_checking/check_expressions.rs | 2 +- .../expectations/compiler/address/binary.out | 9 ++++---- .../expectations/compiler/address/branch.out | 9 ++++---- tests/expectations/compiler/address/equal.out | 9 ++++---- .../expectations/compiler/address/ternary.out | 9 ++++---- .../array/access_array_with_loop_counter.out | 16 +++++++++++++ .../compiler/array/array_access.out | 16 +++++++++++++ .../array/array_in_composite_data_types.out | 16 +++++++++++++ .../compiler/array/array_in_finalize.out | 16 +++++++++++++ .../array/array_in_function_signature.out | 16 +++++++++++++ .../compiler/array/array_initialization.out | 16 +++++++++++++ .../array/array_initialization_fail.out | 5 ++++ .../compiler/array/array_of_records.out | 5 ++++ .../compiler/array/array_of_structs.out | 16 +++++++++++++ .../compiler/array/array_size_limits.out | 16 +++++++++++++ .../compiler/array/array_too_large_fail.out | 5 ++++ .../compiler/array/array_too_small_fail.out | 5 ++++ .../array/array_variable_access_fail.out | 5 ++++ .../compiler/array/array_with_units_fail.out | 5 ++++ tests/expectations/compiler/boolean/and.out | 9 ++++---- .../compiler/boolean/conditional.out | 5 ++-- tests/expectations/compiler/boolean/equal.out | 9 ++++---- .../compiler/boolean/not_equal.out | 9 ++++---- .../compiler/boolean/operator_methods.out | 9 ++++---- tests/expectations/compiler/boolean/or.out | 9 ++++---- .../expectations/compiler/console/assert.out | 9 ++++---- .../compiler/console/conditional_assert.out | 9 ++++---- .../constants/const_tuple_declaration.out | 17 +++++++------- .../compiler/constants/constant_finalize.out | 9 ++++---- .../constants/constant_loop_bound.out | 9 ++++---- .../compiler/constants/loop_unrolling.out | 9 ++++---- .../unroll_loop_with_tuple_definition.out | 15 ++++++------ .../algorithms/bhp1024_commit_to_address.out | 9 ++++---- .../algorithms/bhp1024_commit_to_field.out | 9 ++++---- .../algorithms/bhp1024_commit_to_group.out | 9 ++++---- .../algorithms/bhp1024_hash_to_address.out | 9 ++++---- .../core/algorithms/bhp1024_hash_to_field.out | 9 ++++---- .../core/algorithms/bhp1024_hash_to_group.out | 9 ++++---- .../algorithms/bhp1024_hash_to_scalar.out | 9 ++++---- .../algorithms/bhp256_commit_to_address.out | 9 ++++---- .../algorithms/bhp256_commit_to_field.out | 9 ++++---- .../algorithms/bhp256_commit_to_group.out | 9 ++++---- .../algorithms/bhp256_hash_to_address.out | 9 ++++---- .../core/algorithms/bhp256_hash_to_field.out | 9 ++++---- .../core/algorithms/bhp256_hash_to_group.out | 9 ++++---- .../core/algorithms/bhp256_hash_to_scalar.out | 9 ++++---- .../algorithms/bhp512_commit_to_address.out | 9 ++++---- .../algorithms/bhp512_commit_to_field.out | 9 ++++---- .../algorithms/bhp512_commit_to_group.out | 9 ++++---- .../algorithms/bhp512_hash_to_address.out | 9 ++++---- .../core/algorithms/bhp512_hash_to_field.out | 9 ++++---- .../core/algorithms/bhp512_hash_to_group.out | 9 ++++---- .../core/algorithms/bhp512_hash_to_scalar.out | 9 ++++---- .../algorithms/bhp768_commit_to_address.out | 9 ++++---- .../algorithms/bhp768_commit_to_field.out | 9 ++++---- .../algorithms/bhp768_commit_to_group.out | 9 ++++---- .../algorithms/bhp768_hash_to_address.out | 9 ++++---- .../core/algorithms/bhp768_hash_to_field.out | 9 ++++---- .../core/algorithms/bhp768_hash_to_group.out | 9 ++++---- .../core/algorithms/bhp768_hash_to_scalar.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_i128.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_i16.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_i32.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_i64.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_i8.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_u128.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_u16.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_u32.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_u64.out | 9 ++++---- .../integers/bhp1024/bhp1024_hash_to_u8.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_i128.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_i16.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_i32.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_i64.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_i8.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_u128.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_u16.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_u32.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_u64.out | 9 ++++---- .../integers/bhp256/bhp256_hash_to_u8.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_i128.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_i16.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_i32.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_i64.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_i8.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_u128.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_u16.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_u32.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_u64.out | 9 ++++---- .../integers/bhp512/bhp512_hash_to_u8.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_i128.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_i16.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_i32.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_i64.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_i8.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_u128.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_u16.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_u32.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_u64.out | 9 ++++---- .../integers/bhp768/bhp768_hash_to_u8.out | 9 ++++---- .../keccak256/keccak256_hash_to_i128.out | 9 ++++---- .../keccak256/keccak256_hash_to_i16.out | 9 ++++---- .../keccak256/keccak256_hash_to_i32.out | 9 ++++---- .../keccak256/keccak256_hash_to_i64.out | 9 ++++---- .../keccak256/keccak256_hash_to_i8.out | 9 ++++---- .../keccak256/keccak256_hash_to_u128.out | 9 ++++---- .../keccak256/keccak256_hash_to_u16.out | 9 ++++---- .../keccak256/keccak256_hash_to_u32.out | 9 ++++---- .../keccak256/keccak256_hash_to_u64.out | 9 ++++---- .../keccak256/keccak256_hash_to_u8.out | 9 ++++---- .../keccak384/keccak384_hash_to_i128.out | 9 ++++---- .../keccak384/keccak384_hash_to_i16.out | 9 ++++---- .../keccak384/keccak384_hash_to_i32.out | 9 ++++---- .../keccak384/keccak384_hash_to_i64.out | 9 ++++---- .../keccak384/keccak384_hash_to_i8.out | 9 ++++---- .../keccak384/keccak384_hash_to_u128.out | 9 ++++---- .../keccak384/keccak384_hash_to_u16.out | 9 ++++---- .../keccak384/keccak384_hash_to_u32.out | 9 ++++---- .../keccak384/keccak384_hash_to_u64.out | 9 ++++---- .../keccak384/keccak384_hash_to_u8.out | 9 ++++---- .../keccak512/keccak512_hash_to_i128.out | 9 ++++---- .../keccak512/keccak512_hash_to_i16.out | 9 ++++---- .../keccak512/keccak512_hash_to_i32.out | 9 ++++---- .../keccak512/keccak512_hash_to_i64.out | 9 ++++---- .../keccak512/keccak512_hash_to_i8.out | 9 ++++---- .../keccak512/keccak512_hash_to_u128.out | 9 ++++---- .../keccak512/keccak512_hash_to_u16.out | 9 ++++---- .../keccak512/keccak512_hash_to_u32.out | 9 ++++---- .../keccak512/keccak512_hash_to_u64.out | 9 ++++---- .../keccak512/keccak512_hash_to_u8.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_i128.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_i16.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_i32.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_i64.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_i8.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_u128.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_u16.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_u32.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_u64.out | 9 ++++---- .../pedersen128/pedersen128_hash_to_u8.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_i128.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_i16.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_i32.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_i64.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_i8.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_u128.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_u16.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_u32.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_u64.out | 9 ++++---- .../pedersen64/pedersen64_hash_to_u8.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_i128.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_i16.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_i32.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_i64.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_i8.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_u128.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_u16.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_u32.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_u64.out | 9 ++++---- .../poseidon2/poseidon2_hash_to_u8.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_i128.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_i16.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_i32.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_i64.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_i8.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_u128.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_u16.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_u32.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_u64.out | 9 ++++---- .../poseidon4/poseidon4_hash_to_u8.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_i128.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_i16.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_i32.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_i64.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_i8.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_u128.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_u16.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_u32.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_u64.out | 9 ++++---- .../poseidon8/poseidon8_hash_to_u8.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_i128.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_i16.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_i32.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_i64.out | 9 ++++---- .../integers/sha3_256/sha3_256_hash_to_i8.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_u128.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_u16.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_u32.out | 9 ++++---- .../sha3_256/sha3_256_hash_to_u64.out | 9 ++++---- .../integers/sha3_256/sha3_256_hash_to_u8.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_i128.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_i16.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_i32.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_i64.out | 9 ++++---- .../integers/sha3_384/sha3_384_hash_to_i8.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_u128.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_u16.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_u32.out | 9 ++++---- .../sha3_384/sha3_384_hash_to_u64.out | 9 ++++---- .../integers/sha3_384/sha3_384_hash_to_u8.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_i128.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_i16.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_i32.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_i64.out | 9 ++++---- .../integers/sha3_512/sha3_512_hash_to_i8.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_u128.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_u16.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_u32.out | 9 ++++---- .../sha3_512/sha3_512_hash_to_u64.out | 9 ++++---- .../integers/sha3_512/sha3_512_hash_to_u8.out | 9 ++++---- .../algorithms/keccak256_hash_to_address.out | 9 ++++---- .../algorithms/keccak256_hash_to_field.out | 9 ++++---- .../algorithms/keccak256_hash_to_group.out | 9 ++++---- .../algorithms/keccak256_hash_to_scalar.out | 9 ++++---- .../algorithms/keccak384_hash_to_address.out | 9 ++++---- .../algorithms/keccak384_hash_to_field.out | 9 ++++---- .../algorithms/keccak384_hash_to_group.out | 9 ++++---- .../algorithms/keccak384_hash_to_scalar.out | 9 ++++---- .../algorithms/keccak512_hash_to_address.out | 9 ++++---- .../algorithms/keccak512_hash_to_field.out | 9 ++++---- .../algorithms/keccak512_hash_to_group.out | 9 ++++---- .../algorithms/keccak512_hash_to_scalar.out | 9 ++++---- .../pedersen128_commit_to_address.out | 9 ++++---- .../pedersen128_commit_to_field.out | 9 ++++---- .../pedersen128_commit_to_group.out | 9 ++++---- .../pedersen128_hash_to_address.out | 9 ++++---- .../algorithms/pedersen128_hash_to_field.out | 9 ++++---- .../algorithms/pedersen128_hash_to_group.out | 9 ++++---- .../pedersen64_commit_to_address.out | 9 ++++---- .../algorithms/pedersen64_commit_to_field.out | 9 ++++---- .../algorithms/pedersen64_commit_to_group.out | 9 ++++---- .../algorithms/pedersen64_hash_to_address.out | 9 ++++---- .../algorithms/pedersen64_hash_to_field.out | 9 ++++---- .../algorithms/pedersen64_hash_to_group.out | 9 ++++---- .../algorithms/pedersen64_hash_to_scalar.out | 9 ++++---- .../algorithms/poseidon2_hash_to_address.out | 9 ++++---- .../algorithms/poseidon2_hash_to_field.out | 9 ++++---- .../algorithms/poseidon2_hash_to_group.out | 9 ++++---- .../algorithms/poseidon2_hash_to_scalar.out | 9 ++++---- .../algorithms/poseidon4_hash_to_address.out | 9 ++++---- .../algorithms/poseidon4_hash_to_field.out | 9 ++++---- .../algorithms/poseidon4_hash_to_group.out | 9 ++++---- .../algorithms/poseidon4_hash_to_scalar.out | 9 ++++---- .../algorithms/poseidon8_hash_to_address.out | 9 ++++---- .../algorithms/poseidon8_hash_to_field.out | 9 ++++---- .../algorithms/poseidon8_hash_to_group.out | 9 ++++---- .../algorithms/poseidon8_hash_to_scalar.out | 9 ++++---- .../algorithms/sha3_256_hash_to_address.out | 9 ++++---- .../algorithms/sha3_256_hash_to_field.out | 9 ++++---- .../algorithms/sha3_256_hash_to_group.out | 9 ++++---- .../algorithms/sha3_256_hash_to_scalar.out | 9 ++++---- .../algorithms/sha3_384_hash_to_address.out | 9 ++++---- .../algorithms/sha3_384_hash_to_field.out | 9 ++++---- .../algorithms/sha3_384_hash_to_group.out | 9 ++++---- .../algorithms/sha3_384_hash_to_scalar.out | 9 ++++---- .../algorithms/sha3_512_hash_to_address.out | 9 ++++---- .../algorithms/sha3_512_hash_to_field.out | 9 ++++---- .../algorithms/sha3_512_hash_to_group.out | 9 ++++---- .../algorithms/sha3_512_hash_to_scalar.out | 9 ++++---- .../compiler/core/constants/group_gen.out | 9 ++++---- .../compiler/definition/out_of_order.out | 9 ++++---- .../compiler/examples/auction.out | 9 ++++---- .../compiler/examples/basic_bank.out | 9 ++++---- .../expectations/compiler/examples/board.out | 9 ++++---- .../compiler/examples/bubblesort.out | 19 +++++++-------- tests/expectations/compiler/examples/core.out | 9 ++++---- .../compiler/examples/fibonacci.out | 9 ++++---- .../expectations/compiler/examples/groups.out | 9 ++++---- .../compiler/examples/helloworld.out | 9 ++++---- .../compiler/examples/interest.out | 9 ++++---- .../compiler/examples/lottery.out | 9 ++++---- .../compiler/examples/message.out | 9 ++++---- tests/expectations/compiler/examples/move.out | 9 ++++---- .../compiler/examples/ntzdebruijn.out | 9 ++++---- .../compiler/examples/ntzgaudet.out | 9 ++++---- .../compiler/examples/ntzloops.out | 9 ++++---- .../compiler/examples/ntzmasks.out | 9 ++++---- .../compiler/examples/ntzreisers.out | 9 ++++---- .../compiler/examples/ntzseals.out | 9 ++++---- .../compiler/examples/ntzsearchtree.out | 9 ++++---- .../compiler/examples/ntzsmallvals.out | 9 ++++---- .../compiler/examples/simple_token.out | 19 +++++++-------- .../compiler/examples/tictactoe.out | 19 +++++++-------- .../expectations/compiler/examples/token.out | 19 +++++++-------- .../compiler/examples/twoadicity.out | 9 ++++---- .../expectations/compiler/examples/verify.out | 9 ++++---- tests/expectations/compiler/examples/vote.out | 9 ++++---- .../expectations/compiler/expression/cast.out | 9 ++++---- .../compiler/expression/cast_coersion.out | 19 +++++++-------- tests/expectations/compiler/field/add.out | 9 ++++---- tests/expectations/compiler/field/div.out | 9 ++++---- tests/expectations/compiler/field/eq.out | 9 ++++---- tests/expectations/compiler/field/field.out | 9 ++++---- tests/expectations/compiler/field/mul.out | 9 ++++---- tests/expectations/compiler/field/negate.out | 9 ++++---- .../compiler/field/operator_methods.out | 9 ++++---- tests/expectations/compiler/field/pow.out | 9 ++++---- tests/expectations/compiler/field/sub.out | 9 ++++---- tests/expectations/compiler/field/ternary.out | 9 ++++---- .../compiler/finalize/block_height.out | 9 ++++---- .../compiler/finalize/contains.out | 9 ++++---- .../finalize/decrement_via_get_set.out | 9 ++++---- .../compiler/finalize/finalize.out | 9 ++++---- .../finalize/finalize_with_method_calls.out | 9 ++++---- .../finalize/increment_via_get_set.out | 9 ++++---- .../compiler/finalize/inline_in_finalize.out | 9 ++++---- .../compiler/finalize/mapping.out | 9 ++++---- .../only_finalize_with_flattening.out | 9 ++++---- tests/expectations/compiler/finalize/rand.out | 9 ++++---- .../finalize/read_write_mapping_fail.out | 2 +- .../expectations/compiler/finalize/remove.out | 9 ++++---- .../compiler/function/conditional_return.out | 9 ++++---- .../function/dead_code_elimination.out | 9 ++++---- .../flatten_inlined_tuples_of_structs.out | 19 +++++++-------- .../compiler/function/flatten_test.out | 19 +++++++-------- .../compiler/function/flatten_test_2.out | 18 ++++++++------- .../function/flatten_tuples_of_structs.out | 19 +++++++-------- .../function/flatten_unit_expressions.out | 18 ++++++++------- .../compiler/function/function_call.out | 9 ++++---- .../function/function_call_inline.out | 9 ++++---- .../function/function_call_out_of_order.out | 9 ++++---- .../helper_function_with_interface.out | 9 ++++---- .../function/inline_expr_statement.out | 18 ++++++++------- .../compiler/function/inline_twice.out | 9 ++++---- .../function/private_input_output.out | 9 ++++---- ...ction_any_number_of_inputs_and_outputs.out | 9 ++++---- .../function/program_function_empty_body.out | 5 ++-- .../function/program_function_unit_type.out | 5 ++-- .../function/program_function_with_mode.out | 9 ++++---- .../function/record_in_conditional_return.out | 9 ++++---- tests/expectations/compiler/function/self.out | 9 ++++---- tests/expectations/compiler/group/add.out | 9 ++++---- .../expectations/compiler/group/assert_eq.out | 9 ++++---- tests/expectations/compiler/group/eq.out | 9 ++++---- .../expectations/compiler/group/group_mul.out | 9 ++++---- tests/expectations/compiler/group/input.out | 9 ++++---- tests/expectations/compiler/group/mul.out | 9 ++++---- .../compiler/group/mult_by_scalar.out | 9 ++++---- tests/expectations/compiler/group/negate.out | 9 ++++---- .../compiler/group/operator_methods.out | 9 ++++---- .../compiler/group/point_input.out | 9 ++++---- tests/expectations/compiler/group/sub.out | 9 ++++---- tests/expectations/compiler/group/ternary.out | 9 ++++---- .../compiler/group/to_x_coordinate.out | 9 ++++---- .../compiler/group/to_y_coordinate.out | 9 ++++---- tests/expectations/compiler/group/x_and_y.out | 9 ++++---- .../compiler/group/x_sign_high.out | 9 ++++---- .../compiler/group/x_sign_inferred.out | 9 ++++---- .../compiler/group/x_sign_low.out | 9 ++++---- tests/expectations/compiler/group/zero.out | 9 ++++---- tests/expectations/compiler/input/main.out | 9 ++++---- .../compiler/input/main_field.out | 9 ++++---- .../compiler/integers/i128/add.out | 9 ++++---- .../compiler/integers/i128/and.out | 9 ++++---- .../compiler/integers/i128/console_assert.out | 9 ++++---- .../compiler/integers/i128/div.out | 9 ++++---- .../compiler/integers/i128/eq.out | 9 ++++---- .../compiler/integers/i128/ge.out | 9 ++++---- .../compiler/integers/i128/gt.out | 9 ++++---- .../compiler/integers/i128/le.out | 9 ++++---- .../compiler/integers/i128/lt.out | 9 ++++---- .../compiler/integers/i128/max.out | 9 ++++---- .../compiler/integers/i128/min.out | 9 ++++---- .../compiler/integers/i128/min_fail.out | 9 ++++---- .../compiler/integers/i128/mul.out | 9 ++++---- .../compiler/integers/i128/ne.out | 9 ++++---- .../compiler/integers/i128/negate.out | 9 ++++---- .../integers/i128/negate_min_fail.out | 9 ++++---- .../compiler/integers/i128/negate_zero.out | 9 ++++---- .../integers/i128/operator_methods.out | 9 ++++---- .../compiler/integers/i128/or.out | 9 ++++---- .../compiler/integers/i128/pow.out | 9 ++++---- .../compiler/integers/i128/rem.out | 9 ++++---- .../compiler/integers/i128/shl.out | 9 ++++---- .../compiler/integers/i128/shr.out | 9 ++++---- .../compiler/integers/i128/sub.out | 9 ++++---- .../compiler/integers/i128/ternary.out | 9 ++++---- .../compiler/integers/i128/xor.out | 9 ++++---- .../compiler/integers/i16/add.out | 9 ++++---- .../compiler/integers/i16/and.out | 9 ++++---- .../compiler/integers/i16/console_assert.out | 9 ++++---- .../compiler/integers/i16/div.out | 9 ++++---- .../expectations/compiler/integers/i16/eq.out | 9 ++++---- .../expectations/compiler/integers/i16/ge.out | 9 ++++---- .../expectations/compiler/integers/i16/gt.out | 9 ++++---- .../expectations/compiler/integers/i16/le.out | 9 ++++---- .../expectations/compiler/integers/i16/lt.out | 9 ++++---- .../compiler/integers/i16/max.out | 9 ++++---- .../compiler/integers/i16/min.out | 9 ++++---- .../compiler/integers/i16/min_fail.out | 9 ++++---- .../compiler/integers/i16/mul.out | 9 ++++---- .../expectations/compiler/integers/i16/ne.out | 9 ++++---- .../compiler/integers/i16/negate.out | 9 ++++---- .../compiler/integers/i16/negate_min_fail.out | 9 ++++---- .../compiler/integers/i16/negate_zero.out | 9 ++++---- .../integers/i16/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/i16/or.out | 9 ++++---- .../compiler/integers/i16/pow.out | 9 ++++---- .../compiler/integers/i16/rem.out | 9 ++++---- .../compiler/integers/i16/shl.out | 9 ++++---- .../compiler/integers/i16/shr.out | 9 ++++---- .../compiler/integers/i16/sub.out | 9 ++++---- .../compiler/integers/i16/ternary.out | 9 ++++---- .../compiler/integers/i16/xor.out | 9 ++++---- .../compiler/integers/i32/add.out | 9 ++++---- .../compiler/integers/i32/and.out | 9 ++++---- .../compiler/integers/i32/console_assert.out | 9 ++++---- .../compiler/integers/i32/div.out | 9 ++++---- .../expectations/compiler/integers/i32/eq.out | 9 ++++---- .../expectations/compiler/integers/i32/ge.out | 9 ++++---- .../expectations/compiler/integers/i32/gt.out | 9 ++++---- .../expectations/compiler/integers/i32/le.out | 9 ++++---- .../expectations/compiler/integers/i32/lt.out | 9 ++++---- .../compiler/integers/i32/max.out | 9 ++++---- .../compiler/integers/i32/min.out | 9 ++++---- .../compiler/integers/i32/min_fail.out | 9 ++++---- .../compiler/integers/i32/mul.out | 9 ++++---- .../expectations/compiler/integers/i32/ne.out | 9 ++++---- .../compiler/integers/i32/negate.out | 9 ++++---- .../compiler/integers/i32/negate_min_fail.out | 9 ++++---- .../compiler/integers/i32/negate_zero.out | 9 ++++---- .../integers/i32/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/i32/or.out | 9 ++++---- .../compiler/integers/i32/pow.out | 9 ++++---- .../compiler/integers/i32/rem.out | 9 ++++---- .../compiler/integers/i32/shl.out | 9 ++++---- .../compiler/integers/i32/shr.out | 9 ++++---- .../compiler/integers/i32/sub.out | 9 ++++---- .../compiler/integers/i32/ternary.out | 9 ++++---- .../compiler/integers/i32/xor.out | 9 ++++---- .../compiler/integers/i64/add.out | 9 ++++---- .../compiler/integers/i64/and.out | 9 ++++---- .../compiler/integers/i64/console_assert.out | 9 ++++---- .../compiler/integers/i64/div.out | 9 ++++---- .../expectations/compiler/integers/i64/eq.out | 9 ++++---- .../expectations/compiler/integers/i64/ge.out | 9 ++++---- .../expectations/compiler/integers/i64/gt.out | 9 ++++---- .../expectations/compiler/integers/i64/le.out | 9 ++++---- .../expectations/compiler/integers/i64/lt.out | 9 ++++---- .../compiler/integers/i64/max.out | 9 ++++---- .../compiler/integers/i64/min.out | 9 ++++---- .../compiler/integers/i64/min_fail.out | 9 ++++---- .../compiler/integers/i64/mul.out | 9 ++++---- .../expectations/compiler/integers/i64/ne.out | 9 ++++---- .../compiler/integers/i64/negate.out | 9 ++++---- .../compiler/integers/i64/negate_min_fail.out | 9 ++++---- .../compiler/integers/i64/negate_zero.out | 9 ++++---- .../integers/i64/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/i64/or.out | 9 ++++---- .../compiler/integers/i64/pow.out | 9 ++++---- .../compiler/integers/i64/rem.out | 9 ++++---- .../compiler/integers/i64/shl.out | 9 ++++---- .../compiler/integers/i64/shr.out | 9 ++++---- .../compiler/integers/i64/sub.out | 9 ++++---- .../compiler/integers/i64/ternary.out | 9 ++++---- .../compiler/integers/i64/xor.out | 9 ++++---- .../expectations/compiler/integers/i8/add.out | 9 ++++---- .../expectations/compiler/integers/i8/and.out | 9 ++++---- .../compiler/integers/i8/console_assert.out | 9 ++++---- .../expectations/compiler/integers/i8/div.out | 9 ++++---- .../expectations/compiler/integers/i8/eq.out | 9 ++++---- .../expectations/compiler/integers/i8/ge.out | 9 ++++---- .../expectations/compiler/integers/i8/gt.out | 9 ++++---- .../expectations/compiler/integers/i8/le.out | 9 ++++---- .../expectations/compiler/integers/i8/lt.out | 9 ++++---- .../expectations/compiler/integers/i8/max.out | 9 ++++---- .../expectations/compiler/integers/i8/min.out | 9 ++++---- .../compiler/integers/i8/min_fail.out | 9 ++++---- .../expectations/compiler/integers/i8/mul.out | 9 ++++---- .../expectations/compiler/integers/i8/ne.out | 9 ++++---- .../compiler/integers/i8/negate.out | 9 ++++---- .../compiler/integers/i8/negate_min_fail.out | 9 ++++---- .../compiler/integers/i8/negate_zero.out | 9 ++++---- .../compiler/integers/i8/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/i8/or.out | 9 ++++---- .../expectations/compiler/integers/i8/pow.out | 9 ++++---- .../expectations/compiler/integers/i8/rem.out | 9 ++++---- .../expectations/compiler/integers/i8/shl.out | 9 ++++---- .../expectations/compiler/integers/i8/shr.out | 9 ++++---- .../expectations/compiler/integers/i8/sub.out | 9 ++++---- .../compiler/integers/i8/ternary.out | 9 ++++---- .../expectations/compiler/integers/i8/xor.out | 9 ++++---- .../compiler/integers/u128/add.out | 9 ++++---- .../compiler/integers/u128/and.out | 9 ++++---- .../compiler/integers/u128/console_assert.out | 9 ++++---- .../compiler/integers/u128/div.out | 9 ++++---- .../compiler/integers/u128/eq.out | 9 ++++---- .../compiler/integers/u128/ge.out | 9 ++++---- .../compiler/integers/u128/gt.out | 9 ++++---- .../compiler/integers/u128/le.out | 9 ++++---- .../compiler/integers/u128/lt.out | 9 ++++---- .../compiler/integers/u128/max.out | 9 ++++---- .../compiler/integers/u128/min.out | 9 ++++---- .../compiler/integers/u128/mul.out | 9 ++++---- .../compiler/integers/u128/ne.out | 9 ++++---- .../integers/u128/operator_methods.out | 9 ++++---- .../compiler/integers/u128/or.out | 9 ++++---- .../compiler/integers/u128/pow.out | 9 ++++---- .../compiler/integers/u128/rem.out | 9 ++++---- .../compiler/integers/u128/shl.out | 9 ++++---- .../compiler/integers/u128/shr.out | 9 ++++---- .../compiler/integers/u128/sub.out | 9 ++++---- .../compiler/integers/u128/ternary.out | 9 ++++---- .../compiler/integers/u128/xor.out | 9 ++++---- .../compiler/integers/u16/add.out | 9 ++++---- .../compiler/integers/u16/and.out | 9 ++++---- .../compiler/integers/u16/console_assert.out | 9 ++++---- .../compiler/integers/u16/div.out | 9 ++++---- .../expectations/compiler/integers/u16/eq.out | 9 ++++---- .../expectations/compiler/integers/u16/ge.out | 9 ++++---- .../expectations/compiler/integers/u16/gt.out | 9 ++++---- .../expectations/compiler/integers/u16/le.out | 9 ++++---- .../expectations/compiler/integers/u16/lt.out | 9 ++++---- .../compiler/integers/u16/max.out | 9 ++++---- .../compiler/integers/u16/min.out | 9 ++++---- .../compiler/integers/u16/mul.out | 9 ++++---- .../expectations/compiler/integers/u16/ne.out | 9 ++++---- .../integers/u16/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/u16/or.out | 9 ++++---- .../compiler/integers/u16/pow.out | 9 ++++---- .../compiler/integers/u16/rem.out | 9 ++++---- .../compiler/integers/u16/shl.out | 9 ++++---- .../compiler/integers/u16/shr.out | 9 ++++---- .../compiler/integers/u16/sub.out | 9 ++++---- .../compiler/integers/u16/ternary.out | 9 ++++---- .../compiler/integers/u16/xor.out | 9 ++++---- .../compiler/integers/u32/add.out | 9 ++++---- .../compiler/integers/u32/and.out | 9 ++++---- .../compiler/integers/u32/console_assert.out | 9 ++++---- .../compiler/integers/u32/div.out | 9 ++++---- .../expectations/compiler/integers/u32/eq.out | 9 ++++---- .../expectations/compiler/integers/u32/ge.out | 9 ++++---- .../expectations/compiler/integers/u32/gt.out | 9 ++++---- .../expectations/compiler/integers/u32/le.out | 9 ++++---- .../expectations/compiler/integers/u32/lt.out | 9 ++++---- .../compiler/integers/u32/max.out | 9 ++++---- .../compiler/integers/u32/min.out | 9 ++++---- .../compiler/integers/u32/mul.out | 9 ++++---- .../expectations/compiler/integers/u32/ne.out | 9 ++++---- .../integers/u32/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/u32/or.out | 9 ++++---- .../compiler/integers/u32/pow.out | 9 ++++---- .../compiler/integers/u32/rem.out | 9 ++++---- .../compiler/integers/u32/shl.out | 9 ++++---- .../compiler/integers/u32/shr.out | 9 ++++---- .../compiler/integers/u32/sub.out | 9 ++++---- .../compiler/integers/u32/ternary.out | 9 ++++---- .../compiler/integers/u32/xor.out | 9 ++++---- .../compiler/integers/u64/add.out | 9 ++++---- .../compiler/integers/u64/and.out | 9 ++++---- .../compiler/integers/u64/console_assert.out | 9 ++++---- .../compiler/integers/u64/div.out | 9 ++++---- .../expectations/compiler/integers/u64/eq.out | 9 ++++---- .../expectations/compiler/integers/u64/ge.out | 9 ++++---- .../expectations/compiler/integers/u64/gt.out | 9 ++++---- .../expectations/compiler/integers/u64/le.out | 9 ++++---- .../expectations/compiler/integers/u64/lt.out | 9 ++++---- .../compiler/integers/u64/max.out | 9 ++++---- .../compiler/integers/u64/min.out | 9 ++++---- .../compiler/integers/u64/mul.out | 9 ++++---- .../expectations/compiler/integers/u64/ne.out | 9 ++++---- .../integers/u64/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/u64/or.out | 9 ++++---- .../compiler/integers/u64/pow.out | 9 ++++---- .../compiler/integers/u64/rem.out | 9 ++++---- .../compiler/integers/u64/shl.out | 9 ++++---- .../compiler/integers/u64/shr.out | 9 ++++---- .../compiler/integers/u64/sub.out | 9 ++++---- .../compiler/integers/u64/ternary.out | 9 ++++---- .../compiler/integers/u64/xor.out | 9 ++++---- .../expectations/compiler/integers/u8/add.out | 9 ++++---- .../expectations/compiler/integers/u8/and.out | 9 ++++---- .../compiler/integers/u8/console_assert.out | 9 ++++---- .../expectations/compiler/integers/u8/div.out | 9 ++++---- .../expectations/compiler/integers/u8/eq.out | 9 ++++---- .../expectations/compiler/integers/u8/ge.out | 9 ++++---- .../expectations/compiler/integers/u8/gt.out | 9 ++++---- .../expectations/compiler/integers/u8/le.out | 9 ++++---- .../expectations/compiler/integers/u8/lt.out | 9 ++++---- .../expectations/compiler/integers/u8/max.out | 9 ++++---- .../expectations/compiler/integers/u8/min.out | 9 ++++---- .../expectations/compiler/integers/u8/mul.out | 9 ++++---- .../expectations/compiler/integers/u8/ne.out | 9 ++++---- .../compiler/integers/u8/operator_methods.out | 9 ++++---- .../expectations/compiler/integers/u8/or.out | 9 ++++---- .../expectations/compiler/integers/u8/pow.out | 9 ++++---- .../expectations/compiler/integers/u8/rem.out | 9 ++++---- .../expectations/compiler/integers/u8/shl.out | 9 ++++---- .../expectations/compiler/integers/u8/shr.out | 9 ++++---- .../expectations/compiler/integers/u8/sub.out | 9 ++++---- .../compiler/integers/u8/ternary.out | 9 ++++---- .../expectations/compiler/integers/u8/xor.out | 9 ++++---- .../compiler/mappings/max_mappings.out | 9 ++++---- .../compiler/records/balance_wrong_ty.out | 9 ++++---- .../compiler/records/declaration.out | 9 ++++---- .../compiler/records/gates_is_allowed.out | 9 ++++---- .../compiler/records/init_expression.out | 9 ++++---- .../records/init_expression_shorthand.out | 9 ++++---- .../compiler/records/nested_record.out | 9 ++++---- .../record_declaration_out_of_order.out | 9 ++++---- .../records/record_init_out_of_order.out | 9 ++++---- .../records/record_with_visibility.out | 9 ++++---- tests/expectations/compiler/scalar/add.out | 9 ++++---- tests/expectations/compiler/scalar/cmp.out | 9 ++++---- tests/expectations/compiler/scalar/eq.out | 9 ++++---- .../compiler/scalar/operator_methods.out | 9 ++++---- tests/expectations/compiler/scalar/scalar.out | 9 ++++---- .../expectations/compiler/scalar/ternary.out | 9 ++++---- .../compiler/signature/signature.out | 9 ++++---- .../compiler/statements/assign.out | 9 ++++---- .../compiler/statements/block.out | 9 ++++---- .../compiler/statements/chain.out | 9 ++++---- .../compiler/statements/expr_statement.out | 9 ++++---- .../compiler/statements/iteration_basic.out | 9 ++++---- .../compiler/statements/iteration_nested.out | 9 ++++---- .../compiler/statements/multiple_returns.out | 9 ++++---- .../compiler/statements/mutate.out | 5 ++-- .../statements/operations/add_assign.out | 9 ++++---- .../statements/operations/and_assign.out | 9 ++++---- .../statements/operations/bitand_assign.out | 9 ++++---- .../statements/operations/bitor_assign.out | 9 ++++---- .../statements/operations/bitxor_assign.out | 9 ++++---- .../statements/operations/div_assign.out | 9 ++++---- .../statements/operations/mul_assign.out | 9 ++++---- .../statements/operations/or_assign.out | 9 ++++---- .../statements/operations/pow_assign.out | 9 ++++---- .../statements/operations/rem_assign.out | 9 ++++---- .../statements/operations/shl_assign.out | 9 ++++---- .../statements/operations/shr_assign.out | 9 ++++---- .../statements/operations/sub_assign.out | 9 ++++---- .../ternary_explicit_and_implicit.out | 9 ++++---- .../statements/underscore_for_loop.out | 9 ++++---- .../structs/cyclic_structs_four_fail.out | 5 ++++ .../expectations/compiler/structs/inline.out | 9 ++++---- .../compiler/structs/member_variable.out | 9 ++++---- .../struct_declaration_out_of_order.out | 9 ++++---- .../structs/struct_init_out_of_order.out | 19 +++++++-------- .../tuple/function_call_returns_tuple.out | 19 +++++++-------- .../compiler/tuple/function_early_return.out | 19 +++++++-------- .../compiler/tuple/function_return.out | 19 +++++++-------- .../tuple/function_return_nothing.out | 5 ++-- .../compiler/tuple/function_return_unit.out | 5 ++-- .../tuple/function_return_varying_modes.out | 19 +++++++-------- .../tuple/return_with_different_modes.out | 19 +++++++-------- .../compiler/tuple/tuple_access.out | 17 +++++++------- .../compiler/tuple/tuple_destructure.out | 19 +++++++-------- .../compiler/tuple/tuple_in_assignment.out | 17 +++++++------- .../compiler/tuple/tuple_in_definition.out | 17 +++++++------- .../compiler/tuple/tuple_in_loop.out | 17 +++++++------- tests/expectations/compiler/tuple/unit.out | 5 ++-- tests/expectations/execution/array_sum.out | 23 +++++++++++++++++++ .../expectations/execution/cast_coersion.out | 19 +++++++-------- tests/expectations/execution/chain.out | 9 ++++---- tests/expectations/execution/counter.out | 9 ++++---- tests/expectations/execution/eq.out | 9 ++++---- .../flattened_function_and_inline_matches.out | 19 +++++++-------- .../execution/group_operations.out | 19 +++++++-------- tests/expectations/execution/mint.out | 9 ++++---- .../execution/primitive_casts.out | 19 +++++++-------- .../parser/expression/array_init_fail.out | 8 +++---- .../parser/expression/array_inline_fail.out | 10 ++++---- .../parser/expression/token_format.out | 2 +- .../parser/finalize/decrement_fail.out | 2 +- .../parser/finalize/increment_fail.out | 2 +- .../parser/statement/definition_fail.out | 8 +++---- .../parser/statement/expression_fail.out | 4 ++-- .../parser/unreachable/define.out | 2 +- .../parser/unreachable/math_op_fail.out | 2 +- 674 files changed, 3553 insertions(+), 2723 deletions(-) create mode 100644 tests/expectations/compiler/array/access_array_with_loop_counter.out create mode 100644 tests/expectations/compiler/array/array_access.out create mode 100644 tests/expectations/compiler/array/array_in_composite_data_types.out create mode 100644 tests/expectations/compiler/array/array_in_finalize.out create mode 100644 tests/expectations/compiler/array/array_in_function_signature.out create mode 100644 tests/expectations/compiler/array/array_initialization.out create mode 100644 tests/expectations/compiler/array/array_initialization_fail.out create mode 100644 tests/expectations/compiler/array/array_of_records.out create mode 100644 tests/expectations/compiler/array/array_of_structs.out create mode 100644 tests/expectations/compiler/array/array_size_limits.out create mode 100644 tests/expectations/compiler/array/array_too_large_fail.out create mode 100644 tests/expectations/compiler/array/array_too_small_fail.out create mode 100644 tests/expectations/compiler/array/array_variable_access_fail.out create mode 100644 tests/expectations/compiler/array/array_with_units_fail.out create mode 100644 tests/expectations/compiler/structs/cyclic_structs_four_fail.out create mode 100644 tests/expectations/execution/array_sum.out diff --git a/compiler/ast/src/access/tuple_access.rs b/compiler/ast/src/access/tuple_access.rs index 26a9e6f7f2..819bf0285b 100644 --- a/compiler/ast/src/access/tuple_access.rs +++ b/compiler/ast/src/access/tuple_access.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Expression, Node, NodeID, NonzeroNumber}; +use crate::{Expression, Node, NodeID, NonNegativeNumber}; use leo_span::Span; use serde::{Deserialize, Serialize}; @@ -26,7 +26,7 @@ pub struct TupleAccess { /// An expression evaluating to some tuple type, e.g., `(5, 2)`. pub tuple: Box, /// The index to access in the tuple expression. E.g., `0` for `(5, 2)` would yield `5`. - pub index: NonzeroNumber, + pub index: NonNegativeNumber, /// The span for the entire expression `tuple.index`. pub span: Span, /// The ID of the node. diff --git a/compiler/ast/src/common/positive_number.rs b/compiler/ast/src/common/positive_number.rs index 5aad1bbe1d..36db4dc0a7 100644 --- a/compiler/ast/src/common/positive_number.rs +++ b/compiler/ast/src/common/positive_number.rs @@ -17,22 +17,22 @@ use serde::{Deserialize, Serialize}; use std::{fmt, str::FromStr}; -/// A number string guaranteed to be nonzero. +/// A number string guaranteed to be non-negative. #[derive(Clone, Serialize, Deserialize, Debug, PartialEq, Eq, Hash)] -pub struct NonzeroNumber { - /// The string representation of the nonzero number. +pub struct NonNegativeNumber { + /// The string representation of the non-negative number. string: String, - /// The numeric value of the nonzero number. + /// The numeric value of the non-negative number. value: usize, } -impl NonzeroNumber { - /// Returns the string representation of the nonzero number. +impl NonNegativeNumber { + /// Returns the string representation of the non-negative number. pub fn string(&self) -> &str { &self.string } - /// Returns the numeric value of the nonzero number. + /// Returns the numeric value of the non-negative number. pub fn value(&self) -> usize { self.value } @@ -43,21 +43,21 @@ impl NonzeroNumber { } } -impl From for NonzeroNumber { +impl From for NonNegativeNumber { fn from(string: String) -> Self { let value = usize::from_str(&string).unwrap(); Self { string, value } } } -impl From for NonzeroNumber { +impl From for NonNegativeNumber { fn from(value: usize) -> Self { let string = value.to_string(); Self { string, value } } } -impl fmt::Display for NonzeroNumber { +impl fmt::Display for NonNegativeNumber { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.value) } diff --git a/compiler/ast/src/types/array.rs b/compiler/ast/src/types/array.rs index a9d9292998..032b3a8e7f 100644 --- a/compiler/ast/src/types/array.rs +++ b/compiler/ast/src/types/array.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{NonzeroNumber, Type}; +use crate::{NonNegativeNumber, Type}; use serde::{Deserialize, Serialize}; use std::fmt; @@ -23,12 +23,12 @@ use std::fmt; #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct ArrayType { element_type: Box, - length: NonzeroNumber, + length: NonNegativeNumber, } impl ArrayType { /// Creates a new array type. - pub fn new(element: Type, length: NonzeroNumber) -> Self { + pub fn new(element: Type, length: NonNegativeNumber) -> Self { Self { element_type: Box::new(element), length } } diff --git a/compiler/parser/src/parser/context.rs b/compiler/parser/src/parser/context.rs index 3ef12ced1a..5e42aa28c9 100644 --- a/compiler/parser/src/parser/context.rs +++ b/compiler/parser/src/parser/context.rs @@ -156,7 +156,7 @@ impl<'a> ParserContext<'a> { /// Removes the next token if it is a [`Token::Integer(_)`] and returns it, or [None] if /// the next token is not a [`Token::Integer(_)`] or if the next token does not exist. /// - pub fn eat_whole_number(&mut self) -> Result<(NonzeroNumber, Span)> { + pub fn eat_whole_number(&mut self) -> Result<(NonNegativeNumber, Span)> { if let Token::Integer(value) = &self.token.token { let value = value.clone(); self.bump(); @@ -165,7 +165,7 @@ impl<'a> ParserContext<'a> { return Err(ParserError::tuple_index_must_be_whole_number(&self.token.token, self.token.span).into()); } - Ok((NonzeroNumber::from(value), self.prev_token.span)) + Ok((NonNegativeNumber::from(value), self.prev_token.span)) } else { Err(ParserError::unexpected(&self.token.token, "integer literal", self.token.span).into()) } diff --git a/compiler/passes/src/destructuring/destructurer.rs b/compiler/passes/src/destructuring/destructurer.rs index 6385a8b5ba..840bc8e64f 100644 --- a/compiler/passes/src/destructuring/destructurer.rs +++ b/compiler/passes/src/destructuring/destructurer.rs @@ -33,7 +33,7 @@ use leo_ast::{ MemberAccess, Node, NodeBuilder, - NonzeroNumber, + NonNegativeNumber, ReturnStatement, Statement, Struct, diff --git a/compiler/passes/src/flattening/flattener.rs b/compiler/passes/src/flattening/flattener.rs index 70007144f1..1cf6ae2193 100644 --- a/compiler/passes/src/flattening/flattener.rs +++ b/compiler/passes/src/flattening/flattener.rs @@ -33,7 +33,7 @@ use leo_ast::{ MemberAccess, Node, NodeBuilder, - NonzeroNumber, + NonNegativeNumber, ReturnStatement, Statement, Struct, @@ -498,7 +498,7 @@ impl<'a> Flattener<'a> { let (first, stmt) = self.unique_simple_assign_statement(Expression::Access(AccessExpression::Tuple(TupleAccess { tuple: Box::new(Expression::Identifier(*first)), - index: NonzeroNumber::from(i), + index: NonNegativeNumber::from(i), span: Default::default(), id: { // Create a new node ID for the access expression. @@ -513,7 +513,7 @@ impl<'a> Flattener<'a> { let (second, stmt) = self.unique_simple_assign_statement(Expression::Access(AccessExpression::Tuple(TupleAccess { tuple: Box::new(Expression::Identifier(*second)), - index: NonzeroNumber::from(i), + index: NonNegativeNumber::from(i), span: Default::default(), id: { // Create a new node ID for the access expression. diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index a8f49f3618..8c2bedae4a 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -283,7 +283,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { self.assert_type(&element_type, &first_type, element.span()); } // Return the array type. - Type::Array(ArrayType::new(first_type, NonzeroNumber::from(input.elements.len()))) + Type::Array(ArrayType::new(first_type, NonNegativeNumber::from(input.elements.len()))) }) } // The array cannot have more than `MAX_ARRAY_ELEMENTS` elements. diff --git a/tests/expectations/compiler/address/binary.out b/tests/expectations/compiler/address/binary.out index d7ef7a6a28..f7d7231b23 100644 --- a/tests/expectations/compiler/address/binary.out +++ b/tests/expectations/compiler/address/binary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a0dfc2822cd2ba34228b9388c5f8f05f5ff5add4283a622c3615093172118f8f initial_ast: e3eab3a610f605b901ca3d033e6e73cdb2bbdeff14a19ac6e974cb3d91946bca unrolled_ast: e3eab3a610f605b901ca3d033e6e73cdb2bbdeff14a19ac6e974cb3d91946bca - ssa_ast: 5c92cdd0c9ebb26c6f654fb6338af7f06f96a2e89acc56b6a72006b939cd89fe - flattened_ast: 56f79cbbf2e8d71b684c99678fdd9408267b380c7932beb5024285a175ca8a4c - inlined_ast: 56f79cbbf2e8d71b684c99678fdd9408267b380c7932beb5024285a175ca8a4c - dce_ast: d15fcaca098c80c60b3b85bcc9242cba5e2da79c47c4ada5909db3f0f855f3b4 + ssa_ast: adb3c4a90bf9ccd1ebfbaae5dba9d2fd03de9840f03e83a3b3acd5e4e0d83b14 + flattened_ast: fd831f0aeb29b85c8b844a56bb8ac340bc5ca4af5e20f2ba31daa6cad862af66 + destructured_ast: 7629fcd941e611377630092cd991571c6abd6fe8a43b5b4fc34d0a9aea1e829d + inlined_ast: 7629fcd941e611377630092cd991571c6abd6fe8a43b5b4fc34d0a9aea1e829d + dce_ast: 1fbb3d8a5e32f16962208169bb01a0dc0185e7c46e6fa2a2b14058d9e6266a6f bytecode: e434c09cee27a5dfb5a4e9e9fd26aa2ba6e7f0653fad3a4f2a7d85983ba559c9 warnings: "" diff --git a/tests/expectations/compiler/address/branch.out b/tests/expectations/compiler/address/branch.out index 4daa377498..13b3d620be 100644 --- a/tests/expectations/compiler/address/branch.out +++ b/tests/expectations/compiler/address/branch.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 489037ec216d778e85678b6c9ddd7c3ed22e40d5481c7eda82b732dcff1f27cf initial_ast: fda233ae11ebac30a6e58ee492d4387365d7f0e6283a145e0bb826a21c1bdf9d unrolled_ast: fda233ae11ebac30a6e58ee492d4387365d7f0e6283a145e0bb826a21c1bdf9d - ssa_ast: e14fbc86c711992e3f01637298f8a821d79d589bf1bd541e7853ea661e116bdb - flattened_ast: 25192e7bec39085c873592a88fe525c52ed9690c49d46b7267d1e794c3a91c90 - inlined_ast: 25192e7bec39085c873592a88fe525c52ed9690c49d46b7267d1e794c3a91c90 - dce_ast: 25192e7bec39085c873592a88fe525c52ed9690c49d46b7267d1e794c3a91c90 + ssa_ast: feee99877633d7b0aee2bdb9b97ed55091b2263e4f53bbe986608a36ca95496d + flattened_ast: 9e461326da5baa2cde66397bbb7f47fdc661c80ebd524fce57308232aec930de + destructured_ast: 774818fa55a0cdeb6dbf549194cf8ee765b0ab5ab476fc547df0a399b099d275 + inlined_ast: 774818fa55a0cdeb6dbf549194cf8ee765b0ab5ab476fc547df0a399b099d275 + dce_ast: 774818fa55a0cdeb6dbf549194cf8ee765b0ab5ab476fc547df0a399b099d275 bytecode: da1b0a83a17b801368b0a583b158d88d9d807a33000c8e89e82da123c8041aea warnings: "" diff --git a/tests/expectations/compiler/address/equal.out b/tests/expectations/compiler/address/equal.out index 73c7a8bed0..7f479af15a 100644 --- a/tests/expectations/compiler/address/equal.out +++ b/tests/expectations/compiler/address/equal.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f385833c35da9d545935068b126557a8bfe7a03da8278004ad0c60286ed7ec46 initial_ast: c5d45e2db7f0125b43c4dbca62024edb4373143da388e36cc50d69b104f4f5de unrolled_ast: c5d45e2db7f0125b43c4dbca62024edb4373143da388e36cc50d69b104f4f5de - ssa_ast: 5f252e5635c1991bcce402e36f0c5c23d5a7a66be32044b335d7eef4faeba92c - flattened_ast: 610e14eda77d848168446ae0feb5cdc345e11125bdc520da926cd9a2077dc6b7 - inlined_ast: 610e14eda77d848168446ae0feb5cdc345e11125bdc520da926cd9a2077dc6b7 - dce_ast: 610e14eda77d848168446ae0feb5cdc345e11125bdc520da926cd9a2077dc6b7 + ssa_ast: b3b89dbeb5bf1f95be6044bfd9b141dbbd13520c5f8dc55cd2eafaf399aec010 + flattened_ast: 25316c7cd1456db14ea87c1e267026e0e5432e4605d2a1ad12b475a96c2d1b69 + destructured_ast: 85b13c8fc8c69a576032f4ad1d724a3f7bbe1964b28bac53ce6220d165e3c81d + inlined_ast: 85b13c8fc8c69a576032f4ad1d724a3f7bbe1964b28bac53ce6220d165e3c81d + dce_ast: 85b13c8fc8c69a576032f4ad1d724a3f7bbe1964b28bac53ce6220d165e3c81d bytecode: bde2653fac0393940c5400272e53492228206e50abb36ce080b95043003ee976 warnings: "" diff --git a/tests/expectations/compiler/address/ternary.out b/tests/expectations/compiler/address/ternary.out index 5a53e2de86..8bedd35537 100644 --- a/tests/expectations/compiler/address/ternary.out +++ b/tests/expectations/compiler/address/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f5626319ada04af53a186ac6d1bfef2fd7cd3a16890ea8cc4000e4abd4be2335 initial_ast: 05dffae0e56e5f568c949b18b9e386e4d53b48ca7a19be319a1f8076e5e7355d unrolled_ast: 05dffae0e56e5f568c949b18b9e386e4d53b48ca7a19be319a1f8076e5e7355d - ssa_ast: 09b223848fd8d837498bcf6c0c679a1423ecbe47596d4cd54c68c03b820e0bf9 - flattened_ast: d0b8842e87d9dac792e63e066ac6b066b27527591cb4bb8a83a907203335693b - inlined_ast: d0b8842e87d9dac792e63e066ac6b066b27527591cb4bb8a83a907203335693b - dce_ast: d0b8842e87d9dac792e63e066ac6b066b27527591cb4bb8a83a907203335693b + ssa_ast: e53c535968efd136c6fb3abbb1d04852e4829f962f321a8399d43833e1e12859 + flattened_ast: 82fdff31295796c645ddccaf105ed4c0c194dcc8e3bf7e60271d1f9ed7ac2b57 + destructured_ast: 9221e6d69335e22a1749300ac5251a5a98e61aecea771dc1ed6538222f823cb4 + inlined_ast: 9221e6d69335e22a1749300ac5251a5a98e61aecea771dc1ed6538222f823cb4 + dce_ast: 9221e6d69335e22a1749300ac5251a5a98e61aecea771dc1ed6538222f823cb4 bytecode: c0b90b7f7e80041dc1a314c1a87290534936018fb001c6e1291266a02393c6f2 warnings: "" diff --git a/tests/expectations/compiler/array/access_array_with_loop_counter.out b/tests/expectations/compiler/array/access_array_with_loop_counter.out new file mode 100644 index 0000000000..0d10afee55 --- /dev/null +++ b/tests/expectations/compiler/array/access_array_with_loop_counter.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: e4ceb61c69bd6ea4bc6189b0e05d050b6ce9ab15b321561f9a0d9bc3f4b076d6 + type_checked_symbol_table: 39b6a4995fc09260e0d1ecd5c8f6a7855a4f97a899bfd3498f7c611e16fbd952 + unrolled_symbol_table: dc9b52633c15f99daa99e8764fe57e898cb25a34e9a17c800eefcd6d5e0bab0a + initial_ast: 51e12d77c643cd64714e6c3c06190cd14f4df86229608d3ea5cd91e1ecaca00a + unrolled_ast: 8638fe91ff3b9c4cacd2188706433aa96951070fd0e3f9fde0f40a15b701723b + ssa_ast: bb1fe8756b4a0b76bf1291b3569ef9073bb82d4039b80e61730534c029e354e1 + flattened_ast: 53acab00d2ebb972b021e99ff74a87f9b8e4c55f101edf25dffb4b4bc69a9f04 + destructured_ast: 66495c5e3ff3b0f3a7e2cc22caf420cc0d5772b3d50f0820e4e2493a73fbca96 + inlined_ast: 66495c5e3ff3b0f3a7e2cc22caf420cc0d5772b3d50f0820e4e2493a73fbca96 + dce_ast: 66495c5e3ff3b0f3a7e2cc22caf420cc0d5772b3d50f0820e4e2493a73fbca96 + bytecode: 5f0cb09518f39fc62d32faa38cb42fa04dca2587eaaaa1e0ac30fa9885ce4248 + warnings: "" diff --git a/tests/expectations/compiler/array/array_access.out b/tests/expectations/compiler/array/array_access.out new file mode 100644 index 0000000000..c61ec0e1a0 --- /dev/null +++ b/tests/expectations/compiler/array/array_access.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 5ac639a39bc707c8427d221252a15a00d76ef155a5a2f7770287dfffc5045cc3 + type_checked_symbol_table: 10d6e256f34841581c8a9ea58dd3536aed5870e2c12364106aaa51697966426e + unrolled_symbol_table: 10d6e256f34841581c8a9ea58dd3536aed5870e2c12364106aaa51697966426e + initial_ast: 0b4e241587f394c98ebac58075655fc98371c03b5d7431551aa00347235d2463 + unrolled_ast: 0b4e241587f394c98ebac58075655fc98371c03b5d7431551aa00347235d2463 + ssa_ast: bc34e335c7165cf0265aadec3b2ee0355d9bca702a27502d4240fd8bedc29d5c + flattened_ast: 4c4d24b26acf36ac7edb99c801ebb6b555a26e59a532966344358ddb53c209f8 + destructured_ast: 33df1609335915c07f4115e251ccbc9ef7bed17da99f367be66da81ef287f00e + inlined_ast: 33df1609335915c07f4115e251ccbc9ef7bed17da99f367be66da81ef287f00e + dce_ast: 33df1609335915c07f4115e251ccbc9ef7bed17da99f367be66da81ef287f00e + bytecode: d5ca429014c67ec53c9ce4c200f06611379969892725237b5164737ea8100c12 + warnings: "" diff --git a/tests/expectations/compiler/array/array_in_composite_data_types.out b/tests/expectations/compiler/array/array_in_composite_data_types.out new file mode 100644 index 0000000000..095aa49b8e --- /dev/null +++ b/tests/expectations/compiler/array/array_in_composite_data_types.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 3eb83061a2a79055bbc0123f4f779f50c6ad3c6336ad697057e3cfbe2fef6bd6 + type_checked_symbol_table: ada5f23ac25bb1d9459045c27095fce0e36e746d84ca57cd7499c322773aa334 + unrolled_symbol_table: ada5f23ac25bb1d9459045c27095fce0e36e746d84ca57cd7499c322773aa334 + initial_ast: efb843c1ad9ab3c9702e6a7371a6d82ee7cee6a9373cb50f6dfc2a73e7de5336 + unrolled_ast: efb843c1ad9ab3c9702e6a7371a6d82ee7cee6a9373cb50f6dfc2a73e7de5336 + ssa_ast: 3ce96d3ff2764de26ca950390ed39d4ef11257f7c254ea4b9843f99f75607f6f + flattened_ast: b204db3b8936f01d4d8c157ceda34c5de887d622b5c4cce307dba772e2f9fa31 + destructured_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 + inlined_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 + dce_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 + bytecode: a3539a0515c22f4ec653aa601063d7a414db833dc25273cee463985b052b72bc + warnings: "" diff --git a/tests/expectations/compiler/array/array_in_finalize.out b/tests/expectations/compiler/array/array_in_finalize.out new file mode 100644 index 0000000000..22e023f336 --- /dev/null +++ b/tests/expectations/compiler/array/array_in_finalize.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 01523703092d96be1ea46237d2ad870b68f0f8ef7fa79682ac4f1e5ea7017902 + type_checked_symbol_table: 3ea7b23e139b9addd88767afc9fb5e38e758562e065d1207177bc809992ac5e4 + unrolled_symbol_table: 3ea7b23e139b9addd88767afc9fb5e38e758562e065d1207177bc809992ac5e4 + initial_ast: fd6c37c1d3bfdb869455672fb4e681d298922c1e36002586c85404bdb4026c89 + unrolled_ast: fd6c37c1d3bfdb869455672fb4e681d298922c1e36002586c85404bdb4026c89 + ssa_ast: 1e942cf925dfe322f80712480b8f50ae1a92e9dcf61a176a4abb1cd15fe23815 + flattened_ast: 8abc209407c3d146ce7ca427a237a5290d2e38be3a01a2c2a1f6228e1c7dbe2d + destructured_ast: eed0a28844641cf365cbb60e6472840d5f4f3fb6c579329e1fad47fd2e30b229 + inlined_ast: eed0a28844641cf365cbb60e6472840d5f4f3fb6c579329e1fad47fd2e30b229 + dce_ast: eed0a28844641cf365cbb60e6472840d5f4f3fb6c579329e1fad47fd2e30b229 + bytecode: 66a857f6a5e79328d146c55f5e42c6eb249b7c6c9cc1c6e0c534328b85e649eb + warnings: "" diff --git a/tests/expectations/compiler/array/array_in_function_signature.out b/tests/expectations/compiler/array/array_in_function_signature.out new file mode 100644 index 0000000000..f3ed259d0a --- /dev/null +++ b/tests/expectations/compiler/array/array_in_function_signature.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 95e740d972367a1daf68d1869ee407e5eb1f35dd0fe46daa7ce71caaeb37fe5b + type_checked_symbol_table: e99438533ef3c0e9ecc457e1f73a0a18f1be7c92b9059a928c219a0977e406a4 + unrolled_symbol_table: e99438533ef3c0e9ecc457e1f73a0a18f1be7c92b9059a928c219a0977e406a4 + initial_ast: 15d3e7ebb43814be00062892f490ecffbb9e49b747195f26d1a09fc205ccfea7 + unrolled_ast: 15d3e7ebb43814be00062892f490ecffbb9e49b747195f26d1a09fc205ccfea7 + ssa_ast: bc3a66a8636ac541a8d03f0f26272005e0d239b3b16bf302746fdd30d31c80d3 + flattened_ast: fd3240da6aa7ccef91117db4153db8d8cac563c79e3125b19352b9b08aa0b01b + destructured_ast: 72f48cc41482d9a3be974bc9637ee34e7cb6ab9a6eea28f2b0047104f1678683 + inlined_ast: 72f48cc41482d9a3be974bc9637ee34e7cb6ab9a6eea28f2b0047104f1678683 + dce_ast: 72f48cc41482d9a3be974bc9637ee34e7cb6ab9a6eea28f2b0047104f1678683 + bytecode: 0871c25bd990602b411e2492035ed37dfd4243251c0b6aed5d0937e00f91ec89 + warnings: "" diff --git a/tests/expectations/compiler/array/array_initialization.out b/tests/expectations/compiler/array/array_initialization.out new file mode 100644 index 0000000000..84c6dd9939 --- /dev/null +++ b/tests/expectations/compiler/array/array_initialization.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 3904f1aa2958b38775e38de11a75ff1ab9d4416331b916a0f35eb0147a3958da + type_checked_symbol_table: d7bba066fadd2cbffbb1552f84c707126d167b8ede1d135970f00518f6ff8729 + unrolled_symbol_table: d7bba066fadd2cbffbb1552f84c707126d167b8ede1d135970f00518f6ff8729 + initial_ast: dbd2086569b664a0d9ffd4d90e15a42d9b0a18875eedd0a31e26ab37f64c4823 + unrolled_ast: dbd2086569b664a0d9ffd4d90e15a42d9b0a18875eedd0a31e26ab37f64c4823 + ssa_ast: e757aa19fb1fa0c9d575ead35edb5788a74b8a6ff8d8a223831b4e785286a329 + flattened_ast: 974369459370638853f8bc0d0fd57e31cb1b3369940d2910243fe0723fd23335 + destructured_ast: a289bf8f301f816aff01ea96edbd593ee691cbf6ef0899fa48dd030b4c464bf8 + inlined_ast: a289bf8f301f816aff01ea96edbd593ee691cbf6ef0899fa48dd030b4c464bf8 + dce_ast: a289bf8f301f816aff01ea96edbd593ee691cbf6ef0899fa48dd030b4c464bf8 + bytecode: d3da9d2e824607fc466b21e88b3d1a8e9674c68f55be8d40694b6a19c80cf25c + warnings: "" diff --git a/tests/expectations/compiler/array/array_initialization_fail.out b/tests/expectations/compiler/array/array_initialization_fail.out new file mode 100644 index 0000000000..963f88e13b --- /dev/null +++ b/tests/expectations/compiler/array/array_initialization_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372007]: Expected one type from `[boolean; 8]`, but got `[boolean; 7]`\n --> compiler-test:5:16\n |\n 5 | return [a, a, a, a, a, a, a];\n | ^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372007]: Expected one type from `u8`, but got `u32`\n --> compiler-test:9:52\n |\n 9 | return [1u8, 2u8, 3u8, 4u8, 5u8, 6u8, 7u8, 8u32];\n | ^^^^\n" diff --git a/tests/expectations/compiler/array/array_of_records.out b/tests/expectations/compiler/array/array_of_records.out new file mode 100644 index 0000000000..6f385d98b9 --- /dev/null +++ b/tests/expectations/compiler/array/array_of_records.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372087]: An array cannot have a record as an element type\n --> compiler-test:9:20\n |\n 9 | transition foo(a: [bar; 8]) -> u8 {\n | ^\n" diff --git a/tests/expectations/compiler/array/array_of_structs.out b/tests/expectations/compiler/array/array_of_structs.out new file mode 100644 index 0000000000..624a8fd0b5 --- /dev/null +++ b/tests/expectations/compiler/array/array_of_structs.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: e8ac93eb52e18afae7ffff457a3168cc86074d0883104bc167fcbb8f3ed48ab3 + type_checked_symbol_table: 5e1ba8b3a528d5611d262eb41dffaddd07e77c8005eeb27e3b8dd263b873564c + unrolled_symbol_table: 5e1ba8b3a528d5611d262eb41dffaddd07e77c8005eeb27e3b8dd263b873564c + initial_ast: f62fe5e25a7292aa366d6a89dccb3581a0810cdf0f5021d86507046742e88298 + unrolled_ast: f62fe5e25a7292aa366d6a89dccb3581a0810cdf0f5021d86507046742e88298 + ssa_ast: a29fff635ecb9a8406dcead99860a2261ffae75fdb283ddff0bba8a08243f858 + flattened_ast: eb60269b32c74563f6ce6fc5c6304e8bc5a83df8c20f8787c019a5f32eac5581 + destructured_ast: 9eae04d369f979aabcb91e185ae7f57293a0be600e38ea7abc54e80bb75e7aba + inlined_ast: 9eae04d369f979aabcb91e185ae7f57293a0be600e38ea7abc54e80bb75e7aba + dce_ast: 9eae04d369f979aabcb91e185ae7f57293a0be600e38ea7abc54e80bb75e7aba + bytecode: 53499e77217ba5d8d146384234cbed9abe5c47abcbfe547f7bff6fbef4194a56 + warnings: "" diff --git a/tests/expectations/compiler/array/array_size_limits.out b/tests/expectations/compiler/array/array_size_limits.out new file mode 100644 index 0000000000..ae680abdcf --- /dev/null +++ b/tests/expectations/compiler/array/array_size_limits.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: dc9a652b7919e99cbb63ca541c7c1738c2fcfec2f13fc6809fd1b12cb0a5174a + type_checked_symbol_table: bdb1049769f4a3f4c08132e4e5c8ebe7693fda64b8ffb3aa0c4fc4a45ee3f0b2 + unrolled_symbol_table: bdb1049769f4a3f4c08132e4e5c8ebe7693fda64b8ffb3aa0c4fc4a45ee3f0b2 + initial_ast: 1975c75b7a4ecbaa05a48aec5d85432c3f29b5e20b81928e4e5fd426ecb5d492 + unrolled_ast: 1975c75b7a4ecbaa05a48aec5d85432c3f29b5e20b81928e4e5fd426ecb5d492 + ssa_ast: a9724f3d7b80beaec5b8eef537d313710014e40a904ec244a98b80573fd44499 + flattened_ast: e7e16d300b3b7ee9d25984281ad64990108a9358a848f7f2dc5cf1581a2f39f6 + destructured_ast: aff0a84be788a31f267f170071ab33a19485f2b0f6d2ed06d3f9e057f193c163 + inlined_ast: aff0a84be788a31f267f170071ab33a19485f2b0f6d2ed06d3f9e057f193c163 + dce_ast: aff0a84be788a31f267f170071ab33a19485f2b0f6d2ed06d3f9e057f193c163 + bytecode: 87676231f14ea25fc123a2569754b9ff0dca4a4f7cee0eb4ed6419174dd0af4c + warnings: "" diff --git a/tests/expectations/compiler/array/array_too_large_fail.out b/tests/expectations/compiler/array/array_too_large_fail.out new file mode 100644 index 0000000000..7d92fa3a25 --- /dev/null +++ b/tests/expectations/compiler/array/array_too_large_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372085]: An array cannot have more than 32 elements, found one with 33 elements\n --> compiler-test:4:20\n |\n 4 | transition foo(a: [bool; 33]) -> bool {\n | ^\n" diff --git a/tests/expectations/compiler/array/array_too_small_fail.out b/tests/expectations/compiler/array/array_too_small_fail.out new file mode 100644 index 0000000000..01d29efb21 --- /dev/null +++ b/tests/expectations/compiler/array/array_too_small_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372084]: An array cannot be empty\n --> compiler-test:4:20\n |\n 4 | transition foo(a: [bool; 0]) -> bool {\n | ^\n" diff --git a/tests/expectations/compiler/array/array_variable_access_fail.out b/tests/expectations/compiler/array/array_variable_access_fail.out new file mode 100644 index 0000000000..76fc7ff1ee --- /dev/null +++ b/tests/expectations/compiler/array/array_variable_access_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ELUN0379001]: The array index must be constant.\n --> compiler-test:5:16\n |\n 5 | return a[index];\n | ^^^^^^^^\n" diff --git a/tests/expectations/compiler/array/array_with_units_fail.out b/tests/expectations/compiler/array/array_with_units_fail.out new file mode 100644 index 0000000000..2916cd85d1 --- /dev/null +++ b/tests/expectations/compiler/array/array_with_units_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372063]: Unit expressions can only be used in return statements.\n --> compiler-test:5:29\n |\n 5 | let bar: [(); 2] = [(), ()];\n | ^^\nError [ETYC0372063]: Unit expressions can only be used in return statements.\n --> compiler-test:5:33\n |\n 5 | let bar: [(); 2] = [(), ()];\n | ^^\nError [ETYC0372038]: Function must return a value.\n --> compiler-test:4:5\n |\n 4 | transition foo() -> bool {\n 5 | let bar: [(); 2] = [(), ()];\n 6 | }\n | ^\n" diff --git a/tests/expectations/compiler/boolean/and.out b/tests/expectations/compiler/boolean/and.out index b58d250379..3727608c1b 100644 --- a/tests/expectations/compiler/boolean/and.out +++ b/tests/expectations/compiler/boolean/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 17210cdbf1e596a6355a342d5e5d855a0f883b6a30482f5d2725df7804208869 initial_ast: 1230d2984c65856b35fc0a31a4c1be26d6fad21ea0ef4f2499761ebb4cb5438a unrolled_ast: 1230d2984c65856b35fc0a31a4c1be26d6fad21ea0ef4f2499761ebb4cb5438a - ssa_ast: b1a48397d58bf4a48b33e5ca2de2b1f9ffd6e76a49120c7571684db896c177cb - flattened_ast: 2f77527fa13b5ce4eadcb9ddffa0cc72d2516ae1ac09b95dea0d5a3504a242bf - inlined_ast: 2f77527fa13b5ce4eadcb9ddffa0cc72d2516ae1ac09b95dea0d5a3504a242bf - dce_ast: 2f77527fa13b5ce4eadcb9ddffa0cc72d2516ae1ac09b95dea0d5a3504a242bf + ssa_ast: e7e251cb37eab26ffd5f1fb9985ec2405d69a807dd5e9ce5e0c20a30d0dab0ae + flattened_ast: c0a4964f906ce689b30c8f4ad85e3173cd735b6ba3f3de80bf0f59a4143f9ebc + destructured_ast: 0b8a149945b147b81ccce942d1c8c0997605604f15d1ebba687e3c91f4561ce5 + inlined_ast: 0b8a149945b147b81ccce942d1c8c0997605604f15d1ebba687e3c91f4561ce5 + dce_ast: 0b8a149945b147b81ccce942d1c8c0997605604f15d1ebba687e3c91f4561ce5 bytecode: 134904b86b96581876c2ca0c6ead651dda0dc9f2fb6dc583400133410b7deede warnings: "" diff --git a/tests/expectations/compiler/boolean/conditional.out b/tests/expectations/compiler/boolean/conditional.out index 4240f3f9f6..9d2f785f6a 100644 --- a/tests/expectations/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/boolean/conditional.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 9d797cc83d5f37e6b4b99f3e22b47f5fe06c5effa92ebc7ba290af1e8da44b52 ssa_ast: e943ed2a0d9a9f910433997aaf37f00fe377ebecf0a36a4f1d2f193b2e1bbc5b flattened_ast: 62d13645815912b6c8c3e8f22d4bed7226eea90afdf7bf0a9522ea1f79e28800 - inlined_ast: 62d13645815912b6c8c3e8f22d4bed7226eea90afdf7bf0a9522ea1f79e28800 - dce_ast: 62d13645815912b6c8c3e8f22d4bed7226eea90afdf7bf0a9522ea1f79e28800 + destructured_ast: 43fdbb452cd97dcc23bee1ca7a0349659dfbf06316f0f79073363e2dfac98e15 + inlined_ast: 43fdbb452cd97dcc23bee1ca7a0349659dfbf06316f0f79073363e2dfac98e15 + dce_ast: 43fdbb452cd97dcc23bee1ca7a0349659dfbf06316f0f79073363e2dfac98e15 bytecode: 56a9fa48a00d1b38b6f60a93ef2168b2c0ce9c23ba3cb7bffa40debfc1b16180 warnings: "" diff --git a/tests/expectations/compiler/boolean/equal.out b/tests/expectations/compiler/boolean/equal.out index 0bcbb41967..a166bd5f1b 100644 --- a/tests/expectations/compiler/boolean/equal.out +++ b/tests/expectations/compiler/boolean/equal.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 17210cdbf1e596a6355a342d5e5d855a0f883b6a30482f5d2725df7804208869 initial_ast: bcc42afbdc1ad4f680f0cca95d55eaa6a9f685586561b38af16a5e6262f72099 unrolled_ast: bcc42afbdc1ad4f680f0cca95d55eaa6a9f685586561b38af16a5e6262f72099 - ssa_ast: 8c07ea1ee429c562f40a9dcfc1c0410f598f5c090729dcb5e78e415cb3872634 - flattened_ast: 4856122ae12b6c5263679f1f5c41dd1366b8900fcb2a39427db048a00da0efff - inlined_ast: 4856122ae12b6c5263679f1f5c41dd1366b8900fcb2a39427db048a00da0efff - dce_ast: 4856122ae12b6c5263679f1f5c41dd1366b8900fcb2a39427db048a00da0efff + ssa_ast: c009b58e6b2665e7e084293dc5bbc712feb77b046da5afbc4572858086437ca3 + flattened_ast: 73306968aefe847e1fb380d926e7597243dc0fe1573d1159789ebecc2d0c9437 + destructured_ast: d4e2135ad37e4a72c95f2a5af9df6a49211bd8c1c2ed41b0dd41d7f3019b11f3 + inlined_ast: d4e2135ad37e4a72c95f2a5af9df6a49211bd8c1c2ed41b0dd41d7f3019b11f3 + dce_ast: d4e2135ad37e4a72c95f2a5af9df6a49211bd8c1c2ed41b0dd41d7f3019b11f3 bytecode: 2332d5b7ed9910dc65c885e1aeedbbde00e02d95a55caa300a9cb72456707034 warnings: "" diff --git a/tests/expectations/compiler/boolean/not_equal.out b/tests/expectations/compiler/boolean/not_equal.out index ff05de2108..44edac2079 100644 --- a/tests/expectations/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/boolean/not_equal.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 17210cdbf1e596a6355a342d5e5d855a0f883b6a30482f5d2725df7804208869 initial_ast: 79edcb58587e53c7c1f0eb8013ccd01eeca6d7e4c4a426a68fe20fc9bf5bd5f3 unrolled_ast: 79edcb58587e53c7c1f0eb8013ccd01eeca6d7e4c4a426a68fe20fc9bf5bd5f3 - ssa_ast: f2aa3936926bf3cfd28bbb8a6249e92f453dd43a7d7b533379cb7496d7cfb24f - flattened_ast: 24eb68347b3df515482dc4d06385a600709fa643ca0aa5b81f36c4b7fc579043 - inlined_ast: 24eb68347b3df515482dc4d06385a600709fa643ca0aa5b81f36c4b7fc579043 - dce_ast: 24eb68347b3df515482dc4d06385a600709fa643ca0aa5b81f36c4b7fc579043 + ssa_ast: 8779e31b99f35d1558dcf627f3d3278149a7377956fdb32ebae6e85efb29ffaf + flattened_ast: b78e14a73664f1baf8bcb5aeade9ac8d5962627b4b3ebf7427e50fd9e51702ef + destructured_ast: de24efd99462ba1aed219492741d0dbf1520afe24687e18116b19c5be10d3099 + inlined_ast: de24efd99462ba1aed219492741d0dbf1520afe24687e18116b19c5be10d3099 + dce_ast: de24efd99462ba1aed219492741d0dbf1520afe24687e18116b19c5be10d3099 bytecode: 990eee0b87d70df046bad969201ad8afabff10162eb70c00f837fde81fed4104 warnings: "" diff --git a/tests/expectations/compiler/boolean/operator_methods.out b/tests/expectations/compiler/boolean/operator_methods.out index de5d5e3870..ab534f968f 100644 --- a/tests/expectations/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/boolean/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 844670f23e97a001089c04ae83eed78640626d547c0c1c64aea5c2a38e268bb9 initial_ast: 7e2cfa5aac3bfc1b48a7f9f6a8a9ae08034ca1b2ec8e123de5c43913b461fa68 unrolled_ast: 7e2cfa5aac3bfc1b48a7f9f6a8a9ae08034ca1b2ec8e123de5c43913b461fa68 - ssa_ast: 4966aa59ea525a405edd49c7b8576b154f1f0a72115ea47cf2cf58872fcf29d4 - flattened_ast: 05dcaa8160fdd259f7474918abe0a264c0238c4b0586667047daca142d2f95bc - inlined_ast: 05dcaa8160fdd259f7474918abe0a264c0238c4b0586667047daca142d2f95bc - dce_ast: c5bc0575e256bfefe0e90427a542fa33dff34feb55acd90b561872dff82a6c92 + ssa_ast: 2198160827ddcba13196b52719326301969665024a1aa7b42e32d23b5bac823c + flattened_ast: 4e8ba94085f8d37a06e0e29fbc5c585fe913a9498106ec705ec747ce5d87812e + destructured_ast: 3e954cd381d0beab3fd16d4fd4a47bc1e8079636588999f07128a8344a013430 + inlined_ast: 3e954cd381d0beab3fd16d4fd4a47bc1e8079636588999f07128a8344a013430 + dce_ast: 745efdb617867e5cf3fd0e1d82d0f478a8c4dca2817c0645792c02bb5fa5e6da bytecode: bb260232bbd0ccede368961a31abeef5edc7e00cab3348b4b8518d4e5798a6b5 warnings: "" diff --git a/tests/expectations/compiler/boolean/or.out b/tests/expectations/compiler/boolean/or.out index 443705a605..96f96fb906 100644 --- a/tests/expectations/compiler/boolean/or.out +++ b/tests/expectations/compiler/boolean/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 17210cdbf1e596a6355a342d5e5d855a0f883b6a30482f5d2725df7804208869 initial_ast: 0e109c7a04959fa7f937649325b59d3e89479709c29e06ede802fc1b1ea49fe7 unrolled_ast: 0e109c7a04959fa7f937649325b59d3e89479709c29e06ede802fc1b1ea49fe7 - ssa_ast: 5593875a74f9f1cd82f2533794b3e12e4b7fd5de03624f40f5c22bfe03de4a02 - flattened_ast: 77c0e21d161d3a9001451e22060cff867383cfcdb3c46a56942af46d72be7f5e - inlined_ast: 77c0e21d161d3a9001451e22060cff867383cfcdb3c46a56942af46d72be7f5e - dce_ast: 77c0e21d161d3a9001451e22060cff867383cfcdb3c46a56942af46d72be7f5e + ssa_ast: 73badb463d1a5e7d176d88b9c6fbb5eafa1fcda597af71612f491346af004dc4 + flattened_ast: 094f9731fcf9d1199ced1e194c6d11454618114c5924c9b2255faedf94329ac1 + destructured_ast: 682f5acff564ca4fe40ea4dffc66e3a717c170896e0672de5d234f18e9e318dc + inlined_ast: 682f5acff564ca4fe40ea4dffc66e3a717c170896e0672de5d234f18e9e318dc + dce_ast: 682f5acff564ca4fe40ea4dffc66e3a717c170896e0672de5d234f18e9e318dc bytecode: c3a0c03f4324a6dd6baea42e664ffad91868714739e03525dcbc968582007ceb warnings: "" diff --git a/tests/expectations/compiler/console/assert.out b/tests/expectations/compiler/console/assert.out index b29aa91829..eceda01b93 100644 --- a/tests/expectations/compiler/console/assert.out +++ b/tests/expectations/compiler/console/assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 49e9824efda3a995b682f3f39333e11665cee1e995bffd650bdf5e6eec3ed103 initial_ast: deab58f1ea451f4db90480b2043948277f1842f0f02f40c29174988f0c672031 unrolled_ast: deab58f1ea451f4db90480b2043948277f1842f0f02f40c29174988f0c672031 - ssa_ast: ea589f5ff5a614842db1c727b9b84f4c9a127956c9008783dbff8d34e5f5aace - flattened_ast: efc4f9faac7af7fe88708bd27df89639738dd26bbdcf2aad9919efc0c809c1f6 - inlined_ast: efc4f9faac7af7fe88708bd27df89639738dd26bbdcf2aad9919efc0c809c1f6 - dce_ast: efc4f9faac7af7fe88708bd27df89639738dd26bbdcf2aad9919efc0c809c1f6 + ssa_ast: 007b606981279f434b507cc96f1d62b4f86e21f1cb3a0bdacd0aae2d18f69991 + flattened_ast: a66117a0bebb7b8b038f77b3e79bc31f2b70de0fe002b83bc9be7e4b7afa9f96 + destructured_ast: ce81607c4b81cc96d3a7875cbf9be2a7156b794ccea1a630d7d330919b90873b + inlined_ast: ce81607c4b81cc96d3a7875cbf9be2a7156b794ccea1a630d7d330919b90873b + dce_ast: ce81607c4b81cc96d3a7875cbf9be2a7156b794ccea1a630d7d330919b90873b bytecode: 3c391009be59588562aa4a34d1b00508cd253c94d35a66741962352c76a92633 warnings: "" diff --git a/tests/expectations/compiler/console/conditional_assert.out b/tests/expectations/compiler/console/conditional_assert.out index 0c5afd7ea2..223410f905 100644 --- a/tests/expectations/compiler/console/conditional_assert.out +++ b/tests/expectations/compiler/console/conditional_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7e6838ca6e2731e8031ed48ca064c74c37d9e75e4fc0d57012aa5ff68b2d3174 initial_ast: e1c4565a93eed04a84d007c8ef30b7de5bd807be802ddf1cbeb8b6ff39024fdb unrolled_ast: e1c4565a93eed04a84d007c8ef30b7de5bd807be802ddf1cbeb8b6ff39024fdb - ssa_ast: 8b43c0264ac14a8e19fed8b6791b395e8e8b9d3806fa822c9af62e1ea3a982ac - flattened_ast: 8addb9f5519bd1729047750d2ba065fba0ced89c96b2ef9732ced0c30af6e3a4 - inlined_ast: 8addb9f5519bd1729047750d2ba065fba0ced89c96b2ef9732ced0c30af6e3a4 - dce_ast: 8addb9f5519bd1729047750d2ba065fba0ced89c96b2ef9732ced0c30af6e3a4 + ssa_ast: 1f600bcac073f348758388a10844f89570212ce4d9113bea7024f46de5f8b76d + flattened_ast: 53042c4ec26379fe623e5c608b7ece50860ba2b81889d3e98ff1157b9a00229d + destructured_ast: 1498b8f25eedaa44fdb8e179b948e97f6b21b76db6f17421ff316174eae760c8 + inlined_ast: 1498b8f25eedaa44fdb8e179b948e97f6b21b76db6f17421ff316174eae760c8 + dce_ast: 1498b8f25eedaa44fdb8e179b948e97f6b21b76db6f17421ff316174eae760c8 bytecode: 3ff716b96c532801f4fa5310f4eedf8f96fe15bd7db3bf087e7b64a161153945 warnings: "" diff --git a/tests/expectations/compiler/constants/const_tuple_declaration.out b/tests/expectations/compiler/constants/const_tuple_declaration.out index f96eff584b..8614887f00 100644 --- a/tests/expectations/compiler/constants/const_tuple_declaration.out +++ b/tests/expectations/compiler/constants/const_tuple_declaration.out @@ -3,13 +3,14 @@ namespace: Compile expectation: Pass outputs: - - initial_symbol_table: af2effe11f5047f1accaca1df1d8456dbb355969e1e843ba37eda44257570551 - type_checked_symbol_table: 61642b3cd24a2f6303c7abf5dac2821ed2f739f5d009f448b7eef2693fbfb0eb - unrolled_symbol_table: 751fa39b0cb4c55b0bd8ac36ef03aefc90829cb4f06ed664b5915b16dbaaaa70 - initial_ast: 8ebc3bd209e971dd588b2a870970391d21d615356906752d8c384ee487ffc642 - unrolled_ast: ff52082b3ddc6b133c2c428be4c0f3f4eb477fe7ff6ef89fc940ad96d3fb2f85 - ssa_ast: 4d34b46423659ccc8de55ad07e5aac3b645e365d4f537ec1af1836a3fe5819ef - flattened_ast: 6dbafd1ee936c00a7e51ab7857f7f3d9c35bf200cd358a7fc55cf8020cb3fa0b - inlined_ast: 6dbafd1ee936c00a7e51ab7857f7f3d9c35bf200cd358a7fc55cf8020cb3fa0b - dce_ast: 3572acb28f397736363205f209e0ab81634f13fc4e5b51dacef8f1077380bd7c + type_checked_symbol_table: 354aa26afb5a249661053cf406c56c1b5434ef844d9706dd2cc6bf2d29422578 + unrolled_symbol_table: 3e547b48415783fedfc122912e44531723314de8d8838ac4a4da298463dd1160 + initial_ast: 2ccd1ec47faf9843fb8e0ca6da5d5dcf52276c48dd34382b721314de097a21e0 + unrolled_ast: 4ebdadb2b86d520022b0a2349d891c36ed3ab6776942843d1821cc7741279032 + ssa_ast: 0e264c201e6c1e26d62d6439358ae495139bc4d6c286e93cdeb9facb09bdc3e2 + flattened_ast: 719e0f42e0d9e11223268bdbf34935e84c0de53f1cddd3d95e8d904c9eda757d + destructured_ast: dbeebcc9432d84f0b87457807057f4b739ed2d32bef858e0a9998158affedd8b + inlined_ast: dbeebcc9432d84f0b87457807057f4b739ed2d32bef858e0a9998158affedd8b + dce_ast: 30988f23f89df567f63b0bc8d16a9a698a9be70fd339b9de7bd93adb827d793d bytecode: acfb8fc365ba153cf8598a04dad8ff4ac65b9df6c6356cb077fcf9dafbead7e9 warnings: "" diff --git a/tests/expectations/compiler/constants/constant_finalize.out b/tests/expectations/compiler/constants/constant_finalize.out index e22395b7de..0cf645d65d 100644 --- a/tests/expectations/compiler/constants/constant_finalize.out +++ b/tests/expectations/compiler/constants/constant_finalize.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 435f5b6da45d68cf00a82aca5b9bd6e326c5d7d2252811db0e96afd1de00a727 initial_ast: 61959475b7132f57e7ed12c3906ab0d6c988903c76df6c8691b260b0ac673723 unrolled_ast: a205b6d649ec0453b0ca23d527ce1348b7863f163d0c467bd7e6a4dd17d466ca - ssa_ast: db913a2f2cd0383a4baec3b8ea6b4e8281d7f6d32e047c125908ceddadbc4f64 - flattened_ast: e4909e04089bc18db565c5febcd6470d20b59a52ceee5124c75a37527278c880 - inlined_ast: e4909e04089bc18db565c5febcd6470d20b59a52ceee5124c75a37527278c880 - dce_ast: e4909e04089bc18db565c5febcd6470d20b59a52ceee5124c75a37527278c880 + ssa_ast: afae242e87c91fa70c0abd826195ac7af5b47f175dd07fdacbcd0041ecd618d7 + flattened_ast: 879662b73419e6490db8cc3b61841f4886d902fc2c609a21f272a38e448bb90b + destructured_ast: 6470dc29b5444c94ab314dac385e4a463c029e3a354017395d8b2cb27d7d6393 + inlined_ast: 6470dc29b5444c94ab314dac385e4a463c029e3a354017395d8b2cb27d7d6393 + dce_ast: 6470dc29b5444c94ab314dac385e4a463c029e3a354017395d8b2cb27d7d6393 bytecode: 34335e40c3ca26e00044d055cc0cb8d262fce1ac49a4940b36b1136e0772d305 warnings: "" diff --git a/tests/expectations/compiler/constants/constant_loop_bound.out b/tests/expectations/compiler/constants/constant_loop_bound.out index 19c1dd21c0..00c2a9e5da 100644 --- a/tests/expectations/compiler/constants/constant_loop_bound.out +++ b/tests/expectations/compiler/constants/constant_loop_bound.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c00e0818651bd9e2c068becdf3819b8d46238e0cfad46c87791efa9c97c6f9de initial_ast: 2dbbe65e1c52193086a1520225a50b473061b677bd1908048edb1a5273f47468 unrolled_ast: c6f6ce39448f9555332a7979b0bec1c4ecdb098f8fbf9772e71a1bd2127f55f6 - ssa_ast: 6f61ff6e46f92e46c1800f4abc0fa54d0eb4bf63db03710660db9f396814cc23 - flattened_ast: 27252c4bdf725994168b9ca3753674d203247965c98ca31405cdc8b4167f143e - inlined_ast: 27252c4bdf725994168b9ca3753674d203247965c98ca31405cdc8b4167f143e - dce_ast: 27252c4bdf725994168b9ca3753674d203247965c98ca31405cdc8b4167f143e + ssa_ast: 4ad2ae79b0ccfdcf7f8116b3c474cb9baf4d821e14fd03e0bd4bff245cbdab98 + flattened_ast: e5973202d7eb484a2b128036a84b861396799cb3317b074a9b22073b0f71d27b + destructured_ast: 0183970ddb94e40469f5f069924809b9653e2fb822a7d1c22ad6ca11a1f30fa4 + inlined_ast: 0183970ddb94e40469f5f069924809b9653e2fb822a7d1c22ad6ca11a1f30fa4 + dce_ast: 0183970ddb94e40469f5f069924809b9653e2fb822a7d1c22ad6ca11a1f30fa4 bytecode: a6350aaded46f7047061f7e68a8ae41eb8aa0d29f02560257ecdc582a6c684f9 warnings: "" diff --git a/tests/expectations/compiler/constants/loop_unrolling.out b/tests/expectations/compiler/constants/loop_unrolling.out index 9e276cf3c1..d2457b2b72 100644 --- a/tests/expectations/compiler/constants/loop_unrolling.out +++ b/tests/expectations/compiler/constants/loop_unrolling.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: af56532f8dd6c6ca6f5fc8af3667202298898a54fe2f871a7874684a712f141d initial_ast: b9d0113b833372065436c1cb86786974b4b63a8d459f3ba2876abb079da29652 unrolled_ast: 3ad019aa406a4d53e9c3033bbe71e82cda487689313db264f4b4af998c692cbe - ssa_ast: 4ea88afd9b4aebe973af63e4e1f88654e61f15434746380a7e362f695d086d79 - flattened_ast: dfeff40306a3d6a87c14f993f6ed9fec397c8f22da13e5929d1a288175c43e02 - inlined_ast: dfeff40306a3d6a87c14f993f6ed9fec397c8f22da13e5929d1a288175c43e02 - dce_ast: dfeff40306a3d6a87c14f993f6ed9fec397c8f22da13e5929d1a288175c43e02 + ssa_ast: d9490e003c60be588473aeef116df6337c8ad8a9305468f9dc5ec048206ec313 + flattened_ast: 35d111be38fa4317a7fea070d274fc00f24c7d791b0d0e6843adfe93a2075733 + destructured_ast: b571a1309f7a6aa56ab54d517ff7aec844c3d4eef3383f1fdf5c2be403656d32 + inlined_ast: b571a1309f7a6aa56ab54d517ff7aec844c3d4eef3383f1fdf5c2be403656d32 + dce_ast: b571a1309f7a6aa56ab54d517ff7aec844c3d4eef3383f1fdf5c2be403656d32 bytecode: d9595550f8a3d55b350b4f46059fb01bf63308aa4b4416594c2eb20231f6483a warnings: "" diff --git a/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out b/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out index 61f0d546b0..1161c59e83 100644 --- a/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out +++ b/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out @@ -4,12 +4,13 @@ expectation: Pass outputs: - - initial_symbol_table: c6a4e40ae8f466c3ff6bf5d356d6ba89684438f88015e8ea23ff43eadb662b49 type_checked_symbol_table: 1f2f455b3509dd7c93fa6799a0f3f01843aaab11efbc772223dcb5de29ae93f9 - unrolled_symbol_table: ff911ea4ffadc4a3ac5e7f81af922dfb248befd39a4e178c0b7ba795b30f8080 - initial_ast: 9b2120a39d6e04dfbaf16a794a6d2e0dc9fd67256210572d85a959c593c6b07c - unrolled_ast: 5b36cdd4106acc7a27c70f02f0e2562ba97f86523e06ae2d384b3617f6362460 - ssa_ast: ae7908bc7fa1b46f457c1bba57871e3a46f2826d1c508c17f4e6cdf21b483307 - flattened_ast: 1c45e7b12455209eb5a0c8d4f344ad74a592e0a4dafc5e70b5a40a8c70efad24 - inlined_ast: 1c45e7b12455209eb5a0c8d4f344ad74a592e0a4dafc5e70b5a40a8c70efad24 - dce_ast: 8bebed7b5a44ab7f63d2c178dd9544cd85f3e062e98f5366097f52aafd05043a + unrolled_symbol_table: 1ff2f86af30a607b97e5d1795e0ff64aee075c340aa13d8c1b98df2595eddd58 + initial_ast: 9530c7e78d03ec28b1056fc032e4650804f6400a4db28bda5043bb9620239e3f + unrolled_ast: 4212656f9e842c33d311532cfd17abeb35e978733934bba4dc0341db8d017816 + ssa_ast: d8cc68aa54c8bc10eede2062c58bc053000810197e6e985e8e38c2ede9fabcd2 + flattened_ast: 1acedd5630a3986936a07cf263c65dc53ae6b222fa14893bb7048fb380b8c626 + destructured_ast: 9a4e96914eb201f97154659fa5eee2eedc61c3b3fb240dd93118cd1dcc71222c + inlined_ast: 9a4e96914eb201f97154659fa5eee2eedc61c3b3fb240dd93118cd1dcc71222c + dce_ast: fc92683ac9ce9793fdfb9d9caab15aaac002d037529b5631fd68a98cc803d60f bytecode: a5ef8b434b2a8b1939f1d042fd5706c996e0f1905bf2395a0f140cff779ce48a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out index 5d2e9599af..aa4be36a1c 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 707f488348423358f9abd38688d3501da41a6b6ca5655302a7ade6e656b05e58 initial_ast: 0bdcba2b21cdbd5ae3bc8da0fb9273bba11ef0d7d5230d71bd44bdebe1462c40 unrolled_ast: 0bdcba2b21cdbd5ae3bc8da0fb9273bba11ef0d7d5230d71bd44bdebe1462c40 - ssa_ast: d6d1976c83794ffce05a8104a258fee33c7f589ead2d7ad1898d432867d4b537 - flattened_ast: 0661170e45eca982f78b9d1d4168b8ffffc0c380d5ff62782e2d8584c5107889 - inlined_ast: 0661170e45eca982f78b9d1d4168b8ffffc0c380d5ff62782e2d8584c5107889 - dce_ast: 400d3c5afea885f465bddc658cd7d47318f5d46510f176dcfc72b17a9e66da25 + ssa_ast: af943d9bceecfd6184adc84565ab2e44fb71ba8bf328acdcea6c989cfb13f1ea + flattened_ast: b26cb1a76dad8c309c6111e9eb81c956e239f43e855c098ba88549ddc4fab452 + destructured_ast: 9c4d636b274a4e8e903b7a3311e9e1ee626462c2d279ad0bfd366c1c28162bac + inlined_ast: 9c4d636b274a4e8e903b7a3311e9e1ee626462c2d279ad0bfd366c1c28162bac + dce_ast: 6304d75c046e6c27f90704512dda42496245a17fad1419c286f66addeb4babe7 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out index 3cb3971d4c..94ab8080cd 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bc000e895baf69a211930d29f38a0526e602ffebbe81b996fe8d88ffcd793239 initial_ast: 7c1c5f32dc8e6c2df08def9fcb62ead989d6e954466ec25a89be6df64d2688f2 unrolled_ast: 7c1c5f32dc8e6c2df08def9fcb62ead989d6e954466ec25a89be6df64d2688f2 - ssa_ast: 955e3d41696e6a8c12817de45f8906c66d46f5925175dfd13a085b7c2d8767ce - flattened_ast: 373e1ee490001589ef40e16ffbfc4f1ff46dfc9579957e7d79102faf2c729914 - inlined_ast: 373e1ee490001589ef40e16ffbfc4f1ff46dfc9579957e7d79102faf2c729914 - dce_ast: 0d731eb0ebfe1cb01eedb95ad9da6686641394cdeaab779e134498b9b90b19ec + ssa_ast: cb9e0806a384296b40295ded87481c0611ff0d7f55c1a1ed8e84b156c3dcbcc8 + flattened_ast: d372ef0d39845250ae740bdfe191a24b0a09b8921c80439d73ff0bccb686388f + destructured_ast: 6317280381e6051fb8701344b67d50ec8cdc9c3ba347fe599bebb610ded1774a + inlined_ast: 6317280381e6051fb8701344b67d50ec8cdc9c3ba347fe599bebb610ded1774a + dce_ast: 762196965791128d4e449153bcb66423a41cfe4eca05bcc21ad85d744b705f43 bytecode: 89209e8d86f847dbf47309d0092ee98ff4c7e72f93c06aa16b185b87931b4163 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out index 6334e1059e..c4ccb6f7e2 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 6a11c5ee68545ccc1cffedc8f6857984e3ed36eed8f01de02ae197aaae73c0b7 unrolled_ast: 6a11c5ee68545ccc1cffedc8f6857984e3ed36eed8f01de02ae197aaae73c0b7 - ssa_ast: 537c9922205d70b34b1d8b539f16edeb2e443cb499e033964a420e7852a0b60a - flattened_ast: 7e245dcce357bd04df8f9fbd921e213afe1f5437afaa3badc8a1d7509705d516 - inlined_ast: 7e245dcce357bd04df8f9fbd921e213afe1f5437afaa3badc8a1d7509705d516 - dce_ast: 6fda1607d973892094032350124cc2f50785ab4dda31a51b8898a6e386673357 + ssa_ast: 3a99becc5d7d74e9868b64ff921a64d5e7983086b45de90399fe5b386af95bfd + flattened_ast: 456ebd6815ac2852599bfa3367449cd24b4b84bbbe7baa8d29ca82ed86ee560d + destructured_ast: 1b2e154449b28b993e881ea481294e3a3bf805f5251ccf7d2bce1ddaaa665539 + inlined_ast: 1b2e154449b28b993e881ea481294e3a3bf805f5251ccf7d2bce1ddaaa665539 + dce_ast: 4c6334f90b73eaddfd677f8e936a40dde647a1b0da0e185f063219b6908fbd25 bytecode: 44723f1147fbb09b330db772453005ab5dae98a53925a9dc45b66daa51584290 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out index bb569820de..4afa97c2a4 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 87b2a13ce89d9376dd5a2e37d311ffcfe88aae18ea8012e282d2e49cad957808 unrolled_ast: 87b2a13ce89d9376dd5a2e37d311ffcfe88aae18ea8012e282d2e49cad957808 - ssa_ast: db4b9361a03e0ab75357327f4a37769b0d7c09ab58888f1f486736ea935954fc - flattened_ast: 0c1d27e7a36e645cf3b6d5e006342c34f0c2520e8296eede6d3e9ddf548f3ef9 - inlined_ast: 0c1d27e7a36e645cf3b6d5e006342c34f0c2520e8296eede6d3e9ddf548f3ef9 - dce_ast: dad8d40677bee007170d211b19cf8ab47a5a541b65caf52a48a96e8cbbb68fcd + ssa_ast: dcdc4a50e436dd1875362023f708f9c3e26541ba5083d3b68000f91138514473 + flattened_ast: 5dcc68cf7671c691efc5ddce405b87bbba99b910e9a9fd9efff7cf886f76f6e8 + destructured_ast: 1384715c73e37d79730686d1a1d17f51a93ec3845efd1cfe9d4f5bc9ab0cfe01 + inlined_ast: 1384715c73e37d79730686d1a1d17f51a93ec3845efd1cfe9d4f5bc9ab0cfe01 + dce_ast: 2d99bbc36a4be22150aae95f03494425bad78ffab7384249eb6a4ae622125da3 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out index 28fad7a759..d1dafdf939 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: ad4db0ff2c5abda9e47d9d79c34f8a4ab3064c04045c822b32d24c9a1d810e05 unrolled_ast: ad4db0ff2c5abda9e47d9d79c34f8a4ab3064c04045c822b32d24c9a1d810e05 - ssa_ast: ac70f4798f8c81a8c3b5ac0dc80f30e258d4c2ea062b48800c2a5c524902bc12 - flattened_ast: 3674596a06c93a888258833925b618c93e6cd07aec2d4a303fb9557916e63422 - inlined_ast: 3674596a06c93a888258833925b618c93e6cd07aec2d4a303fb9557916e63422 - dce_ast: dbe71fb61505349e1006912353783990fb84db55633802e4252750635f66b4e7 + ssa_ast: 04f61aac156f7cb94f333bff93ff8dd63ee68e50ff9743b9c0763812962263f2 + flattened_ast: 42fa9a04188e2effd0e9163930fae3ed0f7540dc05f436855aad2d0230b5ebf0 + destructured_ast: 9d95523b25d580c248608814b35c28795c154a4c52bc40f63cbeab88a57cef8c + inlined_ast: 9d95523b25d580c248608814b35c28795c154a4c52bc40f63cbeab88a57cef8c + dce_ast: 2755ed975c9a1f27c7afc3a79821d59b523ed60e298aeba597e3424c655657e7 bytecode: 1ee04c880a78442953925baa8e3c60e416d77c926da80774db6961188aaba65a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out index 7a2efe2841..98d9f10367 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 8b21f9165003c94b704a782f6335122cee04f9c79993b4b8789876fb1f9ac499 unrolled_ast: 8b21f9165003c94b704a782f6335122cee04f9c79993b4b8789876fb1f9ac499 - ssa_ast: f5cd048c4ce417ff5c2c5e4c7b952c79368ca8029b8b5e5fe864428fdfbbb6b4 - flattened_ast: b28c822242c2e203584c84916f73c03b0b6a3ad6b6357780d386f0048750f768 - inlined_ast: b28c822242c2e203584c84916f73c03b0b6a3ad6b6357780d386f0048750f768 - dce_ast: e4e67ad8e73221747f92d6fc94017831ffb45c678dfa9e401d2649ef95854e47 + ssa_ast: 6e50674121ba5919bfef14f14fe5ccc4b5733e794945faf35b640a907078f9b3 + flattened_ast: 756d4bd068213393998b629e3272e950a3f61dd9b256c5045132bb40356204aa + destructured_ast: 7e18974ec9720c6e2f1ee69beea391b29bc4e1a8c75839b2b52168d89becc02f + inlined_ast: 7e18974ec9720c6e2f1ee69beea391b29bc4e1a8c75839b2b52168d89becc02f + dce_ast: 7f98eaab89a649fc32eaa6466460a41ea4da9bd2d3dc89ad6e36a5891603110e bytecode: 6e17954a1a55bf11bcac1b381fc6a82ee849f92a9af06d755ee3d6e3cd3b748d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out index b95bbc2491..22b17420e1 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 7c91d08f53a0142ec3fc54e0c258ef3f4e9a6f85781ecbd90444122b1c5df1b3 unrolled_ast: 7c91d08f53a0142ec3fc54e0c258ef3f4e9a6f85781ecbd90444122b1c5df1b3 - ssa_ast: 4a08261cba80a028d2163382f3966b129eb8e8ca6f17960cd5bc9cebbb6e1b1e - flattened_ast: dd194ba3106ae32c83f95ad9f2a5eff6f5d70c0886c9314880aae83d5feb98ae - inlined_ast: dd194ba3106ae32c83f95ad9f2a5eff6f5d70c0886c9314880aae83d5feb98ae - dce_ast: 3c7d71fe52dfad0253bd96c54b53acacec3efba3ee8184eca67fbfdae883831f + ssa_ast: 0d448a1106b423365064bb8913a728ccb126cfacb7df74eefa12119b52c832f5 + flattened_ast: 65acd325296acb66a29c869bf0ae044f4edaff9d0e7919e3fe43b3218d4a587e + destructured_ast: b3bf1fed587676f2bcb33ee7e3931566fe322cfa1044ffd2878e687526f8eaa9 + inlined_ast: b3bf1fed587676f2bcb33ee7e3931566fe322cfa1044ffd2878e687526f8eaa9 + dce_ast: a78ec5cc05184f4c0fa577607ee5d1351d29f5a60560b5dd102ca6898a687de3 bytecode: 16448534dab09040c482f623815abdd0bd2e330d2cb99bc095142027c80e9bf0 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out index 491854fbce..58fac54bca 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 707f488348423358f9abd38688d3501da41a6b6ca5655302a7ade6e656b05e58 initial_ast: eeb8399b225506efe148a2523c0b7aecfd3cbcddb4e8adddcd2aaf2d10f172b6 unrolled_ast: eeb8399b225506efe148a2523c0b7aecfd3cbcddb4e8adddcd2aaf2d10f172b6 - ssa_ast: dc2df94fc339ac6514c11f15d13db2b07c668931e1cc3dc1f197081afd06c1fd - flattened_ast: 4271a06c09b1e8dc6ef4f26e04eb37684ebf5d6b45a19c247e49cd770fc57807 - inlined_ast: 4271a06c09b1e8dc6ef4f26e04eb37684ebf5d6b45a19c247e49cd770fc57807 - dce_ast: 3726bf05e0d252cbd941c274e38d9e5b4efda609a85347b0292522fd4efac998 + ssa_ast: ada3c72d9b7620b647d6e342b2597599c307b15526ff874963cdbcdb941c03fc + flattened_ast: c7467d90bea5b3fbdc8a42f7409fb46d4b0de938a64dad30b228b35788eab4e3 + destructured_ast: 7b337fd7e3e14ddfdc20e1a2f0a9a91ea384f9fd9b4011ec50b67d170e8bbff8 + inlined_ast: 7b337fd7e3e14ddfdc20e1a2f0a9a91ea384f9fd9b4011ec50b67d170e8bbff8 + dce_ast: acb51909fece2710d60c7583c48ff6d9d559fd18d375db64650d7fe02b15cf35 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out index 2716819e26..e536dec0a7 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bc000e895baf69a211930d29f38a0526e602ffebbe81b996fe8d88ffcd793239 initial_ast: e7dbdf552bb2bf8ff368719cf16002b7b57d2d2f2e824ed2999b31e49f7d0230 unrolled_ast: e7dbdf552bb2bf8ff368719cf16002b7b57d2d2f2e824ed2999b31e49f7d0230 - ssa_ast: 48b870f20011e8eed2aeb6c7178c3cc1d1fa7cba7801b08f5be53cc830a8fe40 - flattened_ast: 3f783e4fec05a7ea75270661e7885054541e83bbd711312ab136a9797bb303b7 - inlined_ast: 3f783e4fec05a7ea75270661e7885054541e83bbd711312ab136a9797bb303b7 - dce_ast: 932b71c2017853add5c4cc02e689055924c940aef756cb28a50b2bfbeaaa6b44 + ssa_ast: 2c05e49053cb384ed912864b21792335d843c1c41cb7f6fc5a2409d58a968790 + flattened_ast: 3e43ff2f581f75d272e8ee419ba543d21cd376db0a6176a49447bf146675dd8b + destructured_ast: c5e9d74ddc1536e626752a2856dda3d279822f6d353b60c6f4d27ea880052fb1 + inlined_ast: c5e9d74ddc1536e626752a2856dda3d279822f6d353b60c6f4d27ea880052fb1 + dce_ast: d0e876d27bafcd1e3b54b3584f4bf78bb5116e5a31bc842529c3256d028ba7bd bytecode: cbaea392a3a5a598090b5c75eebfc840f9fd1f4dd9460704bd82c17acfedcedf warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out index 0f768bea34..c74c5b90eb 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: a402d3b3cd41c80f5359be4db008ae2cb6fe710192a83bfdd5fb7b77586f002e unrolled_ast: a402d3b3cd41c80f5359be4db008ae2cb6fe710192a83bfdd5fb7b77586f002e - ssa_ast: b52c10e0f5a97127e9be8e8ddc8fbdf635a8fa5021652c71c5869c54835b121b - flattened_ast: 537bf4b27d3b5c00557374869b1ba50a92bd29cec4d5f094e387ac94ff8aa3af - inlined_ast: 537bf4b27d3b5c00557374869b1ba50a92bd29cec4d5f094e387ac94ff8aa3af - dce_ast: 604a55207fef725a752737364931dcfba63b11a3fcc501e3d2afd4fb57c29329 + ssa_ast: 99be22ce251b5914525aa18e53000c6827894af52bb60e84d70394b501fcbcdf + flattened_ast: aa4d7f03d641bdd4f6cfbcf84afc0a7273d13c51434e8790e826f949a2aa8968 + destructured_ast: 1d17c44f41db81205d6be3873f44b33a9b0ffb6913f7ebf1e1f50cca8d6ac7c2 + inlined_ast: 1d17c44f41db81205d6be3873f44b33a9b0ffb6913f7ebf1e1f50cca8d6ac7c2 + dce_ast: 081452008f216aa48c4cf9e7c722080457eae99240c67cc7536e82a1f608a0f0 bytecode: 5d5cbe495e958d3762c2656dc336bd9fd903b5e0b8b51684f3556ca4b5281344 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out index 729d025f09..ebd271dc9a 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 219f34407ba8e4183d18adfcc5422c5af836520621d834f3b67c78fa72fedfb3 unrolled_ast: 219f34407ba8e4183d18adfcc5422c5af836520621d834f3b67c78fa72fedfb3 - ssa_ast: 9b38f60e27dfc0fc0b380fcdf50c88b300cbe71de86876ad65ca3d806e70983a - flattened_ast: 8316361420dbbbd8135d0b1b67198eabbe7863ae4f3d3f989567352a4ac91a78 - inlined_ast: 8316361420dbbbd8135d0b1b67198eabbe7863ae4f3d3f989567352a4ac91a78 - dce_ast: 4e8639b5e5be9deeec6faba7d123068a5c1c5118f5a5745f31452da1c8b0386e + ssa_ast: 0730a4909202b7d5d48aa6b5c5c466ab81b3926e7107d2840f720cd66beb7972 + flattened_ast: d6542038723d972e6f1b982e9fe3c987e44626926d37575832bc846f5cfd8256 + destructured_ast: 073350b1ddc5bf5e0133ef266e197e47627ed547049cf9b08deb09930166373b + inlined_ast: 073350b1ddc5bf5e0133ef266e197e47627ed547049cf9b08deb09930166373b + dce_ast: 7a368156ff9a3fd498619f6db9b618d7c48f7daedfa6c825a550949e670adb8d bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out index 5d6b3b0d91..8e7452d942 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 2514fedba1504148a17d6d3b5cb8469d40bb639c96cd64995d3625c807f1a16b unrolled_ast: 2514fedba1504148a17d6d3b5cb8469d40bb639c96cd64995d3625c807f1a16b - ssa_ast: ef5f02195b680c0a3ec523886749af3e12f55ed57fb92c74c79798b78cba7641 - flattened_ast: 33f1dd4fe5b8ed48eff48567bb27d409f0c67532196302d3ec3b016390213291 - inlined_ast: 33f1dd4fe5b8ed48eff48567bb27d409f0c67532196302d3ec3b016390213291 - dce_ast: 6c010f5e9156e532c644d5a078965de13d91ccf129718ef16e0735736b0624ab + ssa_ast: 799a06184db08f2824c9914faf814f66d8ccae677a46e02a455fc23a24b95b44 + flattened_ast: 61ad52b47f899189b41976eae51612986c1c6a857c602def85a5730aa8ef4313 + destructured_ast: aee3a9d88f3f9bc9451f0bbac3e45cff8d8964f5aebbfbfaa43060d87a9a41b7 + inlined_ast: aee3a9d88f3f9bc9451f0bbac3e45cff8d8964f5aebbfbfaa43060d87a9a41b7 + dce_ast: 6f0d3942a24d1e444ac09743ecdbfbdcc242bd9d07163fbac8ecf743e29bd9de bytecode: 928ec4195678229549fe7ec5b3291d7c72afb95787099dbfca6118539bcc2fd0 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out index 52e18fb024..b5da33af0f 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 0bdc605f34e0989a5c929067e9fc81505b3b6e0cbbeb8fe271db8e3f0c2210d0 unrolled_ast: 0bdc605f34e0989a5c929067e9fc81505b3b6e0cbbeb8fe271db8e3f0c2210d0 - ssa_ast: 475f99a32ecd862304276c9a3edc5d9f06408977751a7b6afd3ca3ceeec4cf70 - flattened_ast: 4026a606847b7974f51b6d669ddffa48a3360ff472e4b15283d8057137190cd1 - inlined_ast: 4026a606847b7974f51b6d669ddffa48a3360ff472e4b15283d8057137190cd1 - dce_ast: 480dd2899a5881159b251473eabb518cfab776702d59df5d1c9de55abc2c3353 + ssa_ast: 505306d46dd88eb9abab5f68d7738725eb1b0c1911693e10c5189bdda223b2e6 + flattened_ast: f7938fa0c5c5538333c2798191acdf4eaae6504369280ddf79503b3976273b9e + destructured_ast: aeab7d7c1f6519fbf8c3061d30212f76253100dc8b000c4fff0120c1fc831c23 + inlined_ast: aeab7d7c1f6519fbf8c3061d30212f76253100dc8b000c4fff0120c1fc831c23 + dce_ast: 76cd275382b0c9ac7fd505353e0e5fcd162409405245b42f360d706fc452ec3b bytecode: c87c15be54d6c1ca80ab86ca735443a949fd9e3bdf7534136ec4c9bb5443fa77 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out index 98761d03c3..e5fb1e216e 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 4f6c4bccb8aea3dacedef07df09e351edb736bbe1e0628ba869143cb661ca27f unrolled_ast: 4f6c4bccb8aea3dacedef07df09e351edb736bbe1e0628ba869143cb661ca27f - ssa_ast: 93548f8408227d83632e4c8918d9c6977d9a97704369fcead352d02117cdbe52 - flattened_ast: 194aa301beabe8a5cbd853e7eb06dc899dc05b8d41dcf20dcd6d55f9fefb72cf - inlined_ast: 194aa301beabe8a5cbd853e7eb06dc899dc05b8d41dcf20dcd6d55f9fefb72cf - dce_ast: a4cf5e881438e49c2ac1067d0e42aaa08190ca1f8aeb9b71140a6cca829895d9 + ssa_ast: ca5900108663548585dd007d693219b87f49d5ae177c880e68bf1302059742c7 + flattened_ast: f6489b88b5352884d11eade6a783c61edea41f4be4feaed4dabfbdec384190ee + destructured_ast: 51789ff6028f28315ad219502e1b51b34a1412ac2c891f989566fa7e04889251 + inlined_ast: 51789ff6028f28315ad219502e1b51b34a1412ac2c891f989566fa7e04889251 + dce_ast: 1bd33956a94cf982000bc57e99f7d3f5ae60f421f4b1834e918e339644493a5c bytecode: 39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out index 892a98c8e2..400ef2b631 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 707f488348423358f9abd38688d3501da41a6b6ca5655302a7ade6e656b05e58 initial_ast: 92c83f1fdcd51d6ac226ffef7dd62eadf0c16ab5a28e0ee8bc1cebae84cb7c71 unrolled_ast: 92c83f1fdcd51d6ac226ffef7dd62eadf0c16ab5a28e0ee8bc1cebae84cb7c71 - ssa_ast: 8c60001174324964273490774da253abed5ed74801c8876d8177a978e8d1f9cf - flattened_ast: 2111de9d43eb4d3137580fcfb014b9b7f94895d91542178a78f775715ee292e0 - inlined_ast: 2111de9d43eb4d3137580fcfb014b9b7f94895d91542178a78f775715ee292e0 - dce_ast: 3726bf05e0d252cbd941c274e38d9e5b4efda609a85347b0292522fd4efac998 + ssa_ast: 2b0e74856540238a46b54d3b3100adb5fafb19930d82709772d5b15996d3bd57 + flattened_ast: 6b8de3c4ec23ead2411266d04418f68d9b3a67ee3127a3682e8cf303456b4ffe + destructured_ast: 1ba302a2fa1d40a8af8b3f0a067230abcc0e0d4cdf10ef5bad4499be665001cb + inlined_ast: 1ba302a2fa1d40a8af8b3f0a067230abcc0e0d4cdf10ef5bad4499be665001cb + dce_ast: acb51909fece2710d60c7583c48ff6d9d559fd18d375db64650d7fe02b15cf35 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out index 146ccedc8e..63158c0697 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d24bb2c4dc7ba6e56f148f959767d6cf0f0ac2665063b901cc7794cf15a0114d initial_ast: e9eb4181a35af92e2ee918944558874be423b015a5aff3399a52d4972cddc197 unrolled_ast: e9eb4181a35af92e2ee918944558874be423b015a5aff3399a52d4972cddc197 - ssa_ast: 6c7e7cb73fb5ef2dc079a02f4ae124676341495542b6dc7c42dcecfe8b68d3b2 - flattened_ast: 0074e2925d746fc17929bb7dbc7e62dca968387742bf56575e6a26658d4afc7a - inlined_ast: 0074e2925d746fc17929bb7dbc7e62dca968387742bf56575e6a26658d4afc7a - dce_ast: 39af2084410ae6265bae21e82d890255681984e695f3d7e842207bc1c6e49adf + ssa_ast: 3b9f15cef947d7dab90fc80f73446da8fca2bf5f5d6649d8e74e00d5b8c47fcd + flattened_ast: a04addd91571ad97d4f5efe590d2b052c4441912673ab1e261d3b2a4076dcd9b + destructured_ast: cfc321865823b43ca64e889ec4bc209bee32ce6f8d93d0c163c7c017e5c59151 + inlined_ast: cfc321865823b43ca64e889ec4bc209bee32ce6f8d93d0c163c7c017e5c59151 + dce_ast: b95fea8afaf93e834fd86223e6e0ab9f89478d3e0d60441662e6187900a47b4a bytecode: 1a32babe51dec0ff82a035139fa96069e6b0f7b9e7ec8f08f0802bd076deffc9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out index ec81616dbc..e34fd2d3f2 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 056b6333ed0f8db7e114f9f5c662793fa33bbe618825cea8943e3033e01f84b5 unrolled_ast: 056b6333ed0f8db7e114f9f5c662793fa33bbe618825cea8943e3033e01f84b5 - ssa_ast: ef973d8b1a88534e1bc1c156277aed4ff216fbfe1a2c237450ddaff17bcdb630 - flattened_ast: 96ebf4f3eef46d43d191d3d6656d9ae60161705606ab2611d47161c28477b38d - inlined_ast: 96ebf4f3eef46d43d191d3d6656d9ae60161705606ab2611d47161c28477b38d - dce_ast: 951d5b0050d4cdbcea53291c52d039a884e7a6be783bfc528ceef8d6ba868329 + ssa_ast: 7bbbd57fd9fe5325c44396d9a4a9b006f84e91f0cf7801072a86d6aa3f9802bb + flattened_ast: a5d0f6302e225195e983753873fcee0a9f06b9a5b0a5f898dd8b699c9bd34d8f + destructured_ast: aaa2a8ab1906882965becc857fdf6cdf0a16c9a6a943dc0ba52ab03b1920ae64 + inlined_ast: aaa2a8ab1906882965becc857fdf6cdf0a16c9a6a943dc0ba52ab03b1920ae64 + dce_ast: 3ca86e905ba930a5b8a33ffd363c737a576bb183a449bb86794d0f13d8da6ee8 bytecode: 834629ba3e42f71f47ce3499d777661c415ac89ad9d797c54ec4267202d48690 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out index cb8f935175..093343aa5f 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 2d8dbe4bf137a6f7054f5240790828e87185972393fba8b9113080ab841c3233 unrolled_ast: 2d8dbe4bf137a6f7054f5240790828e87185972393fba8b9113080ab841c3233 - ssa_ast: cfcffced1e0393fb87788cb2b8f2fb4c84504a7919ee1cc07b363ce24683f2a4 - flattened_ast: ecd71cbe71dbae7fa2974e9c84a7207e9ff29088246ac25d5200cfd97362a464 - inlined_ast: ecd71cbe71dbae7fa2974e9c84a7207e9ff29088246ac25d5200cfd97362a464 - dce_ast: 4e8639b5e5be9deeec6faba7d123068a5c1c5118f5a5745f31452da1c8b0386e + ssa_ast: 05f32de2a907807d88e823c5d96a1b9402938e0e9525c30e9395a69fd950b470 + flattened_ast: 3bfc36b5b995a00653c8c17bf24f5e1c49e3c718d78aa1e6ea36ca06cb181f1c + destructured_ast: b1a822561008087469fa55e57531fc66d107885fac128e95302ff7879d0e116b + inlined_ast: b1a822561008087469fa55e57531fc66d107885fac128e95302ff7879d0e116b + dce_ast: 7a368156ff9a3fd498619f6db9b618d7c48f7daedfa6c825a550949e670adb8d bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out index c45109a9f8..1c380a35ad 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: e791c21fc0e6a61e0dff6b8252a89383a787f80d5ce68f837b98e5a3c783400c unrolled_ast: e791c21fc0e6a61e0dff6b8252a89383a787f80d5ce68f837b98e5a3c783400c - ssa_ast: 0ab3b8bb9f821fb55eb0e31a6cb85ea0bc56bde890cb59c04c976831b02fa1bd - flattened_ast: 030e483329ac92c23128c476adb785844513a526425b7bf8745664772578d198 - inlined_ast: 030e483329ac92c23128c476adb785844513a526425b7bf8745664772578d198 - dce_ast: 46159567b88ea01d2ec93d3aba18ce0c8b72bc4a4c50ed6809cee5c13f094228 + ssa_ast: d4801d006e3a3247e16caa2c166d01bfaf907982a8fed81b192e79347317a0f8 + flattened_ast: 94ecce39a0241f7f6d96a6da40a7c855ab1e7c7edc4f203594e1251547ee0d26 + destructured_ast: 27f6a3698a1d9c97c121250b5ebf39696937553575773d46e3890cbafb12864e + inlined_ast: 27f6a3698a1d9c97c121250b5ebf39696937553575773d46e3890cbafb12864e + dce_ast: 35655e4f8e18b2199b59cb5244633189d92677c95b5d4e44b6c0873995459a04 bytecode: c702ea63bc91bf1aff738a0101761c3201a54f29324dfb4fbcfc7cef05017050 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out index 02a72ce43e..288f1f73af 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 28c891cdb31bdcaecc8e464527cdb9e2c56fe413e09be4f15f545e38bb01c956 unrolled_ast: 28c891cdb31bdcaecc8e464527cdb9e2c56fe413e09be4f15f545e38bb01c956 - ssa_ast: fa4f429c3f36bb938abdf3efd758a8003b0137acd601622c559cacac124a9056 - flattened_ast: 918c34551530dd7d816704fc9594b0538cc78e27316ea65f3e0c75160a12203e - inlined_ast: 918c34551530dd7d816704fc9594b0538cc78e27316ea65f3e0c75160a12203e - dce_ast: ce6bf1f36a1de3c7038181ab9267352ecdec2447494ed842cf16fb81f9a3fbd4 + ssa_ast: a3c47b19b39758b9723da901340bb69dbbff9000bd98ff6939b0ab753e169b80 + flattened_ast: a543ef6a87ed10b86ec5c014668dc0e64b03f34285da8490c151467fce3d19e6 + destructured_ast: b4ae486bbe356e45266b3b04b84ffbab95f4b624e21e667450f449c265b1cb22 + inlined_ast: b4ae486bbe356e45266b3b04b84ffbab95f4b624e21e667450f449c265b1cb22 + dce_ast: 1a80770aff93870ed9c1f23d46cf7a2c461d6ef890cfaa2f67777f0fb1ee5610 bytecode: a0a563d61716d3c6b3a75384d04fe6227332979ff3fb5d04a672e1db4e6fa8cb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out index ea310bf21f..4a5275e58f 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 0d118c4787a9ddfef930398fbf09778dae9e61670a2cb0839bb685d1451688d2 unrolled_ast: 0d118c4787a9ddfef930398fbf09778dae9e61670a2cb0839bb685d1451688d2 - ssa_ast: c9147ff011883f7da4bbfeaf9f507b8efafd3669cc6e45a27beb192c9af1aa53 - flattened_ast: 63e8a420ad2fa780fe27b6365c1a5faef3c688eb41110830912f5469156e37b3 - inlined_ast: 63e8a420ad2fa780fe27b6365c1a5faef3c688eb41110830912f5469156e37b3 - dce_ast: fa4cc6cfbbab08560c7ddc4a14840b20c25514c073413e2eb7ad06e0f0c55151 + ssa_ast: 03120bc6891fd8e30cb491010f70b9af2b6dd1300ea8f64b258070432fdfa2c4 + flattened_ast: 37fca22b1a9edbab3ba0fa6628d35248b3a8d3d80cc7f875827a45572d33c1a2 + destructured_ast: ac32e850dd3bdbad905252323216d52435571b858d577ebcf5279d1416f7f0d8 + inlined_ast: ac32e850dd3bdbad905252323216d52435571b858d577ebcf5279d1416f7f0d8 + dce_ast: b9d3fdf78a2f6ee1c52b7af74216a73b78a45df285d1fe7cf4e15af4cffbe4ab bytecode: 6d1cfc85db8ba9546a0cce9391c99dc153031ab35a86b38ad443df534242c519 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out index 697e93b4a2..7103e6fef3 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 707f488348423358f9abd38688d3501da41a6b6ca5655302a7ade6e656b05e58 initial_ast: af7fba0073c1641358584cd0980af32346090c3b77195df7b654b961c9a9c59d unrolled_ast: af7fba0073c1641358584cd0980af32346090c3b77195df7b654b961c9a9c59d - ssa_ast: 8b8e194b08522577168166907950478be70b4435c2c3003d018110395d573bde - flattened_ast: 7a1c3256a75f9368f4155f944c45dbe6d1f01605ebc870c6495ac0acf43cdb79 - inlined_ast: 7a1c3256a75f9368f4155f944c45dbe6d1f01605ebc870c6495ac0acf43cdb79 - dce_ast: 3726bf05e0d252cbd941c274e38d9e5b4efda609a85347b0292522fd4efac998 + ssa_ast: 70c7a6fa40073a354c56d5ba4f21047ce37d1c299f3881681ad31ce63cab0b99 + flattened_ast: f68fafd6726db1b88253741f5cc9a491da0ab5f5319cc6724c57cba224e50de0 + destructured_ast: 1cc4265442902b37584957b23acc752a43434eea2a244639b9ea6c015a3ca24b + inlined_ast: 1cc4265442902b37584957b23acc752a43434eea2a244639b9ea6c015a3ca24b + dce_ast: acb51909fece2710d60c7583c48ff6d9d559fd18d375db64650d7fe02b15cf35 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out index 06a63af6b0..6b09ca3228 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bc000e895baf69a211930d29f38a0526e602ffebbe81b996fe8d88ffcd793239 initial_ast: 2c5ce05af4461d9d9c60eec6376db99c540b98c38adc7a08eaea50e9d27dbaad unrolled_ast: 2c5ce05af4461d9d9c60eec6376db99c540b98c38adc7a08eaea50e9d27dbaad - ssa_ast: 78f542b9be901afdcf2dbcfb521fbc4df6e4be2838f537d4a260ee8cdbe676b7 - flattened_ast: f6786b45092eb5240f878f84da67d8b58f1193d566916d77e05cfc9f64822ee3 - inlined_ast: f6786b45092eb5240f878f84da67d8b58f1193d566916d77e05cfc9f64822ee3 - dce_ast: 01458ac994457211f10019dc3a7a4d15180f543b36d9bb76e598cd08517f20ed + ssa_ast: ed0860f302397402e9821d7d493828e91208f7fd8f946b989a9ac150d80cfc9b + flattened_ast: 5e0aa1257cc5631d570db8b6b30ae5d68d0d408520292b76e57c9cba5e1bbe14 + destructured_ast: 792b4a56b814ca79a561ad7577b448039111abc203ad76e0441f37d68362c482 + inlined_ast: 792b4a56b814ca79a561ad7577b448039111abc203ad76e0441f37d68362c482 + dce_ast: 9686ab5d38406f4504fa26372a275c4125d05d1fed85a8964adfc4d1f45a0587 bytecode: d6282c666e51c8c3f3ce541b16d07701dc4d0900acf44bf392cc235ed79a2484 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out index c6762c9776..3b3af8e3a9 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 06934ff1224aa3badc1cb02ef0cd86c9b5a3423e5d9ec611b7627857dd27098d unrolled_ast: 06934ff1224aa3badc1cb02ef0cd86c9b5a3423e5d9ec611b7627857dd27098d - ssa_ast: 99b1f55a3903d29f4a584923e949cfe45793e7a622c8a7ed298155960b499e88 - flattened_ast: 60fbb4d95ae781076a6e299fb5f3238d881c6a96344e5350ae99a2c6ace5a7e5 - inlined_ast: 60fbb4d95ae781076a6e299fb5f3238d881c6a96344e5350ae99a2c6ace5a7e5 - dce_ast: f2cd7e5437c3c50eb6b2f8c05ff49a7ec5ce377ff31e243e802861e350a4ccc9 + ssa_ast: f2fa893b87393e9e346645b9f7935c1a88994bd07727563fc3d6f9d2f9324b9b + flattened_ast: a40dbe85da28d0ec1934ec89916dad6c4c920748afcadaf448b35021bb7878f4 + destructured_ast: e92cb8c1e5f38f412bb84314ce4b4619dbc9a9c9432e4b7d4dd35b7f5441cc4a + inlined_ast: e92cb8c1e5f38f412bb84314ce4b4619dbc9a9c9432e4b7d4dd35b7f5441cc4a + dce_ast: 07526749be8afc2ef313da217efe1c337837b808ea73a134145af95575a3a1f5 bytecode: 229ed43ca637238faed92dd4732941e7c471f274c74ecfe4c2a77beca892bb62 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out index 9e25bc3347..94d2bf98ed 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 3feed3bdaf926d6110ec91e12fd7db1b41cfa04b0f9fa5b32c8666e5f3262e7f unrolled_ast: 3feed3bdaf926d6110ec91e12fd7db1b41cfa04b0f9fa5b32c8666e5f3262e7f - ssa_ast: 0e4936482b029e94962104e6429d5ad60879678e9d2be64bdad248d23fe59182 - flattened_ast: 35228f8f762a562665b9cc5d3dec51bbe08fb8f08cbb74c32fa7b1d835bac629 - inlined_ast: 35228f8f762a562665b9cc5d3dec51bbe08fb8f08cbb74c32fa7b1d835bac629 - dce_ast: 4e8639b5e5be9deeec6faba7d123068a5c1c5118f5a5745f31452da1c8b0386e + ssa_ast: fc65873aed7713973735ec6263a1dc8ceb0547dabc66b75fbea39b3e9e1bcb33 + flattened_ast: 51d7295b5a1cf11d83fbde9de427c5b856439f5f328c6d6222f4f770850bf108 + destructured_ast: a16769bafe32d000eed5adb9dcec0d260f28f5ea8882d1d81c79a8b40c0bf3f5 + inlined_ast: a16769bafe32d000eed5adb9dcec0d260f28f5ea8882d1d81c79a8b40c0bf3f5 + dce_ast: 7a368156ff9a3fd498619f6db9b618d7c48f7daedfa6c825a550949e670adb8d bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out index 91c72d4b40..d1f777672d 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: d05d3eaaaae0c9355c94cfde5158e51c12b5a3b3cb88bb9e5a93597d7675a1aa unrolled_ast: d05d3eaaaae0c9355c94cfde5158e51c12b5a3b3cb88bb9e5a93597d7675a1aa - ssa_ast: d8f6352a06ee756516ebe863fff632bd459e8caab1b77a8be7dbcb74533323e5 - flattened_ast: 21d711e5dbe0051add185b6087d6f795798bd2225d14a8775287236943e47d71 - inlined_ast: 21d711e5dbe0051add185b6087d6f795798bd2225d14a8775287236943e47d71 - dce_ast: 8dc00affe7946bb0dee6ac68329664a2018432a56cd9bea5afe83f47393c12b8 + ssa_ast: 34164dedf6f91a58ab0e71cc8735250dcc20dca6a8b0909e19753abcb830b0a6 + flattened_ast: e3f0d533b39250edd43f295fa353e4de9636275e98e1638d1436e31ebc83c7aa + destructured_ast: 024b142a93e0d64aabf9c82e8e15575523a40c65bfb806a469a398282e904789 + inlined_ast: 024b142a93e0d64aabf9c82e8e15575523a40c65bfb806a469a398282e904789 + dce_ast: ba87579fc0ce262680b3b6fb58aa8d9d2d9a53cf991ae0b17fc513a8b27707a2 bytecode: 7da691d67f81116d91fb60593fa7fbac92c7409ecb5728174beee3fc612716a0 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out index 9ad04460f9..0577404f9e 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: aee76892c525aa2c941b89a398afefb303faa35809cf3ee444e0957fbd73ea80 unrolled_ast: aee76892c525aa2c941b89a398afefb303faa35809cf3ee444e0957fbd73ea80 - ssa_ast: dfac53857982e529f530667043696b28d292b6eab40f8f5562ff4ca2b84fd9af - flattened_ast: 75426b5be20aded4f79bfb9785a5a64b170151aae3f0d1ec3db0c199739213f0 - inlined_ast: 75426b5be20aded4f79bfb9785a5a64b170151aae3f0d1ec3db0c199739213f0 - dce_ast: fdae40b1a9158b850bef311e828ebeed6464e468a8ba13e8d4492df18b09f5be + ssa_ast: f693c75d38220990d1afe6cbe52fb875b268d1b35bea6c1999317ff44079aa4a + flattened_ast: 02938321ee9b118fb93a0b1872e3c836ee75932da4a02cf0d7496abfbe0a87de + destructured_ast: c396c9e9799b6409ac44b2cb7c83ab0d4cdb65ddb98b072da61a4cf8dd11bb5a + inlined_ast: c396c9e9799b6409ac44b2cb7c83ab0d4cdb65ddb98b072da61a4cf8dd11bb5a + dce_ast: ff33f7f7c2524b6a28919c48637ee38f606ff3e54c10c5fcfb03f69986e5cee5 bytecode: 6d469fd18d4b6f00204c95b4a6f2b98ceecb94947ac706bcba8976d667d9921b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out index 98761d03c3..e5fb1e216e 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 4f6c4bccb8aea3dacedef07df09e351edb736bbe1e0628ba869143cb661ca27f unrolled_ast: 4f6c4bccb8aea3dacedef07df09e351edb736bbe1e0628ba869143cb661ca27f - ssa_ast: 93548f8408227d83632e4c8918d9c6977d9a97704369fcead352d02117cdbe52 - flattened_ast: 194aa301beabe8a5cbd853e7eb06dc899dc05b8d41dcf20dcd6d55f9fefb72cf - inlined_ast: 194aa301beabe8a5cbd853e7eb06dc899dc05b8d41dcf20dcd6d55f9fefb72cf - dce_ast: a4cf5e881438e49c2ac1067d0e42aaa08190ca1f8aeb9b71140a6cca829895d9 + ssa_ast: ca5900108663548585dd007d693219b87f49d5ae177c880e68bf1302059742c7 + flattened_ast: f6489b88b5352884d11eade6a783c61edea41f4be4feaed4dabfbdec384190ee + destructured_ast: 51789ff6028f28315ad219502e1b51b34a1412ac2c891f989566fa7e04889251 + inlined_ast: 51789ff6028f28315ad219502e1b51b34a1412ac2c891f989566fa7e04889251 + dce_ast: 1bd33956a94cf982000bc57e99f7d3f5ae60f421f4b1834e918e339644493a5c bytecode: 39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out index 4b0cdd0caa..ed1722e932 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 118423c111b7c152da1ac4a714b30ded46322ee197096cadbb96936dde4eb4a1 unrolled_ast: 118423c111b7c152da1ac4a714b30ded46322ee197096cadbb96936dde4eb4a1 - ssa_ast: abf0f488b6f53e47afe8272ac598d3d5a114e15bd7fa81db07ae6a0b5b5a4df8 - flattened_ast: 9329c717fef12fc53b755839453cca8873182630706625bcfe76110106bfbac1 - inlined_ast: 9329c717fef12fc53b755839453cca8873182630706625bcfe76110106bfbac1 - dce_ast: a81334b09c5ac0b1ee081d0217cbb4d76e626208104f2e907a5b4c8cd58ef9a1 + ssa_ast: 99a50d71becefb08a1ab3f5d5b742557713e1e80fb2c0a6d3177e19c7a7a5a1f + flattened_ast: cc15ffdaf567779fb118645ad97ba1f577e2089ef8915d4dda6968ac7cc7c17d + destructured_ast: 53320f519c797c698984496e43619c2ab911bef66e29ae681462d7523c769904 + inlined_ast: 53320f519c797c698984496e43619c2ab911bef66e29ae681462d7523c769904 + dce_ast: ecf9245605039036cad5551c5c4e89346577fcdfbb04f2e30810ee9e556e3179 bytecode: 291203118efe8ad584e0fe1e5ad940b457fea07bc1833c28dcc64d0f5e380261 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out index e629d0b6fb..b134a5a4d5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: b8aa5ea412254e34705780ab0a4784ff7130e6c766744a9b7d19cabdd03c9685 unrolled_ast: b8aa5ea412254e34705780ab0a4784ff7130e6c766744a9b7d19cabdd03c9685 - ssa_ast: 8627bb4cec1e83dc8549c8bfb2cd05bfe7a11e2a2cf7eb3fe4716e0ec3dc2bc3 - flattened_ast: 62bcdcb7036e6eaad297d20ba245fd2766407c9ad77c15a47d1b1413afdda418 - inlined_ast: 62bcdcb7036e6eaad297d20ba245fd2766407c9ad77c15a47d1b1413afdda418 - dce_ast: f26712882e07b8f1baa4bcc7e5cba9caaa42a40ca5a4682e5ce05ab2558471a5 + ssa_ast: cf80ff85e21bb11a5066f8f08380b945d45a3f9b0cb63613ab74b921f1fda161 + flattened_ast: 1af30d644da6b6f2389922751aad942c04f84ea51033c5d415b189ce8fe7f809 + destructured_ast: 6f75554df14b4623f81568106622fa497b4fca9557d6235030ed0acacb345ed1 + inlined_ast: 6f75554df14b4623f81568106622fa497b4fca9557d6235030ed0acacb345ed1 + dce_ast: c30e3dc11fc07f05818373fb259a4626f99d36ba8d4dc11e775cba979ac86b74 bytecode: aabc532da97dad13de4f6538e8b18c6696e0a4e16ba5c50624add1e547aadbb0 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out index b807f1add5..d54befff4b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: e813a3dfca480e5e221dae014bfbe3de42996997a7675f2ec9c4417d63801e5e unrolled_ast: e813a3dfca480e5e221dae014bfbe3de42996997a7675f2ec9c4417d63801e5e - ssa_ast: a830b788cb8b1878982eba6f010db919f0a96b1f6e6af5d843c0165f97414500 - flattened_ast: f3348c06edc6e492ec21238ef89151b6ea45e5a50b65258fd1f7f11be3bbf53c - inlined_ast: f3348c06edc6e492ec21238ef89151b6ea45e5a50b65258fd1f7f11be3bbf53c - dce_ast: 9de15e3e8b3b96bdfca1b80fddc7df5df53df22c5171051d2c0c04f7f5c56079 + ssa_ast: 6a81748edd79024a7144418c87e5e02f9bca3c9e5746ddc77322121ff7607355 + flattened_ast: 27caf4593a82f9ba22ce2232ddfc64b4d0ce472f0f2a0e3b4568e38413969ebc + destructured_ast: f937a768bbb117637080f0b0e97f8ea4982cc39e0ec8a084c8837c4e1a4ed6d9 + inlined_ast: f937a768bbb117637080f0b0e97f8ea4982cc39e0ec8a084c8837c4e1a4ed6d9 + dce_ast: 462aa4013733bdaa7da1f101230e912eb61a6fce4d04ac70c5032cc8365010ea bytecode: fb50b455787039d40359e8561b3c38dce51cc9bfd62c06db7cdad7ed77575e4c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out index 95145cc650..e1da9ae54e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 6f0c2fb2f7c0d670a13940919620c0a9e0ecb6ceddca8e2e9746336d4fc297e8 unrolled_ast: 6f0c2fb2f7c0d670a13940919620c0a9e0ecb6ceddca8e2e9746336d4fc297e8 - ssa_ast: 7149ac5125d08288ab46e61a44d03a47123a79e3a91b49e8b73e60e50c209fb6 - flattened_ast: 649770098ac8b069a4bcd1f0d7659843a6cf872a4d117ba9991959e31c9226e2 - inlined_ast: 649770098ac8b069a4bcd1f0d7659843a6cf872a4d117ba9991959e31c9226e2 - dce_ast: 88ae23adba507c79ee26ffaee6fa4140c5ffc7a712083368e8269be2960eb9fc + ssa_ast: 1fb1ee936f5b2b1b80e1eed638705bb092dbf0d71af836de00c922eb57fb3f4d + flattened_ast: fbbf8ec8b2da3ffc37391656273dc6168d322ecc580b1b511000023b1e0f11fd + destructured_ast: 8f157585849b66a904f17f4f60fe24e4c58e5463f39c3859a919e59d5567619d + inlined_ast: 8f157585849b66a904f17f4f60fe24e4c58e5463f39c3859a919e59d5567619d + dce_ast: 66692afa3e50661a95bf010c0f834ce9383d7bebfd425fa1d3b18017f5fb495f bytecode: 0f39fde0b1e15ee4f8db0c84a7a280cdeac852cdca4959a14a61776aa661ced5 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out index 3aadfe1756..89a04d2270 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 20d0960fc2f7f5f03c81c801fa2f7f3aedd0cf73d7cc7e83c34d899dc59fd3cf unrolled_ast: 20d0960fc2f7f5f03c81c801fa2f7f3aedd0cf73d7cc7e83c34d899dc59fd3cf - ssa_ast: 1b70d1d7f2e9412b2ae7712ac881b4457de7ecb30d1306f7229457639b0b93c1 - flattened_ast: 07c704eb0a437a21956c7928045e7047e07077718e4d96364802e8322d2f3cef - inlined_ast: 07c704eb0a437a21956c7928045e7047e07077718e4d96364802e8322d2f3cef - dce_ast: 7b3bbbcfbb66fda70e43fb70d060328f9029808afb35d214607b083e2828246f + ssa_ast: 078b6d3c4bc93a83daf0b4a102edf5d3b25e48bedbbff4b14557ba56abff3144 + flattened_ast: 7e78aabdf40441fc5d84e2355f172141cb3a8a493b4b42b99ee9ff0f918ce69c + destructured_ast: 3aa46f8f061f3782ea292bfdfeb0338d4bba2af4a9ceaa5470b1171094ad3631 + inlined_ast: 3aa46f8f061f3782ea292bfdfeb0338d4bba2af4a9ceaa5470b1171094ad3631 + dce_ast: abe099ea1f12e61a8596626919ad8638e08296fc7b7149f1a21324a0e13b12c7 bytecode: b267a8888601eb2f66b0e0f9814268308403849dd65f3535cea29bcd4245360e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out index e05442332a..820ec38441 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 986a1d896cce0c2c6de9da12cd4681702ea00b5b98a84f0f4cca42b4b22d9fcb unrolled_ast: 986a1d896cce0c2c6de9da12cd4681702ea00b5b98a84f0f4cca42b4b22d9fcb - ssa_ast: ab93695dcac5a698def8f87576a2345254019c54cdb417121220cd65dde5d068 - flattened_ast: 643c166c092aaed5dcf2c1e3f508ea4c139d8ece8090e8883be9a20219b9cfcc - inlined_ast: 643c166c092aaed5dcf2c1e3f508ea4c139d8ece8090e8883be9a20219b9cfcc - dce_ast: 86ddfe6f6c43246f2fdba081b6bdd946df74c4cce6d5799af96a9eea931c06b9 + ssa_ast: 8d5f973f48e488f486cf0de9e4dbe27e4a445e09b95e8b0ea602b8c07e01b9e6 + flattened_ast: 9b671fe7f328d715aca1668125b230638e406237e893e07d4cb26c6f58f65ec5 + destructured_ast: 64662a7b6415ed65b914c5cc05f495bd32044688ab6c3a9c9298597079949f30 + inlined_ast: 64662a7b6415ed65b914c5cc05f495bd32044688ab6c3a9c9298597079949f30 + dce_ast: 874039bc7030707ea5c31534086e246cfcfdc34a61a37a57004c9a0092ea7e3b bytecode: 82114d77c21652d52ef1000d4f83e8539bcefb03acf8ceec8e75f36e4acb3062 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out index 65ddffe9e8..a71649eda6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 0da11ec57588fe82b1338f2ff84514784c3dc19570806f76dd4e2d80592d8fd6 unrolled_ast: 0da11ec57588fe82b1338f2ff84514784c3dc19570806f76dd4e2d80592d8fd6 - ssa_ast: 4af7ce82ea1cedd8a730cba4a610d5e72819b82189a9ffef04d658047518dea3 - flattened_ast: 99c5969558c9703ff52e55a3bd0e372719e98c4057d9d672e203859137ddcefe - inlined_ast: 99c5969558c9703ff52e55a3bd0e372719e98c4057d9d672e203859137ddcefe - dce_ast: 107feeaf7a6d5565baf3a9f9d0b665027daf311c0c850396939501a68c38b2f3 + ssa_ast: 313c9ba76df20a9014d502a5ade6799939a5192eca5f2c5b1461d1d565e38852 + flattened_ast: caa134b2a205546236b64196a287fa31d84ba0bbb3830b7140c505dba5dc34a6 + destructured_ast: a67e5528c02606616f431972bc53beb2db3882c3efbf0db6e468500dc536b2ce + inlined_ast: a67e5528c02606616f431972bc53beb2db3882c3efbf0db6e468500dc536b2ce + dce_ast: b1fe4b0c73d9bcb1b6411e12049e06c0667801dbccb0d595b5ba5388f1966ef9 bytecode: 5eeedee42e2476fb270490327599aed56d2d2086addd96030cb733ad90fff082 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out index 30f12f31bf..853023cc91 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 06fe3f1c3678f9ae811e20ce91c5829084286eebbd3b8e1ebe71aef7cd3001fb unrolled_ast: 06fe3f1c3678f9ae811e20ce91c5829084286eebbd3b8e1ebe71aef7cd3001fb - ssa_ast: 29faeec29cc803c5e5b8108d9f99e13214651eb11aeb9fbb8809d344ce0df9df - flattened_ast: fa8e9c9ddc47b558e40e6cdf831871da169c205f979348e044be2d6bd0cdfda2 - inlined_ast: fa8e9c9ddc47b558e40e6cdf831871da169c205f979348e044be2d6bd0cdfda2 - dce_ast: 50c6839670867e9f58dc0b23a6d8aa51045a37e63ea3ef12e2bae64025430b93 + ssa_ast: ea9f6da6e3b2b40890c109b1c7b4b83dabe1a069199f67764d5f5078c84ce850 + flattened_ast: 552bb2d24eef08dce796f722b8b98979dacd9682e39345bfc7d0b14de79e6745 + destructured_ast: 6c003e987ab06754d2da15e7afbbba348c779a50d1440b26a5ff974f53e00aef + inlined_ast: 6c003e987ab06754d2da15e7afbbba348c779a50d1440b26a5ff974f53e00aef + dce_ast: 5ae17decb89ecdd192291e03d8db2022ab061caeefdbdf6df3c99f08f436e063 bytecode: 5ec7cc3de6c113f85819e7425d3cba1d1c9d72dbd11bb4dcc38aa93ef89cdf2e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out index 66d7b62ada..c60bb4a5e9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: b1cc7d0403ca80d33ab790d1904f2519b9dace2b1506d350b27faa94d3fcbcca unrolled_ast: b1cc7d0403ca80d33ab790d1904f2519b9dace2b1506d350b27faa94d3fcbcca - ssa_ast: 6550b5bbdb2bdd73adbb82c05f1eb19624a71d9253de3e20f6abe34751fa276d - flattened_ast: a2aa784b9a80708893c2ebfb79a159462db07dfd3ba55be302623ded3d5bdef7 - inlined_ast: a2aa784b9a80708893c2ebfb79a159462db07dfd3ba55be302623ded3d5bdef7 - dce_ast: 7cd010fd5dcde2fe1139e362c8e665184cfaa85f4d37e2a884b0490752474ac5 + ssa_ast: 3b974d756b1a83c26bba9df4c7ad5e19dff41341ba62b2386d5e18ecd2852b60 + flattened_ast: 6f199aea2ee959259e81670242792ef82d02209ed58060e42b3db022275df7df + destructured_ast: 61d1db4c3ab859a7f1ed00a52c21067458b9f71304932687b017904f9794e46a + inlined_ast: 61d1db4c3ab859a7f1ed00a52c21067458b9f71304932687b017904f9794e46a + dce_ast: c82921a150620ae3bdf278dda5e22d6e81cdbb277897d68f4ec0470d06d25889 bytecode: 400dea3099e787d74f8c336d3a7cc2d26e8de8bf52e579bed30244f437aa25f6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out index bce6c76ea4..cfd2d041d3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 8d57c63885515639378a62710fb6ac36fa1e795b1bf87e0b025d45de2dde5479 unrolled_ast: 8d57c63885515639378a62710fb6ac36fa1e795b1bf87e0b025d45de2dde5479 - ssa_ast: d9eaf01aa6d72b80d646412d5fb0ef21ce71c483b0a901eee73b1d7bfabb1655 - flattened_ast: 05b6f85d3b055538173268ef9e4454de81894e69ac862d05f644b4a19de74192 - inlined_ast: 05b6f85d3b055538173268ef9e4454de81894e69ac862d05f644b4a19de74192 - dce_ast: 7bc61f9efc25c56e64b739fd708bfbf9802bac8a61c6e691a6d15f1ecf573f47 + ssa_ast: 03e8de39f303a6870b71ccc9d2d52237c13dca1e49c01c5004196fed9e124f55 + flattened_ast: 765d572d3d4105f5b7f92a023c8699bc93e52ddbe35fe2ef07e85b2d75abfd03 + destructured_ast: 8c4674f8863823534b4ceabffdc6f5183783ccd9fed293c4b317324c6d137d76 + inlined_ast: 8c4674f8863823534b4ceabffdc6f5183783ccd9fed293c4b317324c6d137d76 + dce_ast: 89f30df3028be222c4e72ba6d10a505ae152674f6cf47b99c7acb44e0a481b67 bytecode: 7e364f0f5797c362156d92896d5c0ac0cb8923bdfce720d844550006535bfec9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out index 378c22079d..e1d3bf8eb9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 4f4a47e06ed68de9c2b5e79f294e7616dbbd1895cbe6899bdb02e3c92061ba5b unrolled_ast: 4f4a47e06ed68de9c2b5e79f294e7616dbbd1895cbe6899bdb02e3c92061ba5b - ssa_ast: 334ec66ca40fbc005fd28a217b88db271cca662a1ca6cd0d03b172808e4fa7d7 - flattened_ast: baedeea2b3d3d2dc1056c2a80292dac5ed5312ad38bf788489df52bc5873bba2 - inlined_ast: baedeea2b3d3d2dc1056c2a80292dac5ed5312ad38bf788489df52bc5873bba2 - dce_ast: d1f6098a6c2fd5d53fcc5d83c710d2851fe6c2e798d8412889a90278086f0206 + ssa_ast: 068074a221d55eea15d0caf0ad71f269e65a9411897ff16fbf61fc65b6cf8481 + flattened_ast: 6ee755152e6544662c869cfedb39c3982d1cf9b1ce679e143c5b065898b593d4 + destructured_ast: 6b2d96ccc13752926450d82da7b046c9aae4da15a8f9e93dba2a6672554b0b6d + inlined_ast: 6b2d96ccc13752926450d82da7b046c9aae4da15a8f9e93dba2a6672554b0b6d + dce_ast: 5d27e68d4a1847a5d6195299fb00ab09983d8c29813dfb54405da7f58a464c79 bytecode: 6d1f9a3fa30f6b177ef5b8242e1608ab54576a5d82df58c97c2e367270c6d7f9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out index fc9a7b4635..dec6ec74b9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: c0504268e56c0a4e8c667d8fffb6ceb1ba552e85376a992d6c4086accc1c1081 unrolled_ast: c0504268e56c0a4e8c667d8fffb6ceb1ba552e85376a992d6c4086accc1c1081 - ssa_ast: 17cd4d1175622336757cd2d4c0ad99b9eaf13117d7dd90abbd3ac04b24fd1542 - flattened_ast: 0ef26c7fc8f5ca3934e23334e0bf27ed270a43a5e1c6490ae82e689798fc8579 - inlined_ast: 0ef26c7fc8f5ca3934e23334e0bf27ed270a43a5e1c6490ae82e689798fc8579 - dce_ast: b1f10fb2b9911b9fc61550b48bb67a2058f67d67dee9288c1a6fcefa50b32d55 + ssa_ast: 88af81d88eafb437892a94c5777ab25ad55b4fb404f63104529e5fed61654f18 + flattened_ast: a54a7e8bd616982f2d053497e772a43162f26bdf5b412307c4d5f43d671f3dc4 + destructured_ast: 3641fb2d48204ce536a23b7ffdbaace8d9ec6a9f49e12cbabfde45e1b757c34c + inlined_ast: 3641fb2d48204ce536a23b7ffdbaace8d9ec6a9f49e12cbabfde45e1b757c34c + dce_ast: eca8f452281b9d48885e0920e720e28696539ab738efb875ce4444553771903c bytecode: 324982aeedb7f0eb194a3744384b562834062c95c62d9007a74ec8e2a5612c4e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out index f424ff28d3..b596aa4cf7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: d234a8d9bfce194db351d4281abee930bdeb753b0931576fcfed9aef2be682ca unrolled_ast: d234a8d9bfce194db351d4281abee930bdeb753b0931576fcfed9aef2be682ca - ssa_ast: a2fd399cd7757c60d51efdafb913fe9da157c5eaf7460e638598b3d7eba44af6 - flattened_ast: 7d912c98502e702c6bcc1acc3b196e3f19163e525d0d03336533fd5dab06dd0d - inlined_ast: 7d912c98502e702c6bcc1acc3b196e3f19163e525d0d03336533fd5dab06dd0d - dce_ast: 8a362b593989ce632e20b89e1e660cd870538d785a7ff9d1917b69c425635b4f + ssa_ast: 772abd34c41a1bfbc2944f1daf6fa7ec5e041ded6b578ab8ceba288f6f71899e + flattened_ast: 9723297249b9132d10cff2a0e8e16e57c8b483c0bdd7192679b50c572e550cdd + destructured_ast: 43374dc292fca682b5ceec5734e943910f3605c19efecef484463ffe4e08ce7a + inlined_ast: 43374dc292fca682b5ceec5734e943910f3605c19efecef484463ffe4e08ce7a + dce_ast: 8763e4b5c30b039f96ba7d82d3f13568cca2589b34f5ea017ea2de8d6b899c61 bytecode: ead396ffd0d8084ce5fd2f208f904c27d3df3e0b42a22baef80d5778a0d63b23 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out index 9e5b06a20f..f3ed725f29 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: baa2c58ef38a34e4d703d957ef7fb5d9ea962b2e21dac7f213931138ca1f9548 unrolled_ast: baa2c58ef38a34e4d703d957ef7fb5d9ea962b2e21dac7f213931138ca1f9548 - ssa_ast: 623a83d50c1772e47a224c60555348afc90c57db81b7f010119c1f67989177e1 - flattened_ast: 599a2a07bfa8a93d5756ab14c09c3e6bc46915867d9d9cc99affd7d2b9d0fa46 - inlined_ast: 599a2a07bfa8a93d5756ab14c09c3e6bc46915867d9d9cc99affd7d2b9d0fa46 - dce_ast: 746d044ff0532b03723e34fa051dabce6ae392efb8b46fe9f04e726e59630e4d + ssa_ast: c0435a66ad1970f99f78fcb9adeab39e239b817f24d652f8778fadca75b9e706 + flattened_ast: 39fbe70077abbd8b981fc6b34185d0748169849e9857cab02ea463a10f4e7a03 + destructured_ast: 69a0e4717cac94ee4a69748db863c6f3057db76148ed51aaf51ba128559f761d + inlined_ast: 69a0e4717cac94ee4a69748db863c6f3057db76148ed51aaf51ba128559f761d + dce_ast: e76a07db08f74dc8d26e00c8df220f2cc396c272c56549c1baface7f80d97296 bytecode: 93c0ef7e8c5de4b6de716347078c7e7fb4f36c0d814396e7060423dac910a4eb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out index 38519bbbc6..d70c29257e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: a3a9faa2350fee90f3323d486b66c1407c16a71b6785627712e8bc98a852cef7 unrolled_ast: a3a9faa2350fee90f3323d486b66c1407c16a71b6785627712e8bc98a852cef7 - ssa_ast: 4a3034dfbf8a90145642bd1b414e004908304b24d753b955437125ed1a5af60b - flattened_ast: 5caefb84d8c554ff8a5de08e19bd1926f1b7b28397852aacb9afd8cb5e0adc67 - inlined_ast: 5caefb84d8c554ff8a5de08e19bd1926f1b7b28397852aacb9afd8cb5e0adc67 - dce_ast: ea76e0215562cf384c8b361c3212f1badc4bdfac46e93349fa7ba73acf8dee81 + ssa_ast: 0ca2099e66ceec65f920ccfbdea9201ae157dc4c1548ee9583f8dc2e759f0e1d + flattened_ast: 5211dab725f8923d3cf2ea8e9e7f68cefad852aea6d9e54dd0b9392ff9e3ac0f + destructured_ast: 254efa754ef2ead0a5b23930955fb2bcaf9f98ff623f17e31fb28ab9bdb43289 + inlined_ast: 254efa754ef2ead0a5b23930955fb2bcaf9f98ff623f17e31fb28ab9bdb43289 + dce_ast: a10aaac20a6202dae73e081117c7146d6ffa5f2069d4197ef413e5f7c5c18919 bytecode: 35d57844635bb3a2fc0261442ef69b8d67a4767ad0f61fce6b396a430073f5e2 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out index 81815eee6d..97a0df7e2a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: c318b68cd8413af0efff61100bb3cde35e25ef8630eee8ecf14aa8ccef3369e8 unrolled_ast: c318b68cd8413af0efff61100bb3cde35e25ef8630eee8ecf14aa8ccef3369e8 - ssa_ast: 3041ae469fa68cac5f515571083b2ed408155ca8d8793740ca8c96011001a135 - flattened_ast: 45ced87e1f693584780b9eb43cee2a94fb21cc2348ad9e95bcf0db2414faf02c - inlined_ast: 45ced87e1f693584780b9eb43cee2a94fb21cc2348ad9e95bcf0db2414faf02c - dce_ast: 9b906d2dd64609b810babdb96b0d629d082c2f0364c78d1dd6f41e42487e24c3 + ssa_ast: b18af9563b4be919b91148012aa522db923df48ea3f7712ff9ba8b93cb32a293 + flattened_ast: effa430965263c153f64361715843d41d34eb5acd790503ee19a353beda0b3a0 + destructured_ast: bd9f0e6e30be8fd3206e7d7b22c043c5c78f20f955ef46c4cd11f0ce3e559167 + inlined_ast: bd9f0e6e30be8fd3206e7d7b22c043c5c78f20f955ef46c4cd11f0ce3e559167 + dce_ast: dd4e6258c02bc80b0c3306833c439d17cfac18cb0e156019e036d5b947b9276d bytecode: c865484cdaac4f81578a7a47f6a1772139a2f4b03d5a4602c7b62be71519846d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out index bbd8401f3c..d9f3b7cd4d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 7d8e736fd3887e229960b9bdd6dd971db773bd979246ea42facec32dcef41098 unrolled_ast: 7d8e736fd3887e229960b9bdd6dd971db773bd979246ea42facec32dcef41098 - ssa_ast: b382887d9e377fa4b44878065f599f2483f350f6076498e6f72e2901e7caaeaa - flattened_ast: b589365e661b58ab45d9c18ceba10b91fe5b32a2fdb6577b3ef2f736c2cf2e0c - inlined_ast: b589365e661b58ab45d9c18ceba10b91fe5b32a2fdb6577b3ef2f736c2cf2e0c - dce_ast: aaaf4c738e9bea03581c70e3e053d9d4f71842c92f5052144881a118e63ecb60 + ssa_ast: 02f61aa49fd65027c00190064c1b4a5d51ac5822d7e0df7a1c69ecc6412f63d0 + flattened_ast: 363f20c99fd64828ec7e0edeba54194ada787f5581f84f49ac0cf88b773e4840 + destructured_ast: 2b1abb04ecab3475c3f11e1eed4e91337b41c89838e3b2c9dba09293248d2bc2 + inlined_ast: 2b1abb04ecab3475c3f11e1eed4e91337b41c89838e3b2c9dba09293248d2bc2 + dce_ast: 94dd9912f4ca7d44e9ccb093e852722e7b805e17e5a1b40e915b2fd42a19a51c bytecode: 722e9ba9eb7870003003efbee47f12319ccd9a2e873ccd6a165dc945dd5fee56 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out index 9384abad39..fad8917331 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: d8c00db52ecdddaa46e62f0c63c7be3fa35abb85054288947aa40bdceef54c8a unrolled_ast: d8c00db52ecdddaa46e62f0c63c7be3fa35abb85054288947aa40bdceef54c8a - ssa_ast: c7b8b994f1ca6b137b37f57d3c9a0eb5fff639a0bfd2d0549a1f94756b10375c - flattened_ast: f97f36b491a9b2cd0ca5993808c68d4f191a53b255a7a2fb1d567f90e68f3e57 - inlined_ast: f97f36b491a9b2cd0ca5993808c68d4f191a53b255a7a2fb1d567f90e68f3e57 - dce_ast: 2add5d162dc7e452191c2e8a0df9b62d7327631808d645a0fc7aa25f129df594 + ssa_ast: 42ad13916ca372de43723abedddc816ee3e261807102a9a780b5ca988f3399d1 + flattened_ast: e4624d918a13d0e903eb6880c06309cf6c5edab0cff1f1ed401b567ebb5067db + destructured_ast: 72252b29ac913faa7dc403a331d2dafba3cb670ee1fbd6f4fc4055dae9975d77 + inlined_ast: 72252b29ac913faa7dc403a331d2dafba3cb670ee1fbd6f4fc4055dae9975d77 + dce_ast: 74504dc7864b1c34ae27bf67bd5ecc47b385ef681688b392851abbeb20f19627 bytecode: 5b86f91ea85b5afdbd241b7623cbecedcb816272ca8b7250e2536955dfc55fed warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out index 1a1402e4da..abe02724ee 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: a533366b9cdd8433a71753e77a021d1acf01bf25b9f3d512a99eab32b1c45c72 unrolled_ast: a533366b9cdd8433a71753e77a021d1acf01bf25b9f3d512a99eab32b1c45c72 - ssa_ast: d63ae8539dd563b8d8a9178b911f18fe10c6f5c1ba3c52adf6a43cea37124acb - flattened_ast: bbe36966dfccb34bf64111368e1071e033bdb54f62fb16f6c87ccce99ac8c1cb - inlined_ast: bbe36966dfccb34bf64111368e1071e033bdb54f62fb16f6c87ccce99ac8c1cb - dce_ast: d32838e76aded3b57ddbe57369ea1ace358f78120ea1b4dfb6d146a6d102d98b + ssa_ast: e286a06e5bcd7b62cb8ae364281169caad21815731c184e505509ec595fb1824 + flattened_ast: 1c1ca321e392da97b91352b27a32c1afb2494f6bd654ea8f66eac33acafda374 + destructured_ast: c829a4d2c092ce24c52fbad7e0090c7816e8fc926d1be6008418af3f79188e8b + inlined_ast: c829a4d2c092ce24c52fbad7e0090c7816e8fc926d1be6008418af3f79188e8b + dce_ast: ef4fa63783a5198539592215fde644fd815de60fdc21352926e84f22c38a1af8 bytecode: 5e555625818b5c9c27ea28fd0679e853c7ba41d422b0b1fe4ebf1888cc810898 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out index 439321c791..706c0d96b7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: db27b2cad94693af423a034f41da6a3a221638737e4b12986c16c95734abe817 unrolled_ast: db27b2cad94693af423a034f41da6a3a221638737e4b12986c16c95734abe817 - ssa_ast: 7a436049d772b43917de1e06dfe1271d6c378ba39adc812921775ba41973057c - flattened_ast: 74b0e607a5bc2c7330ebfb896d368ce4cdc51905abb3c9e407d6ae62f2161468 - inlined_ast: 74b0e607a5bc2c7330ebfb896d368ce4cdc51905abb3c9e407d6ae62f2161468 - dce_ast: 2b4c1979c4eadfeb6f923588c201054ad8bee1c807e106f32bd9d02ca98386e9 + ssa_ast: 335bc978e7dd0c352e85da2b61a3fbaff2e28673b2d377324bbe108be9311050 + flattened_ast: a942867f5b6a405e6e1c2df3cfbab82b589cbccc28d8bb8b37abcfe0d9240a4d + destructured_ast: cdd5fc5cdb5e19938f54dbf8b6b7c324c569b1f05fd0521c490a49642c7e7d6b + inlined_ast: cdd5fc5cdb5e19938f54dbf8b6b7c324c569b1f05fd0521c490a49642c7e7d6b + dce_ast: 7c69ad2cd65bc974c682fe7979db773dfea7afdbdc5aace0ac69f4ae1e1510a3 bytecode: ac0813db87d76ebf0f8b9716b4694dd6dcd4a833bdc7b13fc297363f835a723b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out index 03b9fcfc85..0a724b9190 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: db4b4c4749328a147798210b202c31b5a64eb080ed8a7c0fc3b33a052a99a1b1 unrolled_ast: db4b4c4749328a147798210b202c31b5a64eb080ed8a7c0fc3b33a052a99a1b1 - ssa_ast: 567612071268bc2c8a7146282889335e4f29d6eff82222f5926575e1858f235c - flattened_ast: 092cd2c0c43ceeabed03bf28b27745b450eca88e6ecb367866a09c6a17f47e5c - inlined_ast: 092cd2c0c43ceeabed03bf28b27745b450eca88e6ecb367866a09c6a17f47e5c - dce_ast: 7681f6125227c57e3683fd61f921d8848ab30e1ec679275150cf0d1d30eaaa15 + ssa_ast: 94316fd8f62d73b37a01c43caabc970fd5774c1a08448ecef64988cecc5a4112 + flattened_ast: 82f26635c6608a03217138fd9f032e1ffea066c6553632042b6b29fb49170437 + destructured_ast: 4fcb3cfb1a90d3bdd23b3f7e6cce418b11425080c4bbe5b05abac7726fbbf3ca + inlined_ast: 4fcb3cfb1a90d3bdd23b3f7e6cce418b11425080c4bbe5b05abac7726fbbf3ca + dce_ast: 54d7437c7b22814b39e38ea0a3e8e658ec56abec83be96f81b76c979fa236a7e bytecode: cda5a5c278c39eba47e30601b6d8ae039a1e9a67b514f7da166b26e47d96ad38 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out index e8ccb52fba..71c5425846 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 23ae825381f0b7030be6758b7076c4ab4141aa07839ca1fc236fe198f8547546 unrolled_ast: 23ae825381f0b7030be6758b7076c4ab4141aa07839ca1fc236fe198f8547546 - ssa_ast: a56a888ca3048850b0daaf4af85bce3b103bf3ca5775394a2d9bfb049538c1e7 - flattened_ast: 3e0aa3c96c08f2ed2de4b4079e37b5ab3fffd8e914784fa59acc426426c40e4b - inlined_ast: 3e0aa3c96c08f2ed2de4b4079e37b5ab3fffd8e914784fa59acc426426c40e4b - dce_ast: 95739a863d9b808b00ec77817d2dfddacf761e710f948e0892231a3cf50aed4e + ssa_ast: d4d636a0ecfe7e3c55eff49e3b3aab76540587678ef31fcac1ad4800cb456948 + flattened_ast: 44cdd4acf28b107d9962f304349049b1d8c9e0d7e9c4b639e95a3fae3b64b39e + destructured_ast: 9706d56a3a67314d91dd9fb5764bc9e1f416daecd36dfff5660563e41a8bccb5 + inlined_ast: 9706d56a3a67314d91dd9fb5764bc9e1f416daecd36dfff5660563e41a8bccb5 + dce_ast: 6e3e90c42454a3779621585db2ac28454658e5d0a2bd6e9d1b05c7b2938ef927 bytecode: 772c3a89be9b29a160cbddfae2d0bd3edd4bef0291f89e4e6049af2139c6239e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out index 2c5b31b3cd..954a3a30aa 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: cd1d14f181d6d201a6f92519241e934c8bf58531dac22796a7ce87085cabaed3 unrolled_ast: cd1d14f181d6d201a6f92519241e934c8bf58531dac22796a7ce87085cabaed3 - ssa_ast: 34e84069867ff4f53d8e4d95988f104e95274dd24101ba8a18dbd227c383a5d8 - flattened_ast: 27f0c74ae470210253b674bc7a794b97e195db0846f5a9d831659088478a981f - inlined_ast: 27f0c74ae470210253b674bc7a794b97e195db0846f5a9d831659088478a981f - dce_ast: e02ccead2692a70cccebc8799f357956c7ed00a62e76172699f7077fc3b40f26 + ssa_ast: dc861a855ba067c742baa76731dbe8ebb2d8aba06a72dce42369435e6398cdd3 + flattened_ast: 4d5b347b5845ddcafb0da6f48b04b98e758f5901ca72d038df4119f1ace3c22d + destructured_ast: 6e9b109908e8c3760f3dc4073c016d031cd2f55fc46214b7b40132930f7c75e3 + inlined_ast: 6e9b109908e8c3760f3dc4073c016d031cd2f55fc46214b7b40132930f7c75e3 + dce_ast: ca6aa35e6e34fd8b2e8f9589c6b66223a5288fbf064beb583e825b40f1d61ded bytecode: 63efcc50150da6e754319ed894fd92dcc5adc715f39da5b2425711c347836b60 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out index 401ed00ca0..6d8f1cfc8d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 3e36ef08073700983d89093c285bff0e214dee65b7d74632067ad66255615abf unrolled_ast: 3e36ef08073700983d89093c285bff0e214dee65b7d74632067ad66255615abf - ssa_ast: 4356fbee75043e63c0b0eaa348cec36497121865d0d42ab7f6430a963fc4a693 - flattened_ast: ea69a95aeaa93f28fc9dae0d6e626ba7cec54540817841a36116f12e7a21a7f4 - inlined_ast: ea69a95aeaa93f28fc9dae0d6e626ba7cec54540817841a36116f12e7a21a7f4 - dce_ast: 3b518e981a65a87c0c15dfbdba51fe7fa24d1c629e0ca22bf5f1dfec724551c0 + ssa_ast: 1c4c2e5eda9f057a59a4a8c4761f9fc52c9d28c4782a2b58d12c19b815108343 + flattened_ast: 5ebfb9feb2fca9a465b6a669d94bb33d087f325483a57acbd98e88f957ba01ad + destructured_ast: bc7fd19d26c541684507623b8ad726bebfc0d5bf0532a05086441c59f9045d65 + inlined_ast: bc7fd19d26c541684507623b8ad726bebfc0d5bf0532a05086441c59f9045d65 + dce_ast: d0f24fcb3020016df7cb7200dff2488979f7147521a059305da50654c342b44d bytecode: b565adbdb2ae4047f19a09589010a3dce773e907a3dd3e4b873a4a3336c68af8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out index 0cc3361c1e..eb5600e259 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 72b6dcd86a824655ef6987eaa7ddcd0f4a77bb3e3a0d30f2d480cbfe7213d8a6 unrolled_ast: 72b6dcd86a824655ef6987eaa7ddcd0f4a77bb3e3a0d30f2d480cbfe7213d8a6 - ssa_ast: a86f0d55fb452477fa0ed9a7d61a4457753efcc4765b83098c4944b66cc8eacc - flattened_ast: a6e00fc5bf9d2868fdada651c8000ec108930d2c59c70220c3f01389b031acb6 - inlined_ast: a6e00fc5bf9d2868fdada651c8000ec108930d2c59c70220c3f01389b031acb6 - dce_ast: 0e78dd489266628626fa7cb84798f5bbaa2d7f2a45021dea009cfbe7d2c3586a + ssa_ast: f8f33869ca3beeabc2f8a0446d359ec2bd41e1d6936c083a6b7680964ba6d8de + flattened_ast: 0c06ceec62d3a4815b7aea6d9033f4648aab1a11e26fce60e2e6c8f096757a85 + destructured_ast: bc6f5dcfe255ac4e249bda3c696d6416e70c2308c066326a4fc6555622657c39 + inlined_ast: bc6f5dcfe255ac4e249bda3c696d6416e70c2308c066326a4fc6555622657c39 + dce_ast: fc5e8d881a250980d35e06a2677b3d965db036697a29a29cd348b0cc6f773175 bytecode: 6bb1a87b470b0a3922ff01569b69b3eb7775546b86e8ac303cb80f03ab17692d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out index 445a8e42d6..569fd392df 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 34a7516a6aff65b6acbb8320c407d725aa63347308c66fd0c58d11a9e1e32373 unrolled_ast: 34a7516a6aff65b6acbb8320c407d725aa63347308c66fd0c58d11a9e1e32373 - ssa_ast: 0665d0a58133ad75524be86b5dacd2d4fb1ee3d9e389e4d1a86c9347db734487 - flattened_ast: 3977c4ce93ceee17fec1dc69b3bbe7adf2c8915e2799ec4890ba15d8b6935cb1 - inlined_ast: 3977c4ce93ceee17fec1dc69b3bbe7adf2c8915e2799ec4890ba15d8b6935cb1 - dce_ast: 0e5fc50db5cf9f6d8549646608a66760351b0141750900cc72e8d842843d0b36 + ssa_ast: 46b6d85c150a354949a49c72d9f094396d3828ccd174953edfc320a76bb7f6b3 + flattened_ast: b674ffc594a5901429ac0dd1094eb367c8b3a9755b60e5c12daaa1ae5e8ecade + destructured_ast: c53af9db24c327c74553ab8fc8d2339752f5916775afcc312969ff0bfdd26c1c + inlined_ast: c53af9db24c327c74553ab8fc8d2339752f5916775afcc312969ff0bfdd26c1c + dce_ast: bc860544e9676fe1c778b066847ac1b394ae148377e56ae14675c6b1fb8e894f bytecode: c8a24c75613249b3bca85b8cf50a450ffab5e3eced027b46d4ecb07fc94938fc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out index c9652e34f7..51bf0e9477 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 0513a64b9068a1198d312de72661a085502f40ddb2bebfc3891963051f91816f unrolled_ast: 0513a64b9068a1198d312de72661a085502f40ddb2bebfc3891963051f91816f - ssa_ast: a730114771163177dccabf9f1b0707cd6cef0f31eb1952b3579a1217bbf99a13 - flattened_ast: e357a13764b92ac157615a54cadc9c9da9283f9d5d2bf08462eac6ae55e7cc10 - inlined_ast: e357a13764b92ac157615a54cadc9c9da9283f9d5d2bf08462eac6ae55e7cc10 - dce_ast: 71f2bd3488e27f04aff62c8432697690f1310b43f39a7d56aff70da7154ba314 + ssa_ast: 15dde5ecb8a8500a23781c6523c2970f51fe76056c43749c3425d5fc4b2b6316 + flattened_ast: 3abdbfcb313b36e8b74ce21ceb134c9fdd4e8649fdfb257afecc7ac8df2f6a42 + destructured_ast: d9f535a13d76e3b41ffab5c0f75aa511eae17596a74aaf5654322e42f5c0a9c5 + inlined_ast: d9f535a13d76e3b41ffab5c0f75aa511eae17596a74aaf5654322e42f5c0a9c5 + dce_ast: cbe38d5976d45cbe81e9337d010a21e344c07dea0bacd0b631b8fcb5186a28c2 bytecode: 4e7988f49b47d6e987d5931501b23e217ac5295f2fb3656bebb8617153c13b55 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out index d11c3191a1..bd7dd1a652 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: c16a125a599b2e3000a48a2569171181a3fd04b3c7cf47ad6dd100674d07e989 unrolled_ast: c16a125a599b2e3000a48a2569171181a3fd04b3c7cf47ad6dd100674d07e989 - ssa_ast: 2dd0b35cc138e654494b15a9b2cf252e3169dad7027a61cf4a87f7f87063b90a - flattened_ast: c17ee5c6b7591fd4a19ef5d8c0211a384bae33279ba2e5e6d130b4945ee2224e - inlined_ast: c17ee5c6b7591fd4a19ef5d8c0211a384bae33279ba2e5e6d130b4945ee2224e - dce_ast: 680536bc96d619f6b4980ff7c011cabd3bf223377abc4b8d213b9ad664cdf648 + ssa_ast: a1745fc1c594b75b30e6509000733c314a65e976145cd0192757411affe63952 + flattened_ast: d73b1470129ca8086eb449536c6c61289265dc6ebc38a9ce6ecd2f3b1f057b0f + destructured_ast: e3bd76c333ebbd3e055779fef8d104c4c701b33ba781d8203a64925ae95faf21 + inlined_ast: e3bd76c333ebbd3e055779fef8d104c4c701b33ba781d8203a64925ae95faf21 + dce_ast: 60454369f2a593174c38d4cdac3aa657054563bbb30ca8324386ad2b40fd7fa7 bytecode: 96dddca27dc2e6feaa13b9f53fe1bb2180299e90860ed8c3be4f92687949f30f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out index 0c116d442f..5d9a1d4b5c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 4e8bf25db52f102f11f66cd695cd8d6559afd7ca986337123cb67701d4119fec unrolled_ast: 4e8bf25db52f102f11f66cd695cd8d6559afd7ca986337123cb67701d4119fec - ssa_ast: c81896bf1527e49c251419892e2209e5fcb4851a664a999657e4cc510ad5eb90 - flattened_ast: 90d0ba47dbac414697a05e883fc35599f70de6a0625dbfed9c300ff113ad1edd - inlined_ast: 90d0ba47dbac414697a05e883fc35599f70de6a0625dbfed9c300ff113ad1edd - dce_ast: fc5e06d2da8043342062aaa78cfef73012da337dc79fa62aa31143ce089b45f8 + ssa_ast: 09ca00bd365e9beb2935ce85f75a4806ec71bd8101d07385e7776166eae1528f + flattened_ast: f539240ecd6f21ef5823693ba1e93586b825d4b3b85cf75a201435c4e38a0ac1 + destructured_ast: 10163f7ce1b0cb30516518488ca3fbdd6efe91494be6a16c541561ae30ad6482 + inlined_ast: 10163f7ce1b0cb30516518488ca3fbdd6efe91494be6a16c541561ae30ad6482 + dce_ast: 6b228632168c42128b8361293156feded135b0080adfc798cdf5e633dcbab51b bytecode: 3ab4dfa32ff8135e1878b8fda9bc1d0688c959e520d9bcac13f7128048ddca70 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out index 4901d0ab82..23b01b53f0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 9ac972eb39663801cbcf4c4d4a5170f481dc451ed0b369cb56187cf05b983468 unrolled_ast: 9ac972eb39663801cbcf4c4d4a5170f481dc451ed0b369cb56187cf05b983468 - ssa_ast: 08962cdb741eceafe2f896f9f95f750084867d3ea770fbc12090c8f50a01bec9 - flattened_ast: 92711e4133ab890a4e9162673610abb103db03b8f7fc7ade6eb3614173b20fd3 - inlined_ast: 92711e4133ab890a4e9162673610abb103db03b8f7fc7ade6eb3614173b20fd3 - dce_ast: 0708fbd3651c91dcff51f563452409e70891ee6215261b5c532321bc1615e818 + ssa_ast: 5a57302988876faa5a90fa7df618c70c0360f42cac4d9f2ec27599b673648aa2 + flattened_ast: b25e095aaf8ef5848c520f9e22b94e272b0405b882387273ed02a1d85ba53762 + destructured_ast: 917bd788cce86aba11b5bc742bd69fe83e961f58c46e4b7e5e19e0852ef88421 + inlined_ast: 917bd788cce86aba11b5bc742bd69fe83e961f58c46e4b7e5e19e0852ef88421 + dce_ast: 88fee8893a13b4aa8f010fce41801b5d3c9c3d912df381b1a252a2aa102b879f bytecode: ce3656eda78b090739dad77c6fbcf5e3cf43a1327a367b01504913a37ca7ee3c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out index 32f9a7f2f3..068f837778 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 149a76373a11725a8f0ec39ea92ee3b3693c1bba30eee9f2580aae2f5198321d unrolled_ast: 149a76373a11725a8f0ec39ea92ee3b3693c1bba30eee9f2580aae2f5198321d - ssa_ast: a245a90b0fb0b1988f20c816d72f1f922a937415551777346c21593156886efd - flattened_ast: 349afb5565ad2d49cf871fcd6c9af1b78bb058b59f9b6ef6066f5312d1bf2ffc - inlined_ast: 349afb5565ad2d49cf871fcd6c9af1b78bb058b59f9b6ef6066f5312d1bf2ffc - dce_ast: 6d291f5427962b34ee96fa8c3e867c19b8fa50187da5010073dd8b6eb717ffe3 + ssa_ast: 90045d9cddb0b9417be866efeadc0f03a0a7d388b7b350f6739ed03ef2a33b54 + flattened_ast: f781f40b8ec7e58c4a529762d8e13b6f49e816bae56c7df50f5118c5ed5c1154 + destructured_ast: 242ff60f9bc54519f107109f8fa77f41a99a6787b7dbba316f577e0bdebab59d + inlined_ast: 242ff60f9bc54519f107109f8fa77f41a99a6787b7dbba316f577e0bdebab59d + dce_ast: 31a3d1565c0a809dceb44a629a21dcebbf1adc45d6533a997c9ec3dad8006e6b bytecode: f9f56b97798b2dca8b9631e0e5d25ed37780f634a407e53c88cded45c80c07eb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out index 2d0b115176..e11ad6b8ff 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 6578d69ad57274b5b98881781a43f94fc5e0538f017f0128dba3f1c6a5608a0c unrolled_ast: 6578d69ad57274b5b98881781a43f94fc5e0538f017f0128dba3f1c6a5608a0c - ssa_ast: 5df0e71220688b525234f677ac25a69f705d374f7114c301c288ac17a7f21a10 - flattened_ast: 3ac20d27c9e5957fa5f0072cb07a181985b408fe15f367c4ea2a772d9e623d56 - inlined_ast: 3ac20d27c9e5957fa5f0072cb07a181985b408fe15f367c4ea2a772d9e623d56 - dce_ast: 168435b6872ef12e28ced8e532df438fac86461659c96a3a7e68e9de0a7b2961 + ssa_ast: 3014b49f12e7f5e211a745a01ae0a278bfb34319a447fb072d635b2eef938d9e + flattened_ast: 833374769ee70ff942ad89ba8f5f7d9529b09ce08abb879626e03bfb072e010a + destructured_ast: 85caa93081ec4f6a4e5ac77b2f8023d77c9f7997fcecdf0185c75e11e957f330 + inlined_ast: 85caa93081ec4f6a4e5ac77b2f8023d77c9f7997fcecdf0185c75e11e957f330 + dce_ast: dd49637381e3ec2d52baa6c7b91db808581c49cf69d7fdaa16f30b7e55fb1323 bytecode: 088c87d540f9f654d25de5dfcdb4b6c796c1840e2454691523b7e2f18f4a9a60 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out index d964a6ae0f..78bcd4b0af 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: a1070a848cce9e2b50dd936eb0ba30e6161eb22313875fe26ad8b13d133ae5d7 unrolled_ast: a1070a848cce9e2b50dd936eb0ba30e6161eb22313875fe26ad8b13d133ae5d7 - ssa_ast: fb2342aa87dc70db31ca7da4ad94e4c29040ad84e412ee58faa22a7fe0a495b2 - flattened_ast: bddede46b8f87967fc43fcb57d6910d211c2164b875cef9f9ef187d59335c96d - inlined_ast: bddede46b8f87967fc43fcb57d6910d211c2164b875cef9f9ef187d59335c96d - dce_ast: 5dd7603e09f749c885219ba695b3c31479927e2bf595acf9399e9361750c51ad + ssa_ast: 1b6e64bfe4d7fe5ff4f6d3d448a0f55e77d78c7bfd0d6757d7768f862cdd4c09 + flattened_ast: fd828e72d0b8c1c37137e0c94939f057311e4d1d4be50b5e615bb34c56e8a9cb + destructured_ast: 909d537edbd8cc52c9a0a438421725f6ef828edb702bb1cab7cabde317b25f07 + inlined_ast: 909d537edbd8cc52c9a0a438421725f6ef828edb702bb1cab7cabde317b25f07 + dce_ast: 6d6d15e49badc0f31a48a3dcda24ee41ef60999d3b166f8bd3919f707f426744 bytecode: ad4af37b670727cb59618e798445bceef3725386a61cdcb7e0f829c3cb895a8e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out index d6a24ce1b2..f13c64854a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 3646020fad96c4331ec1cc45b097c23a77c3c21f4a5576702834c0bd5019b830 unrolled_ast: 3646020fad96c4331ec1cc45b097c23a77c3c21f4a5576702834c0bd5019b830 - ssa_ast: 6cc26a19f1a0bfdfb353196b96360fed9c1cb33a8966ab4e4f6638aa9c79edf8 - flattened_ast: 6b191952b12677dbde51ade3adf542f0a5ac07d4debcae470cf59131cda01c84 - inlined_ast: 6b191952b12677dbde51ade3adf542f0a5ac07d4debcae470cf59131cda01c84 - dce_ast: afebf43bcbcbc2f6789bcd34c539a1604ad1d0a75979e44b4c554560715428b5 + ssa_ast: e1c1cfba21008a07d3c959aaac624b6106b9b724d115b86d664e0e2ea5c9f2f2 + flattened_ast: 69ee13c0fa8d6b2dda6af3ccd84258d55d1dae9ed74312cde6a4a3e3be1d84a5 + destructured_ast: 33dcf27f6cc5d51766555ba7ece22d71222e87b94cd91a047fcbbef30f711f82 + inlined_ast: 33dcf27f6cc5d51766555ba7ece22d71222e87b94cd91a047fcbbef30f711f82 + dce_ast: c6f144d43388660125f4097dc49d789de30fb909cebbfcb526481c5e73876c6f bytecode: 9da4e5b0bf8b86b933224f69aa4751108e1eceb8c8b0b79fb31e3b8403fab161 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out index c28a85a170..4be4393ecd 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: fe280a006c48ac5af4b93af112e752916f3299f82790794bed86740d5316b35e unrolled_ast: fe280a006c48ac5af4b93af112e752916f3299f82790794bed86740d5316b35e - ssa_ast: 2f2816dcde5c5c96e4aa669c0031ea5caf060f876cd5ee046081f988de68af15 - flattened_ast: 1ade82385c90f03094b5fb0b1344fb9de1b2ce572de118965a09e297532d8f62 - inlined_ast: 1ade82385c90f03094b5fb0b1344fb9de1b2ce572de118965a09e297532d8f62 - dce_ast: 147f205546601686183bddaf66c9f4791fdaeffce5f41e9341d93f35c5ef9cf1 + ssa_ast: 291e87fe7f7660d54fb4eedf3947ab19412ab4270f5dffe669aadfa832220816 + flattened_ast: 51bd7fffbaa064acce4c73e629efd34ca705235099d947d9b7c3b75a162cff23 + destructured_ast: 71105235b6d9b4ab1ec9655afba5fef30b02ee92625a48483138a1bea34db43b + inlined_ast: 71105235b6d9b4ab1ec9655afba5fef30b02ee92625a48483138a1bea34db43b + dce_ast: b28de7c434edecfd549574de1eaac6c4c85109c7a7a95c96655d4d1cb834b0f9 bytecode: b84d6d5eae32aa8692a6933af7717cb987b65921565da007af31391f40f70fd8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out index e26315c99c..a525fb8d0b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 34e4211efed9fe52cab44a9f30a78ea56aa9c6764dd1baaea04727a5a251aa29 unrolled_ast: 34e4211efed9fe52cab44a9f30a78ea56aa9c6764dd1baaea04727a5a251aa29 - ssa_ast: 21ad08ae53cd3b74f2872033c9061ae5fed73978abeaa67a0ba4a222c1d917e6 - flattened_ast: 9f319c03ab941095bac3082d39cf9def2b43113aa83aea2902b063616b0a648b - inlined_ast: 9f319c03ab941095bac3082d39cf9def2b43113aa83aea2902b063616b0a648b - dce_ast: fdc8c635fa172124807c5454cd441295e98df553c3424c196472ae56acf6381c + ssa_ast: ad6bd99ec36d7a7cb063676bcc45f6b7cfeac34c93fb8af14a632aa08b974ccc + flattened_ast: c3c7bef98a3ecebbe8b2e8d5e830f9f04f31efaed8f9165f2dd067557155f015 + destructured_ast: a7733372c49bacaa6bd4e8f45583d4592e088bf7ea444a7e1c84c94c9c4677ba + inlined_ast: a7733372c49bacaa6bd4e8f45583d4592e088bf7ea444a7e1c84c94c9c4677ba + dce_ast: d9c887f2a73325ca77bfefa187ac4f31d2f7c057c0f7f144d1877bbd9008936b bytecode: 201d3f7e82902483df6d8aa7457d8d8f595c03ce4ea0e2e7fb355eb3af50e1b8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out index 032337fdaa..d51c2bd7ca 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: c743711ebd021161747720c14c8c0d5ab2ccfabdedff9069ee8cd803a0b05cd2 unrolled_ast: c743711ebd021161747720c14c8c0d5ab2ccfabdedff9069ee8cd803a0b05cd2 - ssa_ast: 4463cd3b5ce9d0ed27f1590bc0d33760b4bbd7c6c0e7b71e18d23b2c0d8e1474 - flattened_ast: 4a39ca71edd0212af18812c283a5756bbba2eff9c53524f91fbc67ed73d74978 - inlined_ast: 4a39ca71edd0212af18812c283a5756bbba2eff9c53524f91fbc67ed73d74978 - dce_ast: 68c4cceebea6da889da03c1bc357e68e211750fa88da917724e43e6f09587912 + ssa_ast: 1c976725e8e6d80a07bd93b2ff43911c38f584c581d526d6ccc5efac29407ad5 + flattened_ast: 06c3999313e6ee1ded33c9984ebcff3cd22a548fbb7942eed295c07198cbb31b + destructured_ast: 3d0f26fda76c26185f1e0feb00510cf8f4072c27207c42d2e99ffdbec0055c2e + inlined_ast: 3d0f26fda76c26185f1e0feb00510cf8f4072c27207c42d2e99ffdbec0055c2e + dce_ast: e3e9748eebd9f759934187bda45c923f3b4f9173902a44ea63722a00798262a3 bytecode: 15ee84b84f4b413e4c96708f16429984ec205133436db20c2b2a709a136029e6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out index c396246fed..8fc2174f18 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 7c5a563ddf528fb3e2ce872feeab8a67ada06afc5f29f06d339a4477b2b9e6f8 unrolled_ast: 7c5a563ddf528fb3e2ce872feeab8a67ada06afc5f29f06d339a4477b2b9e6f8 - ssa_ast: bd79903be7439db0e99dce3db3e3384774d7e0f10f812be4aa53efa773834be6 - flattened_ast: 22f9e4334ec41d3b07db3185605b8ef7526ba6e4c0996061b86adc3949e4f9dc - inlined_ast: 22f9e4334ec41d3b07db3185605b8ef7526ba6e4c0996061b86adc3949e4f9dc - dce_ast: a06a0f0e4f18063b63c4356e7a8c8af3660a60b956ccf9dff21658595ebab483 + ssa_ast: 62dab92296cc2655da2af5d8097bf5ec1337cb7459ab17385d66d775e47246a7 + flattened_ast: 2a90e21fb4e429ba21b890297c7248108de73457051c4ca8bf56b0fa3d1545f4 + destructured_ast: 140d965775b15b1e351db71414daec653bdf9a44ce8e54c66275517ca1881cb7 + inlined_ast: 140d965775b15b1e351db71414daec653bdf9a44ce8e54c66275517ca1881cb7 + dce_ast: b1050f04ac436df9843499eb16fcd3e593607fd3136e1332f34ae3814ad63321 bytecode: 6a667db0987376b81e0e57620a5044fbbb4803131bd2c55d2b58fe238df51a3e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out index 61562ff74e..b8690e5a5b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 06b9c0738de77178a88043b67367f50e1b4f57f2a80eb5bba967c2d44f9abefc unrolled_ast: 06b9c0738de77178a88043b67367f50e1b4f57f2a80eb5bba967c2d44f9abefc - ssa_ast: 54ab188bea843ebae6e328ba6c66ce67d8cd46b11cd7e7549b2bbb98d82b1db3 - flattened_ast: 099a1b2175a3ff9187c3c941b1725fb4312bee818c014f6e89afc1a8e388c24c - inlined_ast: 099a1b2175a3ff9187c3c941b1725fb4312bee818c014f6e89afc1a8e388c24c - dce_ast: 6ef0afc9256e1ad6643d1f94223ee609b8d7274df38d0b95df14a4291b1220e1 + ssa_ast: 4c29cb6b20105019207aded5b98380ca705c43ad7ecbc2080370f77d5fbfa09f + flattened_ast: f8cbc8cf05572f27cb29ffc79455a4537df797f9c4e1acd6eb824b736fbf5b2f + destructured_ast: be22f6e387bfb69e2225b7cca352d09f5dd30f71205087c4eead8d49d64a3f3e + inlined_ast: be22f6e387bfb69e2225b7cca352d09f5dd30f71205087c4eead8d49d64a3f3e + dce_ast: 940187abb3ce6765f78a7343adcbbae52c06d08f3f49dc80c21f43729d161c4a bytecode: 9ea59902cbc6e8126f78f801de5621ef7927e0ff7ec19bf24a5849a52ba46ffa warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out index 52bf3ac515..596f506c1d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 8cb8c4d0dd797351f9c703b4bbce27c2b0fedf30eb3e276d9b880ad4bcd3090d unrolled_ast: 8cb8c4d0dd797351f9c703b4bbce27c2b0fedf30eb3e276d9b880ad4bcd3090d - ssa_ast: ed6d01d2b684e87dc179d76632811922476526745e4d0a5c2b3e780a2d7e11bf - flattened_ast: 3ec189474aeb7e3132cdff28ccf728d34f5c127569dddb045158003d9321ba6e - inlined_ast: 3ec189474aeb7e3132cdff28ccf728d34f5c127569dddb045158003d9321ba6e - dce_ast: 3afca53c132a478b48a00b18c4d7d91478b48935d8edb5fdcbd9b4e013d1b898 + ssa_ast: 847f34f1f72da0eaa801736da0278a99443fcfc4da2a35cc8f9bfdc072ac2327 + flattened_ast: 7ba8fe9cd8e959e5265ac8e23dd340bee503946cd8cf69e73445988c1eac66f6 + destructured_ast: d6c54c60af8e1d4a39e111b8a702954f409f0114e42f17b979e5ac200150a16d + inlined_ast: d6c54c60af8e1d4a39e111b8a702954f409f0114e42f17b979e5ac200150a16d + dce_ast: f1f5bc89bbf119784613459e75432f9f31f8477bfb4d8723152032a6f10cd99e bytecode: 92748b91d172e56a27635bf305f8f8c29d6a18e19e1e0ad6b06b2b3bb028925a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out index 9e6e9c943e..7a276a6945 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: fb5e19cf467ebd466a2c8ecda0148f653e5af391e12b8ebcc3b223b3be54ccde unrolled_ast: fb5e19cf467ebd466a2c8ecda0148f653e5af391e12b8ebcc3b223b3be54ccde - ssa_ast: 79bf9995bf2e9737b0a3e2deb539c7910356d4b01777a500d76984d126e7772c - flattened_ast: fb9fece00b21a7f0a4cb05d8cddd6411ab00f6a02fa72dc21de3e1f2b294e366 - inlined_ast: fb9fece00b21a7f0a4cb05d8cddd6411ab00f6a02fa72dc21de3e1f2b294e366 - dce_ast: 82e004ac046eb03655233429ac7d50f56f8c91bc4b5383410c20f873d5a75848 + ssa_ast: edc6e3a4dae2ccbdd7b4c4d24f35ca31f2279dccfd8ea8a15b41b3252ff1afb8 + flattened_ast: 354bebd2a8e5cd635875da68d4901aaf8b8e1e50d201f7040e94edae69530014 + destructured_ast: be075582013bb5121cba94eef36f5c934c18833d78a8fc4158977068ae3f9b0c + inlined_ast: be075582013bb5121cba94eef36f5c934c18833d78a8fc4158977068ae3f9b0c + dce_ast: d40fe24dccef2654be290be88b0ea631521858c1ee01b01c5fca5e7caaea2601 bytecode: 590389deb5b7da7e5210fcae5fed44bddf2b1a0bd6d2b30817eb650dd5efa343 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out index a85e649d39..096f8a675e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 8da47914834cceb94f7de268f3fce06c455c0c600ca9a64af91456c0b6c2e553 unrolled_ast: 8da47914834cceb94f7de268f3fce06c455c0c600ca9a64af91456c0b6c2e553 - ssa_ast: 58d887fe53ec2ce445307e2d5d63c8a0578ae96e9e9677c9b9c066e066b1b6a7 - flattened_ast: 0402e36392ceef2791332b4e849c357c4993416329be24623a4d8e22d60d4a71 - inlined_ast: 0402e36392ceef2791332b4e849c357c4993416329be24623a4d8e22d60d4a71 - dce_ast: e02160d2272822083f0679be88dfd4c720af23c0b8301e77d20bcbbf554af1e5 + ssa_ast: 33bc0c6e78e5b61930b681c9876aadc9248b028a6fe861b2405f609321963e4f + flattened_ast: a5809a62154b907135bc191dd5d76e05848c11ed71ce5c9313b1eb84fa5b2bbc + destructured_ast: 101414746f0cc39c55736d1ff7208778f9fc47c6d24f16eddda0165e2748e695 + inlined_ast: 101414746f0cc39c55736d1ff7208778f9fc47c6d24f16eddda0165e2748e695 + dce_ast: 862154c5728aee2f2e31d483187add584dc44ac5dd6eb3ed6e519707205ae32b bytecode: 6ae1c5f0b41e9982c661326ee81b26e8c0b6d400f5a8454117984c37ab4e492a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out index e6c6ce5334..4ed98a499a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: dbb02ed6826bb00172c61a5abdcd7f9d88b17ff78191272325545034a0f0b594 unrolled_ast: dbb02ed6826bb00172c61a5abdcd7f9d88b17ff78191272325545034a0f0b594 - ssa_ast: b0b9b12f0b9da43b9608dde59885e774a5af889ff15d3feea2f43145cc2b71c7 - flattened_ast: a7d31ed5e5789b1aa1642866cbb331ee3cdf863d9c8a5adbafdfc4cde8e8cf12 - inlined_ast: a7d31ed5e5789b1aa1642866cbb331ee3cdf863d9c8a5adbafdfc4cde8e8cf12 - dce_ast: 016fd3713415b63326daeaa626dcdf5fafd6497dce66c7f453daf52e8dca1923 + ssa_ast: e5b37b4e4b1972ad1f8d5eacb3deecf21939d57c4ed1488c26dfca13162dab97 + flattened_ast: 2d6b728b49407617e426434454cd6678b6ba0d9735cc0e71cb9ba5dd2b1fd4ce + destructured_ast: 6f87f09efc0c67a3884a66bfd301ef9f7aafd42f6abf6fee415db6eab9fcd635 + inlined_ast: 6f87f09efc0c67a3884a66bfd301ef9f7aafd42f6abf6fee415db6eab9fcd635 + dce_ast: fbbbd6bddfc0b3101c7b0d44d6650dc1f91afee0add1b007013dfcd311eded6d bytecode: baa423f7d34847421a44a1ccfede64fb02829a7d99c465b0605f85cf20705986 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out index 47acd6c743..ae2e01c4a3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 7960b9520cbbb9d900f9f26216708f6774dfdf719ea6f7a9ea40bbeaea8ff82a unrolled_ast: 7960b9520cbbb9d900f9f26216708f6774dfdf719ea6f7a9ea40bbeaea8ff82a - ssa_ast: 23f237c77b84bc6934915358d375ff13ee52a8a07b70442162a70ccc526c0931 - flattened_ast: 05ce7c9b985e52a34d2636c5d2b91eb991fba6d0329e3cc327e986f021d9c319 - inlined_ast: 05ce7c9b985e52a34d2636c5d2b91eb991fba6d0329e3cc327e986f021d9c319 - dce_ast: b3297bb5a0fa6edfaf3fbbaa55d25b70de7bd90dac2d78e3b346ddaca9636459 + ssa_ast: 42e2a1320409787db9205cfd48074b466c727b2120c4712ba3310fb09c9b1d79 + flattened_ast: 4a7aea538b460115ef43ce9ac7dc8081bbd150bf28486a4ba8aa2e4d9b6a328d + destructured_ast: 842a339f47e5144769563f23f76b6a74b7d27a693305015b65e8602b6e09c6fb + inlined_ast: 842a339f47e5144769563f23f76b6a74b7d27a693305015b65e8602b6e09c6fb + dce_ast: b547332422fd523cbda85cedbdc252e7bc646cee690d92283c2c91d84c63ccae bytecode: 4d5b9ec6fd0830de759b0df4e24136712875ed4bac5aca6ff53d8a6938693f56 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out index b4d4e8db95..dec5de8842 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 94bc4609ea345fc9c5918a8cd705df740d125dcc22ff5f239d8fba86eee1c1b4 unrolled_ast: 94bc4609ea345fc9c5918a8cd705df740d125dcc22ff5f239d8fba86eee1c1b4 - ssa_ast: 6fd8220e7a8b902d56da5e5147084969f4fa5882b9c4136ca1bc6a5912149edc - flattened_ast: 03eb5762ac5fee131ebfa14227fd52aa2926a2b6c1307835db9c91155463563d - inlined_ast: 03eb5762ac5fee131ebfa14227fd52aa2926a2b6c1307835db9c91155463563d - dce_ast: e4c3bc8e170c13a7329fa3821dae3470a104ebbf173c71293bbb47ddc0c7fc8a + ssa_ast: e137d961305bb3cccf94a1d62c3e72f79ce759c89f179eaa0a90c8b77363fa57 + flattened_ast: 0665a6741adb47997b6ba2ee40179984645cfaefc2e837177a304637a0cb16f5 + destructured_ast: f287ca3f4739abbdaa544c54552e6edda24756ea6a4c2eeb9f7da6ce755e6805 + inlined_ast: f287ca3f4739abbdaa544c54552e6edda24756ea6a4c2eeb9f7da6ce755e6805 + dce_ast: 01fc0a708b1cd6c43b1cdedd5f9bfbc1b41ddf1fe1a91a4cd62a033d94abd11f bytecode: dae1414959e50ca77ecae476843824b6220aa3ca4e95ab2a98deaa4b78987bc7 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out index cb389ff128..aa6320cd43 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: ab45268280ad7301300d4f0fe04e3c9f8d593dcc4099e49a4a0ded5fe49767ae unrolled_ast: ab45268280ad7301300d4f0fe04e3c9f8d593dcc4099e49a4a0ded5fe49767ae - ssa_ast: c34c37dc18fa7e1ae9b76e3930f35999e001d92b0a98749608df599193f75063 - flattened_ast: 3656e6591842f671a9dbc4738f0ee1baa9d24f67815b6ede25bcdb6eaef5c5fb - inlined_ast: 3656e6591842f671a9dbc4738f0ee1baa9d24f67815b6ede25bcdb6eaef5c5fb - dce_ast: c8fea8918ee852791f5168b95889df883a7ae433ce70b83af2eb08794302e586 + ssa_ast: 1e2de686015b296197b10ad514a428412d45169fce5512febfbcc91a06e25f22 + flattened_ast: 5372b65cc12aaa5c0a220c433366808dd7578c56b407d5bb104888263e096734 + destructured_ast: 20e27be04385bebfc81e390842393fa84141ddc8d6d4c3da832f4279c9b98a64 + inlined_ast: 20e27be04385bebfc81e390842393fa84141ddc8d6d4c3da832f4279c9b98a64 + dce_ast: fc4d8d4894a627b1053d77dae21e5dc9de073a4f569233687d7ef692e79f3335 bytecode: 770f2acaaeeba1f46a6b57a837f4abab295fe19070a150e6f59fc4e8d4cb19fa warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out index b28cba0dab..c891d9e470 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 49cf9b97d398ae484fd4a2b80cb62f0f396545998332318786af41651b617eca unrolled_ast: 49cf9b97d398ae484fd4a2b80cb62f0f396545998332318786af41651b617eca - ssa_ast: 24e6539b4259195da8cf11b8d0fc9509bfbb0de0893f5817031208d96d976d07 - flattened_ast: d6ffa18ccec1a313864cd4864b61f9420d4f77609f4069740118be8d9fdbdc2c - inlined_ast: d6ffa18ccec1a313864cd4864b61f9420d4f77609f4069740118be8d9fdbdc2c - dce_ast: 96c41aefe46637cddd71c130788586a3888ff95ae70cee2876a7c20741dd51e3 + ssa_ast: dd59216636a2b8024fd84bcdb252fa6e4a43cc0b2c380dca1297bab2c399308e + flattened_ast: d190f9afff9b0348d0817ac79518d5f928ca20edab8797e40c42aa6cf2b171d7 + destructured_ast: 7c62df3530cc8a0bebdb2e39679ade568f0acd9e8076a0fafa1ea34a6bb5127d + inlined_ast: 7c62df3530cc8a0bebdb2e39679ade568f0acd9e8076a0fafa1ea34a6bb5127d + dce_ast: f9035a707d549e22ce08fad6bd7315f42b95b72d8729272389890f3dc493923f bytecode: 2827725e28e621b51cf5a40a1979da7558af0ec1e7e260b1ec255c169efd7948 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out index 8bbcfae99c..76c7c361c5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 88a39743d2afe866b4575beb9e552618ec3d91ef1936e6b10d005b12fbf28acb unrolled_ast: 88a39743d2afe866b4575beb9e552618ec3d91ef1936e6b10d005b12fbf28acb - ssa_ast: caffeba4c62bb9c91bf21377d67b6387022afbd09cec0ca13edbf59b960b310d - flattened_ast: 6a7596bbc05273bfc8f361e8c6cb9f71097e96322736607454e3c39b7118cb8e - inlined_ast: 6a7596bbc05273bfc8f361e8c6cb9f71097e96322736607454e3c39b7118cb8e - dce_ast: 486f458f8a8b1937d68332ee2cbdfb6ceb6bbff8358d18b6b933a965cc93df91 + ssa_ast: 0096cd9036c99cd7f8da3189c461d81df721150673c9b867e19b30d494a19c06 + flattened_ast: c3f689d8cafe94e9b1ade3e1db9fdc99bce11b269118918c5993d3ea8ce9479f + destructured_ast: b8a2a230d9b3a8d8e49c20c7661d5ac089f294fb3c85af2cfc0b549427b2458f + inlined_ast: b8a2a230d9b3a8d8e49c20c7661d5ac089f294fb3c85af2cfc0b549427b2458f + dce_ast: 71c3823b4fe55854fcb82d4050f055516d0eed538eec3db00095139b6f7b7544 bytecode: a90328ca973213775dcbfa872950cc8126b172ef1cd4c1a1650277b23b6f6957 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out index 06452f6256..f509864a56 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: b3f968e2f8efde144e0d2cfb1fc2f8656727fccae7c1a6951e877106e43d6716 unrolled_ast: b3f968e2f8efde144e0d2cfb1fc2f8656727fccae7c1a6951e877106e43d6716 - ssa_ast: ade4ae6176e30872aaed9ab219e2e1b3e595590dd346395cb9bb56cb332bd718 - flattened_ast: 01319010f830e3cbec9228fd84c7378c817b848dff8a9c3a63c6238dc6fab3eb - inlined_ast: 01319010f830e3cbec9228fd84c7378c817b848dff8a9c3a63c6238dc6fab3eb - dce_ast: 28536437efcd0fac0a8b10a63201f124f069d99a74197c7db86b9b8f7896234a + ssa_ast: dfbaf6da5ed305433e9bca84d1083e35fd3f5e4460f8d32202dd0b2af2e862e6 + flattened_ast: af32f1556b67f31a9f203a1391176d77f3d00921ef34640ee5d874c17e67ab94 + destructured_ast: 082733a79bcae0f3d0353d5d09e3a7f4792f38186342ddd554838214f32b9378 + inlined_ast: 082733a79bcae0f3d0353d5d09e3a7f4792f38186342ddd554838214f32b9378 + dce_ast: c254dcbefab17e3aed977a7260dd92826049f50478b34b8e901470c959402cef bytecode: 56496fd935df4646cdd71fb7cee3390df240c99433835d70ef5967a33e6d7de8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out index 7514782012..72c813b60f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 686c508b9a1a304819ee7eed8cedc8b8ef3de4ca662b76971145afb386938df5 unrolled_ast: 686c508b9a1a304819ee7eed8cedc8b8ef3de4ca662b76971145afb386938df5 - ssa_ast: 80df0be7bc13336ed7c7bd76a282b4559eeed833f778e63f45724c1d8c46d4a4 - flattened_ast: 0e32fd3ea0ea612a75f51f29021fede4eb054254c21a75da7e59e31830ccaf1c - inlined_ast: 0e32fd3ea0ea612a75f51f29021fede4eb054254c21a75da7e59e31830ccaf1c - dce_ast: 27df8dbf98beb1c4cb1b94a248ea8f581ec4db74746567e6beac94bbcb56bc57 + ssa_ast: b4e3921b3dc3627a756e4a45128c74373d3d569a1ea03b4c04c2ad6357dc16a5 + flattened_ast: aca1e9087cee5f18ef5eb6dac1200c1c4bc2c9e35650aad795a5ece4db6b452a + destructured_ast: 39d3477420ec2efa7f5b9564dc64d9254d2348f312b0e3f39387698b0abc47a2 + inlined_ast: 39d3477420ec2efa7f5b9564dc64d9254d2348f312b0e3f39387698b0abc47a2 + dce_ast: 0f0d90bc636d60b57ee57b60dc4b27ed747760034386aa0f5f28f38de4a0484e bytecode: db058ed7b34e9c94cb51c9152685548070f56ec9b80abe82b0ae5789a0f81cee warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out index efd594620b..fa7d8ac6be 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 47076f8a4c30787dd398574dfbc7d7896b35bd6bdbf566a749281ad475964bf3 unrolled_ast: 47076f8a4c30787dd398574dfbc7d7896b35bd6bdbf566a749281ad475964bf3 - ssa_ast: 11d05ae8edde56e7dc10abbc8476ae3519cf6c2a377efbed35c12deee8c6ba24 - flattened_ast: 75c5c44eb7b7c7194445f85757e4bcc3e0d27585235770051ec645e97f755560 - inlined_ast: 75c5c44eb7b7c7194445f85757e4bcc3e0d27585235770051ec645e97f755560 - dce_ast: 7a9c31d96956671c7fb19c969b3495e5dd9bac0cd4baacd3711bc79fad0e1726 + ssa_ast: 5b459997d80185559fde464ad0a70f44686c9e0fc61975deb8fa79f1d489124e + flattened_ast: 9c3947d17bc7b880dfdbe8524ca7b11f12f214b9f67603839d152780f2d7e6e0 + destructured_ast: b43ec03f52776f8cf4d6cd4f7f325f8d17651ed39f5a2cc5706f4417829448ee + inlined_ast: b43ec03f52776f8cf4d6cd4f7f325f8d17651ed39f5a2cc5706f4417829448ee + dce_ast: d86628af1477d33ae6f04fdf3414cd7f8ac53d84cd0ccd3d67429ae97a9e9370 bytecode: 3c60fe2ccd72f2fee542194a4a812f65cb74ffe4aa77947d0ef39a626d9175d9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out index d8fa3c0d20..1a981c02fb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 0cf6028afc7b473b4c3e5531b8bda76609b2d10de6191e6c2a9d24e8904c85b3 unrolled_ast: 0cf6028afc7b473b4c3e5531b8bda76609b2d10de6191e6c2a9d24e8904c85b3 - ssa_ast: f429ccec13a84bb4b373c60164c34d6c6944f0545bf68f0b082690453156d23e - flattened_ast: c576dc5f5e4ae36f1b4d1fe6468477f437487d24d778c5916324cb9fdade2069 - inlined_ast: c576dc5f5e4ae36f1b4d1fe6468477f437487d24d778c5916324cb9fdade2069 - dce_ast: 71e26a495a99f18da7c85f267102e116b3a6b404c922fc6e831f514ca86d24c0 + ssa_ast: 4238bc5c162cfdd398704589eaec25e413c48abd0967a3db14f397fc445f6be4 + flattened_ast: 5a3fc4286e5f2f2f70614a65983c6ced2283b7b1f60efd68d1dac65eb776a461 + destructured_ast: fa08362f0e34a062f9df74a26a9e472f6a79762efe5a99ed48f5c5f0277015e2 + inlined_ast: fa08362f0e34a062f9df74a26a9e472f6a79762efe5a99ed48f5c5f0277015e2 + dce_ast: 97aefa4a95ee98eb0c9d66ba29c356aa5e2c957dee19f4c21b0944ba9eec2c06 bytecode: f6c112b08c4a5b02002de56b8dfba054dca0fdb49feeda7146384ce5bc4b9e3b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out index cb3a86f345..5276d96b08 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: e5d2cd2beae2d6dcdada61da64061ea5f9eb0524cd5bc0fc7dce546fef016dc5 unrolled_ast: e5d2cd2beae2d6dcdada61da64061ea5f9eb0524cd5bc0fc7dce546fef016dc5 - ssa_ast: c8d7d3835d25277a14a5a41955e8e5a6e81b15b5ff282a68bf9946cfcb8fd38f - flattened_ast: b1a685db8c89936be090bcdde0431f5b38f2eb0782122c16514d4b2789123ef2 - inlined_ast: b1a685db8c89936be090bcdde0431f5b38f2eb0782122c16514d4b2789123ef2 - dce_ast: da7b5ff2066a68c57899f93476165b9a8df677cb26bc162f6143b4fc4737a4e6 + ssa_ast: 2e94d0db12d5b01dafadcede0ce241c08690c935217679116007601aaf158087 + flattened_ast: 6d81063fd176cb0374cee7188d933e3ea2bff735dc1a5adebff81c53d4c354a5 + destructured_ast: 4a16b0e2059faafce18bee953a9362e9049f8e98a636ed042e2fbfdea9af5bd9 + inlined_ast: 4a16b0e2059faafce18bee953a9362e9049f8e98a636ed042e2fbfdea9af5bd9 + dce_ast: 2d50061dae6da2e3f7cf9405412117900434e400c204b5e3e43869f096d34c98 bytecode: ff30f43337c830695fd7271014aee19d33c0489de50d3d66db69b3d73da357ce warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out index 966a09c36a..353d8e6cbe 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 7b8210d40b189814967b16dc03479d22104f612324017a71e28833a97e4ad168 unrolled_ast: 7b8210d40b189814967b16dc03479d22104f612324017a71e28833a97e4ad168 - ssa_ast: be8e48ccf1aac13ca75bc9ddffce0d7c7eb351ffde813c4aab1e137c111dad8b - flattened_ast: f81925ade5a8338f6931108787c5d989eeb9ba6e0309a0630ed0acb0e990e23f - inlined_ast: f81925ade5a8338f6931108787c5d989eeb9ba6e0309a0630ed0acb0e990e23f - dce_ast: 43e39aa43f70dc05909d452dc84ea1589db2d18f6e8bc419684e91411ccb2d9f + ssa_ast: d6cef53098d3df06adf13c61b0e6074ef371fe8dfe7c5099b8e9edf4f39b4456 + flattened_ast: 9d6c48fb6c0face5542abb6f78161e99ea9e009159d852d6b4944adc7ad4979f + destructured_ast: e5d6750fb6bde02967b5efe26cfda0916013c29ab181082bf5675bc0eb47666b + inlined_ast: e5d6750fb6bde02967b5efe26cfda0916013c29ab181082bf5675bc0eb47666b + dce_ast: 7b1996288c951bb2a3887c16d546efbdda751f1d8a73c9b42eda0eeed75d8b5f bytecode: 9613835dc4e36f266d29110dd595208e54ebd4b8dcf371985a38796c15044f38 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out index 9c7f4411bd..7a07f77b13 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 5e60299bc1ecf79269775914b83b3b21be47b436c06b217befce8d4af16aeff9 unrolled_ast: 5e60299bc1ecf79269775914b83b3b21be47b436c06b217befce8d4af16aeff9 - ssa_ast: d566743f95a9ae8d6c7f7cfc9b2ab108b846bb268a8017dc24137a50c784737b - flattened_ast: 29634bfa0f13fde3d0c9683ea0dbd18bfcc70327e87616756ee185a70c49eeca - inlined_ast: 29634bfa0f13fde3d0c9683ea0dbd18bfcc70327e87616756ee185a70c49eeca - dce_ast: 523a3fba35bfe5fce5709ca35dbf832150529c71058df31e6e5f4100f4e6e6a4 + ssa_ast: e772d75561e8cb2b1189c70421a6d51490deb70a1a89ca4e9e2cfe2d91900a1e + flattened_ast: 9179317b5cf9cb4d3ed803616801fb1011dce0bc89eb01e7d00ecd732d861843 + destructured_ast: 46aed9cf5c9dc767d5f87b58f2644942004546a406f20827547884c8a9cd531b + inlined_ast: 46aed9cf5c9dc767d5f87b58f2644942004546a406f20827547884c8a9cd531b + dce_ast: 3f39fc8302437d184eea03df1d2356b1390920391d7fcf61bab77f81fe077181 bytecode: ca074224fb21da9078cf66f586228b5d09460ff02edf0f84847970c375695b57 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out index ea1e2255e7..d1ebe2cc7d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: d3b35526723c79b927768763134714784e00b902f9556749a87f84bfd083dc64 unrolled_ast: d3b35526723c79b927768763134714784e00b902f9556749a87f84bfd083dc64 - ssa_ast: f21bcebee76bf496ba498c87a1f20e6fc6a9867fb9052dd39ed37985620be3c0 - flattened_ast: b31d84e25baeb039add3e2f260c7be5bc8823773d5c18ecc13a00af5d36756d7 - inlined_ast: b31d84e25baeb039add3e2f260c7be5bc8823773d5c18ecc13a00af5d36756d7 - dce_ast: 375803e543ee0b6c7d4e94e83c55cee5727389bb88f6266b61d3a92ebab4856b + ssa_ast: a67a7180e7a1fdcd102e84121fa7e3cb68158711abfd8eceeb941be65c0d6c52 + flattened_ast: 27e2df2e217e2ffdebdda96340ce725d5f1a6295e37dbef663cca226333d8f9b + destructured_ast: 264393f4f04bc0f76f73716cd68cba87d4028580c64e71f0b3ca65055b2e401a + inlined_ast: 264393f4f04bc0f76f73716cd68cba87d4028580c64e71f0b3ca65055b2e401a + dce_ast: 6a103484145ad12a1835221ba7b9778cb0fdc8e8922df8ba964a48e71b3518ed bytecode: b0c87022d5e30dd47b5a097c7e1c00bd8c487886a84212ce7db0c7b1c5856259 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out index 5c5dfaf78e..f0c8e61b98 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 6e00410fd6d116c3f0c097fa0e11e235030c459da3b70b219aa4348207e4a6f1 unrolled_ast: 6e00410fd6d116c3f0c097fa0e11e235030c459da3b70b219aa4348207e4a6f1 - ssa_ast: 4024fc762a4437a627efe9c82c1790753953f1a223e33eea795deba9bc318bd1 - flattened_ast: acf137b564d3876c76a6302b6e1ad2b536e90a048d5668bbc5457488a86b7366 - inlined_ast: acf137b564d3876c76a6302b6e1ad2b536e90a048d5668bbc5457488a86b7366 - dce_ast: 28fb2ece2271ca6a287648d5afeebb0071bc735fee3dbe4b576ad3d538f3a785 + ssa_ast: 8706b5c83170d7810330b2c86f30ed63b4f0f7765b9c453f7bcb57d503e344bb + flattened_ast: 8bc84456b2875643749aeca1460f4df94cf3ac6f6ab8773399ac53668ecba088 + destructured_ast: fb792ccf8d2e8c8849b76ebc3b905d76f0701f70ae115a478bffb22ff656737f + inlined_ast: fb792ccf8d2e8c8849b76ebc3b905d76f0701f70ae115a478bffb22ff656737f + dce_ast: 9968fb9fa9e28038e6939ec4106199e2c0fee3c35ec699374a8807bc3a036cdf bytecode: 8b851887789d1b0d14a68de7f393a839940770b54680c74656c872dde5ff20dc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out index e55f5ac4cb..47825c0c4b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 70267158f46d032e82bf7393d83632cbb6f2481b2cbb4028c619390b7851cec0 unrolled_ast: 70267158f46d032e82bf7393d83632cbb6f2481b2cbb4028c619390b7851cec0 - ssa_ast: fbb930c37fb124e5c9a81260f155a60ea1a7b09dd94a867806d242c83cf1ea68 - flattened_ast: aa0bcef21e4360fa06db9ae120484d4f432e1498c48b828cda52b888f9096e72 - inlined_ast: aa0bcef21e4360fa06db9ae120484d4f432e1498c48b828cda52b888f9096e72 - dce_ast: d8ab237b25c726e9002402fccf122bc4c613e2daa47ec6a5b32d01321dbd2a53 + ssa_ast: 24ade2c7f0c35ed921b213880b865fb66c91a431d338ff99214bbd32abd0286b + flattened_ast: fb7461291716644669eb513237d1eda6a7d5d8e81126e7fc421c8719865db836 + destructured_ast: 18705eb266db9258ae8bd6afdff00907b114cd5889f0f7eca106f722a494a2ff + inlined_ast: 18705eb266db9258ae8bd6afdff00907b114cd5889f0f7eca106f722a494a2ff + dce_ast: 650eeb62f511ce6f4f2989cd0f7485c39ab6ccac1b206eeaf994095738670ecd bytecode: 8cfc137d9de5f78970ffe8a7fd36cf828d967798364ebb25ed2654f97e993df2 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out index db3deaba11..0b24566dfb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 2238046277974cd950a19630877d824d35025bd377cfcd6a68203a8707ad360c unrolled_ast: 2238046277974cd950a19630877d824d35025bd377cfcd6a68203a8707ad360c - ssa_ast: e9d0a325baa628971f7d0f8c11587aa14df633c420c5d9a59d1cf6bd7fc7a46f - flattened_ast: dea04dd0029439717b5c352b0c1971d08a36e6a2d98604d980ff01c28b41b8a4 - inlined_ast: dea04dd0029439717b5c352b0c1971d08a36e6a2d98604d980ff01c28b41b8a4 - dce_ast: 0b4b0b91cbe8bd602b4bbe515d13a3cb33981db7930b1cef0446c103b9937da9 + ssa_ast: 7cd7c87a6207be28e95860bb872ef9ddee65d50fa8befb87d01ba9ad6e7078b7 + flattened_ast: 039998e896d2b2708b5e0ef308b2ae443f58729f0d5ed2444be31ba0224f3221 + destructured_ast: 5f2ce69b8536d2784595d3c75371b7cda05b4bf3346fcc74ca6ac47659848b48 + inlined_ast: 5f2ce69b8536d2784595d3c75371b7cda05b4bf3346fcc74ca6ac47659848b48 + dce_ast: e363f80a8ceff0c78dd2b4ce1bbaa9338a9d4ea4fa23b1000e398446ad008ea5 bytecode: e21f3d467b66f55e41c864391412af065fcfd0b44bb6697e68693b5c8620e4bc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out index 0c00203492..a60912371c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: dec48239f29f068e048f2dc6b23329261bade4a65f460ec99011655fc8bf2d19 unrolled_ast: dec48239f29f068e048f2dc6b23329261bade4a65f460ec99011655fc8bf2d19 - ssa_ast: 6a6d57f9e92c469ca9fe00620fd311d676cb43ab3140d57f39107acbc8605f82 - flattened_ast: 7845694ad3ff88bc4d577683c0eba7d8a8b3e7991f01feab6d4c824f4940c035 - inlined_ast: 7845694ad3ff88bc4d577683c0eba7d8a8b3e7991f01feab6d4c824f4940c035 - dce_ast: 6c9b924e43e591c014931bc762a238e0af9b4129e0a088bfa2dc46a31e75e766 + ssa_ast: 8d5357e4d6904fecbbbb8ba42529a98329de20a1e123fa96c5524aead22bffe2 + flattened_ast: d0360283042ce890cacf7ced4d4d3fd44154afd7dbda13c34f0baf70012ccd72 + destructured_ast: 2a95cb83522614a5cd6382e1608fcdc4b07a9dcdeeff8badb33b42a3458239e7 + inlined_ast: 2a95cb83522614a5cd6382e1608fcdc4b07a9dcdeeff8badb33b42a3458239e7 + dce_ast: 5b2475bec8b2ba267a39f24d182d3fc777c249d7dad76060d0fb822522ab31df bytecode: 999b9d0cdf8e006833a2d8ce94eb8ace714cd08c8df3e0b3531e28f6489e0984 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out index a2c480a5b9..bec8ecaf3c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 3fb2856365451b8b726f252fabed80593fdff0ffaeb96b0bcd32f584c8e6a2ae unrolled_ast: 3fb2856365451b8b726f252fabed80593fdff0ffaeb96b0bcd32f584c8e6a2ae - ssa_ast: fb050496e1621f38679bae88e3df9967a10dc4b51ff1fc1090b4825d0933b598 - flattened_ast: 92ae894fa3b0b11819d66bf0450ed780cd99ba1b1b66033fc26dbbe5029375f3 - inlined_ast: 92ae894fa3b0b11819d66bf0450ed780cd99ba1b1b66033fc26dbbe5029375f3 - dce_ast: af3a8334cb3227ba6312bad6602d24f53f66310c914e0ac08336b342f1e0827a + ssa_ast: f5a12b04f34970b7194c6c95b2f2d7db72fd99533e757a4cb5f2918b4007fb22 + flattened_ast: f52286aa14d22385042d1290815673ad1bacb5b022e2d67340813b0c9c9426af + destructured_ast: 937b3a51b4aba5052653a3f41518e8339e2988d563d4859f5a65c031f39c86cc + inlined_ast: 937b3a51b4aba5052653a3f41518e8339e2988d563d4859f5a65c031f39c86cc + dce_ast: 729930c614f098d13a668ff69009b6b6d6d946a72d87267cbf877e2748719b87 bytecode: 88e5bed3bec5448667a7407b85018435a99703ea27f2e24c965cee2b37ae5dc3 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out index 71034b883c..fca18d27df 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 814da9cab3e5ca542bc8aa8788d9458d629d94c5aa2ea767fa4aaa188f8e79a1 unrolled_ast: 814da9cab3e5ca542bc8aa8788d9458d629d94c5aa2ea767fa4aaa188f8e79a1 - ssa_ast: 29dae443a8cd677a4cf1e42e47e2ae963ff1cdb774c10c8417015157aa13b3c0 - flattened_ast: ec0184bb3d572883911ab01b90f30ffb274315044441b2e9c4b6b33b7a6eda9c - inlined_ast: ec0184bb3d572883911ab01b90f30ffb274315044441b2e9c4b6b33b7a6eda9c - dce_ast: d696a408eb0e55995cbb055d99dc01b27fbee662d6a22bbd310006293cdca84d + ssa_ast: d9b1c7d0ce4a3bed2d07749b9184926c7ded810987996c35da42b18dae9dd57d + flattened_ast: 98b9ca051495334ccb0a3458447c813254ae46725255c461d2e6a99aaf8000db + destructured_ast: 2b6f5d2115176087b5b9aaa49e3980b86594769b86aec4bfa490e39cef5abd09 + inlined_ast: 2b6f5d2115176087b5b9aaa49e3980b86594769b86aec4bfa490e39cef5abd09 + dce_ast: 49a63baae1a221965fb3722c0e0e6cb576fddc0afcb4044ac63499e4013a2c52 bytecode: 9b27d0806063bc598a773122d554a2d3da168e9813e2c2e55c4e0eedc2198f1c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out index 6a35dfc91f..4afe4088e7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: d96934723584cd85b4ad1219cded1d693184b8a2c8bfc080812be857b08ded87 unrolled_ast: d96934723584cd85b4ad1219cded1d693184b8a2c8bfc080812be857b08ded87 - ssa_ast: 42a4d576936b86da92cdcbb139e51eced34300a8c875b258455811cf1b5326f5 - flattened_ast: a4b4ce44bb33c0022a44641b802f5ea9947eac5c71f9d38bd04fd14153411dd1 - inlined_ast: a4b4ce44bb33c0022a44641b802f5ea9947eac5c71f9d38bd04fd14153411dd1 - dce_ast: 480c64d8fa212184973de49601282f39ade315a67c1305aca68cc4e24ee0cd6a + ssa_ast: 6fa767016695c76c38d71c3781ca0b66eaa932439a3fa873378e44b073d9d310 + flattened_ast: b22d8ab28cf8643e8ed86af094550f32bcc884e7c8532e6ea100b573f6db36d2 + destructured_ast: 9f75795143351c2fda5b0b3db0b15c74206986bcfd9841fb41b522a6445150e5 + inlined_ast: 9f75795143351c2fda5b0b3db0b15c74206986bcfd9841fb41b522a6445150e5 + dce_ast: 53c973ea4cfa28b2d13745033ee7323a41d2b736f9f2efcc360ed01ebd7d1743 bytecode: 6965d0539f26e7885d7fa616d93bb5326315793d3843573135bcda58cbaeb149 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out index 45b1c83bd7..46c31992e2 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 38eb12cd6c38d0de0ba50a17b339acfa388e3a16297d6d3edfd7966fa649a3cf unrolled_ast: 38eb12cd6c38d0de0ba50a17b339acfa388e3a16297d6d3edfd7966fa649a3cf - ssa_ast: 77fb08f4345b06e40a95c5bcef8bd3301e1c5f8f5ef89f2f8894202d1a7d0aaf - flattened_ast: 62b89085140cd43ca731d30b5d20eda3d8225fd52c71261bb64eb508cca27bc7 - inlined_ast: 62b89085140cd43ca731d30b5d20eda3d8225fd52c71261bb64eb508cca27bc7 - dce_ast: 0821138d83683bd1a534f52566ee6b9476270ebbfc9ef3026a067558150cc4f2 + ssa_ast: 4238aabc1788bed4e0dadc7389b19baaa3c2dc3be96f9aafd95da1b11bf7c87c + flattened_ast: 28484d62d9c879112662dd0ecdf0ad5b60984b608b23738730d48f11e1d32e44 + destructured_ast: 70dc8683979c6ed8c26069d864d27b799e2e41763b66bf40337b2b8c9f0f7787 + inlined_ast: 70dc8683979c6ed8c26069d864d27b799e2e41763b66bf40337b2b8c9f0f7787 + dce_ast: 3e005957b899a7910c0e3094217c76cf52350a0cca935c8352edc07f96900197 bytecode: c497462939dadd3b6fa6a391939d169f8caf2da5064471e177e9dc2ca24af1c0 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out index 860c5212b4..3ad058e155 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: bb4d36982ba60354d90381f7e4dc71de9766a476f6e28d53dbd81a74001e9435 unrolled_ast: bb4d36982ba60354d90381f7e4dc71de9766a476f6e28d53dbd81a74001e9435 - ssa_ast: 959fb2bfb23b697de7072cee21b3e4254d682cef79569886578253513b6afb8d - flattened_ast: 10d0d924499ff5d87d6f025e88b549e9c1b63ef2ec6403f19faab978e01e3f6e - inlined_ast: 10d0d924499ff5d87d6f025e88b549e9c1b63ef2ec6403f19faab978e01e3f6e - dce_ast: 277dc23b35d5b907508f166f6d28d90e7da38d8aee4c97e641b4534ea29c93b8 + ssa_ast: f2e4c624bcd5872bf6aa32d617be8583da4a3fbea970ea8ae6999db7da09d822 + flattened_ast: 7573c5cd7624341a9feefba8ee5fc5387809448fec2fab9e2fdedfdc93789d58 + destructured_ast: 452c8d353394b73350c4dfc6dc24c99493a74e185a7e89378e2ab7c87cf45c78 + inlined_ast: 452c8d353394b73350c4dfc6dc24c99493a74e185a7e89378e2ab7c87cf45c78 + dce_ast: 801b4105a98cdbbf9f34e389a9689ba70e5819168bafe79b28d1895dbce90210 bytecode: 26f4c496d5e435d186f9ec58390da76af8848cecaaac30920a4daab0e2523a73 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out index bd8dd991a5..20c1482df7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 2f17d1e2a70431a9ef8e44c37fd6340a9126acf1f45e952949be05a24f027c6f unrolled_ast: 2f17d1e2a70431a9ef8e44c37fd6340a9126acf1f45e952949be05a24f027c6f - ssa_ast: 93d85e0ed6166adf46f2379398353929f12f3bf9cca29c9562791e72e3d019ab - flattened_ast: c4d890ff25b140d54f653880bed867ed49e12fb56771424b01dc9cdedc3c7f4b - inlined_ast: c4d890ff25b140d54f653880bed867ed49e12fb56771424b01dc9cdedc3c7f4b - dce_ast: 3b081093325e280d7fa7a37094ceb6dcb99585aceccb2194f7b86f4564ccaa44 + ssa_ast: 48e0607f571a29ac2fea71b8e81638fe27d4716064c9c8cb17b44d5de5c55f46 + flattened_ast: dce4f6cfc1699dfd3dad10bb56c356e469a8bcafac25db68fddc47676592a263 + destructured_ast: 5065e7aa06ae908550978d4519bfdf3eeacda5dab8708360a073faf56327ac07 + inlined_ast: 5065e7aa06ae908550978d4519bfdf3eeacda5dab8708360a073faf56327ac07 + dce_ast: 2d9c5808fe646eb9da9e1b8447ffe41fca2b217c1315305c1ffe305ffdcd5105 bytecode: 9a6698dbd340581ab6a6ab74e6ac3b2b04d107afafb2ef967cf878a68f90e66a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out index 24ef12c311..79c06e2901 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: cfb3cf3c9ccc26a90148505a7ae20cd8cd9af5cf8c75ebc4bd1ac8e6eb290d56 unrolled_ast: cfb3cf3c9ccc26a90148505a7ae20cd8cd9af5cf8c75ebc4bd1ac8e6eb290d56 - ssa_ast: 65c9df569308a41cdfa5910f3faf15f3073e5a4b90e741f6abc3ef1baa3a36f9 - flattened_ast: 2bebdfb1f465f71af3391b68cc798e8dead07054450f2f68e115a0ec11feb911 - inlined_ast: 2bebdfb1f465f71af3391b68cc798e8dead07054450f2f68e115a0ec11feb911 - dce_ast: 011be6dffa6ca1696ce16bba8926607c81014516eb506d005b4be6345c9efa83 + ssa_ast: d0cf8c6d6d0a7e59bac6fe56022d9d8fef6d9d21ea610116697ee45a887048d5 + flattened_ast: c56dd67caf9a2fc65f8f39217681b516e28dfffa2eeba6901845ac370fb121de + destructured_ast: 06ad424abf826407d8ef8dc4f56a827ebe28edac7a64b606b42503e0e0ea2e1c + inlined_ast: 06ad424abf826407d8ef8dc4f56a827ebe28edac7a64b606b42503e0e0ea2e1c + dce_ast: 5e1800d6df9cc49f88de96bdb0352f6d6fe7529064d0e5a463bcffd226cc0851 bytecode: 382d6faca5454efb2c43e692e7ef46168de32044fd4eb589025fb7dabc62d3bb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out index fff355a0df..54ff0dc561 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: be896b0750f24816a3b713daa2fba1ad4b0b8a4556ceeb7d60633c066ce8fb6e unrolled_ast: be896b0750f24816a3b713daa2fba1ad4b0b8a4556ceeb7d60633c066ce8fb6e - ssa_ast: d4640520b4fc4cabe9ef4b5deef3416f781abd724d81747552712bf54a664bae - flattened_ast: 9657a8a246b846e06804a6d0d5191bed9350843eb9c265eeff10e092a1fd9c4b - inlined_ast: 9657a8a246b846e06804a6d0d5191bed9350843eb9c265eeff10e092a1fd9c4b - dce_ast: 51908974201a75aee23056d19b3ef2df798baa9b6b87a18d154779295e6aaf34 + ssa_ast: 7627491edbf5fe25736d3775f032e5b5ccfae77b1644fbaed2191da6aa612cf8 + flattened_ast: e18d2fc3884301ac370605b67d2c1b43f8e027d194027b6426c914479d9e9548 + destructured_ast: d5729d02b0be5d91751051f3a84f1a2ea77ff5b31687d9ba4c10b473f40f6c70 + inlined_ast: d5729d02b0be5d91751051f3a84f1a2ea77ff5b31687d9ba4c10b473f40f6c70 + dce_ast: 8ec50c0f06a1bd9e1c68e4742a6bbf59181d836827abbf9871d82f1c1a59a9c4 bytecode: cdf35ecca4bd73879647e3f8b20554dc0c6bea1b7064b2e62fe501aaf54469e8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out index 60b79b8830..6342ca09bb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 4a3a77bad872b51f57c30e85d23043278ae51e6f1d0219f56c55cb38615ecb5d unrolled_ast: 4a3a77bad872b51f57c30e85d23043278ae51e6f1d0219f56c55cb38615ecb5d - ssa_ast: 55731f9ddfbad734fa924e6d86cc7ebec66c867cba01ec98d4cbe8e4625510be - flattened_ast: 9a1a34516d8e8989a8ae94c531a54869a2b6677df3a178304eb678caeb4d56ad - inlined_ast: 9a1a34516d8e8989a8ae94c531a54869a2b6677df3a178304eb678caeb4d56ad - dce_ast: 99df009951a6862696e2e2e1c40c18e99f682347af4cd07ddafb4b19b32c2303 + ssa_ast: 5bc0388ec3ba3ba93c4f3384e6ac2a719b0a5656aa2f58cfa6a11dca409b0e3e + flattened_ast: 5483ef28ff806900614fc597400102a6659d58b35e111c5f1f15415dccbe23d0 + destructured_ast: c05c896a47b41a5b74495d03949d4ec7971e6fe78b76c65440408f14992427c6 + inlined_ast: c05c896a47b41a5b74495d03949d4ec7971e6fe78b76c65440408f14992427c6 + dce_ast: 2d2d1c8fd5f1f7c7792f3ba548dc5ad5f006aabc5a5895357f79dda2864ae124 bytecode: d7b1e51dba2a0e4e06e66b15ff10ea2c3d799073949f6b155489a46bbae70395 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out index 52d652f555..19172fbbe0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 546ffc5a25ea731361d6a5fed73344e3fe081b97cc9d3f655f661d7b491867b4 unrolled_ast: 546ffc5a25ea731361d6a5fed73344e3fe081b97cc9d3f655f661d7b491867b4 - ssa_ast: 3e7f0f59a58f54e82d93dcef66797605a05491b65fe1b2f2cb6669797937c821 - flattened_ast: 85ee3a8ae3e0ce25c7f55c06da91984d66eedf58b6fd528178bff47da2efcccf - inlined_ast: 85ee3a8ae3e0ce25c7f55c06da91984d66eedf58b6fd528178bff47da2efcccf - dce_ast: c466633168e36b076a83215ba219b6d19f35268d277d23e9a2e6aa3097442bef + ssa_ast: cd908c7e3cced0aadf8c6dd377f39cfa7340998bc0b2ea6746478b2c473b19b4 + flattened_ast: e9f69dd179cfd9044f82b81449bc0579ab85e36ab5a89786b71badb28281f8cc + destructured_ast: 07eb456b564e10bc80130eb0eeaec4f64979e8333b76d282f7793488f2f0cfa9 + inlined_ast: 07eb456b564e10bc80130eb0eeaec4f64979e8333b76d282f7793488f2f0cfa9 + dce_ast: 75a4fe570ded97d331762cab4a714890755e042c2096a47f04155180f09734f1 bytecode: 1729c5267f2280cfde27fd1c7806b03bb56e95306b8c269d0c186f05365ccef5 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out index db8dda7ed9..033272aad3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2d1356f42e612a3d61d48fc4cc1b46219dfaba8328a619eb0567e314f66e0bdb initial_ast: 1fc0064418ded052b6d6e0537697a267cbd30476a16ff854eae66fe13c40dcfa unrolled_ast: 1fc0064418ded052b6d6e0537697a267cbd30476a16ff854eae66fe13c40dcfa - ssa_ast: 7ecab177dff32ab94737093e4910109547c022f57006716630c332ce8f393e72 - flattened_ast: 2e885a752fc1099ba6f8cdabd480c584f6c89758f9c32a4feb740c460a801736 - inlined_ast: 2e885a752fc1099ba6f8cdabd480c584f6c89758f9c32a4feb740c460a801736 - dce_ast: 60594ce32bd421effbaea9e264983803515645b5ad9ba0427c7436e5eeeead2e + ssa_ast: cae6dfb945f0f74168cdac511fbd2c478de3044be80f9e75d65c7096db37fe84 + flattened_ast: 37e89a09956b370448eb47bc4c50fe647369ec39a43fc4e446e4daa4219f0d99 + destructured_ast: f08797a9deafadf897a72915a0ac358e6965eaae397a7208a24a0731ead4961a + inlined_ast: f08797a9deafadf897a72915a0ac358e6965eaae397a7208a24a0731ead4961a + dce_ast: 2a89008e69635e8f06d00e04fe45aeeee67a147052ccbc430d56662e08d0725d bytecode: c29ba43cc3083fcfd4679f145a1338868b6e34800515be8eb9e7b7c66e36bd72 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out index 4dc3722542..3fe9c0a25c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bc453f8cd3c441ef7c2a537c86ff89cc5876cca0a5947db72104f36b55c809cf initial_ast: 33dbdd3d28b8b387825cc2add8ca8186a392e662375743fa466055267070e386 unrolled_ast: 33dbdd3d28b8b387825cc2add8ca8186a392e662375743fa466055267070e386 - ssa_ast: dc5f96017b19fb36db5428f09a17a76340c7589201f8a49d5f4390d428ee898a - flattened_ast: a58312321be0e0af56100a306c51c18331bea665c1ccb8795738de68cf0eaa50 - inlined_ast: a58312321be0e0af56100a306c51c18331bea665c1ccb8795738de68cf0eaa50 - dce_ast: a2f7678d3fe2afccb72319cb4d252ebd3c092a4720db4824ffdd84c6269cd200 + ssa_ast: 232f92974e9c92960ba0750e96d785eee6fd5d050f6c56b6999aa87646c1160d + flattened_ast: 10fd918c6e145b512a654dc55efe15e9a408bb35a80d839c7e07a91e7cc25d5e + destructured_ast: f39dad66d4f9ceb055d4cac7c2303b3117bd8f4934d29b6ff1275ec9061e7e97 + inlined_ast: f39dad66d4f9ceb055d4cac7c2303b3117bd8f4934d29b6ff1275ec9061e7e97 + dce_ast: 287e078516be9dad8e6086458a0c9d86ced1d51ee5152918cebe2f5925c399d1 bytecode: 6766245f5ffcb57b8dfa09dd42a53b8b42c70c6759ba4c4d00f90b0b91d2fddf warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out index d168547354..5a2f740086 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 397d5a5e9cffdcb539a8a87db02720d58fdc0c3897740b027ceed781c8c234f8 initial_ast: 406393db705f1c830ebec711687d8bf0d4144659d2e6006a28cb8e08666b495d unrolled_ast: 406393db705f1c830ebec711687d8bf0d4144659d2e6006a28cb8e08666b495d - ssa_ast: 864ddd50f87e321359925ad9e93e318fc4f1dc4bc88b140e0a112f25bd1d9cdf - flattened_ast: 773e3e54dcf6df3dab9b8e86bedfbf96a4487080b78653e73c5a815065718dd3 - inlined_ast: 773e3e54dcf6df3dab9b8e86bedfbf96a4487080b78653e73c5a815065718dd3 - dce_ast: a2ad45796835e9b26762592af5a7ac80168cd3b2f6a3800999ace3e01cc1897a + ssa_ast: b52b1ebc241c9c720c05ecc8ecbaad53e6f3f3d8c672557d72b325c47f0f5d05 + flattened_ast: fec86d01ef778f66941cd344149f53dd5c1ddd6e1c1898d30ebc53c53e6f85bc + destructured_ast: 64493f0583e4887bb7d0038d4b5639ee66aa918970fb8b3ebae94f5cfe672b29 + inlined_ast: 64493f0583e4887bb7d0038d4b5639ee66aa918970fb8b3ebae94f5cfe672b29 + dce_ast: 76a0b102fe34977ba96d48b0a130e5a16d066de7f165885e823e45bbc1cfafb1 bytecode: 47dce131034f7956142a90086606e4410ba42894907ea54331289beb05ea1493 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out index 90734f91c5..651dad15bb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7438d55d21d736e77bfc1ffc860e811876ada7a8b66f6511022b60ce9d6c164a initial_ast: 151f4c6398422373ac176c4354144871fd30682e547083593993e052620dee3a unrolled_ast: 151f4c6398422373ac176c4354144871fd30682e547083593993e052620dee3a - ssa_ast: 4380966f9ba24281f3df830d8b610f9195ea2f2042ed3465ad6bf4f3e85db633 - flattened_ast: 8dc46736f093cf95765fc0727930b5956681769b9e732b3fb97cc8c17e57a635 - inlined_ast: 8dc46736f093cf95765fc0727930b5956681769b9e732b3fb97cc8c17e57a635 - dce_ast: 3fe006f40fc15fcc793693fe9647ab0348af054138230c13909e662095518e3e + ssa_ast: 18a9c936f8382d03c9d4aed5244e6dc61dc1b22eac394455e7cfa7e899a04692 + flattened_ast: e5622259667758ad2a2268e6fdc22ba0b2505f242f215581642780701f7a8ea7 + destructured_ast: a6052bdd80eece0bdb0ced2d36cbf32169c09f9155b39e09f4d853ab2744ac97 + inlined_ast: a6052bdd80eece0bdb0ced2d36cbf32169c09f9155b39e09f4d853ab2744ac97 + dce_ast: 3fbbe286805045f5e867e3e5dab117aca94e0b373e8df00020f03f9be3cca098 bytecode: afefae5391b2a9683bdcb8774d6d3642e2fe1cd9aee86392a544da3d06059483 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out index d116af9514..59b94d45e5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 270f630d938360ae2e90308475add42dbf639659085ad8ea2c80e8c4bc0e754e initial_ast: 5c17397f21621849d323a69c44449e5103c54cf79a190594965a01f2aa22b214 unrolled_ast: 5c17397f21621849d323a69c44449e5103c54cf79a190594965a01f2aa22b214 - ssa_ast: ebc0c2b3e4462658ae61d3cf6ecc112f2291ed2b1d1fcfbb4e447945927a5b2e - flattened_ast: 893aa998dd4a3794c3322c4c3a2866db9e025ab01ad0d24686b73ad864503e0b - inlined_ast: 893aa998dd4a3794c3322c4c3a2866db9e025ab01ad0d24686b73ad864503e0b - dce_ast: 2c232820dd557064dd63f2142e2153f6c690b3650235b9b5a9021b3ad44dcb24 + ssa_ast: 61fb3fe5ab75dbbe844af5c48cb63e45fdd29190c8f3414d00b85f704e85e1d9 + flattened_ast: 18d30aead66597e51c4629701650f586df9d7fbef6e9350305e8aeead2037441 + destructured_ast: 8582cb3f43dc81c4f35cee98cbb26e07e8197c7ab1a37347bc4b27a1c57bc2ee + inlined_ast: 8582cb3f43dc81c4f35cee98cbb26e07e8197c7ab1a37347bc4b27a1c57bc2ee + dce_ast: 0f52cd5267c90e6b3f8fe48193c5b744d0c1f64306422b4b2ab94d9921eb1237 bytecode: cf1f61d314fc1a485ecb3251ed0ecb0a75b9db0af739b9e5cef60f89639cfa8f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out index 6928336a95..5f6308a6cd 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1d7df8e7e76c1b7eb12ea3eaba5565def7046f205c32773c31d60b412da8ef89 initial_ast: 546bbb3f9ecf519141093c45956f9c72c6d8b32f6e3c94b09616f5c25707d94b unrolled_ast: 546bbb3f9ecf519141093c45956f9c72c6d8b32f6e3c94b09616f5c25707d94b - ssa_ast: bd55f7c7c5a1588f2f2bc7e59de3b06c46f8987b290b3616a8638ed187199344 - flattened_ast: e0304962da7b325ee835d2ff76db1255ff6670a9c219a6e4309f3f27d1a7a51a - inlined_ast: e0304962da7b325ee835d2ff76db1255ff6670a9c219a6e4309f3f27d1a7a51a - dce_ast: e9592523368bc35c1b9d3df51c5c26ef76e6f42b7efb982bece611bffa636f1b + ssa_ast: b52739ae76895dd7a5fa3eab8869e6f87f17f4a9cc597fb8e6fb6c09a2ac61c7 + flattened_ast: 3c067ea01ee911b42d0cfa90233938d0768c184d35b69def2f66b1b265bd40db + destructured_ast: 50138287e02b3ecf017d43745f9d0643e5eb18d934ba46155cee17bce4bf32f8 + inlined_ast: 50138287e02b3ecf017d43745f9d0643e5eb18d934ba46155cee17bce4bf32f8 + dce_ast: a2ddbc92e231a8f678e53b36b849cb889d61f94c7f5472ae7acbcf92563dbc72 bytecode: 1f9a639115c8bb61557fb100794fff5564c633f937113875ffb5b10952bbfb02 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out index 358dfeba83..2788da19b9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b296261c2914478da6bf940a6b0aecc824b0698a8fcf6ea945376beb1d08aaf5 initial_ast: 116004f42194d01d347a349facddd0d2bd61f810cf28671daff583da0287b1f3 unrolled_ast: 116004f42194d01d347a349facddd0d2bd61f810cf28671daff583da0287b1f3 - ssa_ast: 06bdc71e13d3b9e82681fd9da1355039debd8357bc82f73a027ab86184ef2496 - flattened_ast: 0afca84dffe436b54746ab6510676c1c2a011ff3663ffc16c3979db608403953 - inlined_ast: 0afca84dffe436b54746ab6510676c1c2a011ff3663ffc16c3979db608403953 - dce_ast: 187d0a12055e6f93ffce31530d7aa5a093fdfdceb25cb922836dac0965be8390 + ssa_ast: 9fdfb03176c241c86f4d2ecb4d01f665a336936e9d4d4495d208b1c2b6292084 + flattened_ast: 04e688efdf91f0ae2d4ec9f318dba7b4149ca9fa6dfe1e38455a618b56df87db + destructured_ast: 950fc6d882146e1acad894db9440e089d2c3a3b49dbfd8321f90760a31b81c04 + inlined_ast: 950fc6d882146e1acad894db9440e089d2c3a3b49dbfd8321f90760a31b81c04 + dce_ast: 33c6394736da2ebb09c8f0253cd7ce73f003067e60ef047f3f770b8e0a99432a bytecode: b34f23a9e355f5c390ac8e515b847321dbae47a2ce02a361bd07626909cbf9f5 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out index 3e60a162a1..0fc47b0dca 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0a633ac96a90aa43fd4ce3959431295204417a74fffb536cbfe37a57e34294b0 initial_ast: 4cfa06bedf66f3dcb54687c8615e80d843b8dba0fc15009a3421f6209228bb77 unrolled_ast: 4cfa06bedf66f3dcb54687c8615e80d843b8dba0fc15009a3421f6209228bb77 - ssa_ast: 1df5879193dfe2be85592c0b874e07769c74e0d75769a21b2265af46c69f8167 - flattened_ast: e18e90574903c21d91d891a0ac1846196a9bc582b895e56ad7e9552727e8ea59 - inlined_ast: e18e90574903c21d91d891a0ac1846196a9bc582b895e56ad7e9552727e8ea59 - dce_ast: 3b8a28305e51b6486ef76b85aee402d6f7b1236b9e72dbbafc53921dd34ecc42 + ssa_ast: 4643627243ce59328c73d4561f29e6b5b71030ef13300d15581a0b7e0ec8030f + flattened_ast: 69244fb5c74b8a4bbd0a04d218cc49e0cc6df5b2225da3e8422cec6a03f816c0 + destructured_ast: 46756061320793bd8b4313f92949c5d8566c6ae30b9841d1057ae059c82e70c9 + inlined_ast: 46756061320793bd8b4313f92949c5d8566c6ae30b9841d1057ae059c82e70c9 + dce_ast: a5af1f910d4657563637084d409241bb6757911e8641e9ce4f689808381f3688 bytecode: b36acadd6fb61cbf63925f25c8e21dd263306affba9cb22023189595884e7e12 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out index 0e5bb6bebe..4366003468 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b1ca4442bbb05a98f4b1cc325478185421c32d3d183763f7364f46dae1006477 initial_ast: 80ca7a0e9b524fd87a431eddf7e075ac725e866eafeec18def6c9ee65ec6ba1e unrolled_ast: 80ca7a0e9b524fd87a431eddf7e075ac725e866eafeec18def6c9ee65ec6ba1e - ssa_ast: 5bbf075fd40dd4689c478e1244c2d965b5dc3ca7d8da169665dd9b62baa3e7ba - flattened_ast: 9c0263094204838de6503db3f331e44253a3aaaef2b552689a68c6333f1b0007 - inlined_ast: 9c0263094204838de6503db3f331e44253a3aaaef2b552689a68c6333f1b0007 - dce_ast: 8744d98b39f31568d2e7a212bbfcea3d2ccda1e32c21998bd30c0c2fd646ccff + ssa_ast: 34e72971948ac38a86a17601e2ac591d2e1c974c16625bd1487d1f688e2e6251 + flattened_ast: ad64db01bdb1a1f2692d9d32846f6655fac99e703ff2eaa962832b61a7ecfbd5 + destructured_ast: 032966972b0a4adf677463db085bcf583b565984d0c1c48a05a74fc413ededd2 + inlined_ast: 032966972b0a4adf677463db085bcf583b565984d0c1c48a05a74fc413ededd2 + dce_ast: e484aefa1674012808560d56b721c343deb26c5d160d0fb3006b18c57b1cf0c6 bytecode: a86b84445b2b354771713da4b78c48dea3e581c11633a985b04b2de7145a0999 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out index a112cacbb6..90bdee8174 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfb89d35ad5e74c23820b0ac1544a2bf71f51df89bbf7e4aeefeaefb2f82f16c initial_ast: 2a4fa6692fc8d90a2eb87f852c2fdee2c0b8d4d741e1581b7c5b142d07d62e95 unrolled_ast: 2a4fa6692fc8d90a2eb87f852c2fdee2c0b8d4d741e1581b7c5b142d07d62e95 - ssa_ast: de5605e9d0dedddeea62c03d9d395d70f492aa43b7575d89b28cb3e007dd8829 - flattened_ast: 76b520f3d7d2118dd3ae2c604ab9c52021f2f1c58d691ab67e29ff948736911b - inlined_ast: 76b520f3d7d2118dd3ae2c604ab9c52021f2f1c58d691ab67e29ff948736911b - dce_ast: f8488e2e9bddea03fb0b82985ff8bacdfe747045ba860a71a4b6df95cbb827b0 + ssa_ast: d32b639cbaa3c757427bb6fff63e3196d8612a772a27bffd38d71306feda951a + flattened_ast: fc8d23670a42e2cf3e5676f797ed4a507331af66dbb4d4ca92ec3899a8da5178 + destructured_ast: 2b0c9bd252587d9b106c3ffebc88ad89d6f18e84fbf177abc8a432981746bece + inlined_ast: 2b0c9bd252587d9b106c3ffebc88ad89d6f18e84fbf177abc8a432981746bece + dce_ast: 28e70ec75c80b33f002e7ffb6818d90892a1d3abc83f7e7415321b2119771d18 bytecode: e335101f9a6607193a53e022c22c7023d7bdecc843bfffec6c25d75e7c403a4b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out index 4f425e1987..5a529349be 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d978b4032987c3f8b37c9cf13748647fa9a27b392af33001c0c7fe8dce1418db initial_ast: 6ee95bd1caa552ff475971e7c15b1b009be9f9c00472a7b4c81fc9d519b53a25 unrolled_ast: 6ee95bd1caa552ff475971e7c15b1b009be9f9c00472a7b4c81fc9d519b53a25 - ssa_ast: c9d00dabb6ed1def5b8840f9e91264e81859fe3917448d8f9ae863c75d22146f - flattened_ast: 57b33dcfef59a3e8acf57e6a54c476942f0a39e189ecfcd0745753a71d55de31 - inlined_ast: 57b33dcfef59a3e8acf57e6a54c476942f0a39e189ecfcd0745753a71d55de31 - dce_ast: 5f867713585899bce310b03a6a2c89090401442814dbbbd147b17af71059a1c5 + ssa_ast: 600e0bb3db153c0d5975b2c9d30c45e6bc809a7dcd0405a27acfa69160c60fc9 + flattened_ast: 9b27a8b544e28e8921ea02a8e298a1f29cf8f9a5f8cdae4f051de493e26d6fab + destructured_ast: bf53e71d0e21a96fb128dfb595648d43967f15a4019fb858657ce2be3c062e92 + inlined_ast: bf53e71d0e21a96fb128dfb595648d43967f15a4019fb858657ce2be3c062e92 + dce_ast: ccc42795f863ed1be4bd8341555818bf1bc791f84cac408d8a27be4e9ae78ce6 bytecode: ff900dd886d1e12097dda0edc605cf1e5490623bb40e46357b74ad4951608c2d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out index e0014e3918..925df803cd 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: db0bb20e46142217a95ee27489c1ab8fa982593a85d510c7128c86ffa3237a6b initial_ast: 07486c0547f6b3644a47aee1ea09fddbd961a658c24f917373a465685f532fbd unrolled_ast: 07486c0547f6b3644a47aee1ea09fddbd961a658c24f917373a465685f532fbd - ssa_ast: 8bb5b677b4acccb4b6d4f734f1eca323868e17b724827237b79940c5a31c1b8c - flattened_ast: 0cdbaabd317791b83bec2ed9ff7f2db942aee8c31ad0f916399b65b2b489f169 - inlined_ast: 0cdbaabd317791b83bec2ed9ff7f2db942aee8c31ad0f916399b65b2b489f169 - dce_ast: d5df55441462e13f91506743c71c62c540fdf7dec205dacd92314dc9a8eba7c1 + ssa_ast: 065a332208f03b02d631eba634a7ce69007ba6e88c063b13dd25301e909a8d73 + flattened_ast: a94f5d0dadb7c0870b97cc730ea05980830dedb20fec21704630bcfa3c01a979 + destructured_ast: b340cf91478b9c646acd52d0c32019819e5c553a8fa84765743dcc42c2da0f7e + inlined_ast: b340cf91478b9c646acd52d0c32019819e5c553a8fa84765743dcc42c2da0f7e + dce_ast: ca52f39f260fc831e4951b6b6532fe078bf213afb7bcda255d9b819bbd7db364 bytecode: 90d51485318a95b7f82e7ac7849f998a080fe51ecda226ada434c81ef99a2847 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out index 6958cd5707..71b7d7765b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1493f1ed674bb0ba421859e1324b148a1de2db78aea8a28f1a8d71d3f17aef56 initial_ast: 4d3b47562a79e070e7ccdfb388105e7f2b9f737f9553ab213996e6b6010768a6 unrolled_ast: 4d3b47562a79e070e7ccdfb388105e7f2b9f737f9553ab213996e6b6010768a6 - ssa_ast: 1559620a685345a1a8315810a860ad84947638803306b45fa74f1edacf596d28 - flattened_ast: ce085196fdea2f68f19d58d5069a8cc977d1049416428c2414891e933e19b20b - inlined_ast: ce085196fdea2f68f19d58d5069a8cc977d1049416428c2414891e933e19b20b - dce_ast: ef7da6cb1d29d4a9b7e859f4e6c53a90db3a15799037a64b1d304147f4a29a43 + ssa_ast: 7ce0c13f486caedae12b8a1b651b2d4c6ebd8148530d9ba0822225e69f27186e + flattened_ast: ae99f8cb7626265c0e8c83f3495c90a9853923d7695f07ad3d6a3fea8eb3c477 + destructured_ast: f917a56f7f7a944eb866f19bcd78ff211df8a6f3c465a65a2302787d3beb0366 + inlined_ast: f917a56f7f7a944eb866f19bcd78ff211df8a6f3c465a65a2302787d3beb0366 + dce_ast: ad629a6f4a383f45908278e142eb5c987fffc5985a143fcdf0c99915ac0a0e62 bytecode: fce545d86eb7b3a7d6fed930294f52c2289b6d7971b333cf047811bde82aa8c2 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out index 9cffb56451..518e56b0a8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7b91a71e391d1e3ce44fc027652de6fcb5114e76d33fe37651001da928615d57 initial_ast: 1d87d1d5286f2e800e348c8e751f6f44b58de12b055c691315c2bf22515df946 unrolled_ast: 1d87d1d5286f2e800e348c8e751f6f44b58de12b055c691315c2bf22515df946 - ssa_ast: 45f8044f3890e6493acdcf44eeaa618be4d3334c0452e50ad458fb1b0cd2426d - flattened_ast: c0fe485414bbae1b854f7d79958edddb357382e3f89a473b396a634ed7bbe1b9 - inlined_ast: c0fe485414bbae1b854f7d79958edddb357382e3f89a473b396a634ed7bbe1b9 - dce_ast: 41ea00bd855e7fcbca5743863ebcdd6095163a237f1408687f9a33f2a34fbb9b + ssa_ast: c8b44ab7621ca0b827c4df25fe8d2627c6f4cd2829d23c27014758f69eb935fa + flattened_ast: 6e6bb5e7b2762e87ce525a9b8f0d173bf634aff1ffa58c580f8525d7c02ad8b0 + destructured_ast: 7da7835cc6e8ede709cf3f3a3207334dc44f68be81a1d02e910ed641005c010e + inlined_ast: 7da7835cc6e8ede709cf3f3a3207334dc44f68be81a1d02e910ed641005c010e + dce_ast: 82730c447fb3093883eaf896bdfdb1a928d45135e4415373c62c34824e13687d bytecode: 7c97b596c64b27dbd196f88a9e75d1b661256a1c196688ff1b344ef072a32412 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out index 9d3945f3fd..69951b0277 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f86d6e7580ebcfd9cda4a50982a047a3c09bc3850bee66d0b66bda996c88dcea initial_ast: bd7345edff2652accc3595a9b825d25c09c1ac0f5a57edad69f736571e4142cf unrolled_ast: bd7345edff2652accc3595a9b825d25c09c1ac0f5a57edad69f736571e4142cf - ssa_ast: 511ce30361fde3059f79c21a3c221d36ec1ece3a41749622aafa07ff5e0c1c4c - flattened_ast: 657503008c47e7369d3c40e9165d4d09fcc2289cf354b3c65b731044f18fd783 - inlined_ast: 657503008c47e7369d3c40e9165d4d09fcc2289cf354b3c65b731044f18fd783 - dce_ast: 5ce0156ab4b4b3c5fc93ab1bbddc70c4f4588e7eb9a67e0097e3f661bbc98cc3 + ssa_ast: 7de387b5d63f0456f81d13b8f2ad90831973dcdcdf1dcb3b6dccc4244f34d133 + flattened_ast: ab6232a32ffcdfbc88f00d3193e2a9796c54b1bf989ced63caa2b9b725812409 + destructured_ast: 30fac7b512184c4a958fc31f79aa077158b3dc4ef399e8769bd5fb45c45237ba + inlined_ast: 30fac7b512184c4a958fc31f79aa077158b3dc4ef399e8769bd5fb45c45237ba + dce_ast: cf9755c1d291a6ca081db2d85d10598d680bf059fd37a9b0df743864f0428c39 bytecode: f4f418fcdcb33a7e9fba1a03800a1458019e9042a47457b38ba185cdf981d33c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out index 1b9e4b7c2d..25234b35c0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b4e02a7454ee10f1efc36568a327ab9dec068cc185715918b6c71639814cf841 initial_ast: aff460ee9051ca703ab62ef1400e916c8a985796561c3216bac6963c8cb4e17b unrolled_ast: aff460ee9051ca703ab62ef1400e916c8a985796561c3216bac6963c8cb4e17b - ssa_ast: 7973ba5fa6c16b877d9a3ce35bb66aec0bb64b0f87afdaa6928384cf3e085f1b - flattened_ast: a14648f2f85d129da0cd67d737420e0b014f4533a2131919d6204987d9d58c2e - inlined_ast: a14648f2f85d129da0cd67d737420e0b014f4533a2131919d6204987d9d58c2e - dce_ast: 9b16ad6803836dfca0d023ae25a9326473ade933d277db7915b3b1dd2c7ebd31 + ssa_ast: 0f20da6ddc98b529466912e6d7826ba0b7308a63b07f5e564323e7811b86751a + flattened_ast: b04fde51bb8caee2dbe6b1bc4abed031b8f0f9b02283ccc347df90a4a9fcdede + destructured_ast: dd84611d87bf0e3763dc6623606d03cf18e139f21b3ffa8c151760e4dd174c60 + inlined_ast: dd84611d87bf0e3763dc6623606d03cf18e139f21b3ffa8c151760e4dd174c60 + dce_ast: 60887b7b135d616ecce4c77e4e908e7b8596c6c72fe495ee958104f40fd53e57 bytecode: 55706d4cd4634a34de18450007e4de40f9cbc51382f3d70fe776cd58cfd49cfa warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out index 09ef8bc521..9732c859c9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 82a5329819e19c04049729ddcccf4045aa4ee7e4af64418bcc0746f7da31694d initial_ast: 5ccd9069df2954b5c4ce2949265d51bb97c2bea7625bce5a562759b719b52624 unrolled_ast: 5ccd9069df2954b5c4ce2949265d51bb97c2bea7625bce5a562759b719b52624 - ssa_ast: 37612c8d33973c5787e5fc36949f5fa6b923c4c654406551b65e833f7c7bcc2e - flattened_ast: c2e3024936a970a23af2b27d3cc1573b8ba52c1ed9d99a56582543d8cfb4808e - inlined_ast: c2e3024936a970a23af2b27d3cc1573b8ba52c1ed9d99a56582543d8cfb4808e - dce_ast: df042ade7b679d5e1fed3dd74ca65c10d976ac60e0c15488a42e6dc674075bac + ssa_ast: 4ad86fa78f4361fd6e00a580a28a687ea324b471b0243381f834559585d8e540 + flattened_ast: 7ca6f764ca654a5dac5082cb525c76eed5fe154ee68a5f8ecab0953b1a250b0a + destructured_ast: 7ac02803a76a765ec77baf2bf0950286eced249cf99df5a2e927cef977dc71ea + inlined_ast: 7ac02803a76a765ec77baf2bf0950286eced249cf99df5a2e927cef977dc71ea + dce_ast: c5200120c95e90a8d588650505e684346cd83866c4796306bf6dd44cd78ce699 bytecode: 33e4439af37c6a05aa55348ce0ec88471c0248498131db5b98b668e8cb828b5f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out index 32f35bebf1..a5751be6f8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8647c97d24052977ea2052743ce9d29ec63a7656d2a8c413e109a6a8e73b077e initial_ast: d7469c107c3967e53e2b28e401fbb48c94e9fbdd118ef21bd6a989b89fe893c2 unrolled_ast: d7469c107c3967e53e2b28e401fbb48c94e9fbdd118ef21bd6a989b89fe893c2 - ssa_ast: a186016a35a9d348de9fe39aced23da78154e672fe5ec5b9270299f2e7011162 - flattened_ast: 6253c3380bbd1f069f2dfc901ca2812207fa26e18af5c9fd9a383261e2513137 - inlined_ast: 6253c3380bbd1f069f2dfc901ca2812207fa26e18af5c9fd9a383261e2513137 - dce_ast: 82823b4ca752f14784de8fe61d496f672c3ce460e2c695f0a1855cc9e285d06d + ssa_ast: 7c0ca49a01d54632354184167374b4e4e11a566c052b2b2ee1215f79988e2d0a + flattened_ast: 492bc6ca762a1d6343349a6d9eb6cc4cac4aedfb3b96ca89a7b56185e0ff8995 + destructured_ast: 77faf043da1f713094198f2f4268b5d767237e21e1b96fd2fe784ab7e34ce2d8 + inlined_ast: 77faf043da1f713094198f2f4268b5d767237e21e1b96fd2fe784ab7e34ce2d8 + dce_ast: ee911e415133345ab6b1c3dd4f35935f03a19bbfde61f7f79d604f1fd39875fe bytecode: fc54eeb5791a27e0482648998cf9da197519e5c139729cf2906c8b0e4c0103d6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out index 79081d5549..0896114435 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 553ed1371374ade548c071c2b85e3cc040690bcdcb9e123b654ae06b3eaaa7c8 initial_ast: 127399b301d5f1cf2faed75e957ae5fb99616cbb15571ac57e71fd70ba275e5d unrolled_ast: 127399b301d5f1cf2faed75e957ae5fb99616cbb15571ac57e71fd70ba275e5d - ssa_ast: f9bc4724290ce9b09a662f9f2ca2672b2a3f30d12f8d598c97a29f9808b7ccd7 - flattened_ast: 4037eca871ab91e37e7f8f64e540305741c09c35e15318b939be3e54c24fab50 - inlined_ast: 4037eca871ab91e37e7f8f64e540305741c09c35e15318b939be3e54c24fab50 - dce_ast: 09f6babb5516cd91fe4bad2c5f01950f5c1dfb8bb6ad25da8fb9ae6bcc51731a + ssa_ast: 86829e1cca9c4bb1d63abf8753bd6ce9806f601c3466132febed125b32dfa9da + flattened_ast: 30c3d3638c7396be2b41f6257fb7f2c70edfb0c7972bb8c25d5e00f112683633 + destructured_ast: 2b090c106a7c54a83feef0cdaea7c1b43785173567358e74af5a2e3f3b4abcf8 + inlined_ast: 2b090c106a7c54a83feef0cdaea7c1b43785173567358e74af5a2e3f3b4abcf8 + dce_ast: cc5acba31ac6c809563660dfa751a276f3f37e6fd1344a8f80c7d99661d018f3 bytecode: 045a18fb7e954456ea49039adfc253c222a290fa124ca1b19f86ca824d4c1279 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out index 338f7f056d..ed4ecb6c37 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 307db14f801ee4e3a512058d0a3df7319998ba4877e95247cf94a14dbf04c024 initial_ast: b745749ccc59d065955d2c5c36510073e25de46dbb9a7a2b7ffce83c211afc80 unrolled_ast: b745749ccc59d065955d2c5c36510073e25de46dbb9a7a2b7ffce83c211afc80 - ssa_ast: 83680ec73be96edfec7fa4ac7f47a07918f0c05dbd0d8a1c04a2b73069d2474d - flattened_ast: d49c6ceb49cfed6e41cfa87d0e38769e8e5444ef695f9c1987af75319ca4baba - inlined_ast: d49c6ceb49cfed6e41cfa87d0e38769e8e5444ef695f9c1987af75319ca4baba - dce_ast: 263bd7ec4d550eba70351a92577f7a4742f0810b3aee721d966df083efbad5a0 + ssa_ast: 509ba2d62f5062164384ca25b9294a515d78093d8539edb623f5083d3bd9bcee + flattened_ast: d7655953277f8b0f17b8acd9df69f4c3fbc8921db27b10c40d1e8b502f32793a + destructured_ast: d62224ad3a010ce2a73e673ff0a49812de10547410230d7113c8be35051aa140 + inlined_ast: d62224ad3a010ce2a73e673ff0a49812de10547410230d7113c8be35051aa140 + dce_ast: 052470467ba951b4268a5447eca8f35bdc0fb216412eb98a878d1d11ecda9274 bytecode: 044a44a2a8fb9301c313f1e1c2abe04383f7d338cda6ff66fcdf2434bd750cc1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out index 47c260d663..12db0a9df7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: f2d1821f19fb3938bb801f9a7dd642c6fe87d2ba29883b0d073c8660f2990ff9 unrolled_ast: f2d1821f19fb3938bb801f9a7dd642c6fe87d2ba29883b0d073c8660f2990ff9 - ssa_ast: 1113b3eaacbe668f57cb341515710e075024bfc62fc835ca78cdd639ce6db6f3 - flattened_ast: bed5a22a372ea6ef0fd13cff265483ff2c29bc315d638cb67efa99fcde246f28 - inlined_ast: bed5a22a372ea6ef0fd13cff265483ff2c29bc315d638cb67efa99fcde246f28 - dce_ast: 5c8ed43870074333e78b888c2fe491c85985380ed9d6f7f745f1df16371da540 + ssa_ast: 7112f1da1e80ebcee7f4fea38272e957cc807b70a5456c52fc2f14963d40c94d + flattened_ast: 806157e563904daee26cd76f429655f919abc2b57567af4b818dacff2deb3546 + destructured_ast: 1c53cf2e30bd163979eceb9a1672b7af3a426a28ecc79039cbb3a25fe87d6bbf + inlined_ast: 1c53cf2e30bd163979eceb9a1672b7af3a426a28ecc79039cbb3a25fe87d6bbf + dce_ast: 797ddb834c7942362a0f2a7a75da28811893bcebbd16e31a405d5d4ff9ad78fc bytecode: ca315272f12d59819b589dbf79fe025227b812e9b896696349ac766a9a416960 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out index 458b07fc03..8f056ad909 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 9bb3c8e5beb41db4d580f72cddb0870cec04117c0c6536990aeff8ca677c00df unrolled_ast: 9bb3c8e5beb41db4d580f72cddb0870cec04117c0c6536990aeff8ca677c00df - ssa_ast: e7dfa64d596822c0fc7afe8e49be0d5a925fd4408767b079fa3af29a5a9165f1 - flattened_ast: 1b63ba449b3f4c22fd37cae1d0c2a1a8ae43b38fc5a80c6341317ccad4f6fb1f - inlined_ast: 1b63ba449b3f4c22fd37cae1d0c2a1a8ae43b38fc5a80c6341317ccad4f6fb1f - dce_ast: a1d6746fe2ba3388bda653c068289c2ef35e70666880f67b964ac10a40efbb7d + ssa_ast: 2471c9681866179a13be7170278be1192e4c99726459ac9783a0b7fdaebf9f2d + flattened_ast: 59eaf01fc8afb9ede1dbcbc989d7a9938e9e41aabb36ac1293c116ace3c90d52 + destructured_ast: 0b075717b9058c82832c0e7b0d1d4d770ac0fbb1d833e0ddd145b5720d8668d2 + inlined_ast: 0b075717b9058c82832c0e7b0d1d4d770ac0fbb1d833e0ddd145b5720d8668d2 + dce_ast: 7d047bb534d6220615be683f8e55c56f823efed39cfdd92adf9cd86172f1c4a6 bytecode: 0732a356f65a6b062517f1dfa76fbf9e9eb57cbf8ec4d50cbcec2ffa0da54122 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out index f3cf4a0e8b..5491552cb8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: 9278c84293be5b37de64d9c9ef375f9eb0795f0adc6f68df67a65806668868ca unrolled_ast: 9278c84293be5b37de64d9c9ef375f9eb0795f0adc6f68df67a65806668868ca - ssa_ast: 094d8a4fdc070fdd430c868edaf5c317aa23f4b9cbcbad81c5ba5b982955ac30 - flattened_ast: c39400aae0305eb3850a6872c81c3d0275caa73672c98091e4edc73ceba21d30 - inlined_ast: c39400aae0305eb3850a6872c81c3d0275caa73672c98091e4edc73ceba21d30 - dce_ast: d27691f8a661cea22f5de7d26cae661abe79f8a4de33c9a54dd1d6436e8e5b9b + ssa_ast: 4113a7b147a0df20d5a0818d5235985b3320386c37d9e16199ec36a472978749 + flattened_ast: a9bcfc32247d2b974181aab3a7ffd0598ee47fd69fbb9d7a85bc59770dcb1c01 + destructured_ast: f4f80fb728b9eff59c34f9babc02b4f95bd90051186acbb5238354b510b6569d + inlined_ast: f4f80fb728b9eff59c34f9babc02b4f95bd90051186acbb5238354b510b6569d + dce_ast: b35dac36deb960a59ee6ba0b54bfe73873952faa92efd2a5f0c24a114dbfce03 bytecode: 8c33439a30c50519ebd6ea519da98bac7452bc3d91e2062e069b36b716d8d711 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out index 1cc3880876..fc1f5d00da 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 3e63c3c8bab5814e79a9cdd9b896abde9a8f88bcbc9be7efb97a22c83d9c9757 unrolled_ast: 3e63c3c8bab5814e79a9cdd9b896abde9a8f88bcbc9be7efb97a22c83d9c9757 - ssa_ast: 0231f9d02da05000311935909d943cb1f08ad2c160be6d0b8c8b61f22a993ddf - flattened_ast: ea3f7b1f929d33dab17fd49293fff01867f08a5195c2243b9c5782adb2d0dc32 - inlined_ast: ea3f7b1f929d33dab17fd49293fff01867f08a5195c2243b9c5782adb2d0dc32 - dce_ast: 372ccb74ba4e714705951cce8107c572ba3fd36891651e4310446738ded950c4 + ssa_ast: 8b4edfa2d00fc5a18f8f0826ad5eb7f6135a97dca6b026a9b345a5ce4b4a4b72 + flattened_ast: 71215a907e4687780609cc5b4c0e2658b354b75121db79db217770c9a947f1e3 + destructured_ast: 6279d1fc288344729b66ec8af208d8ed7a2c4bdfc1840427ea1099ed1f2b169c + inlined_ast: 6279d1fc288344729b66ec8af208d8ed7a2c4bdfc1840427ea1099ed1f2b169c + dce_ast: 11ddac383e853a655aeaee88da86a4bed3342e7b5c592138bcfdc802176f5e4b bytecode: d9d8535464393fb21afb06a16a608dfdc68041779c0c426378b17b68fa2ed0d6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out index d5cddf2560..d3434f1acf 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 32fa730f407650202d165bf1a20a150a20536c17f8bc8791885c32e4d1bb4d69 unrolled_ast: 32fa730f407650202d165bf1a20a150a20536c17f8bc8791885c32e4d1bb4d69 - ssa_ast: 15f41bfde0c6b370dddd8a746c0f56b71774c7b9c86736f07490e2ffb894cc2e - flattened_ast: 805072cccebfb3c73f12ea44cfee152352620dbf26aff5768de2ae1104a47783 - inlined_ast: 805072cccebfb3c73f12ea44cfee152352620dbf26aff5768de2ae1104a47783 - dce_ast: 4dccc93c459d2e24ed68e336257b8baf7cb5dd1a1f918a748e42b07f417974bb + ssa_ast: 9364115515f0027f6dad19e7ce52b26aa8c9d774b3d5cf3d379db6de7e4d647c + flattened_ast: 3b69d7bd6f4b870da9d0b5d40098996af60364af4c9ac1a8f35c5220976b6fd4 + destructured_ast: 6c535d9d05951a02cee943693c392f826d0ec1452c2ec4ab67e0b891d6a4ac06 + inlined_ast: 6c535d9d05951a02cee943693c392f826d0ec1452c2ec4ab67e0b891d6a4ac06 + dce_ast: 46f170e7ded09efc96c85a5070efd86e6aaf2485c1997ac37ab0c705f9111c5e bytecode: 6cae47b82841a9b356abcaf49d25cc5ca7c86edc8d8bce4cab03128b57283051 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out index 05909b9033..d9a65a1cef 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 63f769bdbd63d95ff2f1b708d51b4f22dead424263acb06fc5e50c13423d4f26 unrolled_ast: 63f769bdbd63d95ff2f1b708d51b4f22dead424263acb06fc5e50c13423d4f26 - ssa_ast: 05350d37a04b3accee59850b5d53e173152a4eb3e383aa25d98f0b8765b22384 - flattened_ast: 81674dbba60eaf1fc815dff245a252a181871613274553dae7ae5ac7444e2868 - inlined_ast: 81674dbba60eaf1fc815dff245a252a181871613274553dae7ae5ac7444e2868 - dce_ast: 96218b700219fac2bb84afbe523d1b5e5eb3cbb73baf0a39a4ad65e1d8936a57 + ssa_ast: a0a5b02b6c46138fc46f344d42f7178f2255889c1dbf0b051ac2ea755be45ff4 + flattened_ast: e5805ba626a6ef2764ac436c4f086488fbe1d954a4196e80f8c8d6683acea257 + destructured_ast: af97eabf0360d37a9830f054fc8f36c50a3adf55d6fcea365213f81fc6c29021 + inlined_ast: af97eabf0360d37a9830f054fc8f36c50a3adf55d6fcea365213f81fc6c29021 + dce_ast: 62cc41e06ea778350bc6a07622d722d2d8e48ecc39ef26bdf72a653eab7d21c9 bytecode: 975a1cb98ad7fed0f8c86d4f782f28acad38aaae51b8e5c6dbfd32f55ed2d8e8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out index faa42756cf..79f47ddb38 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 773c06581bb4365d132e7052efe0fa1048486925247c89ae8fa2ea079f0367f2 unrolled_ast: 773c06581bb4365d132e7052efe0fa1048486925247c89ae8fa2ea079f0367f2 - ssa_ast: 3c275a35f710d57c09fb8effe09c606f548204e0149edd4ad6a966af9cb3a766 - flattened_ast: 0ba097da8aabd6ca9f5aa3c5d8fcd782be86e1588482cf5f169af274c9b90962 - inlined_ast: 0ba097da8aabd6ca9f5aa3c5d8fcd782be86e1588482cf5f169af274c9b90962 - dce_ast: 4218a51038f7142e55e816cdcfd232e2adc56d94ad7d1ab63b46add7ea1bcb9b + ssa_ast: 9bbbe121aa528749e83731ec3ce974da0612fca5a0449b83d9fa16501e8ef843 + flattened_ast: 2581f07e16ab44da0dda52469e66c5ab678f72193aebda5f9ec518e3bcce3adc + destructured_ast: 0132034dc7d852a86ce0d50245903e039b3fa5ccb9d8a8ae70dd5d22b2efac61 + inlined_ast: 0132034dc7d852a86ce0d50245903e039b3fa5ccb9d8a8ae70dd5d22b2efac61 + dce_ast: f1d6ea355338333904731ab2141f45a8182d2e118899a95d9a564d90a9460495 bytecode: 798c6160516f2d9cbdf4c3e0c22a9e6c1be1fc46f3f7907aadd2294e4471bb94 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out index 1862d8eccb..90fe9d3fc0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 0b593dd6acd781d79e8d0b8691e6a6c0c4e1a7217d0e3db0e8c6dcd265724398 unrolled_ast: 0b593dd6acd781d79e8d0b8691e6a6c0c4e1a7217d0e3db0e8c6dcd265724398 - ssa_ast: 94ac6e827cc9cf81feaa94da3186fce6dd538c3becb060660be42a690eee3939 - flattened_ast: 70a19ba9c0d09a69ebf20207d0da8d8e7fc4cb21149913d9295c8785f55067be - inlined_ast: 70a19ba9c0d09a69ebf20207d0da8d8e7fc4cb21149913d9295c8785f55067be - dce_ast: bb5125d03e01398730f706654ebc74234f04cf4773e2ba8ee0afbc6f522d6621 + ssa_ast: 4613dd97d46d3abb06e8c32438436707ff56df919f7658dee4d79c275d06a0d1 + flattened_ast: 5534df1118242cb2b25ec59c6373a79c6f15226b19738ec05e909203d4052695 + destructured_ast: d800c6d125ad5c450571192ddb9b42f6062a8a769b0f0e9c185c859dbcee13d3 + inlined_ast: d800c6d125ad5c450571192ddb9b42f6062a8a769b0f0e9c185c859dbcee13d3 + dce_ast: 9f33e40b4fc5ee07a67fb62c67c907a6c39259c9c216de8901c5b13603a131c9 bytecode: b4e8a66b3535650cce69094a5691ed7e5da80420ef152a6c98c1084dc31cbcdb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out index 057dfbb214..895f707b57 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: d9d1c26979127460c42cdb27e1262649cfa65016f3b60965a76746a753f76b96 unrolled_ast: d9d1c26979127460c42cdb27e1262649cfa65016f3b60965a76746a753f76b96 - ssa_ast: e963a535749bec73abfa995e36b218b25b7debfdc10193f35596315654664a4f - flattened_ast: cf88d79c9c9f87933a45db3e407b8438ab9858ca56af81f5e51dc92c7f96a29d - inlined_ast: cf88d79c9c9f87933a45db3e407b8438ab9858ca56af81f5e51dc92c7f96a29d - dce_ast: 7f675cb6c857f827a867f9affc7a737ee812516c5221ed527c32aaa9c18d7c39 + ssa_ast: a281907080be2977f8e350dd1353eb22122d8ccf100cb8247e1e4d1482abf2a0 + flattened_ast: 2f7aadb26e086d05c969f1c654ad0a75ddb045b94094dbc8073fc994fbc1f1f2 + destructured_ast: 4bd7694dac140a89c7e7b787f33e089b40b99ffabab1086d31d54f5ec0780c92 + inlined_ast: 4bd7694dac140a89c7e7b787f33e089b40b99ffabab1086d31d54f5ec0780c92 + dce_ast: 3ccaa37cde2a4a6cbe27c4f411e439b319f7016cfb0d26f34c7fe414dfa25905 bytecode: d1c89170683dfbc163399a16200cbdb282cbf101ced8e53f5326bfdbf3343f57 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out index e1925f820e..46796a95d3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 21b7bfd08d9b12564f6172a0b2ae284ca1511495d5fc93dbab0bb345d74e129d unrolled_ast: 21b7bfd08d9b12564f6172a0b2ae284ca1511495d5fc93dbab0bb345d74e129d - ssa_ast: b57b2e543c75ab63ef42b5c6b39241dcdd66afa1f9de826cc3fc90c3fe5c3418 - flattened_ast: d0c94e892fb5d7c6d9c392877af44054b550962a5fc0819865b792454c9dab65 - inlined_ast: d0c94e892fb5d7c6d9c392877af44054b550962a5fc0819865b792454c9dab65 - dce_ast: 2e180296c7e15ac58da43db3665c0bd15c0d3d89b09cb757101bd48fe7acc47d + ssa_ast: fcf7545485e1440f3380b8a34197dff1371dc1b3512c3c15cad75d60e1b107b3 + flattened_ast: 82652fec27a8bb42d9d5502f057243a0e9dbd9313cbff7b84f31d244437c4a00 + destructured_ast: 76d91d8bc56bd3fd3ed3a59d59dbce3d0eb1597e6938a4f09747ca3ec4f726ef + inlined_ast: 76d91d8bc56bd3fd3ed3a59d59dbce3d0eb1597e6938a4f09747ca3ec4f726ef + dce_ast: 2fd5adaac93aef095056239c526b5cf133aa4ad8f5a5cb2690992706cf8e9fb6 bytecode: 7c9f6b45e12973c86606c5cd3ca45c6af53d8819df40fa5660a987821b998301 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out index 3d08bf0381..1ea0ca1d36 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 9a20cb47619b2b55a86ff560277958b1508aaf5841bc1fb8eb00fbfeb4aa0da1 unrolled_ast: 9a20cb47619b2b55a86ff560277958b1508aaf5841bc1fb8eb00fbfeb4aa0da1 - ssa_ast: 584c814448d586f31892d31bcf8491218e52d7e161f1f0bde5a0a3a8ddc52ebb - flattened_ast: d72e87066a4f9bda04b7f77cb6de71f58c1c1a6491b36422eb6a3e76cad7a983 - inlined_ast: d72e87066a4f9bda04b7f77cb6de71f58c1c1a6491b36422eb6a3e76cad7a983 - dce_ast: 07243295c0810126cb6d1214a26d859392324528058517e30df553862a53cb7a + ssa_ast: c5b13b9802f0a0f4369ee915322942661138902a91d81dd08be4f438fc89544f + flattened_ast: fb832900401e9c4ca8f00bf617fcab9ad19743f04da1b91dfd72ee2bf6553f3a + destructured_ast: 584766d12a93b9b1d3530b3566757de2c3125e93d77914eff38854ab057c69e6 + inlined_ast: 584766d12a93b9b1d3530b3566757de2c3125e93d77914eff38854ab057c69e6 + dce_ast: 7973412b81983e6d1c0913787e741201c10431e18e4f50850562a362ef1dd8a2 bytecode: f5027cec3929d0dcd05017a80763507e8c71561ab196a71f97304e48015c831c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out index 1e6a997232..477d6c8c5b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 681852915dd54cf8634fbe2289923dc473a0656d14e7999d6c99615b57e97568 unrolled_ast: 681852915dd54cf8634fbe2289923dc473a0656d14e7999d6c99615b57e97568 - ssa_ast: 74ff70b193180bd2d77d465fc38f5147bb628451b75d6f2ed18cf9c23221424a - flattened_ast: 7d92a858a2ffb80c57b5b2f5cd986ceaf7add0d697ba8af68c5afb608abf7ead - inlined_ast: 7d92a858a2ffb80c57b5b2f5cd986ceaf7add0d697ba8af68c5afb608abf7ead - dce_ast: e41f4c00e84857bb088423bf1fe24ce53da76fc460b62122ce7fe104f3a8a07c + ssa_ast: 7c742f2515cd966b03e0c537bbae10a07e593a50ee265ffb8d78d8856cfd5bba + flattened_ast: 1ae2fcb412e02b5ea95875d368a1a5a712c028af0f8d94746803ebebb55f638c + destructured_ast: a1aa30e6d86b427f0725770554fe94975dd848cb0f6a1e3cc0d9cfd5ec07bdd7 + inlined_ast: a1aa30e6d86b427f0725770554fe94975dd848cb0f6a1e3cc0d9cfd5ec07bdd7 + dce_ast: f63573277e88a7cb584aaede15a7f7fa2778c0ad1f8c7c64e5726fa288242748 bytecode: ed71694075a97e2d9d8919ff8e7138309c4735f1b29f66e41e7278d09872dec9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out index af7f8e0061..1fdf666513 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: c5bc30150d413632e7b8fa280bc84538f24ad84196b109b4af7786711c8cc974 unrolled_ast: c5bc30150d413632e7b8fa280bc84538f24ad84196b109b4af7786711c8cc974 - ssa_ast: bd716678efa267937c9fd59279884d91d10ca0bca146cf9b5fc60c273921ce78 - flattened_ast: 907e655c1a78443c1a46260a068f7f2509a57da6605e8f771802110e0f891e7b - inlined_ast: 907e655c1a78443c1a46260a068f7f2509a57da6605e8f771802110e0f891e7b - dce_ast: 4599b6f1f48a13dc893366c12c3190a614fa48594bae07ed1ef2711a5ff73c7f + ssa_ast: cf3c7179ce560cd04403685eb56344e5a7ca60ac8d32bb303d70fd853a185ee2 + flattened_ast: 71cb13415abe70d6df6328f2254f7708889bd6448350b7051c111e6e46792167 + destructured_ast: f17b96e2393c914ae6cf330b9e62597ff88a1002afc3cea41e3252e118ac82d1 + inlined_ast: f17b96e2393c914ae6cf330b9e62597ff88a1002afc3cea41e3252e118ac82d1 + dce_ast: ee3248d19188f391883062ee5e96f553ee23601d7f0486d356d9cb5f84018c58 bytecode: 74977b8f00a84dcb2e9ba7ee129aa781d704272a242ea20a2bd4da5cfb85f4cc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out index 4bc6aaa538..120cf1cfed 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: ac8bc8c4a0095bf4bdfb987fda0c34a0777808d34a469ebd1073b1ca0a58a37b unrolled_ast: ac8bc8c4a0095bf4bdfb987fda0c34a0777808d34a469ebd1073b1ca0a58a37b - ssa_ast: 1c2366a7b4e817428f853a54c91d92bd9d2ace23b0e9849470a33f7f7fb1e0b4 - flattened_ast: 09137aae7caad81fb3a01487b5d9cba203bcbe54ab7c8bfc47b0cdf05762a448 - inlined_ast: 09137aae7caad81fb3a01487b5d9cba203bcbe54ab7c8bfc47b0cdf05762a448 - dce_ast: 21f5493263c803501d65050df91e6e51d57bd675a1dc55338ab87ab3cf7bdd85 + ssa_ast: 49c3246d9acda51e3ef3fad50f505e1e4f13cfa259536c12a8df364c486bdd9b + flattened_ast: 453244fe0f8fad8a9975db2a347db3f67c9d0ca32970a13c4fb71f0e5a1bdd6f + destructured_ast: 82bc900ec6c6f3c96ef74ce9520e5cd68e8dd1c0e4533c1d6f287fc4bf74f18c + inlined_ast: 82bc900ec6c6f3c96ef74ce9520e5cd68e8dd1c0e4533c1d6f287fc4bf74f18c + dce_ast: c3eed69a28ce615c3f17e6f02cdd44ac892bd95157c1558c26ce5317e4290cb5 bytecode: 321894d4016e60b5565182e3241bdf93b4e0336a851997cf94f3ddeaab1e8b0e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out index cb53f65ebe..af6d33c04d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: cff5dc4d29bfb2c3450459ba55b84552febb2399f87ccc6c21b5c86e11734cfa unrolled_ast: cff5dc4d29bfb2c3450459ba55b84552febb2399f87ccc6c21b5c86e11734cfa - ssa_ast: 4bed9bb817d48c73d2551871600b96a2a48408961ba20fe673c8fad430189436 - flattened_ast: 538fff18b6509c8d91dc58837d0d78ee4b8b806f3dbdc6eb89deddd6ac322fd6 - inlined_ast: 538fff18b6509c8d91dc58837d0d78ee4b8b806f3dbdc6eb89deddd6ac322fd6 - dce_ast: 890056b58bcfcf8ab5303cd6f90a0c1fd9e7df8ddff19ed292bf0d8839cf76b0 + ssa_ast: 9e8046f9ba1d862aed57b794076cc7da0e078f0e81376b6b6b62e3d3a8bc2695 + flattened_ast: 9132574b345eb6798711a3b012ac8243fd0e7fa4581d9f45378bfe8ab682353c + destructured_ast: cf1a261fc82c011779a468ddb4318676a95f9be9b169dbe1f697318066252278 + inlined_ast: cf1a261fc82c011779a468ddb4318676a95f9be9b169dbe1f697318066252278 + dce_ast: f67c40d0bf5c3746c74b3cedb8b714343225fb810b68630e29f3ac7f90fba207 bytecode: 306d4beeb9abdcd43cf232ed35d4990aab8810ff286226fb2e606f46a0d7690e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out index 6bd6aeba67..e8fd64836e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: de12651267e227a3797086dfa61474d968702e0bc882df60611ea10dfd336770 unrolled_ast: de12651267e227a3797086dfa61474d968702e0bc882df60611ea10dfd336770 - ssa_ast: 63ce7497d3458c37cbaf360a969ced3930fe508431b018fa51bd047b535faafa - flattened_ast: 37676473cb07eab1b4996083499c3b8b850a73accfabd87cd2d9564279480710 - inlined_ast: 37676473cb07eab1b4996083499c3b8b850a73accfabd87cd2d9564279480710 - dce_ast: 25ffb283d0c3db4869d6725d07603c1ca2a98ca0a1f7e2c0528aa15939c825ec + ssa_ast: 86c3d1ef7e12a45f8b5685414a78e65f15a35df793a55cdb4d8b5c8fd42dcd8a + flattened_ast: ee3ed5bdd06f81acfeaad4d8f4a5a77fe984bcacf6eac15f815e501fe6977d49 + destructured_ast: ef5be9d5b896c04d3ec1ea0f2aeefdb2fb7b5eed11db73d5c746a548e0ad7dda + inlined_ast: ef5be9d5b896c04d3ec1ea0f2aeefdb2fb7b5eed11db73d5c746a548e0ad7dda + dce_ast: 691870a757a200b8a2c2e0d02a4d14841107929784d458b5c65130988aedc5b5 bytecode: a9549d0d83827cd1143f924030ee0ede0865349f3b9f93bb6d4fb9a69d62db27 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out index 4b01e33d6d..461bfabfba 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: f96f658ed147d34aba936f39d10003a2709ee28c80f458adb2fa8442157d99be unrolled_ast: f96f658ed147d34aba936f39d10003a2709ee28c80f458adb2fa8442157d99be - ssa_ast: e1bffee43fb0423df405db84031eb56ae33979ce92cd54c24c8aa2ee3a8f630f - flattened_ast: 977939ed4830e148b92e5dde67280fe910b3b385adab6908e443d1dc543da059 - inlined_ast: 977939ed4830e148b92e5dde67280fe910b3b385adab6908e443d1dc543da059 - dce_ast: 7aa72c6ecc65f521611f40f1d529bdf2a236ab90d4e19143be35450d0f1bb0c3 + ssa_ast: b660453fdeb2cbbff859a376bd97bc07e419967ae995c32d41f8929cd4291849 + flattened_ast: b060cae84339bea950fc0aeeb59ea52992d64d4be47c10c90a20d736a16e88e6 + destructured_ast: bb687780c5c1cb5898aa4a4b80194bded527f240ae1931b5cc7f335783dc5134 + inlined_ast: bb687780c5c1cb5898aa4a4b80194bded527f240ae1931b5cc7f335783dc5134 + dce_ast: 1fe6cf81ea3aa6dc1af6397d1732de9218322ee626d8628bf1a42c0f18f02b03 bytecode: e6a59e3156a3ff5801a42607df078d08aa239f34556930470761e1c5848ae171 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out index 1f47994196..30a5cb03e4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: c06ed42711aa5b600b0eef28b5918a3102b23c54634e89842c8c6276e43f201b unrolled_ast: c06ed42711aa5b600b0eef28b5918a3102b23c54634e89842c8c6276e43f201b - ssa_ast: 96b4108bdcc1bf24f695daa50aa9f4e71dd80605d7515d2a226900937168071c - flattened_ast: 41811e94e81e15236de438b568086bc970666de1791234d3e04215ced9af1a63 - inlined_ast: 41811e94e81e15236de438b568086bc970666de1791234d3e04215ced9af1a63 - dce_ast: 9d2825eb724457e82c365491742ba5e7aafd542d2783c77d233cbb5c08182d01 + ssa_ast: c359f6efa27221b73b5baa9f6b0d1eb642027f77aa016dab6740eef82de2b91f + flattened_ast: 000cf321596467a410fe177bc8658ba046b4104301315a65e254e0b4fb67a30a + destructured_ast: 8ce4c878fae80609cf65f6cbc52db3c284fc1f98b2c4e19c50f70b6faffe720e + inlined_ast: 8ce4c878fae80609cf65f6cbc52db3c284fc1f98b2c4e19c50f70b6faffe720e + dce_ast: c0297c798511d5cb13655af903f462c77a5568d6ef912fbd7d9eb4db6c9c533b bytecode: fc04f975d1c07c4f7d018572d3d17a12328c5cd8e91d0b70c7745b3a1feb0618 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out index 2f2cb04eab..9fc301353d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 13214abacd62aa5d4867d8298f050aba6c26e76bff82822f628457ba9d4e6b0a unrolled_ast: 13214abacd62aa5d4867d8298f050aba6c26e76bff82822f628457ba9d4e6b0a - ssa_ast: 446253445dffd36dcd6cce36325e6b1956c163dad901ad8b5ee888524744a486 - flattened_ast: b9ae92bcf41af4dfb53935161c88fdc62559aa9a62de738caab7b39c4b322a1e - inlined_ast: b9ae92bcf41af4dfb53935161c88fdc62559aa9a62de738caab7b39c4b322a1e - dce_ast: ae45c5db0d5ffc9e6a7f9ac296892f92dc49fa7e4f2a98e4ae9f0630a25a46e1 + ssa_ast: b91590730f1513c3e5ab48d972b5793c24c7e3d4fb01856c65e58e9324ced0dc + flattened_ast: 2f49471cdecdd6d9adf1b048b590c21359968b0406f1908174f6c1221c2bc1bb + destructured_ast: b89a4e1a4b4e114c0d5cb6543d8d785762835d1cafd7b6ffb8b2fe7792c4f535 + inlined_ast: b89a4e1a4b4e114c0d5cb6543d8d785762835d1cafd7b6ffb8b2fe7792c4f535 + dce_ast: 08aae039575564107f12e09f9dc589122ac882f7cf46d33fe55d023d99185c0b bytecode: f4564b52ac16664bc0bdb32637268fc5353c50dda45c6d2d3f85c19597198588 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out index 11be16806a..c62c539845 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: ea294320002dc264faf8d1c36e52b42203c0d87ffc83a4bf20ba735d7073b9e4 unrolled_ast: ea294320002dc264faf8d1c36e52b42203c0d87ffc83a4bf20ba735d7073b9e4 - ssa_ast: 2167b64d52cd724427e7c9de2804fe41b3d64955b971f83009ade5bf3647aec6 - flattened_ast: 85eabb91870c87ff04767f927837ef49c225ba0ef4adcc967768a4fd96a38999 - inlined_ast: 85eabb91870c87ff04767f927837ef49c225ba0ef4adcc967768a4fd96a38999 - dce_ast: 30c068cd2df8cbc08f8984ec86e8f7c41ee36afc9ad92b30e696acd62a1bd8c0 + ssa_ast: 1efde84de16302d51e9aa94b9520d3a1b5ab7adc20efcbdc81ede95a9f31cbe8 + flattened_ast: 50ff2fc992c441c1c41f13342d9371c2a390d7bfe708289addb80e6bb4110ba5 + destructured_ast: 651c0a11d3fe890376f52bb64221c88e1144a8dfdddb8108e052b957df772585 + inlined_ast: 651c0a11d3fe890376f52bb64221c88e1144a8dfdddb8108e052b957df772585 + dce_ast: 786e56781d38743bfcf410e55c33de2688c97b2c19f2598ce623f39c4c49b378 bytecode: ae16c24cd484d13ce731e527cf9373ab9bcc8b9e6cce6d9a9a0dcbbfceb75e2a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out index 7727c59ef9..a6e7b44000 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 29166db1bb9923f875ea9290273382d622fa8ab91f30cb4bab86342ac97e6d42 unrolled_ast: 29166db1bb9923f875ea9290273382d622fa8ab91f30cb4bab86342ac97e6d42 - ssa_ast: bb3fd2415f36bb881e91b536d12d1373026165bde8303ec49d20143af9ef0276 - flattened_ast: 8cc0cb8570c8b87a4739d980101d749b8a34a12b232924d4416894ef2c2d2e53 - inlined_ast: 8cc0cb8570c8b87a4739d980101d749b8a34a12b232924d4416894ef2c2d2e53 - dce_ast: de9a83a0753671fd006217ce1b2227bac048a1465832e73a9cae3685a370e7da + ssa_ast: f8566ac7a29ced516643b7ea80637ce73c0a5943a1f7cd661608cb549a08fe8c + flattened_ast: 23f8704222f6ef80d733a44aa4bf2e8e110f3acf568caadbe3a02123ebd1ced5 + destructured_ast: a0f40572b100e3ac0a180ba4338b487af27cdedf7fc0f3ec3d1c597a76345c82 + inlined_ast: a0f40572b100e3ac0a180ba4338b487af27cdedf7fc0f3ec3d1c597a76345c82 + dce_ast: d3873e9c17203a40964056fe83befb98da9ae7c79fd8eef01c8b3b396ff479cb bytecode: aa997d56c8583efc291ec4e9238a0dd73a45d8b4bc3b59f40b9ff6871f88aa09 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out index 2eba0ef27b..b8037c4dd5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: b87caacda14626a63912f11f5c446c464644d4c41a3cf80f0abcac689b8d864a unrolled_ast: b87caacda14626a63912f11f5c446c464644d4c41a3cf80f0abcac689b8d864a - ssa_ast: 1de446b493d36b97b7c34f4131cb20aff1cb431061375497c3db8926fc0148c1 - flattened_ast: 7f39318c22efcc1e96945636944610be01be16ca1481e55d42c1684b58aa494c - inlined_ast: 7f39318c22efcc1e96945636944610be01be16ca1481e55d42c1684b58aa494c - dce_ast: e8d7ad33b9f421ed8af730ba2940d270c23a0228bf86cc977d61b6380241e757 + ssa_ast: df1adb74b6aa01d82a2dac65c50aec42662f7ba960a9791459332c82749fa038 + flattened_ast: 3b39836ca95d58b4a071763ec85ddd552dd9ef8a55cf11ef8f9a7d63f1a1dc58 + destructured_ast: a0552d66e1529d7aa431f3043ed17f72f3a6721849ee1369af520fd93ed9b14b + inlined_ast: a0552d66e1529d7aa431f3043ed17f72f3a6721849ee1369af520fd93ed9b14b + dce_ast: bac1fd938c19ee4b4b4141e3687a37daca854c7dc4b4bba006c13fab7febe733 bytecode: 6347188e178ead622b83b2acbd39e314b1c3afb15e3590111b716fe4ed33be5d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out index ddae5f1def..a1bee47764 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: 3e1c37783dfd8e9f7e6e47f59e517416ce0b5be825ba2d6367025f1d64a5d6f8 unrolled_ast: 3e1c37783dfd8e9f7e6e47f59e517416ce0b5be825ba2d6367025f1d64a5d6f8 - ssa_ast: e76b32ed8309fede108c9e40c6a28f116f2bb5df90d4b12d8f68c23dd43f3a21 - flattened_ast: 129a8aed2379a3493b603e513058182c13cb2e343c1be6728101a5245ad60825 - inlined_ast: 129a8aed2379a3493b603e513058182c13cb2e343c1be6728101a5245ad60825 - dce_ast: 4e93255ab8519e12403cbfdae96503648f1164dd294423c98479376452c43698 + ssa_ast: eed837d445f5634e52afada1f838cfcce20c892670bf84e1ef7b18232a8d4849 + flattened_ast: afb82ab8ef9d03b4f3640a781dc73c2b1626a4192b4510ea8acde415a06f03af + destructured_ast: f0eb2c42baf275f1cd617574a74f156d139ee9689c456c0389b563bf632e8daf + inlined_ast: f0eb2c42baf275f1cd617574a74f156d139ee9689c456c0389b563bf632e8daf + dce_ast: e22e0078820250a2332bef7efb67ec9be278f458ddffc32e9b1494f7f3750c91 bytecode: 9cd6ff69d744b6baaf79b43b6edb4a17f93d5b77e51c389009cc741aa2cfa44b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out index 856c5b46cf..1d9ce114f1 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 8a8f06ab773fad5f008eb5ef4c3b4ffb0745e10bab80a52ced508500a8a2624a unrolled_ast: 8a8f06ab773fad5f008eb5ef4c3b4ffb0745e10bab80a52ced508500a8a2624a - ssa_ast: 70b6d94fa2a7752b5b78ff2dbe84755e30bed7a92a7d30eea17f5eda7806ce2f - flattened_ast: 22e3409e8f04f8d9b1f3c7e50503ff0d2a2f55bce3ee781f44d18a94059a5608 - inlined_ast: 22e3409e8f04f8d9b1f3c7e50503ff0d2a2f55bce3ee781f44d18a94059a5608 - dce_ast: 3275d536cb3844e824751a3c38bc0d3ec16ad7fcf811fd3a3ead1c2930cc4ae6 + ssa_ast: 2c479cca0552281629cf9490e6593f01ff19fa5d9503d64b84c78cf7423e39d2 + flattened_ast: e423b549605e43ad41ccf9f55255ce4b871156018a082c1b16d73a22ef55b7d2 + destructured_ast: ba112aab340d33c7f4b5bcbd9b2d14df012f3d27d5cb0d3f9faf00ae7a74d0ff + inlined_ast: ba112aab340d33c7f4b5bcbd9b2d14df012f3d27d5cb0d3f9faf00ae7a74d0ff + dce_ast: b70c7c59d3ceb36ef80a55f54a93412048025dfcdee08aa41a6aa20948437b8c bytecode: 650266303e0c26417c626e2bb6d08055d1ed7f2350a716f344e9907448328e92 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out index b554a652d3..812f4ecaf4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 0fb0070883ddf13fe7bd631fd2b91799fccc4684600d63f574da3715fbf1add6 unrolled_ast: 0fb0070883ddf13fe7bd631fd2b91799fccc4684600d63f574da3715fbf1add6 - ssa_ast: bbde0a898a0634e97716bbb3e6cfd02b16bf976fc336d2938be5b7d0ecfbe4e9 - flattened_ast: 608c14987ddb25ee29f3e3e65f6b311e1406c90610414963f2774fb34dacf510 - inlined_ast: 608c14987ddb25ee29f3e3e65f6b311e1406c90610414963f2774fb34dacf510 - dce_ast: 5e6a8f17145e33fd757bef93d43883af651fb1b414d11d1298bb9b1f957fd351 + ssa_ast: a033f3bf2d34d06f6ef492167a5d4cdb34a122bda85f0d5af4d14c61349efd3d + flattened_ast: a8f4cbbe22a945728aa88b2a824f55ac241e53db2a896acb25b7a08ca690ebfb + destructured_ast: 08ddc8d7e36f9ee119f94a866abbff8d339172881ab2c07e1bd611a290d16fa3 + inlined_ast: 08ddc8d7e36f9ee119f94a866abbff8d339172881ab2c07e1bd611a290d16fa3 + dce_ast: 0699f65b8f23f47f1e6d603e51d2682336e30ae7ae4083010ef75a32cab060d8 bytecode: 84412d6ef9406a51c4eb06535acdc020845b277ae94f6b77e77fbf8d84772180 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out index 1f2790bca2..fbb2958f10 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: eb1ca91e5790e0f07d423403d97f2abde87692b565b50454ab86870f199e99ca unrolled_ast: eb1ca91e5790e0f07d423403d97f2abde87692b565b50454ab86870f199e99ca - ssa_ast: 2333b18fd5c4ae64c008bcbb6751b7e771db5995c9163192cadf13303bcc6c10 - flattened_ast: c25db07763ce7b75fa0f8efc688f2a9528348383c4e32c719e2d07ac60d3fe5e - inlined_ast: c25db07763ce7b75fa0f8efc688f2a9528348383c4e32c719e2d07ac60d3fe5e - dce_ast: b52878ba211d8ec938909521662866589a5fbcda2f37bbfa533d43783777e45f + ssa_ast: 5e6ae90886204e2fb23921aa86c659937120c8a4399aaef51ec618f5bfd255ff + flattened_ast: 4057ba2d80e38333899aa60700d0d572f9df229928fa9d46deaccd6e3f619f5e + destructured_ast: 39066d419453e24d29a0a21e2644c85200c973cba11180d95994ff779d3bc92b + inlined_ast: 39066d419453e24d29a0a21e2644c85200c973cba11180d95994ff779d3bc92b + dce_ast: fe34f9d26fd35d5b6905ab5bb66af1ff10bc1acc8ee2bf585797e93ec36ad506 bytecode: c9e6b1ec453882c52c9756859ca950685719b644171a194ea55afbfe79175910 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out index 9184377355..7e320fe629 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 5276c25d318e942e559e7b6e2b34c691a4ebbe3d7a96e7d1485ead34c8405a0e unrolled_ast: 5276c25d318e942e559e7b6e2b34c691a4ebbe3d7a96e7d1485ead34c8405a0e - ssa_ast: 4377c6626aa07a638c3a23acf61bc1317a2f8303cba053116a32a25cd6896489 - flattened_ast: fd0757b9e9cfe0c7f9152ca4cead1359db049175209364bba8d9705d4ad801f9 - inlined_ast: fd0757b9e9cfe0c7f9152ca4cead1359db049175209364bba8d9705d4ad801f9 - dce_ast: 8a3f87c5737a67b85d1a0e6890e7b31b4f5f2e2720f020b2e4011e3782b41533 + ssa_ast: edf9ee762a99d71f3d405f8ab729dc9940cb71bb02008874227d7034956b5eef + flattened_ast: bcc906b7c78cd618c3a321ab00f38f39e287e27f7e8bb3e1a20e4d34077c0e75 + destructured_ast: fb9479f14cb42ad13b8098d19badd8791630eec2e98f7d07e5a6cdc65e9a726f + inlined_ast: fb9479f14cb42ad13b8098d19badd8791630eec2e98f7d07e5a6cdc65e9a726f + dce_ast: 98a100b67b1ea1b3e72911bfa4ceb15105ebf11477c3e783c3bd345114b7b8ca bytecode: eacd57222679e9302f98f9ee703913895034a15f0454b32d9438d75e77a825f3 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out index e1b5acab85..cfeedf4fa4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 2eb1b147d4e435e84c83fa8b28cb1e56950868e55c00c03ad98dd1a20a9d9e04 unrolled_ast: 2eb1b147d4e435e84c83fa8b28cb1e56950868e55c00c03ad98dd1a20a9d9e04 - ssa_ast: b5ce9afd24a58c7fcb2113202393a300651a3874044b531fc510704fd7377848 - flattened_ast: b0e8d054f51b9dec5ad7d5e72fbcf193154f362ea6d4f4426990ed3954a7783c - inlined_ast: b0e8d054f51b9dec5ad7d5e72fbcf193154f362ea6d4f4426990ed3954a7783c - dce_ast: 6bff1b8533a23e5c6563f11c882ac0ea4bca96040bf5d82902b0fd9a00f6a47f + ssa_ast: 27face24e4e37180acf868845c1e62a99b0acc5dc1e956707ad271511f326939 + flattened_ast: 9781714926dd462131fca54c8f60f7e31e5a47e495a53a224c64cd3e2ae45984 + destructured_ast: 8bb7893879eabb2c7599d22751fe5fdf75473d097661fe182efcf769950d1da2 + inlined_ast: 8bb7893879eabb2c7599d22751fe5fdf75473d097661fe182efcf769950d1da2 + dce_ast: 616b5929af9a8f060ff54813c77dde442f8e27171bce4b5ee078a7a49dd5dcf0 bytecode: 15b3b2f15f177b34eb81e2436cf4080578e2980fc07eec7472060469a1789b5d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out index 7513368c89..6d6595243c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: b7a2e722faabd3ec97e4dca35c0daafa72279d7eaa6968b57a0ba65e82b53df7 unrolled_ast: b7a2e722faabd3ec97e4dca35c0daafa72279d7eaa6968b57a0ba65e82b53df7 - ssa_ast: 81eeac8a9f51b1001dad0dec2aed24ca829ee020d0b08af65c9ccfa983a2fe18 - flattened_ast: 859a1ecc56d2a29ca4a2cab6a4bdc3fedf72db312a26b8c1d269cac60fc349a6 - inlined_ast: 859a1ecc56d2a29ca4a2cab6a4bdc3fedf72db312a26b8c1d269cac60fc349a6 - dce_ast: f8739841713f28c65c624cb7bdbdb64f8da333ca73194abb9955dba55bba5f45 + ssa_ast: 898cc44f91fe19f08d269377aa20ebf11bc8aaffaf9f24cad7442a504d28b491 + flattened_ast: 3a169f3e22ace48cbcabdb880ccc9c6f42024affc08c593f11d68d725fb39901 + destructured_ast: f80067ed77601f0404db14b9a3f015709adaabadebc1786ae4e5d04f2cc756d3 + inlined_ast: f80067ed77601f0404db14b9a3f015709adaabadebc1786ae4e5d04f2cc756d3 + dce_ast: d1e659bcb7efa043fa1968c3b2dafed939f6733a03235340f705764f82be8f65 bytecode: 7990fc4abda5438acd7a4d58f60916144b5d56b891105fc8ea379e36569e0ff1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out index ae605cf76b..8f2308b421 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 763d6afc33ea62579dea2d905b8527891f4444503548996ac1249c0c5f55ca66 unrolled_ast: 763d6afc33ea62579dea2d905b8527891f4444503548996ac1249c0c5f55ca66 - ssa_ast: e2f140f0a1ef5b72aca1a2de0033bdd83b6ddd2b0ef2749f9ff85e2ec87a0b72 - flattened_ast: ea0c02d7cebd7f4bc719fd9b37d4d4ae32598548cd72f0dd97ca6a1008f52720 - inlined_ast: ea0c02d7cebd7f4bc719fd9b37d4d4ae32598548cd72f0dd97ca6a1008f52720 - dce_ast: 7798587e54b577caa25bdba872660570e073a27d346799d0ebac5dd96b1471a1 + ssa_ast: d3d468328e1cfb915364b5b79067d44f7e6e05f17420c0a8d9b8be400ee96ff1 + flattened_ast: 5115cf68aeece9b6b3e970505dfe2c81038712d7e7b48e15e20ad18640922499 + destructured_ast: 1dcf94e961a6f672b0179c3fbf5ed05586df3cfe9a9131318005253e03bc7cb8 + inlined_ast: 1dcf94e961a6f672b0179c3fbf5ed05586df3cfe9a9131318005253e03bc7cb8 + dce_ast: d5945447eaf3b65e1ebcdc32be62c99e0ebd9be0027aba8a19d110002782ea55 bytecode: 490f1367d32747ffc240c1b2a165f85ca487e65d00e2efee5d784e643213ce20 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out index 00f7449fb7..29f3730a4d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: d35b2bea4669440e6bbe7c7ad7bd0995426f5a9e12b9bb0f848d34d7fe4fe292 unrolled_ast: d35b2bea4669440e6bbe7c7ad7bd0995426f5a9e12b9bb0f848d34d7fe4fe292 - ssa_ast: a929c847a2085e0588b861c3e8e72070eb1b6ae1cbba5d6221fa47e2ba6c84bb - flattened_ast: bcbc57c5f7f1f90e7934a858f2ff939bf989b511bb3be0e71a19b498e4836224 - inlined_ast: bcbc57c5f7f1f90e7934a858f2ff939bf989b511bb3be0e71a19b498e4836224 - dce_ast: 9e1419a2423441ed93726a8b9d46d0972c1d40001f5672521dc8cc59f92a5b77 + ssa_ast: 0f6a95348b98c2bdf34b804b5bb7d13230ba953f9062e6fc8f39e43ea01f9c08 + flattened_ast: 434941b16a8ae593acdb9883d158a0de460f1d0fb016e12de66b1939042c1afc + destructured_ast: 0584193e35cf4da68ab346797c025b4d7c3e47778be9ec842fa539e9eb4ed0f4 + inlined_ast: 0584193e35cf4da68ab346797c025b4d7c3e47778be9ec842fa539e9eb4ed0f4 + dce_ast: d322ad8ca191189ae4da0dc3ca8c5a62a49ee70ac2832097974e3351b25a451d bytecode: 90719e9440e244c74e57dd63e47c928680066f5d4289d1f15e9c4a2c78e75e84 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out index 09cf0f3a12..deb39f0f9f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: ea088fc7dfcd42cb1c4a02811d0e7183e9e3a957baa1b8c3b7d3f6276ea67b11 unrolled_ast: ea088fc7dfcd42cb1c4a02811d0e7183e9e3a957baa1b8c3b7d3f6276ea67b11 - ssa_ast: b198190cdc4cb967a68fd57b85fc2073171ea2f885b1255e2817c91504df32ad - flattened_ast: 6db10b23c2d9c487936365291e54a099f2cac3cfb1e6acdff079cb41506388ad - inlined_ast: 6db10b23c2d9c487936365291e54a099f2cac3cfb1e6acdff079cb41506388ad - dce_ast: fe90462bcca007acc1b97f2de26e05914f11abab157f3c69fe72aeddf5073c1a + ssa_ast: aae5033920c554f4994b824e8d3534943d2cd4e196f53ee9e72d8452776b1780 + flattened_ast: 7e4e4fd33cd99cf0e56a0cbbfd136b120607a5ebaf786f3ff266d46572c33390 + destructured_ast: 790ddf7b2567e2a35b01624a5ac77c570ed07a2b77ff90b7767a4036b9fc4ab5 + inlined_ast: 790ddf7b2567e2a35b01624a5ac77c570ed07a2b77ff90b7767a4036b9fc4ab5 + dce_ast: 3fbd7c77ec1552861459ae447f87cd46ad44a414ca6ce34067a816e9cceebe00 bytecode: 2bf257739832acc917b4b4f18f149a72e6a8394336740568bd06cb6141704762 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out index 170d990a94..b308e0f6ad 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: a591345d3256e1f058cefdfaa15b02a81d0f28ec6cff8f23cbbde1a5e0279173 unrolled_ast: a591345d3256e1f058cefdfaa15b02a81d0f28ec6cff8f23cbbde1a5e0279173 - ssa_ast: ec79f9428c027e830bcabe35007c84bf1ad10527a81b4f53c1604b99c124b2b6 - flattened_ast: 0c0976492cb52b4a6be6477ad02a0624f25caf8577c09644faf35dbfb21aa63b - inlined_ast: 0c0976492cb52b4a6be6477ad02a0624f25caf8577c09644faf35dbfb21aa63b - dce_ast: 5e07ce58a15db048fa487ace19d350725658c4e374b4b1b6fb5c46bbe1fbef96 + ssa_ast: e5d3e1808afd985d95ef81a889f115c5310e1ba03bea012984c0f26cd80c632d + flattened_ast: 01b46d4088adba55cdd9ca454a820b7c2dce28a3577b2710e41dc5b1c9ca5252 + destructured_ast: 1c10291b3743ebf8d29a71887906132d0a6c26eecff3a30b2ba00036dfdeb9e8 + inlined_ast: 1c10291b3743ebf8d29a71887906132d0a6c26eecff3a30b2ba00036dfdeb9e8 + dce_ast: 12910103cce8b6fc6d6f13974e519b8126735e359de32ebd5159d143118a02bb bytecode: 7420791e00dae08a4887c2fa36f481bcbfe5b3c8d5c8268ec753a904f3e51ae1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out index 399b813948..c257cd4502 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 46dc3e9084ad576990d935df1fb4675bf6dacf23269f9503335b7fa0d7a6cfef unrolled_ast: 46dc3e9084ad576990d935df1fb4675bf6dacf23269f9503335b7fa0d7a6cfef - ssa_ast: df37ecaeabacd8b5f3c4c756801b76751a20bb44db69b9753d43cc95e6ab39ef - flattened_ast: bbb8dfd78d51348226038e01ba5c46df3fe3398fd7a18452bc1dba1c82f19714 - inlined_ast: bbb8dfd78d51348226038e01ba5c46df3fe3398fd7a18452bc1dba1c82f19714 - dce_ast: b41d99d56b96ca4bc0b5c8f817de5ec110e4fc2da64cf43aa5d55018402f7b5d + ssa_ast: db430bdfc973f828e33350316a7263c16d097733231d439cfb3c9d9892df5e2a + flattened_ast: d16fcf28d6ae712b49b94e5bc40ee9054a057189da92933753aafb7924c208a8 + destructured_ast: 10d6d82fb59324998c8ef024395cf037878939c91620387bb670979b80a0703d + inlined_ast: 10d6d82fb59324998c8ef024395cf037878939c91620387bb670979b80a0703d + dce_ast: 79cf21d6e3510e76dd90662601c2446a59d2f99d5229d4516eea01251e82a86f bytecode: 6c433e307d008c270d0de4f6a677aa5069fcf55a7613d777379bbab14c24be61 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out index 2cb9e0ea35..f1692401b0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 34a1ff13668bf10d8a9ee620802e62a67183d8417c17cee7e93fd5b11e4b70f8 unrolled_ast: 34a1ff13668bf10d8a9ee620802e62a67183d8417c17cee7e93fd5b11e4b70f8 - ssa_ast: 7f4fb006172e4934f51cf43151890ce8c3da99fbbec2163c62cd666d7b91b539 - flattened_ast: d7c9f80191830f2b8c1560297e7b855ca9cd8ea312277a2e1e01241ad0e59dc5 - inlined_ast: d7c9f80191830f2b8c1560297e7b855ca9cd8ea312277a2e1e01241ad0e59dc5 - dce_ast: baf05487f10ff481bbd4953a1717e1f30e24cd2188f23bee5ac852271682b5ff + ssa_ast: d44debf5ca75e96c5b35a02353717ec37fc31693843fca877664145ab95acc39 + flattened_ast: c3feb37fe0a96c1b77da1512eef46bacb614ac6f0c39138ae9f948332f5367e3 + destructured_ast: 65e822942cdee2de2aa43a3030b84c9fde39018d814c0125b683f3e5c5cc97d4 + inlined_ast: 65e822942cdee2de2aa43a3030b84c9fde39018d814c0125b683f3e5c5cc97d4 + dce_ast: c04408915ad976db19f1539326c8bf304a25f6d7f040843cf49529ad174e1ddc bytecode: 2d9a914eb6d3310ce7e2a0f8d7f3ea4e34fad2533c9e2c7b7bfcc9da17ee1313 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out index 10421bcdbf..f55b93aaaf 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 5e61b7b4ed1c81df0acdb76649e5b5fd0dc2a6acda156b3b965ec9c187611b37 unrolled_ast: 5e61b7b4ed1c81df0acdb76649e5b5fd0dc2a6acda156b3b965ec9c187611b37 - ssa_ast: adf9c0e462a9768241939110bdb4e07c67c9f384ff92c23336d6ab746006152a - flattened_ast: f434adb2fcb7278156af8beeb34664c143bd6287e7b9ec2a42cd0e843b549160 - inlined_ast: f434adb2fcb7278156af8beeb34664c143bd6287e7b9ec2a42cd0e843b549160 - dce_ast: f5ed0049dcbcb9b5aa3d5e21249677983cce57ca5f82110eb7a4c87192a97137 + ssa_ast: 735a8ad7c3952428f55b27031805d926116e6a2624149ccae341235932f377ec + flattened_ast: 201fe38c0ad66cba6b66e789f1725b90172a76e23e44081ecd1da9310fe828be + destructured_ast: d0631ace075911ed32caf87c08434539a32cbe1be1246de71dfd10b79463060a + inlined_ast: d0631ace075911ed32caf87c08434539a32cbe1be1246de71dfd10b79463060a + dce_ast: 93c8e3262482eb2a0646aed7615ca996a7f436fbdab321a6f9a5ae2875cf50e5 bytecode: e2c7366a24109eb7d575db5c998ee9833edf454546a359ea4508eeabfff11d19 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out index a73d81f77e..e9cac185ca 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 2561af0daf27b9101b9a5f1de174d0cf54aba44ff0dc7395121a84eb38bfc385 unrolled_ast: 2561af0daf27b9101b9a5f1de174d0cf54aba44ff0dc7395121a84eb38bfc385 - ssa_ast: b69d337114084b5250ceae6997425988f3b1ca332a9ef0c7171e8afe1991b069 - flattened_ast: cfcfefbfcf0fffa0036d4686acadc703410b8279809f6de2a86b0c5eccc82899 - inlined_ast: cfcfefbfcf0fffa0036d4686acadc703410b8279809f6de2a86b0c5eccc82899 - dce_ast: 615f7767e50f3e1b8e3674bfcda0c911a35e6d14beef7180612b53685255b3ac + ssa_ast: 14eaa6fca38b5812833848c5acbb7d06a64f423db21a8df685202ba8cf77625c + flattened_ast: d82fb4d40418e3aa277d108f33f2b9af37a5a6477766291098f41f1377febd0a + destructured_ast: a94704cc8dbff6e00395646d6a504751788dd80ffb393eab490730d4f84e2473 + inlined_ast: a94704cc8dbff6e00395646d6a504751788dd80ffb393eab490730d4f84e2473 + dce_ast: 58a552a516dec4ace0c5ec398376b7cc7562d6b8bcbe55d18a5597643b381be1 bytecode: a789b985627d6892e58cab9b998763a2ab106196eb6b1c0c4452af122c7908fc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out index 67454a3d06..4393a4a8d1 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: edd49977e65283672aaa180af916024cb80d3ab89c00c6b5e954e2f851a04d0c unrolled_ast: edd49977e65283672aaa180af916024cb80d3ab89c00c6b5e954e2f851a04d0c - ssa_ast: aed5b810f0bd5060e6aefc7a3e50d47b3b6aa734da62068a79863c66397ee76d - flattened_ast: 9727d86ceac88d92a9c46ac054f650a68ad6e06cfff29280a21d2f080930d7fb - inlined_ast: 9727d86ceac88d92a9c46ac054f650a68ad6e06cfff29280a21d2f080930d7fb - dce_ast: b42254ad85bba0e99231bbe77b71022769cd427e074a98e0ce950983e978d2da + ssa_ast: 7486176f97505bdc7c8876c7ce46b1269dfabf5922844b7b789b48b27c3a3df3 + flattened_ast: bbe97ad414b7fec560f8ab81c7cb15bbe80fef12dd18aa0751eac394b23f6073 + destructured_ast: d78b82b0f27efa65e8667c7c85716ecb5a7297b1984e53aed6ef6ba12ce12525 + inlined_ast: d78b82b0f27efa65e8667c7c85716ecb5a7297b1984e53aed6ef6ba12ce12525 + dce_ast: a6837beb5fae1e0c4812f88c2ba1cbae1f1407e440828e35efa5ee66dcb69ff5 bytecode: 32f8e6f9a0f4869bb08c45ba1b94b5411c3641959a3f21203f34f54bfbdf120f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out index 186bec2dd6..2b62ae8301 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: b2a238e4080888f1e9800a8b595ab94d7455b2a658f2de7465cae8c79fc5df73 unrolled_ast: b2a238e4080888f1e9800a8b595ab94d7455b2a658f2de7465cae8c79fc5df73 - ssa_ast: 364be973f74f206390d0ad273a00af5a4cdb2f2c76c6bd3543f17c2cb2f1f800 - flattened_ast: 0838b15682341f2b7787833b7d2598216d325b9c769d8a51b98e71fc3c2f0f5d - inlined_ast: 0838b15682341f2b7787833b7d2598216d325b9c769d8a51b98e71fc3c2f0f5d - dce_ast: 4824a92a51803b729502b732a2595c27c33ef58523212509f410a3d66a592300 + ssa_ast: 9da0cfba53180bfe14367c44e3576aaca8ba8a48ed049cfd156bf8d77516f0d9 + flattened_ast: 4c7f7be0f2daedb9bc45f6d4241597853e7dd724ceccf1eed61227ac14f7e7a6 + destructured_ast: a8926a957ca1eda36c537258dacd91cb18b85fb99033dfa350ca356c283faffa + inlined_ast: a8926a957ca1eda36c537258dacd91cb18b85fb99033dfa350ca356c283faffa + dce_ast: 9007ea2b222713f95eafedc1197be3657bb3b01ff905810661790de6cd1bdfe9 bytecode: 9c22fdc85a23a84932bff4c1d2f420db2e3c8f60fe55b628e573a100318afc09 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out index f3439385c9..3f46fed79f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 66cd4d81ed539686692ce07453dabfc73334598acf6f434bfb4e6dc221c415d6 unrolled_ast: 66cd4d81ed539686692ce07453dabfc73334598acf6f434bfb4e6dc221c415d6 - ssa_ast: 05ecc3a37f719880c42e9a7851ee3018d896f4b19c0d044379c2e9836b96cd87 - flattened_ast: d9da4b0bb2e99adca8845c3d98a991ffb2a353b74581af081c6509c76587ccec - inlined_ast: d9da4b0bb2e99adca8845c3d98a991ffb2a353b74581af081c6509c76587ccec - dce_ast: bf3f50cd2400adc0de00af0da07c26adbb0e99ad3e7d20cce546d6954e5843b7 + ssa_ast: b6940d0f76302ba03cd59fbb5c895659c096fc0b7f2a7b43ba26f17a5196aca7 + flattened_ast: b899a43c4754e53d48c9bb30780d98f5c3261acd924f6816cbaf93ca9a989588 + destructured_ast: 6e14d52628bb99425508fdb16254f8028889622d48ca8652d6500a02035ec203 + inlined_ast: 6e14d52628bb99425508fdb16254f8028889622d48ca8652d6500a02035ec203 + dce_ast: 183716a8e58d8e8ea429502346f59e511e9131c52352a9843cdb806ba413a245 bytecode: 3abe59e41cf33d2c2faa4a8b214ca184aa3b1a34b4264e0d26d520d9ccfaa10d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out index 3f048ff1bb..a8ee72a878 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 2afc89ce4e312f7ea80f79c78f874562ef1530f817937f734a703284e1e6b99f unrolled_ast: 2afc89ce4e312f7ea80f79c78f874562ef1530f817937f734a703284e1e6b99f - ssa_ast: d4c031877e2a075f9c4dee59de226209b5332740a1cdc9e5020d9a6351a50737 - flattened_ast: 86aeff689796eef6b46f3811bb91f5808ec7c2016ed176bec7dccafb0426565e - inlined_ast: 86aeff689796eef6b46f3811bb91f5808ec7c2016ed176bec7dccafb0426565e - dce_ast: 7ec5df1d1e8b7b43605e1dac2adc87d83e7ada719edc48e3e24325249149f5d5 + ssa_ast: 723a3e02b968cf37ffdb26009cc277e7b6c235d633a732d83bdbf44caaf71a47 + flattened_ast: ee963e474e7cff4fe61ed877a69bac903315720522e8ee304942ed985488a783 + destructured_ast: 432e1884a3f605a70eb6141fc2c5d2d357a271eee73e58da964d4264408aa9cb + inlined_ast: 432e1884a3f605a70eb6141fc2c5d2d357a271eee73e58da964d4264408aa9cb + dce_ast: 5c70d271a8ade957ff88b8bd50c934bce848085698b116060142f53ec0ec731a bytecode: 49b4c6dd96208f99a71898243601f70b0905787e0a1d4c265a781db1a20cc0d5 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out index def858a4b2..a6a02651a0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 950e1c021fa04c9876de24545846bf9712e59d109ea7362c62c0f687f0f6bec9 unrolled_ast: 950e1c021fa04c9876de24545846bf9712e59d109ea7362c62c0f687f0f6bec9 - ssa_ast: 8ebc1ea2a75fe6a2e1c1299d654a8b0425054a5c702f47ed3521c1d4d41481b1 - flattened_ast: 4414252c8afb99985d5b2057676bb181902a2d6395e123e237df9726abd6a8cc - inlined_ast: 4414252c8afb99985d5b2057676bb181902a2d6395e123e237df9726abd6a8cc - dce_ast: 634fda26e09d3c05e863419be7084a16bb7eb526ef273f80fd7bda39ec0d54ca + ssa_ast: 31f0de009fdd88e1341773e90d3107408bafc1e1cb6c09de3c96d252915d4864 + flattened_ast: c83460e4c80f786e3acd42eb77138181c57bb06cf50f8eee097f2655b7b13727 + destructured_ast: d48b7914a5d730de543f88cc8876ce2b2c5a72e20586eda9035044d514f52599 + inlined_ast: d48b7914a5d730de543f88cc8876ce2b2c5a72e20586eda9035044d514f52599 + dce_ast: e70994f611266a02789dd81b8fe8f910d143334cb8f0af74270d541f692cd4ba bytecode: 363561300454f0f6b2213cdd668ddb222e6ae238cded832a3b2703d4d05394ce warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out index b3ab1c4145..b266e6e6d0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: 0d3b7f78c8c48427b0ba6e0bd8d940a135293c3e9f40cc31961773b995cfe056 unrolled_ast: 0d3b7f78c8c48427b0ba6e0bd8d940a135293c3e9f40cc31961773b995cfe056 - ssa_ast: cd80fb1bab4428029b60e89ae636799becba27d144ef574ab8e5ebaa7d49e320 - flattened_ast: f56489657cce9c3c3eb347c328639ea6e31b2dd0a19ec8f89abe6427516c086c - inlined_ast: f56489657cce9c3c3eb347c328639ea6e31b2dd0a19ec8f89abe6427516c086c - dce_ast: d33ba7cdb08b21449b2a14262f51de8a5cf35a8dc449a3d976f4968df6051065 + ssa_ast: 9d6b777adfd4adf32ef783d9ba7f557c592469cfd9fb67d3ce01afc367bd3e79 + flattened_ast: b61b2b1e3c64c17af957396d01273c7e1f682dce5b39367562227f125348040a + destructured_ast: 999cb45a4bace1af74b6fdcdc94451ce089853482b8fea2f88b45e964644a7a3 + inlined_ast: 999cb45a4bace1af74b6fdcdc94451ce089853482b8fea2f88b45e964644a7a3 + dce_ast: f27a16c2520dc14a23623869095195f0b99f688e4b370e02f6379517a064d696 bytecode: 8c0aeafc028be27891412b5df88c1352b25b522936310bd38afd3334c8f21042 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out index 6409ec97cc..c9f9a372ba 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 4c0f304d4b43abddd41589fdc936f5afc242ce7b0836e6d876d30fb87aea9ea9 unrolled_ast: 4c0f304d4b43abddd41589fdc936f5afc242ce7b0836e6d876d30fb87aea9ea9 - ssa_ast: 7c20419fcd776f11c0f70333d8ef45e969ec54b085157a0d3c42ea9652f13a05 - flattened_ast: 57a2d7832786106d97df35f33a9d99b4bde2288eb3740497dee19656031490ae - inlined_ast: 57a2d7832786106d97df35f33a9d99b4bde2288eb3740497dee19656031490ae - dce_ast: b1b01243f110740cce27e175a7723a129adf6f7c307cd9e235caf000bbe3dbb6 + ssa_ast: c3fd0fb6b9bc6d66bd86ca393f27433c8d3fae0e65bc1ee8176709f4aa6a9aa5 + flattened_ast: cdc63733fec0a5fa9e5b740f3efc3385892834f8c19dd94d221c4813c9db8761 + destructured_ast: 1d0ca7c001ecf3c9f410e6900ca3634c3eab2824b03966a607507fa5513faa23 + inlined_ast: 1d0ca7c001ecf3c9f410e6900ca3634c3eab2824b03966a607507fa5513faa23 + dce_ast: e6b194b93c1d31034818cc2b2dd308d4e90e86deb276edb62db5f3f4aa8b55a5 bytecode: a6f52a903b9de83e1cd758c63713591e8270f14276acd338000f47ea2ae40302 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out index 3364537719..2893831538 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 842971e197b53ae0d43876f8df227ce962b699b0d5758a685b8f539ff7b77642 unrolled_ast: 842971e197b53ae0d43876f8df227ce962b699b0d5758a685b8f539ff7b77642 - ssa_ast: a7a231b9bfa7bae0609101c3f7167a8a6a7296ea0800340edcbeee57dc4b5903 - flattened_ast: 178c9da8c731f77ff46f7b4caaff6fb7968598f3fae66f329b8547d4089a450d - inlined_ast: 178c9da8c731f77ff46f7b4caaff6fb7968598f3fae66f329b8547d4089a450d - dce_ast: 1146e1fbf44ed0b0fc96c248f5e712518085f527b57287621c36069972f2ce4b + ssa_ast: 51bb35e795037b4fbd957f2b673149121d600c064787daddb7314bfa1b019ef6 + flattened_ast: 03846ffd604b2e5f927a81c18ebe0d0a4de049a8b76a218878a983a94eef83eb + destructured_ast: 9b98533473f2735ba5516ac9a10bbf8d0a0debe52c35515b8bc42a99c8d3dcdf + inlined_ast: 9b98533473f2735ba5516ac9a10bbf8d0a0debe52c35515b8bc42a99c8d3dcdf + dce_ast: 51a9591c6f0dbd87a83b9471aee013c5387a31a8af3a060a2f74f2a6f6cfe191 bytecode: 8b1f3cfaee87de68b82bbdf34cdaaac42bcec03c7a1220993034fd1251d4d4dd warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out index 7db267b9e1..8f7c45297f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: de1342ec4d5988eeef8d5478f4da70a08b3cc596ad3cf29d3d0993ee6179e3b9 unrolled_ast: de1342ec4d5988eeef8d5478f4da70a08b3cc596ad3cf29d3d0993ee6179e3b9 - ssa_ast: 5a1dc77666f61a75edb98c7da1f3c4e97b4a67c5e982e6b66774753d54f7872a - flattened_ast: 70b12a50f87927526a1e5510d0cec9c0cb0d29f84d3892d79c4bc137e02bd10e - inlined_ast: 70b12a50f87927526a1e5510d0cec9c0cb0d29f84d3892d79c4bc137e02bd10e - dce_ast: d0384e0054270ca0ed9c12c69e774d9e3777767705eb185e8ff01b047e3c4288 + ssa_ast: d74a1dff74951dffc68fdb54a73fa8b187415e5ea457ace547583f4f1df45eea + flattened_ast: 49dc933b2337678dc8d8e30deb2f6eadf08ab85abee648141fefd311456c14ef + destructured_ast: e1b9bc8ec4b381785b3929d3f81bebb2826dc70912a2bbcf8abb3c01e5c5ce2a + inlined_ast: e1b9bc8ec4b381785b3929d3f81bebb2826dc70912a2bbcf8abb3c01e5c5ce2a + dce_ast: bbdf2045bfec75bc29241c9225bd6c541006a1e47c037a6641ecb40750946437 bytecode: 638b45c57e81c04b6f17fe13aa0764399352a80bd71618b03ff4831da6855f6e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out index 60161c523f..e49dde1230 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: fa5be588d39dca594451d93c5536bc73e15b0f3cf088cff9606e6d1023425505 unrolled_ast: fa5be588d39dca594451d93c5536bc73e15b0f3cf088cff9606e6d1023425505 - ssa_ast: 931d1ab618eb291e573413c48d358c318d9b25f3c4bfd93352edf0c1d59872c3 - flattened_ast: 25002618af381e8ce485cf245b99b44724ee0fd0c07abcbe2c649c3109169650 - inlined_ast: 25002618af381e8ce485cf245b99b44724ee0fd0c07abcbe2c649c3109169650 - dce_ast: fe3a3704980d880cb908f52cf3334c806e787d9d03f3d45f9f975202dce92b63 + ssa_ast: a8636506cf8c59cf6b7e8ceb55b2a2e36188cfb7a826182fe91908d47ead91bb + flattened_ast: ea13bf2bca7144d762882a29fd9d5fec28461c8cc4f84113f6e8c67264648ceb + destructured_ast: 2f22814f0fc4602f304e04bfee25b400c2257859d1f512ea13fe5d40aa307aaf + inlined_ast: 2f22814f0fc4602f304e04bfee25b400c2257859d1f512ea13fe5d40aa307aaf + dce_ast: 4078ba0d50355590a831aa1bc7177bf8c23bcd0bde53ded864ee54f165335308 bytecode: bce86817893871d9d55d2a5a1dfb095822a7ec0813c029d7243200b20a401587 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out index 9f07e37852..0b57e13ef0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: 3a0f0cacae54af031961a5abaa8edc80816991a99ab64aef1581568c849dae7f unrolled_ast: 3a0f0cacae54af031961a5abaa8edc80816991a99ab64aef1581568c849dae7f - ssa_ast: 1e7a8db21a8af270a0170e88b697db8971f37a4735e9f2513b757eb49186e846 - flattened_ast: c9a8486c5ab23bac3f4366a062eede9170b19a510ddf32a44512e79073fc36f8 - inlined_ast: c9a8486c5ab23bac3f4366a062eede9170b19a510ddf32a44512e79073fc36f8 - dce_ast: 7564e73cfa9c1e0a4090cd08e37a5b2dc202c1e695f31ea6be24120e10ec4b34 + ssa_ast: 3855455a3d023f7b892fc7db05c08cf1c139d07843329ea5931bee7ce9bc9c85 + flattened_ast: 2dabe9c480151fa63d6a9a01c07f5d6baa1c71ae76a7189b86aa0f405ccd48ea + destructured_ast: 9a1c8da0bdbae75366dff483b8624c1ee957845d64ad6c6820f943c7550d73c1 + inlined_ast: 9a1c8da0bdbae75366dff483b8624c1ee957845d64ad6c6820f943c7550d73c1 + dce_ast: 5c5015a7b22b6c2a635fe15138a0a1d151e399d96132356f81a31e20ffd2c1a3 bytecode: 66c33deb9dd42d3e8f6600d5210f16e5fec245557773b8041346f13fbca2c37d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out index 3a66bcb5c4..c9690566a3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 35df509161af948fdffebe517deab430dc5a1ab2a7d4dcfd68bebb567002cd8f unrolled_ast: 35df509161af948fdffebe517deab430dc5a1ab2a7d4dcfd68bebb567002cd8f - ssa_ast: e5fbdf108a179d50046039dbcb86b31aa977e7f815a96f49f2163bd6b6d0e2f6 - flattened_ast: d20ffbc7002792c3c07813d3e5ccc0726fb637861dee7c5a863593d0415e9b17 - inlined_ast: d20ffbc7002792c3c07813d3e5ccc0726fb637861dee7c5a863593d0415e9b17 - dce_ast: fd24ad5703fd88ede62e2252bd744fa1c4c06bc8d2875ee685d8132556f50e77 + ssa_ast: 2b6b0b49e76236d2645066666ccc1221657d23e163d86fa0d0e5b99cbf205221 + flattened_ast: bb5ee16a3ab66cc1bc93f8fdd774eb25d4cbf0dfba07b2d3c6832e22d3591b37 + destructured_ast: d4a7a5c0c1d074de8ad00deebb45024c8fd1c07353f87e375d25e77bf4d7b4f3 + inlined_ast: d4a7a5c0c1d074de8ad00deebb45024c8fd1c07353f87e375d25e77bf4d7b4f3 + dce_ast: 6cdbdd61264b461ff16ca4c3634b169590e6c6723134f56cd6091c2313fcda66 bytecode: 8b8c77b3c97fbee9405b7ee10e65b3d317e42479aa8944b3bd3f4fb6f02edbb6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out index 0cd2a71f5a..31e85a2853 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: c24cf3d2f36fa978bda2b38b48f80c92ec31c24099e2797c25f3c5e6e1fa7f2a unrolled_ast: c24cf3d2f36fa978bda2b38b48f80c92ec31c24099e2797c25f3c5e6e1fa7f2a - ssa_ast: 25b924439f21433497f16ca8e8908a229cf6094e6a99aa1a78714410882aa370 - flattened_ast: 4ca56f92ef6ea290eab8e656bc4fda6cbc54b1ffbb07b13915ac1b7bbac9875f - inlined_ast: 4ca56f92ef6ea290eab8e656bc4fda6cbc54b1ffbb07b13915ac1b7bbac9875f - dce_ast: df6431eb00f77388a16467cf00ceb1e5900585be4975cb293376d9bc457d2703 + ssa_ast: 4a6fa43144b59d99e88b52aac0e353cd05c32385e8eaaa35a28d201263dbb6c0 + flattened_ast: 1468877145b5047cb355138a148d670f844d3162daef5fd5bcb5551f93da49d5 + destructured_ast: 50bce18810f36a51c0e2163b1c7382675644a3625a926705b57a9dc40a27f6aa + inlined_ast: 50bce18810f36a51c0e2163b1c7382675644a3625a926705b57a9dc40a27f6aa + dce_ast: 097f2c1a7b412c13fcc2de7cec574d5ee744411fd9efeaaf21720a4772aa306e bytecode: 29856bd31a6992636fabf8b9428115dbf7dc585688f358a617b9352c1c3a377f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out index c5d733cf9c..af0e9c2c26 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 242199b3378fc1e61068a3091df5fbc413ee879c63a678cc7256ae0562d8e0f4 initial_ast: 593e53c89b0e60c504b23a7e553afaab1db19570f01376b068517c17f65cae6c unrolled_ast: 593e53c89b0e60c504b23a7e553afaab1db19570f01376b068517c17f65cae6c - ssa_ast: 23796fc414f24850633dc9514ec0ecfd8b0b0f7f75d219032b2c1d23904574fd - flattened_ast: b9836fbb880b9af666e5bb472c9ee2af928bdf9acb15f4bf4e701527541057b8 - inlined_ast: b9836fbb880b9af666e5bb472c9ee2af928bdf9acb15f4bf4e701527541057b8 - dce_ast: b4f390c7eee70685677be5598c6515867c8746c4a793d15784a44cd79abcabb7 + ssa_ast: c5d5485f77058cec39e6484296604103478a6a177b872a74dee00f84efb72e5b + flattened_ast: cfa7ff8d2d30a056b087bdc1e80e6bf4f4e3c00fb11ef72a0e310ae7e8dfe91d + destructured_ast: 1c5f5192c7c43ac0cc9001c017f6f897ae1a08cc01f17ccb9d4b54f1eaace1c5 + inlined_ast: 1c5f5192c7c43ac0cc9001c017f6f897ae1a08cc01f17ccb9d4b54f1eaace1c5 + dce_ast: 874f2824e0a45d05fbaa94eb65cf8f0fc8c2d546828bbcfe0add09457db3369a bytecode: 84d2910c4f799e360581da0b0aca505e95e1c1bb187f45877c5b227e9561d936 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out index 759080ff9c..3e250c40ac 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5f860d2de9a0608ecbc70179a65c645cd622701fee49e955c77387fa225b01a1 initial_ast: 49614fae277e9495e8de630ad5a41aa7b56a51c488bb8bc0f664031a1c5ae0e8 unrolled_ast: 49614fae277e9495e8de630ad5a41aa7b56a51c488bb8bc0f664031a1c5ae0e8 - ssa_ast: d349fc1e0181004c35e8f1f16bc7030c7ca78dd375033619dabfc35a057c2e32 - flattened_ast: 16667ebde83c823188dc02d95c3fd94ee4db2fc1893ab32fda98dc11a473b264 - inlined_ast: 16667ebde83c823188dc02d95c3fd94ee4db2fc1893ab32fda98dc11a473b264 - dce_ast: 85a3d784bbac6895dfe21a834408d05f954675c39031e685ce066b4f65910d65 + ssa_ast: 1f8bbc125d0e851f815221ac49af262da64fefdff8d8ba593068172e8beb449c + flattened_ast: 014d58239003de8d832224f3696813d47edd328cdca6c7d5efa63987c2357915 + destructured_ast: 8f7196228846b3717fb8ae448a1a9f4509d2a1cb6bff8e0055bab669ae6685b8 + inlined_ast: 8f7196228846b3717fb8ae448a1a9f4509d2a1cb6bff8e0055bab669ae6685b8 + dce_ast: d14ac5a5a527d170a8966538d1b17ec2d030c5fe82561d435f090439e9c4211a bytecode: 101fe1af849e29ba44ea27ea575a3393fba2e0d2e302e43327b8547561b5a2ff warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out index 8fb3d897e7..d1c18d9136 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 58b695183f390fd270d2d7b521591c524ad80192b3c1e04fc7e691ebd5fdf24e initial_ast: 2ed43ba67a13c62d2a409d7fb9d668cebe4e82463d32f77b1ac4c9a8014ddebe unrolled_ast: 2ed43ba67a13c62d2a409d7fb9d668cebe4e82463d32f77b1ac4c9a8014ddebe - ssa_ast: 14b8e6d4a567bfcf46177e64e0d22972ee5fbced8edc6e1e39e1ec3d35d42e68 - flattened_ast: 5a23fc72efd5d874be3874b109d47f5549c99923bb9a6fe1246c31b379ee5955 - inlined_ast: 5a23fc72efd5d874be3874b109d47f5549c99923bb9a6fe1246c31b379ee5955 - dce_ast: bbfbb745374fc5d237f5b3717a395de198dfd9021ed4f75523d9dac9a15b6c1c + ssa_ast: fd81a1a62cdc3a49a6c743609d557670fc4b53d38bf8506795378f10fda1cb4f + flattened_ast: 9e3a1aadf1a8ae8f8ed6c828db77328ef46152a419121c83fd582f4e0a9a2635 + destructured_ast: e27a3febfb6ca9b0c00733697dd8e97589a0c4256df8c607e549861318cd0b3b + inlined_ast: e27a3febfb6ca9b0c00733697dd8e97589a0c4256df8c607e549861318cd0b3b + dce_ast: 2bac2bf497b3a8c170ca40aa9040ba929c76ed99a2efff236668a2b9a9ed9c7b bytecode: 6ef5805c3336e65726b72f34cc357f5f87030d017dfd525f232f912f14c3f421 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out index 0fde8c8b5c..342f077783 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 37ed5c5410f201880eb2da82ac4ec3d3ebb21756fc697827b30a5853945bfbb7 initial_ast: 420832168fe6058ecf2dc84c2e400144621653fdbda2af2c661bf2402770c03f unrolled_ast: 420832168fe6058ecf2dc84c2e400144621653fdbda2af2c661bf2402770c03f - ssa_ast: 5000b247ce0035a7aee7d3c357b5b5769926161c03a6ecfbce1c94ab249b55db - flattened_ast: 32d1fa1a7e06e55a01e49ef439f3b232adea562d7592a6977789de4678adb49d - inlined_ast: 32d1fa1a7e06e55a01e49ef439f3b232adea562d7592a6977789de4678adb49d - dce_ast: 53f3c54d875d3b75da7a12a2483dda41c8501c55da97ef130a798140596a870f + ssa_ast: a0a336bc5b7b3da4b41308e395bc7460da93bf6989884f996fb118b27f76af01 + flattened_ast: 53c5b6ef35799a3f1832df3effb1d208e66894d0152b28b962a2cabcbcbba0a8 + destructured_ast: efcac8f7f3e9f3a84ee1e881028754c5efa4b231803ba6344ce028bb1ef2d776 + inlined_ast: efcac8f7f3e9f3a84ee1e881028754c5efa4b231803ba6344ce028bb1ef2d776 + dce_ast: ea9141eb2eeb4174bdb1f52e3ba30d4d1b3d9ee3feb1f1f50496c0a5204a4dde bytecode: 23b8c2466fbe8fc4cabd6fb7bb3b980b10ff779efecfd8fd347d3c4b46c2dc58 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out index 61955ef58c..dd6e4e1988 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bfa5890e9d7766d453384d93a8a70c7513c88833460ec856a316742105dee2c8 initial_ast: 9e01cfe95259544b345ecef4e9b53a7229f7fc8e40fa0d3ecd1160bd28754128 unrolled_ast: 9e01cfe95259544b345ecef4e9b53a7229f7fc8e40fa0d3ecd1160bd28754128 - ssa_ast: de0b2aaa40eebc00e13ce0f85b74d0895d2336c66f4aad15b063d25bebfb86b5 - flattened_ast: c27adf0d0c9f27f9823042ce7c9df88cd3da9ef7b2f21c1e0d058e816db1f60a - inlined_ast: c27adf0d0c9f27f9823042ce7c9df88cd3da9ef7b2f21c1e0d058e816db1f60a - dce_ast: f431ed29ac107708bcb0df883f52f0bc4abee9ede598c6e6a15e3e17075dae84 + ssa_ast: b3f1ba818d997a065edf81a553840669405f3ba418ec9b96991c4d162803e4f9 + flattened_ast: ed78581441bb9408cfe1ed473a7463c6210a25d1e08f0835d56f3a5174d70855 + destructured_ast: 60de993fdcb0ee13ef4e541a145b90616fad4030916c5c94deb058ca0091b11b + inlined_ast: 60de993fdcb0ee13ef4e541a145b90616fad4030916c5c94deb058ca0091b11b + dce_ast: 9b9c53b9620fe3372a1c772e0733b324b3409ae5af46168fd63c8161451be0e3 bytecode: aa8cfafa904c5e0d62b9bb6d271a6182830cb6cfb1bedaa78812a6e5be735597 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out index 8ce2dbb564..3caf875d1a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: df1b9add309c4f16c8fc410cfe1a5e081449f19662d106576ea7934ae2ec016a initial_ast: 43172109ad6fff64f4b250a95ba902be28618c06983d2a7de042ab78e90ce986 unrolled_ast: 43172109ad6fff64f4b250a95ba902be28618c06983d2a7de042ab78e90ce986 - ssa_ast: 62afc264280ed00df79584a73a3125f5f61f179ce1a974fba76f78c50a52cb40 - flattened_ast: 2e16cf01d88ad5e3ca0ad5eea78299ecd5ec8ec7b09498f1c774db8421aff78a - inlined_ast: 2e16cf01d88ad5e3ca0ad5eea78299ecd5ec8ec7b09498f1c774db8421aff78a - dce_ast: ccf654a99de2a423b6443e6bb5bc5d0d44c14fff307a1a08e0b678aee2effcd1 + ssa_ast: 857cbfccefd59647fdd862eb6765bc3fa761d7fb03fbacf08f31f5d25116d738 + flattened_ast: 048a2e4d2bd7fa2b22cc00524a2abe5d4f78c773f5c6d15c83c713de5caa80e7 + destructured_ast: ae5f314e26f1cf1455c8c1ee536cc6d458ee61c0f4a88c14c6e8571d70695a43 + inlined_ast: ae5f314e26f1cf1455c8c1ee536cc6d458ee61c0f4a88c14c6e8571d70695a43 + dce_ast: 84d180ec78dbe323ebc46b63d4e99f5cfdcd8e2eb2f635c0bd03e9bcddc28a8a bytecode: 540f46ca90fbe10a5ad8ff7b757d5d55a6e735ffd21c22116e7c65f0b9bde58d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out index c09f54c527..cf213eb17b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eec79e1688bdeb5852327404ba04f4db9b6a914d2b19fc0578a44ac097fa4149 initial_ast: 959375a45a83f69716e76aec8fd853f6879303dd6d938aefa3171bad3de62f94 unrolled_ast: 959375a45a83f69716e76aec8fd853f6879303dd6d938aefa3171bad3de62f94 - ssa_ast: 676a11969f1d9500174a990e8cd01ceebcf64830954996179f96e479936d985d - flattened_ast: 5388af2905b3b8fd9147e2ada8bcd459f7d234846de6f5ef7278b7f486fc317b - inlined_ast: 5388af2905b3b8fd9147e2ada8bcd459f7d234846de6f5ef7278b7f486fc317b - dce_ast: 6a80a76d8225296ca95012c7624a784c37058247dc45a61bc27ec0110f57a5ea + ssa_ast: 8346450ee220ee76e3074ec07d24e0666a71cf11c78109958d072dfeaf150ada + flattened_ast: cf75a0e8bd1f01dd2dbdfdee98afe9d2c616dc89e78cca42aecdf255d8818af4 + destructured_ast: b5b46292d7cef3bd70de825fbbc30aa97cdded1571fc4acb54014a0c977d3832 + inlined_ast: b5b46292d7cef3bd70de825fbbc30aa97cdded1571fc4acb54014a0c977d3832 + dce_ast: 21c854ab5bca6693a506cdab0cc063f009dadc8d761b21f9cce21cd822ca9ea5 bytecode: a00a5d5ec5035a093b4928bdce57a4d79d9300e6f86565525e88bb670eb02957 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out index 9a1bb42228..c6c231feff 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2271d0f496fc810a81e3edbd0303d248c348b0a732ee32e9cff64ccf24073daf initial_ast: b3390f827e0d9fa4dc02dba79eda6ca9e81526414a57364af7e3aa9b67bcf8bd unrolled_ast: b3390f827e0d9fa4dc02dba79eda6ca9e81526414a57364af7e3aa9b67bcf8bd - ssa_ast: 025d74747534a91888f5591bb7b0653f78521031ca72fbd393e6a3f17ccc981b - flattened_ast: 29669d2e826554d372c0f949fb1179cd005882601ab1fc2ac0633c5ed4e99ebb - inlined_ast: 29669d2e826554d372c0f949fb1179cd005882601ab1fc2ac0633c5ed4e99ebb - dce_ast: 28b1206f93be59a4b0d55e1e6d4a8343f8e0c7d698bb7831f8a083a98c232077 + ssa_ast: be32c0921bdfee08696bf26a5344c8eced191e2641a43b59cdbf20ff0cfe1ed2 + flattened_ast: b1389a06d2652312ead4cab57ef6ff3d085fc22e4fb045eda46f1c9bdc91881e + destructured_ast: e54c4cbd41e6678ab23250096dd38ee534ea56f02653ce41623fe1d027f03eb1 + inlined_ast: e54c4cbd41e6678ab23250096dd38ee534ea56f02653ce41623fe1d027f03eb1 + dce_ast: a65d088b57af16b898221f55e1ac1654fe0839176221fcfb6acf4166eef84fc3 bytecode: 0719502c2e69186b2f64fe31ce1cc6f35abad01c9a86f5f6d7dafb7c465504b7 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out index 285c541ad5..c9ebe8f3cc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d4884468efa4393f32b1d81aa9f1bd16687853321f65b88703dfa8ec1e9b257 initial_ast: 02bf56fede9527c2d0ae99639b25ea779cf4cb8f5e1dc37a502bba38c1e3cfc7 unrolled_ast: 02bf56fede9527c2d0ae99639b25ea779cf4cb8f5e1dc37a502bba38c1e3cfc7 - ssa_ast: bd2cb5a304714400a95c8ece5f18cc0b3a7831abb17930d4756fe4c6bb4dac8d - flattened_ast: 3e75baa1476256910d5cb7877b68c7e1cc3683f460c869ffae122cc1b81fe1ff - inlined_ast: 3e75baa1476256910d5cb7877b68c7e1cc3683f460c869ffae122cc1b81fe1ff - dce_ast: 5529faaa38bbd9625f2eb71e55bb4015d579eb93b58bc641a6166763f65a6770 + ssa_ast: ca2bf0c64d25690cb4f597a7d20ce82e02fc470db80bf14e4587d0f102183d87 + flattened_ast: ea88571a219db33d5aa1c39b2f3f866c047f8f0173297521294f395499c79034 + destructured_ast: 72c98c06434415889a7517a71121a4a63af786472c83d6566813a347979f1c17 + inlined_ast: 72c98c06434415889a7517a71121a4a63af786472c83d6566813a347979f1c17 + dce_ast: 1baf38a1fa42b83d839f12f6b9d33ca01b37bf4a81c9ebbf9b8aed9c47777e8f bytecode: 2741bb1b69d7b32d52a4f6ae48a4b8197f73e8be7531d4d346fcce378bbda8dc warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out index e5b29748b4..71be9c7c7c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0c70472fb21893662b1ec36bd51f9ac064da4731817d99d9c0030cf08799d915 initial_ast: 417ea16a1f9df6a22d64f2419a13711446c748018b1bce6a3e9ac3113b4f0b45 unrolled_ast: 417ea16a1f9df6a22d64f2419a13711446c748018b1bce6a3e9ac3113b4f0b45 - ssa_ast: 5ee3d93a5d6f299bb389d4055783d57e5b2591444755b8ae6497099b088c6cda - flattened_ast: 2b0878039c61df77ba64cc84006279ad7097fe0b2e60b9b1c27e57cad40d74b0 - inlined_ast: 2b0878039c61df77ba64cc84006279ad7097fe0b2e60b9b1c27e57cad40d74b0 - dce_ast: 6e64adb627ca697bbdbb3d965866225b370f1f1933573805912075777036c189 + ssa_ast: fd19d20043f15d0c20b0659e3ab45512b578b2ef8ff95290896982fce2b328ea + flattened_ast: 55f4d8767ddb3d0a3df9e6ac3c4f455ddc20c108c99d0c34587c8542e342ab55 + destructured_ast: 01e3b18d92ac50b08bfc8c8281e51c126dca739f4c6bef3457ecc0e1f9ca3a15 + inlined_ast: 01e3b18d92ac50b08bfc8c8281e51c126dca739f4c6bef3457ecc0e1f9ca3a15 + dce_ast: 3020b67ca8daf12e972dffdff24e9cdb38ec4571137dacbf3ff3a6d9625c1fc0 bytecode: 5c85a376013c529f75944db09bfa9ee85470aca42e5622cfee8cb8c8dec29145 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out index 1e5c0ce3b4..32f4ccf475 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 271a8a7db59254b057a623dedbcfe7dfc94877bf7060d24a2f2d2b78db2b9cf2 unrolled_ast: 271a8a7db59254b057a623dedbcfe7dfc94877bf7060d24a2f2d2b78db2b9cf2 - ssa_ast: 5e5328add55dc3ac3badba891037489412d18eda009309db8063dff3f52a053c - flattened_ast: e183ed36e39c6ccb7084c8beeb627f2221bcf69636c642c6a8bb97711676bc75 - inlined_ast: e183ed36e39c6ccb7084c8beeb627f2221bcf69636c642c6a8bb97711676bc75 - dce_ast: b35367c48f7a95857d955688605a7400677c2b199a5c53f79cf07438e2c2e35c + ssa_ast: 235a7bb875f7956b8798662c5ffb51c6a22bd6e6f99ce7c92875d0435faa372a + flattened_ast: 65cf6fbac1f1844cad63544ab26def7175360a030d49f8ba131b5320fed27e86 + destructured_ast: 4b22ac4bbbec84fff0b5a24e3464c7e50ffade9179fb410c78838f5ab775b454 + inlined_ast: 4b22ac4bbbec84fff0b5a24e3464c7e50ffade9179fb410c78838f5ab775b454 + dce_ast: 4989edb5a9d3c1f2b716062dfc1d5e72b52d15905013401b78e47a63bfb98e0a bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out index 7a65ba8dc8..c6893613b6 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: d1ead19593904bde5a782639eb4e3c89e4beb996f38c370db7da0b22d4a17a49 unrolled_ast: d1ead19593904bde5a782639eb4e3c89e4beb996f38c370db7da0b22d4a17a49 - ssa_ast: cfdb9362c1d93d70b7d5e95cc8152f44eb527de3dc261d7f03875a9c304152e2 - flattened_ast: 04b7a638720271550ea3715d3d014b3522394599f600a0c6b53faf3bb66578b4 - inlined_ast: 04b7a638720271550ea3715d3d014b3522394599f600a0c6b53faf3bb66578b4 - dce_ast: a023f240430e9dbd21df3048e8425cdaa433fd45c4b18332cb693f634ad1611c + ssa_ast: 242ba259cb7654b2a5125eee56b8d23e813285b8aa955fd8df8101f8d22ecec1 + flattened_ast: 53ddfc2196866abf7f8e7ef6c4294a1632c7e146934f320fb6e4d1ed04d61913 + destructured_ast: e157c82caa51ecccad1b5221e26a414a2a94798b58106f8165fd560af540af76 + inlined_ast: e157c82caa51ecccad1b5221e26a414a2a94798b58106f8165fd560af540af76 + dce_ast: bc799b70455f8de7ec258ba0d5a134e99fa238725032010579d62aef1970de77 bytecode: 21736a09a94367a2bf017cd7dc7dade802a2f064f2343cd3d295eac4e3dca0ae warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out index 6cb04f4e80..bebf93c32b 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 32c36e7d14821b34b57af05913119a61d9afc7ebd8673bc9443e79dc86c8dc9f unrolled_ast: 32c36e7d14821b34b57af05913119a61d9afc7ebd8673bc9443e79dc86c8dc9f - ssa_ast: c01fd60b4099ab46cd58d7acc8fadaacab48a05533a8d1633c83eea3cb562d4a - flattened_ast: 94383bac108d159f2d33cf340561644cde8f504b41834b8b5e95dead81a26b8e - inlined_ast: 94383bac108d159f2d33cf340561644cde8f504b41834b8b5e95dead81a26b8e - dce_ast: 38d77749f95d6f4f0aad912f52a7a2c502b0c44c50f6d38c4a5284bf172bdcae + ssa_ast: 67ae094a61b94b30e0a0c23aa2acd19e4654f7b8da7af36587528e3d24944c71 + flattened_ast: aa16856dccbe95ff027fa60cb954b68e13e89e8e9fda7fd863bfad11731eac31 + destructured_ast: 6d2e58ff84012c7398b49c5f898bc9b6e003b4e4e5cd1a8251bdc2b00b1f1dfb + inlined_ast: 6d2e58ff84012c7398b49c5f898bc9b6e003b4e4e5cd1a8251bdc2b00b1f1dfb + dce_ast: a282de672868c6ccbaf967e82a7c6660e09ad092cc4eb93ffc9627904383da40 bytecode: 12b2cee6aa44638371f466d0f9a4b6396e2a466669a11a938b7ac251a5b23eb6 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out index b487bb492d..db9867bc0f 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: e60e5530f9c42c08d5f23d521599134edd40089ef0c4183ef99425969a51f9a5 unrolled_ast: e60e5530f9c42c08d5f23d521599134edd40089ef0c4183ef99425969a51f9a5 - ssa_ast: 63ee90ef41892ec0bfd8ab918bf1809d34edc02bf8b100aa7d3a819a5544e2a9 - flattened_ast: 8c37fdfd3b9a54f62cd6d75dbb53cf809189ba851b9cb228890c50ada835a577 - inlined_ast: 8c37fdfd3b9a54f62cd6d75dbb53cf809189ba851b9cb228890c50ada835a577 - dce_ast: 7695af3a0e9b027b1745b1f72d01775ab51e228dd02cd1173fb807c4333be7ef + ssa_ast: c9ced2cdfc2d415559de3010c6da081ef4d8d4d2b2761dd4ec11709b1dc9cba4 + flattened_ast: 5bfa620406f041176464dc9bbe40d10276e18ab4ed133e2bd99a0e9732cc9939 + destructured_ast: 3ee89f292446307c4a744a48e65799d51253b8688d7439f946e981f9088f7a32 + inlined_ast: 3ee89f292446307c4a744a48e65799d51253b8688d7439f946e981f9088f7a32 + dce_ast: 39f211f71f02e29a57d7640a5c3a4fe9653d0be00392edbdcbc4ef14e9055803 bytecode: 9600a008a2a7ac916f8e19cd292c150bf1474805e87b407c17fc2e079013c356 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out index d6e73cca68..7c473911ee 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: b63ad5bfb1c4db3562feb74dfc5e2093ae4317978f0667cff0002443080fa559 unrolled_ast: b63ad5bfb1c4db3562feb74dfc5e2093ae4317978f0667cff0002443080fa559 - ssa_ast: 876905c58df3cbc831f14efaa145b3139e0f5579a4a50879ce0eece06d53cbb2 - flattened_ast: 74178d3303e226db9761e0ea0abde2443b3cf001d761f872d22a41eb2bf848f9 - inlined_ast: 74178d3303e226db9761e0ea0abde2443b3cf001d761f872d22a41eb2bf848f9 - dce_ast: b35367c48f7a95857d955688605a7400677c2b199a5c53f79cf07438e2c2e35c + ssa_ast: ea022cb658614952063b0308b0bd41a084309fd75a5845086067308315e0e1ef + flattened_ast: 6afe225b8f659e89f693ac8862011d199efc5e6da3c7f1d357557569d5e52172 + destructured_ast: 831a72bd948a5540e3a5c4e462b359558d2afaf39644cba9f2aa82b1aee0d77a + inlined_ast: 831a72bd948a5540e3a5c4e462b359558d2afaf39644cba9f2aa82b1aee0d77a + dce_ast: 4989edb5a9d3c1f2b716062dfc1d5e72b52d15905013401b78e47a63bfb98e0a bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out index 4a6903d2ab..e271e3ca68 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 35edc3750a2c35adeb5f56298d507e1fa591db8a91899609ff1d0b30f59c7108 unrolled_ast: 35edc3750a2c35adeb5f56298d507e1fa591db8a91899609ff1d0b30f59c7108 - ssa_ast: 8d8d11065eaf9b4853d6c26d70f7ec5bc8c1e11c1e857e9143b0899db0e22a4a - flattened_ast: 988625e5cc60ee116fd47be5050682c41d91f486b86a11d9e62705c21e272f85 - inlined_ast: 988625e5cc60ee116fd47be5050682c41d91f486b86a11d9e62705c21e272f85 - dce_ast: d285dd5f613e877b1630520951db4533ba510b997dd3798b63cb093235ccd280 + ssa_ast: fe8fe0787aaf0fa9cf1c30b8863144f3e3062de430c34e1d007f3e860fc972f2 + flattened_ast: ac1f743d2690b4f4cc266bc8aa4b478c2c88622f380994b1e5434a45a8e4c257 + destructured_ast: 9f17ae7912590ffc33001079272d5975353eaecf55c7f54c402b115431e71048 + inlined_ast: 9f17ae7912590ffc33001079272d5975353eaecf55c7f54c402b115431e71048 + dce_ast: f1a8f6a3dd2cfd8c9fff75c9909a9fe670176b2e5c6902061639f799deee9a5d bytecode: f5347c70dbb10f7c191f2e29dc9b2e58760207351d34b8e0a5ccb91e360e9f79 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out index 929375c627..6ffddd7d4f 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: f918053da87af5fd102f43340e393fbdad01989ad8d590f191f33435ca23eb6d unrolled_ast: f918053da87af5fd102f43340e393fbdad01989ad8d590f191f33435ca23eb6d - ssa_ast: ffa17f6acbfda4ecfcec110da1994c7a38841261f73653ece2bcaba7339689d3 - flattened_ast: 5644cfbcd906f98f695a9fdc8449c78a9df985e5ef690d34901b86a52916248d - inlined_ast: 5644cfbcd906f98f695a9fdc8449c78a9df985e5ef690d34901b86a52916248d - dce_ast: 26df1fc757ba2364527992e5b4636d5f67251a29b448d6b3a60ba0bed7bb716f + ssa_ast: 7ec4ec0b6c4333364ec5cc955f92b225970adaea0e72909534c97a05b2632dcd + flattened_ast: 686f0888c01ea27257b2e55d7d7e014898b8741cf1c0165e47aca988ab283a4e + destructured_ast: c0d0e88961ef4b73138a5fbb5e3259edc210e6929fa79384a7e79a48cc89102b + inlined_ast: c0d0e88961ef4b73138a5fbb5e3259edc210e6929fa79384a7e79a48cc89102b + dce_ast: b3c7fbdcbc4cdf2cce3e32b8882e1e1f34d7435072980f4f9e3e87a76180a00d bytecode: 7be24faec6f77c016109224b474ae5e5ef66bc3d02d058ae748d6b992990d165 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out index 3a0917a913..03e641c51e 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: c14a061bb3e27f5e78a68dc71114e225dd0ae8f4b5df1aebc2a58786bdae3a07 unrolled_ast: c14a061bb3e27f5e78a68dc71114e225dd0ae8f4b5df1aebc2a58786bdae3a07 - ssa_ast: b3deca13b4e4899b05e9dd08a870731720f9dca26f471105d97075d4d16ca3b4 - flattened_ast: 83e07600af846a40c807afa3f01e5b0ddbb9d727ecf770107799054fc2a909d3 - inlined_ast: 83e07600af846a40c807afa3f01e5b0ddbb9d727ecf770107799054fc2a909d3 - dce_ast: fe74e5ed2a042c98576ee2d3d907ae5c6bc94476e70901a3c0cb8553d34ded92 + ssa_ast: bd5c4ed69f38901250b9b832f0902a26eb81c4924ef370c88fb57af3f0698e7d + flattened_ast: 9d9a6b1014b202b16837825c6fa109290b4136334491194b95b507f0aa584cf1 + destructured_ast: 9acc4651906a4d0e73903293609796a9941563c847be642e369ff141e284ba3c + inlined_ast: 9acc4651906a4d0e73903293609796a9941563c847be642e369ff141e284ba3c + dce_ast: ddd21087f05f0040408e6aa8c523806c6419b0ff88cc2a2a89c24bf7f1ddccda bytecode: b2109894ba866067ec33ab20cdc34620697485b592f6a0d511e922a89bb065e1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out index b8056dd620..e010a50502 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: c9f6fdd4a0c20934884b5dafa94a9a84787491eb4eaac240666ea53a03845a78 unrolled_ast: c9f6fdd4a0c20934884b5dafa94a9a84787491eb4eaac240666ea53a03845a78 - ssa_ast: 3ac16cabf7e1c4dbfb5b1f52252552385c9fc1a589d4cd18c0e58585136650ae - flattened_ast: 3603527238087f93ef975738d5e34adc7b675b438d8286895f55188a10d27b72 - inlined_ast: 3603527238087f93ef975738d5e34adc7b675b438d8286895f55188a10d27b72 - dce_ast: b35367c48f7a95857d955688605a7400677c2b199a5c53f79cf07438e2c2e35c + ssa_ast: 08c0da3b3a779c6d15913058d46a6de3e510b809fefb15138264cb7918972859 + flattened_ast: ee17473fd717200a048bbd3aefebcb1f56f781b15bd00fcff5e6818261f3297a + destructured_ast: 8925a4a53c42554f68a4f7e45cc399c9fae1d4a5704fc80d7267c3be625a5373 + inlined_ast: 8925a4a53c42554f68a4f7e45cc399c9fae1d4a5704fc80d7267c3be625a5373 + dce_ast: 4989edb5a9d3c1f2b716062dfc1d5e72b52d15905013401b78e47a63bfb98e0a bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out index a5624982e0..7d8267d3de 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 9eede43d8683619b72ba7dfe3630c1e5687458b6a7fb9ce0565e91f4b083e215 unrolled_ast: 9eede43d8683619b72ba7dfe3630c1e5687458b6a7fb9ce0565e91f4b083e215 - ssa_ast: 2e373d541fbff70ccc1c463068c2afd0945e1bc87000a6e1efafa83d15d3940c - flattened_ast: 500b3514507ec16ddcc7f5d1ba2b806fdb7e0374a843130bf2df875542d85b8a - inlined_ast: 500b3514507ec16ddcc7f5d1ba2b806fdb7e0374a843130bf2df875542d85b8a - dce_ast: 63b5409f7d9725b0e922c56b37d68fa885447554b2583a5543ac6e17b8177e75 + ssa_ast: 79c32dec4d269883e4dd02373f23a0e50fe10ccb89ee39af47a2e54ff97f055f + flattened_ast: 6bfa3d313c9c96fce331461165d7ef83d1dc755a929bb21fd654dd6ca99f8cde + destructured_ast: fe6b4e78b10b462055b40ed6f0bce73741a85cf50e8557e2b4dd35c8092767c2 + inlined_ast: fe6b4e78b10b462055b40ed6f0bce73741a85cf50e8557e2b4dd35c8092767c2 + dce_ast: df4f00e5dbf65d36f20b566af03ba9c36d1474a7f322515e08b378dd296daae0 bytecode: 31250720832dea7675bf097f3ff4a7e878a544854d76a583daeaa8508e5b7165 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out index 6c4e784698..378ef681d9 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: d1f7270e21e8b8b3a1666d7e391396c1ed786eb5c46641a183944847838deeae unrolled_ast: d1f7270e21e8b8b3a1666d7e391396c1ed786eb5c46641a183944847838deeae - ssa_ast: 7e23a4b52089adf7402a37a5b9adaa799f4f1d76deb241f64c17f21101cec25e - flattened_ast: 3621dd8ade1954f1395cdb9eebdd0b4a46ddded7c17644fd0107e48ba56b9380 - inlined_ast: 3621dd8ade1954f1395cdb9eebdd0b4a46ddded7c17644fd0107e48ba56b9380 - dce_ast: f3c22f89c7f41402d5db72be6fcd95775c6ae902b66b5254a660e659e2659f23 + ssa_ast: d207a10868031e09dd8959674ff92d86d2e2008736dfba600b3554eefc8d2966 + flattened_ast: 441570e6cb84e74c8155930c2615b4351ea62fa23699d31afec327c50315959f + destructured_ast: 61669b66b58fde75254ce4f5dd3745d06d469ef8e60acf9360bf0087432e4375 + inlined_ast: 61669b66b58fde75254ce4f5dd3745d06d469ef8e60acf9360bf0087432e4375 + dce_ast: 442084199b4f9e0fea110e28716a00a6b445c784bd1414e70018df475b0aec42 bytecode: 04dce70893b730595c768593a76510f027b13559817d71dc7b804933692e59a9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out index 432ae09a81..642fbb6f86 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 26f8666651f5d920615d2db8dbdcbc316e741167c00602c1baf524686fec0f84 unrolled_ast: 26f8666651f5d920615d2db8dbdcbc316e741167c00602c1baf524686fec0f84 - ssa_ast: 63344aab7a7238c459ac6e9dc43ddc32113be26ddeb80e9698442a0bde87f7c8 - flattened_ast: 50e0b5b0e9d07692138803f3d46813cce1cbbb7c7d2e4d04cd3631d1f3d20754 - inlined_ast: 50e0b5b0e9d07692138803f3d46813cce1cbbb7c7d2e4d04cd3631d1f3d20754 - dce_ast: ae62d4c67c15e9f6032e923a377d9243030022183c9305d3546eb2904bcb4157 + ssa_ast: 88a3da38ec6fb3ea7af2a31aff04da862a23fb8e83e9e14cc8ac5174e2fc1718 + flattened_ast: 84d115c8a4e720dd23349da22887115069b2fe022d24db3af4d1b4caf9822da2 + destructured_ast: 45ee4f0116306beaa753e63d2249f945bdd911d0a4fbee2301bed576ff6d5324 + inlined_ast: 45ee4f0116306beaa753e63d2249f945bdd911d0a4fbee2301bed576ff6d5324 + dce_ast: 998e3885538845078d56596b69b9502b63739f54e0ec1b382a125cb5ef791bad bytecode: 48564e67f77504fa5f896b7b8f03dcc3bd690898df96eed9027776e1346b07ad warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out index dc75422560..f8ded57b01 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ed02579e5cda6bb7d1478776978dfedba9740dc4daa1aa9eff42cd5c8b9f3a46 initial_ast: 0fd08f3fec3a3aef4bf314361fd101a4c834e19472660160d75d9b97b5c68d71 unrolled_ast: 0fd08f3fec3a3aef4bf314361fd101a4c834e19472660160d75d9b97b5c68d71 - ssa_ast: af08e4f26003e0dfae7b6c59b1b4c7d74157916e222f8f60c9aa7f5c038850e5 - flattened_ast: 7e266b8944f3f60b93cab210242fddfdbb019d3e2befbdb935ca62d085b1cc11 - inlined_ast: 7e266b8944f3f60b93cab210242fddfdbb019d3e2befbdb935ca62d085b1cc11 - dce_ast: 6098de1f58fceca389918987b4c2b91c71a8b9ef03f49e8d4d4086f4de44625e + ssa_ast: 8e2439acc681eaa160cba9f64eee3015b4c41896794e747e7df89ab3ba838fa6 + flattened_ast: 5f1c58814e0a0fe66ccc45b9433ba02b5103eff60296a3c009d7dc9d989612df + destructured_ast: 3d7c6cada1b0d18a2ab0ad878de411d1360bd3e0eccc046248678e5b73bf0bcc + inlined_ast: 3d7c6cada1b0d18a2ab0ad878de411d1360bd3e0eccc046248678e5b73bf0bcc + dce_ast: 83eca63ab156df942f561bd5be9f076bdffd47a3475b37cec949609067cdc4ce bytecode: 3ba55e108c81a25abab4d1cbeb28c341bed35c9a1213a2bac6a6ffe3ad6cddb5 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out index b320eca186..249afb153d 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 07d6c0c3428c2082b87a637aaf35e8935bee2806a8323a4c0036ee947505fcd8 initial_ast: c004b26d02190e338343cf1173da04855ba74a02e82f8d1882998a15a33757ab unrolled_ast: c004b26d02190e338343cf1173da04855ba74a02e82f8d1882998a15a33757ab - ssa_ast: 6d54fcd1e050bb3ad988724c14bc5985bc7c19f7d808b81247b63a517e0af7f6 - flattened_ast: 62836d7317727c520b2c25f30c895b6342c0982ae1984dcb6ccf131fbabd6607 - inlined_ast: 62836d7317727c520b2c25f30c895b6342c0982ae1984dcb6ccf131fbabd6607 - dce_ast: 8f94d031731da39513f5c7edc736b414c0dd6b85265d1ee6d2d24e9fbd16396b + ssa_ast: e2e3e4eab60aa481e1bbcca7c7a38aeec9698837015c9d3786011209fc2e9362 + flattened_ast: 327a9c04ac60ebbbac891772970b58bed61e30c306c3f979ec15fa892fb00d17 + destructured_ast: c340be1f8275a4c697edb408b9f004aec9e2bc9acf885cd84aab21b666f61ab8 + inlined_ast: c340be1f8275a4c697edb408b9f004aec9e2bc9acf885cd84aab21b666f61ab8 + dce_ast: 07474be0568eb78b215df3dbe9b61a151cd26760b7d773edb7012ffb805b8a6c bytecode: 95bc95d7defa42a6fdedd6472d0260c5d05e8a8c8e6929af7bf8d0132686f70f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out index 031aa691d0..a7e408738e 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6112e363c0e2595ce127f160ca4ea39be3ba38f27140f1488ac5b744e79aa3bb initial_ast: 5d4d11abc3cbe4791ff878470931d8de5f303eba49b21ad235467348ab52e1d7 unrolled_ast: 5d4d11abc3cbe4791ff878470931d8de5f303eba49b21ad235467348ab52e1d7 - ssa_ast: f64890cc9f4cfbc4f657e53209312fd34b0106ce6d50547259a98c3ce9456ca1 - flattened_ast: 01c3a6411723fa063f46ddd2b61db0d780992988396fb0c049ffc6bb199e85b2 - inlined_ast: 01c3a6411723fa063f46ddd2b61db0d780992988396fb0c049ffc6bb199e85b2 - dce_ast: a4fb3b1275ad4093dee3385628fe8c3618ac2a415393cf5b8015c1788c7dec59 + ssa_ast: 6515875f42bf0e5ebce6a03b1d56aec8a43cb2b5760324b7a80d435f776f3f30 + flattened_ast: cca1e4758397644317c92e5341f6883a1eed21d83222042349c69985cedcb8cc + destructured_ast: b8c4866723f6d3f57a6f99f36d76f0fa45b4ec18b76e95f346d3a855c46181f6 + inlined_ast: b8c4866723f6d3f57a6f99f36d76f0fa45b4ec18b76e95f346d3a855c46181f6 + dce_ast: 9d6e8fa1a17cdec2b8c104dd7b692c6b96ee22762609a757fd49c5b2585ce9ae bytecode: 549c95212d4613a4e5901fbee874d822214994c384db635f8e24ea7b477a57eb warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out index 7dbef16f37..0058f1a048 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5a8b298ac35aeba2a5ef15f5f59d3bc3d04e0037f43fa48bcc88893f85b94633 initial_ast: d07df7f7c53e318944c31b480edbd0077739c4e75697e54fdf369830bf0298ec unrolled_ast: d07df7f7c53e318944c31b480edbd0077739c4e75697e54fdf369830bf0298ec - ssa_ast: d680370f156e300f6911b8b36c39f8faadbcfe8f7499864870478ef64d459529 - flattened_ast: 624a38d0a6eba0b58e607eb19f498b4b409400087f719b0b32b5656de4bf7312 - inlined_ast: 624a38d0a6eba0b58e607eb19f498b4b409400087f719b0b32b5656de4bf7312 - dce_ast: 465ec03a96aaf7cc0d363d2e8662f792e453baf97ed295d385184f3a79f0c967 + ssa_ast: 85064a5f2a4b9920d6bcd82b3e0563d7e86133a22b5e3a1472e5ee50f4529dfc + flattened_ast: bd12502010c73e7a3aa9406dd65ddc7448d5a4f25d5fd66ac09353b9f1f18125 + destructured_ast: 7d8e0aa7b72c2617055abc71008d53933908e5f10db6aca3c88489cefaac88a3 + inlined_ast: 7d8e0aa7b72c2617055abc71008d53933908e5f10db6aca3c88489cefaac88a3 + dce_ast: 08596fdcc20022040b625eb6ed7b85655db0cf447225155d593987c7a90f5fbb bytecode: 44c588be4c27d8d89cd0fb7701e64126d75526e14fcc9c590da2d768f3e12b84 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out index db2ee29060..59d16bb18c 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7dc6ab9bb63a7e2ec04e5420a1bf18b4daf8daad1ee645f4493b7669a61427b6 initial_ast: 3a1ee7a62913658ccda3a73b6285ec3804d2e9b5604928850f60be72a5994cb8 unrolled_ast: 3a1ee7a62913658ccda3a73b6285ec3804d2e9b5604928850f60be72a5994cb8 - ssa_ast: 5d605c0bc644ed6fcedefb014c18c8bb8df2ebcc4e5f8f1fd679474ce40b1f8e - flattened_ast: 4e25b76756aa8e279b8341f1b9048e66657ecbf3743cfafab8b523ec2507fad7 - inlined_ast: 4e25b76756aa8e279b8341f1b9048e66657ecbf3743cfafab8b523ec2507fad7 - dce_ast: ab67bb7de213dd4b18952875f56c88734a9706fec71421a1153632709d0f248b + ssa_ast: 6356011e74a0d46e3fb7d694ae756a2699703573117688a611e14e037f9fb254 + flattened_ast: dd9fd0f63db4e19671d46955a52805490f224ec618d36b60cc2f44ae432c3d64 + destructured_ast: f356c5860ff5229da5f1a7f8e10f64ed74739b603e97c4060c131ac97a1ca03a + inlined_ast: f356c5860ff5229da5f1a7f8e10f64ed74739b603e97c4060c131ac97a1ca03a + dce_ast: fc401a1b314f5489084aa1acdb27f63ce7efcbafd7c35524ccc3267e0d23c970 bytecode: c755ed1b4083ce7afb98a0cefc02c7ba3141dbf82b81b6fd922810d887c0a9c3 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out index d3b6c83f97..b1a82088ab 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3c3cbf3fe8a940fae5b1334e455fe101b7f85001e6e378144f40bb56e223260e initial_ast: c384a42a0e5508f7125d6ed62c72968d7523d910182b26f90d605a913a320091 unrolled_ast: c384a42a0e5508f7125d6ed62c72968d7523d910182b26f90d605a913a320091 - ssa_ast: c7806a0141b867fef458e058e13be156dd752b8ff1ced9824661409adff053c3 - flattened_ast: 33eb8f88f24fabc689395578fe14c7d4d36a2ca37f5c027d1e861bfc7e0a5191 - inlined_ast: 33eb8f88f24fabc689395578fe14c7d4d36a2ca37f5c027d1e861bfc7e0a5191 - dce_ast: 542870323e55d8cf44949b505e19e4df38f6d04e1055b2cd68ff3cd555a540c3 + ssa_ast: 0ef7443e510a1f279e11c4174a098599da1de4da264a4f9b7fbcaacaba034b0f + flattened_ast: 134360955911aaafedb736d55a6b815465ef72e7ba9e137d02dab55a50cdb1ce + destructured_ast: 40555dfe88e19bb07ffc22fee0ca5df63c120c304b303d6ee72b0282fe4cbefd + inlined_ast: 40555dfe88e19bb07ffc22fee0ca5df63c120c304b303d6ee72b0282fe4cbefd + dce_ast: 76381d91ed7432f311078fa4d7960ec59added7f3e535389cb003410464e4cc3 bytecode: c7524ba0aa2182bce5d66e93f36ddf6bb89a1251840bf51c7b9dce4218ac8562 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out index 9277258256..8ae3553fea 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7abccfe35600d8f3f7579c37b034a4cd72574b6b7b6386847fe03970ca145444 initial_ast: ee7231b8f52b31aa9c16a97f116656f85557371f799bb5f0b1cf53a6081d6fc3 unrolled_ast: ee7231b8f52b31aa9c16a97f116656f85557371f799bb5f0b1cf53a6081d6fc3 - ssa_ast: 6f58cd66ce6f9f77171dc1a3fb2e1079c396e3ae02b1dab3d3cc06fc19d6fe33 - flattened_ast: c30158596281b356551b4b8a03181cdfe74d22eb7edfc4665363161d0ed97d66 - inlined_ast: c30158596281b356551b4b8a03181cdfe74d22eb7edfc4665363161d0ed97d66 - dce_ast: 39a31dbc3e173a59f4b4ca80a26bf676e0a236d37b4819888b84cecc2befe897 + ssa_ast: 38b5d9d673180859d79db33a14106aa0fbd0e57effd8e5624101782883fb5bfa + flattened_ast: 577378e1a058d7e3964136bd13abb2dfd639f70689f76e85a8eb7295afee2ac3 + destructured_ast: ebb1fc7c4656fedde5575fde7ff97047aa9f9333ee003bcdc2f7decac5a54b0a + inlined_ast: ebb1fc7c4656fedde5575fde7ff97047aa9f9333ee003bcdc2f7decac5a54b0a + dce_ast: 3150ff613e84cc4a19b7331c29189b5eb5c6a7d721dd4201b62d9012b4541bf0 bytecode: c2c9e8924baad5a7a7f6726c909e5832d597a972067c714da606359d9709ed31 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out index a8d92ca6eb..4c9f431ae1 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 50cbca89722323bf6dc1eeac9dc51916cb2f14fd7dd11fd95c22f8e77d562743 initial_ast: ab7382522eb991d462eacb4faabdd2a39e6685327c4d9046cd9f3b5eed3ccaad unrolled_ast: ab7382522eb991d462eacb4faabdd2a39e6685327c4d9046cd9f3b5eed3ccaad - ssa_ast: ab8b5cc6f653f0345b9c9cbea686909accd65384d8473c9f07402b24a81da275 - flattened_ast: 94049f91e00e486a00c5e9356fc33aee9f3f8584d80311800fcddc0762376ec9 - inlined_ast: 94049f91e00e486a00c5e9356fc33aee9f3f8584d80311800fcddc0762376ec9 - dce_ast: b5ac809eb05406af68ca413125726ae7f6c07cd483d555d437c766bef7546abb + ssa_ast: ea5ea727bc9958cf1f6e36c5ab32f3f046f03b1f9b38486b79c77e50dd6a7c53 + flattened_ast: 8c206c854c27655a8244f446e282650cde01c160622699990f04c28f0378d36a + destructured_ast: 7d08d28269d51d3e28c3796c19f51594fb50394f2ee9fae8908a32599651ccc1 + inlined_ast: 7d08d28269d51d3e28c3796c19f51594fb50394f2ee9fae8908a32599651ccc1 + dce_ast: 929dd191724cae17709254e23a23ef233111725b22973c9dbb6a656d0419105d bytecode: cd06659f46218302131b68a41fb05fd7ae3ba7a5cccab097f2725422427c799b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out index db4862e3b5..e2ff79c862 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7d58f6333ce059a6357ba4fd57e1efc60d2e8cd9d5c051a12c30c4fe0165444a initial_ast: 9f899e484a4418e55f72bec5e671872db362ded35cc9d074457818219b5ce73b unrolled_ast: 9f899e484a4418e55f72bec5e671872db362ded35cc9d074457818219b5ce73b - ssa_ast: 908ed86e73411a0ba8cf640d90c2263ef4de097a9fd02bff686b5e75f27fe978 - flattened_ast: 2fba0e622d678a54fe67823d3c0c4d21f0b69c6eab556f7ce35f54619e9152b8 - inlined_ast: 2fba0e622d678a54fe67823d3c0c4d21f0b69c6eab556f7ce35f54619e9152b8 - dce_ast: 324bca61ef2b17aecfc0b90586b58ddb8a38285a328cab00572901d8092569e8 + ssa_ast: af98e8fb48882197d2386b7b48bb1fa98cb4d28554cdae52b394d9c4f51f4714 + flattened_ast: e214f01a157a4116ad2bd2a610306317dd2e4b13f8bdeccc043febd0bf34f97a + destructured_ast: e1921da141fff2b0f527fb96730ae9e22c79e370fa1bebcb8161d625203938f8 + inlined_ast: e1921da141fff2b0f527fb96730ae9e22c79e370fa1bebcb8161d625203938f8 + dce_ast: b93ec45fdc168be76ddd3778d1423d9a8f9f91423ad7ee362daa97ab59e584bc bytecode: cd0163ef5f278913b3e650356b1ec3eeb18731f152c64d78f29e21f88974c059 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out index dab6df4dbc..a014441207 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 517c6e2bfbec1ab034c1c87089cbc5354bc077ef8358cb942ab703fb25061b52 initial_ast: a618112724d7b017617c995dbd8690cc09146a1c1e6f2ceade6ab771ff565c5b unrolled_ast: a618112724d7b017617c995dbd8690cc09146a1c1e6f2ceade6ab771ff565c5b - ssa_ast: 00e475b6bc7d32516d8b00af6575873b311795830870573e377fe39739245310 - flattened_ast: 22d82c5d74398a41dc15f11b824565e9276bf16177055912a8730f31c1340973 - inlined_ast: 22d82c5d74398a41dc15f11b824565e9276bf16177055912a8730f31c1340973 - dce_ast: 9e05a7b58e0acc9e63be1a7afe17ab0bd8ee1267084db5c128219f74a465b1a2 + ssa_ast: 311544ec4e51cdeefd9d6eb1b8eb117d0c9a4112bf9d89f91d82c435913588cb + flattened_ast: eb498a5b0490a17fe80fd54dde6aff3d6a58249c9ff8e0a25252f104d9ed3280 + destructured_ast: a5c8a59da8e00d6b64442d8844c76323c6d4375cb67603a201f5858986a7b9e6 + inlined_ast: a5c8a59da8e00d6b64442d8844c76323c6d4375cb67603a201f5858986a7b9e6 + dce_ast: 8b0bb43cd542020d08deb6174dbeb06208b95ff4323ecbfbee9dba4d22aecabc bytecode: 944b1ffecfe76ffcc604cfe563b348727743928c63a8c55ced3ad4eccf39649e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out index 18829b82ca..018dcf813a 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5a4db0b8933031f7a683c7fe71cc222eee71ae41cb14e08f96970dfffc970849 initial_ast: 196e52dd90f083005c7c93c1d0f8dda649555aec0253d487614f8e4bc541d74e unrolled_ast: 196e52dd90f083005c7c93c1d0f8dda649555aec0253d487614f8e4bc541d74e - ssa_ast: eee30ea059af9bbf249263c6a40b134d7efda558bac3f93c876df0d93bb3b598 - flattened_ast: cd1556854414bec8db0cecaba235f347c6ccfe6476cf3d3efc268efc84104c55 - inlined_ast: cd1556854414bec8db0cecaba235f347c6ccfe6476cf3d3efc268efc84104c55 - dce_ast: e75eed6348c8990bb27506be2996ebb43ab8ca3d6fb7c836f41b1c48d2e1351c + ssa_ast: 14b063d5857b5c07f6239fcee8bab29a1703cb50e8f8361b33576509efd957db + flattened_ast: 53e76a8e53f1db930cddcc0428b04716c229491c2640e0b6a25fa0c9b54b0f15 + destructured_ast: 3e8212b6a66e074f81fac65d3b98d12fa8f15fc38fa11364d69227facc0ba3c2 + inlined_ast: 3e8212b6a66e074f81fac65d3b98d12fa8f15fc38fa11364d69227facc0ba3c2 + dce_ast: eadb908c8f5ae0d648a266f6b1c939d0019b9932d6f74b2f4a53aefa837c5a24 bytecode: 3d199e7bd35710525161f08b7c5cb1dc788ee7815cbd59a88967108b10c8f972 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out index 2a856e7b83..0a899d3726 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: fc4317fc4c5ad7250c0378ba96de66d8b3f1521ea0ced29dde0573bf7626eebb initial_ast: c4ccb2480b9d3f8febb573de501ef9d89670d9de32ae32549e5a0706feb2abdf unrolled_ast: c4ccb2480b9d3f8febb573de501ef9d89670d9de32ae32549e5a0706feb2abdf - ssa_ast: 9361fbfffbca1ec559a43f753cbc59e707fc76a481a1750f00a6b7db6a447577 - flattened_ast: 7678e290ffd12b784b0336e90f52418c6d3810050709cac38e26cbc4fda6dba4 - inlined_ast: 7678e290ffd12b784b0336e90f52418c6d3810050709cac38e26cbc4fda6dba4 - dce_ast: 43fcc5bfa62ac314c9f7b9e0abd517a11128e4d027bbafc5c4812a06725fa1ad + ssa_ast: 4d21974d8befbfef49f8d24bc5d7af8bdfde566c57327233e5a26c587bd70de4 + flattened_ast: 78a62a37667bf60828d7e3a111362d71d0b1241cc212fcb7af808c70b35820c7 + destructured_ast: f48bbce45a25e77b7bf1126b8a9fbbb05a4ab76784cd8197fb06a3e8166918d8 + inlined_ast: f48bbce45a25e77b7bf1126b8a9fbbb05a4ab76784cd8197fb06a3e8166918d8 + dce_ast: 84c759ad5368ec7829c043ffcca073500db61ac8fbd3c6caa2d058ccd34c8ef4 bytecode: 908a1cadce203b91e79f9bce16280b922d6bab6f418a443b5e55989ad9f3a78c warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out index 1a5e585560..3a6709085f 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 96abceab3387d3b3899ea3422993f4c8d614128172e73a7dd391e02060f308f7 initial_ast: cd27f11983b8b48fa0177daac8b37d783489fa4488196466d30becb5f47347ef unrolled_ast: cd27f11983b8b48fa0177daac8b37d783489fa4488196466d30becb5f47347ef - ssa_ast: 966064175dd47f90dc94f85cd07a30152222164534b5ea3a67bcdfe6856171d7 - flattened_ast: 431c6855cb39fed7e6da9c5e31dca1c0ba0c5e09b75718af712ebeed8a9957a0 - inlined_ast: 431c6855cb39fed7e6da9c5e31dca1c0ba0c5e09b75718af712ebeed8a9957a0 - dce_ast: 84d0abc643779427e58cc002052e50fb87e6d9892f0bd3458fd88cc55d2ab700 + ssa_ast: 6caaa760437a9f6982cf1b817bbac28e8dd647296868fc3a6603a8a3d96d8232 + flattened_ast: b6721d9373782a889bbf28863c796af0b790fa89873a05e8b801594480bba5a4 + destructured_ast: a3dfc72c7e5e97eb518bfd52ac81cdae361bc9ce2204a7231a9df91c4613f139 + inlined_ast: a3dfc72c7e5e97eb518bfd52ac81cdae361bc9ce2204a7231a9df91c4613f139 + dce_ast: 543524502d7fb2639c35c7acb6bf09ce8eaeacee5c6b79bedec626cad9a598ed bytecode: 60461b2862272cfb6cbf27964e16921d3a0eaad4571b7313968485984101921e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out index c1893fabb3..fbcbf4ef3b 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 94d4118e0bda713200a436ede17ea616a5ef7814b218d06e275886f7ecddfb0d unrolled_ast: 94d4118e0bda713200a436ede17ea616a5ef7814b218d06e275886f7ecddfb0d - ssa_ast: f53bd1eaa1cb0e2128242158b00243efa176c3dae87f089d4d6f0a445e591967 - flattened_ast: cdaa8962234b37eecc3e2a954865acaa1262d59202b48e2f39ba4688fe25ac56 - inlined_ast: cdaa8962234b37eecc3e2a954865acaa1262d59202b48e2f39ba4688fe25ac56 - dce_ast: 25a51573c1fd64ee5e4280dcc28941147a1db195e561c163d068cffd421b41b3 + ssa_ast: 1f57f9ac01e04a603b371e7ce5c14ed2d9d37d6c61ab3490b8e4f91be633224b + flattened_ast: 7d18cb12ee9620c32a6e9616961b51578b652cdaa108a139e64c97fb8cad1c02 + destructured_ast: bf58faed5ee61c50dd39d6ae7574b089190361b49824a156dcedf74da43d2996 + inlined_ast: bf58faed5ee61c50dd39d6ae7574b089190361b49824a156dcedf74da43d2996 + dce_ast: 23cc20ea6658992c8476b8299a306c7958b790c1a3ac5d356e380ddc6d6f36cf bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out index b8b37e6831..85e7e3e41f 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 5bed962a968b73f429c4712a554928ac66d80865ae2937ec643ecca443d5346d unrolled_ast: 5bed962a968b73f429c4712a554928ac66d80865ae2937ec643ecca443d5346d - ssa_ast: 20bafc0bb0b99667a8799856093e33006c8abdf573eaad50261674adbd223267 - flattened_ast: 499d82c73543d8351884e491026e06840a8777e0587119ca0e2abbe97d267303 - inlined_ast: 499d82c73543d8351884e491026e06840a8777e0587119ca0e2abbe97d267303 - dce_ast: bae78be614e7412d42e99e72211bef9dd7428ffd45efbaeacd68c2b0ddd702b4 + ssa_ast: 14cc075bddb2725665d562940c368171668c560e4406562cb93c5985497d1310 + flattened_ast: d876d9f8e6599b57fb305b4bfc25d5eab7a5e9197d130c9924a6b8722a54a334 + destructured_ast: 511018d8fa4ddec9878b20dd3970992cf6ae586b1fb1ab62ba83352e7e91d640 + inlined_ast: 511018d8fa4ddec9878b20dd3970992cf6ae586b1fb1ab62ba83352e7e91d640 + dce_ast: 2d805cd9ce50c7b0066e8ee0e8889f37802a54ceee22ce482ff40883ea37ebc3 bytecode: 4a7ee455b4552494a4153a4a4585aecfdb077ae2d89b2281da182e4213c20508 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out index 6ade272119..e7ec8d36b6 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 4550b6a5f16ab18cbd4edb9542630efc686264ca29d5d090e9cc8d20239ee4d8 unrolled_ast: 4550b6a5f16ab18cbd4edb9542630efc686264ca29d5d090e9cc8d20239ee4d8 - ssa_ast: c8e8482f52e3983f19ef1aa95f5a3b541237da60bed8a51d6ba42cfde4399eb1 - flattened_ast: bf81088720fba808f9dd5df8e801b9108b354f1a8606df449dbc518fedb936d9 - inlined_ast: bf81088720fba808f9dd5df8e801b9108b354f1a8606df449dbc518fedb936d9 - dce_ast: 749c8944ffd02801d1d046bf438d583eb76aed643fc3f3920d6312a6cbc074b0 + ssa_ast: fbcec36d396dbf46513300ecb8841988c0f456e97334f999287428c81ea7f053 + flattened_ast: 556e436cfb93634ec24eace64e2c6a4541e6f52b27d04fa33f45090cd1f32550 + destructured_ast: 734bf9d62f03a47b46d7a48e7f34acf4e7deb5caab51a9a08831802c26940f1d + inlined_ast: 734bf9d62f03a47b46d7a48e7f34acf4e7deb5caab51a9a08831802c26940f1d + dce_ast: 4883d7e43743920b11dd2731386d06f7481079d4ba8ace609c1769f9101833ae bytecode: 5e1c3a522f56e1e46342bb1e4d14c2827d7d7dcf0e73d13c694ce9211181a90e warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out index eccc04e416..437ae6dc38 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: fb1297f1354974dbe92fb1ccd7faf1d18f6be519817811cdaa7439cc72395cdc unrolled_ast: fb1297f1354974dbe92fb1ccd7faf1d18f6be519817811cdaa7439cc72395cdc - ssa_ast: 89a331798281baa707eea018a0dd00146b047857d16ede5bc573a8d091dd73f3 - flattened_ast: c1471cd9de4862aea5db4cdfdd6c6f92ed2e15e70b9c1414fb8ed71d89f19cc4 - inlined_ast: c1471cd9de4862aea5db4cdfdd6c6f92ed2e15e70b9c1414fb8ed71d89f19cc4 - dce_ast: 7c45e56cf58f8df091249ad8f78cc45efb6d3ba3c463aad3f78223fc85023cfe + ssa_ast: 681310761a3f80f780b310b39f5f18c2a6e2bc754c2ad5bcfb41fc01a986e951 + flattened_ast: c69ada888298fe3ad8963f2ee6903b693f50b65328a27d90618e7ac04f5215f0 + destructured_ast: 0564a9aadb1ea45ff684cba2d5f00087636ef90e60edf82cf22bf8daba37db6e + inlined_ast: 0564a9aadb1ea45ff684cba2d5f00087636ef90e60edf82cf22bf8daba37db6e + dce_ast: 31cb0952eae472248c4c15cafb079248680efa4a2bd2666652c5bef6a9f8b8aa bytecode: 2854f9d794d38f70f28b7715b25d597c94a380af36a51b6b3c04d1fe71e2cf3f warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out index 6a3c959834..9f239f981d 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 5d76105e33e4ac8cac355c27db6e578dd03217447ac882f844bb24ceed4b9ae1 unrolled_ast: 5d76105e33e4ac8cac355c27db6e578dd03217447ac882f844bb24ceed4b9ae1 - ssa_ast: 7b4a7d3acf97c730b496f1f92985ec9e910476ad10b666ff7978c1503c19cabd - flattened_ast: c79e35489307fda7eac7661ee460efa7695f9cf96d9e06442b9da810941525c5 - inlined_ast: c79e35489307fda7eac7661ee460efa7695f9cf96d9e06442b9da810941525c5 - dce_ast: 25a51573c1fd64ee5e4280dcc28941147a1db195e561c163d068cffd421b41b3 + ssa_ast: 4a9b943bfb39aa975ec0586392433a52fb12ca5e25cb5afb8be0fd9227b9f12c + flattened_ast: 3ee48237dae7f3e10077ac42ebe5ddd363d1f617814512ef589ad89675d84f46 + destructured_ast: 75133ee49d55e1e1e6c3cc4038f3252792cabd5fc356f6cd47334f41b92844c8 + inlined_ast: 75133ee49d55e1e1e6c3cc4038f3252792cabd5fc356f6cd47334f41b92844c8 + dce_ast: 23cc20ea6658992c8476b8299a306c7958b790c1a3ac5d356e380ddc6d6f36cf bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out index bd10ac3875..07a7114b36 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 922b633df40c4c2b8c3aeacf1a680ba2d130c22fd394410ba42fcf2d5303ca2f unrolled_ast: 922b633df40c4c2b8c3aeacf1a680ba2d130c22fd394410ba42fcf2d5303ca2f - ssa_ast: 0d1ec2915dd87c671d433bcc4f5cdb646cb7c3e08954bd869d174a9f005dad93 - flattened_ast: eb437179b9113a8ab234c0e2c6932c41724123889cbcc98614c7b9263d28587d - inlined_ast: eb437179b9113a8ab234c0e2c6932c41724123889cbcc98614c7b9263d28587d - dce_ast: 3dc9737245cef7df2fbaec92009ae027180a652a30fb15e4c07671c1fec92cae + ssa_ast: 5aa04db05d4b451a75a49f0d42c0edeb13702f98028251899619ebe266941ada + flattened_ast: bf02480b4d86c7452a805edcd126f2b0c456db1ebe37437e9c791f06b523cf38 + destructured_ast: e0b60a07fec7a11ae2c38171627568aade6f30b365783fa4323b7e741de28674 + inlined_ast: e0b60a07fec7a11ae2c38171627568aade6f30b365783fa4323b7e741de28674 + dce_ast: b14709c1af0e64febeba6f58957c81ac4d444ecdf3a17bf96d7362289bb2bdbb bytecode: 5afc04764a3838219b882f5feeafa9603549ecc199dc30e765320f00d70c0fc8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out index 1f3a88a08b..839e674270 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: b793106646234d007e41fec1d1c83a03af638de003c0ad4b8e94abc6f4592c1e unrolled_ast: b793106646234d007e41fec1d1c83a03af638de003c0ad4b8e94abc6f4592c1e - ssa_ast: af83dd583cc7b5624bc99bafb2a64d35e9279a18ac99e9dbf44634def48bdac5 - flattened_ast: e612a1e6241d5587d28b6b749fb3375f8e1fdb00922619009649d59c3c3f3997 - inlined_ast: e612a1e6241d5587d28b6b749fb3375f8e1fdb00922619009649d59c3c3f3997 - dce_ast: 09ba50ea65aa2e8c1018858abb0c10ba94105c6fee0d9fd9f5bc435432e765cd + ssa_ast: d5ebca9929e13013ab277c5c7230a5608ac63ce2317f3c06a861122c3f088c3f + flattened_ast: 0ddb9aad7b1a50e3a82264984f38c98828596c0c05fa163c0e5e850ce1809880 + destructured_ast: 6da41f0f3db9da35a85f0ad4f2327883996c87efbe7daaf865a1fe29e0c68975 + inlined_ast: 6da41f0f3db9da35a85f0ad4f2327883996c87efbe7daaf865a1fe29e0c68975 + dce_ast: 7463007da935a7c65304aba2b0c3663245194144c7181d2d839ccb5130155455 bytecode: 1a55ccb2faa44b5220b4dadfb85af4d74f8018a6ca8726e85cc3d1db349cb24d warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out index cf586d1179..b3942437a9 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 238a63cc4e6e0f76d2261f6db5a02769eecb8220f0335f96985ebfc117d30bad unrolled_ast: 238a63cc4e6e0f76d2261f6db5a02769eecb8220f0335f96985ebfc117d30bad - ssa_ast: 1c7dbba491d9b97d2359e9e4cae9df66aa677ae527518b5ddb2ccf1762b7376a - flattened_ast: 2cd995ce1cb800787ecf92b37b30b87846aff2978f088c077025f4355f02c591 - inlined_ast: 2cd995ce1cb800787ecf92b37b30b87846aff2978f088c077025f4355f02c591 - dce_ast: 76b3b18f4a5d7814f6b443cd8b21ca428f2509ab8d35759d68769b03de60d582 + ssa_ast: 064a842dd90651e3064df68777c42326c044e8af496c2fdd81eae3d32e18faa5 + flattened_ast: a9b74da3e27813a9ad3f9263193f87165410f427af2b1716460d13599d738077 + destructured_ast: d9e0ea27ffc00a6353ec43b44e5f1ebe56084ff59674cee76b4f7cacf38925d7 + inlined_ast: d9e0ea27ffc00a6353ec43b44e5f1ebe56084ff59674cee76b4f7cacf38925d7 + dce_ast: 12554b5a7f6b97d9a1063ab541965d81d4240857bec5fd513f1bcfa532eda02b bytecode: 7dbc4e044d6ef673a73bcee19f7fbac023f640aeffa49485274c899666c45fa9 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out index f6921c83a4..8226b95275 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 1bbfcde5e9ff1fc9dda03c80765e4fd305804d7b26c946e84845ca903167906c unrolled_ast: 1bbfcde5e9ff1fc9dda03c80765e4fd305804d7b26c946e84845ca903167906c - ssa_ast: e6a200ca9cc78459d7f81ded6a52d6828363806d10fe338df86e9b9884d74428 - flattened_ast: de33349b6adfbadc7f9d5bad877e055c0a2a376c78e94969fcf0bdad8bd75a8a - inlined_ast: de33349b6adfbadc7f9d5bad877e055c0a2a376c78e94969fcf0bdad8bd75a8a - dce_ast: 25a51573c1fd64ee5e4280dcc28941147a1db195e561c163d068cffd421b41b3 + ssa_ast: e42d309aabfb14a1e51caf2b2780295f8ffd3b16cb4892acf7fc637ded94b1ca + flattened_ast: 025a2fcb2ca821ebdb49cae0f38aa5bd16b0fe5a09a55ad548f7b8a48efc1bb0 + destructured_ast: 771ff4442f08c33b4286b113fa208be5802a91547e23fb8402f5af84b636809e + inlined_ast: 771ff4442f08c33b4286b113fa208be5802a91547e23fb8402f5af84b636809e + dce_ast: 23cc20ea6658992c8476b8299a306c7958b790c1a3ac5d356e380ddc6d6f36cf bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out index aef959a09f..54352954bd 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: cb26361d4928ad3433c339defa58e1be29bf3e8cbd9d788e6d0162e0e178198b unrolled_ast: cb26361d4928ad3433c339defa58e1be29bf3e8cbd9d788e6d0162e0e178198b - ssa_ast: fee5b85e81ee66abba5376aad66ce47a4a91a606a4786f36cd54f59f0bf7f5e4 - flattened_ast: 8b4724e1f4e0f4f872928553c4730bd83f4f6f74154d06696302fb5732c7be3d - inlined_ast: 8b4724e1f4e0f4f872928553c4730bd83f4f6f74154d06696302fb5732c7be3d - dce_ast: 3cb41fbf417896fb76973dc05a1d258413efe5a95842ec825b8562623b6aa0b5 + ssa_ast: 1bdf3b718b09fd5b441bb347b524419261334fc3fa12cc52e60e914765fff95e + flattened_ast: 993c3691d5d216fdcb72b85c4e316cba32df437f7bb0499ba6321409362d67f7 + destructured_ast: a5103c425ede1d108b31d8a9c61d2d15b8a58f7e3a30f081ee07e44c3c404762 + inlined_ast: a5103c425ede1d108b31d8a9c61d2d15b8a58f7e3a30f081ee07e44c3c404762 + dce_ast: 39527a39bcfe2d6b8329e63bb0eb1f6241b8b1564a99eee9cb9b62df2fa80b9b bytecode: 49aae76eea34a87eee6105d1ef33a771079970ce5efcddce06b56bdd162b0649 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out index f8a6e907c0..8abe0df5d4 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 904a959b62c5a9864320176a29525a09c82e71cb196b3dd83ee0f163e4b39c6f unrolled_ast: 904a959b62c5a9864320176a29525a09c82e71cb196b3dd83ee0f163e4b39c6f - ssa_ast: 9db99b350e5f6082f54e5fdefa7296946b3b8e79994df9150b26d9f4f46543ac - flattened_ast: d1f2cd9682a857e11c687cd3bb251b08a46d9e7d66625fbb45f1ab3d5a27ed11 - inlined_ast: d1f2cd9682a857e11c687cd3bb251b08a46d9e7d66625fbb45f1ab3d5a27ed11 - dce_ast: b20b05fc6e7263b6690f45172d7a52ed87ed2eaa3e1a180591c6e9601b5b1410 + ssa_ast: a18e0fb6341f212a1b6906c313999afc133ab5fad88ef2c5ceb8e03cfd59f6b8 + flattened_ast: 20547faab738d3115cfba91ae2022ea28c873940f087e37d5eec6dfcc9019c64 + destructured_ast: 201110383a9a73d1d0420a686dd3069341b57b5491da061af146eb0cc3d82bff + inlined_ast: 201110383a9a73d1d0420a686dd3069341b57b5491da061af146eb0cc3d82bff + dce_ast: a73f138beba6b7292b29494c77cf002a5503f5832d063b563b13239eb4323857 bytecode: 02d47a7250c61ef4d17c7ab46f74657d42b407488f8e4a3a3035d9fd55772c72 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out index 2d9103cb28..f850287e21 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 627f799afd7aa0cb9341375b33d4342ed942f6388027d07c3930b94f521c8bf2 unrolled_ast: 627f799afd7aa0cb9341375b33d4342ed942f6388027d07c3930b94f521c8bf2 - ssa_ast: 10eb16ab2f107d0d28de80d513d49f4ea67475a4504669c4fe6d0a0bf8aff6db - flattened_ast: 000802a40b39235283aef453b6f2109d26b23cd57b03499c2bb9a6c5fadf91fa - inlined_ast: 000802a40b39235283aef453b6f2109d26b23cd57b03499c2bb9a6c5fadf91fa - dce_ast: ed6dc0473e605d514641568dcd4559a92ff90ff1ec1147fc8985247888f94f48 + ssa_ast: 907170806e96a4e37b0bf393f0a49c526537b50b9303fb1ef6c1e41b9a95b178 + flattened_ast: 2813380a96e864cc90b5d57c0d855fcf390dc37865863ea20ecab78cf504dd10 + destructured_ast: ef532c58483f860a940d4e21411a417c43ce5544bd5c0db2af4c5a411e069aa2 + inlined_ast: ef532c58483f860a940d4e21411a417c43ce5544bd5c0db2af4c5a411e069aa2 + dce_ast: c57d1e04789fb84d69cac64cab5bddd54760aff28c05e3f59812a0e0c6487b92 bytecode: 5230c6c2a5d11187990baad02e10050166090cd500ef2cc6047d648384c8cac3 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out index 3ce5541539..4ce9c99e74 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 357b4addf1666373ef32a682a4d97ceb50e63b25defd26c79dbcf12cf3071646 unrolled_ast: 357b4addf1666373ef32a682a4d97ceb50e63b25defd26c79dbcf12cf3071646 - ssa_ast: fd83bc9b0c65abf7a616c515ddb20a0abfc1aac6e0d19a2f7c9c9ed8a7eea25a - flattened_ast: f00dfb209b16c1f98ded7bc36b554ab8dc2c72a5ff5baf9b185741a62b01427a - inlined_ast: f00dfb209b16c1f98ded7bc36b554ab8dc2c72a5ff5baf9b185741a62b01427a - dce_ast: dc5b2825ddd87a5487acdf367ad874194099408b23c3f84ff67ed3ab2e452cac + ssa_ast: 0d06b710eb17a5317ba2e09cfd4f9cf5862e0d352ea41914946742a3d52cf1b6 + flattened_ast: 53639fb52af7d75c223fd363de96bfe1e76da9c94623b982ac54ce20c6ad828c + destructured_ast: 20d2d0e784331fbc9d2d4605eff8a9889c330a97951ed9d5e95cda3736bd26a7 + inlined_ast: 20d2d0e784331fbc9d2d4605eff8a9889c330a97951ed9d5e95cda3736bd26a7 + dce_ast: 0c5ad07d5630f30c06029af8762f4716ed049c227e8295a6ca86a181af1af789 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out index 7454d44ef8..3d3cf1603a 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 64574ea4e267720e0a91cfc913df2bfd40ea274b83cb464e621819e9ed606e27 unrolled_ast: 64574ea4e267720e0a91cfc913df2bfd40ea274b83cb464e621819e9ed606e27 - ssa_ast: 9098288fc22bc9eeb810c3a0b8f64b90c87b5a077ddd2708c1561894d807be19 - flattened_ast: ca0c9679dc37e5805e0f40019bc86dc17df23491c8c55296f62cfb73d2a0e74c - inlined_ast: ca0c9679dc37e5805e0f40019bc86dc17df23491c8c55296f62cfb73d2a0e74c - dce_ast: 86a889782d3602477d669b1289157fdda3d5e255add5dc47403d5d2e18f09ab8 + ssa_ast: 699ba8f4910e9cf4b50a7e7a27268b41372db17bfd468141627ef1b599b1561c + flattened_ast: 9e5ab367a71f1c27b5f63f207f5d09cb0ff8ce2c639a069b0d8fdc9d53e474ab + destructured_ast: da824f4edc7ed07864ce4abd7d9ed5846570029d7b21f8bcb44eb88311525a4b + inlined_ast: da824f4edc7ed07864ce4abd7d9ed5846570029d7b21f8bcb44eb88311525a4b + dce_ast: b74886ed7ee7e35f3e8245d14a148f61d2f9d2fd4ab596b81aad0ab9658f182b bytecode: 690637a56c18881cf6f85a1531bb8b17cd18d901daf7c29301562c019fe495c7 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out index 1c4e3b29e8..3e2a25fe70 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 38fcb9f1797ef1a7ccb9cddf839a9251eb04e7fe9fc41748ea6dd74e950c0c2c unrolled_ast: 38fcb9f1797ef1a7ccb9cddf839a9251eb04e7fe9fc41748ea6dd74e950c0c2c - ssa_ast: 75be9ab375a2a048bae75fed96139ff91e557f5aeb247da247b8c276c7738690 - flattened_ast: c47fa0217a9a0320bbe773a1d84b5a7c16002311a1d6da50d6316866caaa663a - inlined_ast: c47fa0217a9a0320bbe773a1d84b5a7c16002311a1d6da50d6316866caaa663a - dce_ast: c8ab2ce000009b8477814548445d2d389fdcb0298de367045030b7f32de5a6d1 + ssa_ast: 18036ef496affdda9938073e022f68bae37ca84f84ccc7d55f44ffebe5706c9d + flattened_ast: 4c83cec0c675b49211ac192a0bf40948d27bfbf8dd90d4f3da4ca696b831c7b3 + destructured_ast: 99965640d534e8d623b1822680fbcc47c304be13e0e0a54c9254a00f70c72692 + inlined_ast: 99965640d534e8d623b1822680fbcc47c304be13e0e0a54c9254a00f70c72692 + dce_ast: af357a5af82696d4472d3e6873ec837f9ffe655590ca2c5b2bd20a982fa3bdc3 bytecode: 46d916910ae925bea8c55fc0887b41d05efedac9228150f59f894ff52652a290 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out index 802b07f5f0..43c896fcaa 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: f52f3a6fc27a9bfd4a78483f5ec0b238c45aded0a5b86c9d29eec36754d5fc14 unrolled_ast: f52f3a6fc27a9bfd4a78483f5ec0b238c45aded0a5b86c9d29eec36754d5fc14 - ssa_ast: 2b98efdd10458e5fcccf4f0366e32c6f7e5e90f893bc203cad60a6ca164c16e8 - flattened_ast: 6529ec336357eceb91407d539992269ecc7bf5db5aa638ebf24e180ed67a9b55 - inlined_ast: 6529ec336357eceb91407d539992269ecc7bf5db5aa638ebf24e180ed67a9b55 - dce_ast: a08ecec2e3a92d8a62f54a59dbb0300e7f0051c378150e44f1bafd1e2b33b82a + ssa_ast: 2f93e41b0862dad0c62c84e453049a35eff4df126a1b8a04565c0a479ef5f69c + flattened_ast: dd5d4d66a93323af9e43a274061eb7304e2c437deef7832fda6e6305c0f98772 + destructured_ast: 69acf658be3b0f89ebef1ced9f0347b8aa37888f3f27f734da06531de2d99e92 + inlined_ast: 69acf658be3b0f89ebef1ced9f0347b8aa37888f3f27f734da06531de2d99e92 + dce_ast: e5d4eb6c178ba63aff4f134f00d0228d68b0b6e77f14da9a31304da5958238b8 bytecode: d6a9ad31d87c08ce7882a80a4d5067f89ce048108bd23a41487051aab4904268 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out index 5f98de27cc..9a3508d071 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 133d1b1f90e64e93310017179dd9807a96c5f90d2f9260cf10702464da15f48b unrolled_ast: 133d1b1f90e64e93310017179dd9807a96c5f90d2f9260cf10702464da15f48b - ssa_ast: 33b4a948e7af7b7996b0c3e0f149f43493501b10d21fba6c619a86238e9389b3 - flattened_ast: 7449f3b071de8f775b7d0b935400b5138b8caff14a345406ca7bdda0437ec335 - inlined_ast: 7449f3b071de8f775b7d0b935400b5138b8caff14a345406ca7bdda0437ec335 - dce_ast: dc5b2825ddd87a5487acdf367ad874194099408b23c3f84ff67ed3ab2e452cac + ssa_ast: a409c2157f1194d13f94b553290867f9cbfd0cae941344d638f4b82a085551ed + flattened_ast: 23878730e272b2796da03e0aa30db7b5c3909f65bb3a7fac8b942686b9ca54c7 + destructured_ast: 141ed27a5f9e8cc413b59964fc9d201c7090f49cac5cd29a5e3d4d72e4110b18 + inlined_ast: 141ed27a5f9e8cc413b59964fc9d201c7090f49cac5cd29a5e3d4d72e4110b18 + dce_ast: 0c5ad07d5630f30c06029af8762f4716ed049c227e8295a6ca86a181af1af789 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out index 7992f9e67f..9473d73c94 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 70f8ed239f7f1a7159e2dd4000b1107a13636de809ce5b5d202a9a076778cf7c unrolled_ast: 70f8ed239f7f1a7159e2dd4000b1107a13636de809ce5b5d202a9a076778cf7c - ssa_ast: 8aa1f77c0b31c1cc8520ee7e4c894722f9cf4f3e24fb92cd21e334979be9f492 - flattened_ast: b8fbf8f289948eed3b02eced9ef1e5cd1dc712510a571acf5a45f0e0274a6f89 - inlined_ast: b8fbf8f289948eed3b02eced9ef1e5cd1dc712510a571acf5a45f0e0274a6f89 - dce_ast: 1eb00cbdc0cc95922ff0ed6d5420900850528dcfd7ce6a1d257651703acd2c56 + ssa_ast: 92145971a2ce69877ed63a02964569c1b031495d6d0ec81769d2a594c74ee5fe + flattened_ast: 7893b05ae43d1a0664e6375170095a963499176640efefb6a01ecedcb68e4944 + destructured_ast: 325ff11ec7cdeb7b0c433cea5b00a5919d97a72abfbb17237ae9219c93856487 + inlined_ast: 325ff11ec7cdeb7b0c433cea5b00a5919d97a72abfbb17237ae9219c93856487 + dce_ast: d2b26c7a60bec203891c4f2773f7c3e4ff34bcd58f9355f109cae6585a978b08 bytecode: 2e3beeb8a0f7547611c2c519e43599ac9e5b7fafc215ee921eb500d921987252 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out index b538c74621..eefbf978e6 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 7eddbaa672e6c72fde6891549416cc30b19dbe76a673e35112049a5a0f80e7ae unrolled_ast: 7eddbaa672e6c72fde6891549416cc30b19dbe76a673e35112049a5a0f80e7ae - ssa_ast: e1b10e45efe460f858a34190d2f228315f99404cfe86891aaac138a3fac6be94 - flattened_ast: 5ac5dbacc8ea69a971353ebc565b765d49e7e8f5054caa8fde930988a72df3c7 - inlined_ast: 5ac5dbacc8ea69a971353ebc565b765d49e7e8f5054caa8fde930988a72df3c7 - dce_ast: caa9e88a73332a07df6ea007492aa6092aac572b17ab9fd1505e04495d502e29 + ssa_ast: 0eb8dea0e7f2a896993782d830346fb6b276220619dcf0a668f397dcfb09bb62 + flattened_ast: 2f9a3f4e338f0f27128b7aacb1fe17dcbe7d7f9d6c71a35749ee986824f51f4c + destructured_ast: 67fb80fe347d72bed2b80624f8c981f58783b6367e5cf90eb2cc663f4a52e04f + inlined_ast: 67fb80fe347d72bed2b80624f8c981f58783b6367e5cf90eb2cc663f4a52e04f + dce_ast: e0dbd0283439253887471a3eeb911c1249529883d5a9ab887ba08a6dfe3b7c32 bytecode: 9dddbe9729f05832d71afd33571dc4ea51212f6e4f6d6c6b27f523d38059f2a1 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out index 38bf44c5d1..aae5479dc2 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 9d4a687cff007bbe726c78eb2f0b41058ac047aeff650cd048003637fa941834 unrolled_ast: 9d4a687cff007bbe726c78eb2f0b41058ac047aeff650cd048003637fa941834 - ssa_ast: 7f8f8370f26a8dcbca572b88071fb88ffdcc05a31601f46231eb143a1c3258bc - flattened_ast: a899fa8069792af59ba7d55ec5ca48a7ff0c13e2cfef0788615e261804f8c00c - inlined_ast: a899fa8069792af59ba7d55ec5ca48a7ff0c13e2cfef0788615e261804f8c00c - dce_ast: 42203224e3e82e5422b8904fdb8da84b5a989dd6fb2c4e082692c781fd113dce + ssa_ast: 116af507db06dc9f9ceb8e4dc2ce544c7cfb3fdf0c9417b17cd801186440fb2e + flattened_ast: 87169b7618c1d1cbeda68fe3083baf93985032c2cd919a83c8e0738332ce6275 + destructured_ast: 896d7ded3f5793ee95fb2299dc92c963d2649bba1b224e0afdf5daf32be07dff + inlined_ast: 896d7ded3f5793ee95fb2299dc92c963d2649bba1b224e0afdf5daf32be07dff + dce_ast: e75680485d14426bb283628bf952be4e5e6fb4e282d87a77fe515e29f3156024 bytecode: 77991d7596edcef00041488b23dfbb364c0c979217f4de3a324d42d91ea28f5a warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out index 49efb42e58..12421a19a0 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aaaec423b2c439b4857751e7dec72e29fbe3cf863753d6f21e52c9d0f5e98558 initial_ast: 8a2ef43458ab6c1c4c83d28ee6db19005ac665303eff5fcc9493164f6dac584c unrolled_ast: 8a2ef43458ab6c1c4c83d28ee6db19005ac665303eff5fcc9493164f6dac584c - ssa_ast: b9a40d4fca578707c00b00da1ba3b9432d679b24d9f7d9a5502af9416614c50b - flattened_ast: 076ec28ba43eff76fdfdbdf736e46ef5a9d7648d9002df213cf6c43b8d1d56b4 - inlined_ast: 076ec28ba43eff76fdfdbdf736e46ef5a9d7648d9002df213cf6c43b8d1d56b4 - dce_ast: dc5b2825ddd87a5487acdf367ad874194099408b23c3f84ff67ed3ab2e452cac + ssa_ast: 3a1f963323d91572cf8aacefb65062e245a66aed80d78304965e21f797e4ce69 + flattened_ast: 61216ff2cb95b9bb6c7aa8a18208e2e8d45fbdbbd7d72690a60bc1700b01916c + destructured_ast: 698611adff33d73bafc72ca2cd985ad540ad4556c14599475fdc60ad252d2414 + inlined_ast: 698611adff33d73bafc72ca2cd985ad540ad4556c14599475fdc60ad252d2414 + dce_ast: 0c5ad07d5630f30c06029af8762f4716ed049c227e8295a6ca86a181af1af789 bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out index 7c5e1714fd..de7c7d6856 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f51b6c1660b8bb5b45ca5e05c303bf2fb92e47d575ff34c69abec002486452f4 initial_ast: 7807856ba739109ffcf5681c33c9432adecbefdc796bd62190f886cfd344aa09 unrolled_ast: 7807856ba739109ffcf5681c33c9432adecbefdc796bd62190f886cfd344aa09 - ssa_ast: 74a299505ce2c514da5218a5e89b71a1c42d776a45bfa8d3668988754f81841d - flattened_ast: 14b7700ef1d6477b81fd91545a114c1e320786e51915f000beb194bd1458b129 - inlined_ast: 14b7700ef1d6477b81fd91545a114c1e320786e51915f000beb194bd1458b129 - dce_ast: dfcd8d21708c8b753675e82a8bac7b47f6f12c33813e969ca03d0e68160d8d42 + ssa_ast: bd1982a257350dd24da7380fe9cf2d33a7d778790ad82ad9d59de8b842826298 + flattened_ast: 5f6907a50aef72f115012392b69679e79f8dd6a2823441dfaa7e0e6de8bd76bf + destructured_ast: 454878a878d283a526d99ad74185508f4cc492558a180e978fc7b2259831db63 + inlined_ast: 454878a878d283a526d99ad74185508f4cc492558a180e978fc7b2259831db63 + dce_ast: cdc24ab02a3ed68952398a9588718e4b9114553f6e47923ebeebaa83e5687446 bytecode: 5a8a82d9707b83f6fe1d6f317a88b89ec9d908cd30fde3658d4e465e4ddf88e8 warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out index 9861716d5a..fa4b6f5943 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 392b4afe780015c412cfb5e45a1b084b40873e9eda40e05ef94ab54aaadf8a3d initial_ast: 5f0e140137c5bd79aab1a905a1fda5f453bc590366a6031ab29ebbe087f09c28 unrolled_ast: 5f0e140137c5bd79aab1a905a1fda5f453bc590366a6031ab29ebbe087f09c28 - ssa_ast: 426002ff6490bac05f3f0e509d531945bb44d2f7585b3373a3586c9b1d6951f7 - flattened_ast: 8947d3c1ec5c510993b5db4106489cbed135aa199457e8ee5b13ca661c7b25bf - inlined_ast: 8947d3c1ec5c510993b5db4106489cbed135aa199457e8ee5b13ca661c7b25bf - dce_ast: c1e39ac84514c11d8b5b8c8b946e1e49bf972d649d76618d60a10b9fd6d9d394 + ssa_ast: df999ef4b0e92587cd03260a8cb85014fb4bfeb27466397453c1512864999daf + flattened_ast: dfc97c90c92f473543aefee7f2806f8f789a182a31d1f6a7c20498f3e1ccbd2a + destructured_ast: 6ee8037c85e9aab2ad8040791679d75b054bcf3a3512e61bb3ffeb9a66b85490 + inlined_ast: 6ee8037c85e9aab2ad8040791679d75b054bcf3a3512e61bb3ffeb9a66b85490 + dce_ast: 068908abc83dd61005d463cca230930e27b1071dce20d9d4b8d6a31b11e08bfc bytecode: 02daa75965baeaaad40c59c24d161cb796a2d833b10bd189c9bb2a38e8bf747b warnings: "" diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out index 9eec605728..348222bbfd 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3955df6eabb0bfb8f9df5a34a49c11bf3bf95325f88a0affd038b820e7541266 initial_ast: 6db9455410445c7caf20a73613801ae5a15a15ec9a4bb9fa77c0f9812a998a2d unrolled_ast: 6db9455410445c7caf20a73613801ae5a15a15ec9a4bb9fa77c0f9812a998a2d - ssa_ast: 4b0208c697434579ac3115b059429cbec7f182feec36625d124db54228b52295 - flattened_ast: 0d598d7086d051c40f6bc5a284a3293bb0af01e30e13bdfbc6fcb1fee278bce3 - inlined_ast: 0d598d7086d051c40f6bc5a284a3293bb0af01e30e13bdfbc6fcb1fee278bce3 - dce_ast: 8d5b07603dbda5de5f52c32e3b3a5db539328dbf7eb9071d269e55d749fa8ffc + ssa_ast: 5adbe0037fe323cd9d9a596885df92037a9d67d6156bb841d8fc4d5f579ae46c + flattened_ast: b28ba7365462326e8ad29e80400d1e4fae6670d531437250f4880621b222f61d + destructured_ast: 729cce77405ccffa46bf8915d34605044b0205731f2b4ea9f61b37909001b10e + inlined_ast: 729cce77405ccffa46bf8915d34605044b0205731f2b4ea9f61b37909001b10e + dce_ast: 9411d1d399ebe39daeac2a1d8c5c45d5865fb63d1405f55183718fb10d264657 bytecode: ea26232ca66042daf7a856c208ce760f7355068171ed4cde5da403f375ab7d65 warnings: "" diff --git a/tests/expectations/compiler/core/constants/group_gen.out b/tests/expectations/compiler/core/constants/group_gen.out index 03832158fe..1700205993 100644 --- a/tests/expectations/compiler/core/constants/group_gen.out +++ b/tests/expectations/compiler/core/constants/group_gen.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 004be6947e42ef7e19c6bb0e2e4defefd4612931de097f9f7cc13672c2d5511b initial_ast: b7e8e2b52de7837556555096d4e27d17bb0a79e78f3bd6859ee6ff2a5c202add unrolled_ast: b7e8e2b52de7837556555096d4e27d17bb0a79e78f3bd6859ee6ff2a5c202add - ssa_ast: 9ddd37ab21d28a0fdad0a29022e4c1a20fe250249e274c85288c946a8df610e5 - flattened_ast: a2bb059c5600270fc37dd391350a59e0f5b02bbd9e2c80ea534a332acc4b5cc7 - inlined_ast: a2bb059c5600270fc37dd391350a59e0f5b02bbd9e2c80ea534a332acc4b5cc7 - dce_ast: a2bb059c5600270fc37dd391350a59e0f5b02bbd9e2c80ea534a332acc4b5cc7 + ssa_ast: 5dc972e3649132dfc2f965c52e3912cd28d55cc3d5eedf4e6856340617c3d08f + flattened_ast: 0b7fe1cc0c4891ceefb55fa529af820a13fa156de9f40f52d3a4dfed74009b69 + destructured_ast: a6711f8afc0ba811f8b73f5b23332a34ebb14d1ff1a5b97103b68f83b7f3f90c + inlined_ast: a6711f8afc0ba811f8b73f5b23332a34ebb14d1ff1a5b97103b68f83b7f3f90c + dce_ast: a6711f8afc0ba811f8b73f5b23332a34ebb14d1ff1a5b97103b68f83b7f3f90c bytecode: cd542f776048c64f42b745a4be5ebe93fe7a8638c8d1692d3d774d491cadfe45 warnings: "" diff --git a/tests/expectations/compiler/definition/out_of_order.out b/tests/expectations/compiler/definition/out_of_order.out index c17bdf49af..771c4a450d 100644 --- a/tests/expectations/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/definition/out_of_order.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0bd3ec7f4ab111678ac11c6a821bc991f8c95fcb3f427a268daddad3bcad0081 initial_ast: 4a5540dd30c359fd6c91ef5dae89fd3b7114f55a89030227402568fab86bcf82 unrolled_ast: 4a5540dd30c359fd6c91ef5dae89fd3b7114f55a89030227402568fab86bcf82 - ssa_ast: 4ceb0b1da959932ae97a9986fd640864d368abc660b4e61f81280add06a04602 - flattened_ast: 1a2a8570659c7cac07e537cd16b337af29468bd16233960171803d66b3897cbb - inlined_ast: 1a2a8570659c7cac07e537cd16b337af29468bd16233960171803d66b3897cbb - dce_ast: 1a2a8570659c7cac07e537cd16b337af29468bd16233960171803d66b3897cbb + ssa_ast: 126f480afd3c08c77ab43cb37551e396b4a2f22397c1f5c80b1341d9baf90d4f + flattened_ast: 02e2436bace762d11334096f001955fba9184a1758e55a3859afdec8e74168fb + destructured_ast: 65ef3b478f17f1f9106ae40c17b5431f5c496536b8c8d2d1b365ddaf8eda4154 + inlined_ast: 65ef3b478f17f1f9106ae40c17b5431f5c496536b8c8d2d1b365ddaf8eda4154 + dce_ast: 65ef3b478f17f1f9106ae40c17b5431f5c496536b8c8d2d1b365ddaf8eda4154 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/examples/auction.out b/tests/expectations/compiler/examples/auction.out index 193d115b7f..e74ec94335 100644 --- a/tests/expectations/compiler/examples/auction.out +++ b/tests/expectations/compiler/examples/auction.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e5beedf2de1051bf79bd68bc02b5dd44795f9820959be7d9ee873d8b72510842 initial_ast: ad05c9c82621847ab999535bd9e5e969ff0063c46ea0fc52cbfeb2c7e89b0a00 unrolled_ast: ad05c9c82621847ab999535bd9e5e969ff0063c46ea0fc52cbfeb2c7e89b0a00 - ssa_ast: bf322296dc5be70527c9ae8e886e3ae4153212139f4b50f0f95be44cdb366a6a - flattened_ast: 6f37fb77fb79424127c08d1ec8c83a05824f823ec28c55f428eeccd5d2acb09e - inlined_ast: 6f37fb77fb79424127c08d1ec8c83a05824f823ec28c55f428eeccd5d2acb09e - dce_ast: 6f37fb77fb79424127c08d1ec8c83a05824f823ec28c55f428eeccd5d2acb09e + ssa_ast: 1162954e81a90c2c1b9d304f33c2e5eeab7e351e0e2b3c1aa5f19f852f031ef2 + flattened_ast: aca285ec3d197085c1af824ed42419e5d20004baacbd999559209f35682bc7cf + destructured_ast: a7d30650815d8cf33298ff1ed08489b5329f5db6f06ea0a3a69a92b737f49714 + inlined_ast: a7d30650815d8cf33298ff1ed08489b5329f5db6f06ea0a3a69a92b737f49714 + dce_ast: a7d30650815d8cf33298ff1ed08489b5329f5db6f06ea0a3a69a92b737f49714 bytecode: ae52309998de7e291d82e92418fdbf583b182ce12e710e844550132d8743380e warnings: "" diff --git a/tests/expectations/compiler/examples/basic_bank.out b/tests/expectations/compiler/examples/basic_bank.out index 25602c8757..ef7aebf3fb 100644 --- a/tests/expectations/compiler/examples/basic_bank.out +++ b/tests/expectations/compiler/examples/basic_bank.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 43626a3716be024faf15590d04d55131d4fa1d78bd54dc4981f35e45707272c9 initial_ast: a06f6f8927304627273280f932ba15dc3f7d8e904242493f61717b128a6e72ce unrolled_ast: 20d1d302f66a1cb85e9bf3dc7a5d012bec247d3551b0c10a49a70e2fc796efff - ssa_ast: d8d53d403c73a714642f0ee35c903fcc638f4c793b73f2b35e644d947b1076e4 - flattened_ast: 5c15ed355c98713e2a7d5572b417fbbd4a69f8f8bf7eae8df1b4c9c6b48d2f58 - inlined_ast: 8d4a721d1f302ce8f9c27536676f934b1fe483e4e8ed474e10e212c77b5c77bc - dce_ast: 8d4a721d1f302ce8f9c27536676f934b1fe483e4e8ed474e10e212c77b5c77bc + ssa_ast: e85c94134ed058badc9fba2cb700b759930ac3a9e9db0eea2cfc802983f3da0c + flattened_ast: 29b06f0b08cd35b2a6b692630dba0bcc94a0365f6fb0255bb4a7df59060c2e29 + destructured_ast: d8eee381ecca0a5265137c62b1cd8d8c10985bbc0a4d359cf0d4984a2e966aa1 + inlined_ast: 886dea376e1729735acaac7a3a6abf06625e4214efd5b4bb9c24fa800b974509 + dce_ast: 886dea376e1729735acaac7a3a6abf06625e4214efd5b4bb9c24fa800b974509 bytecode: 799c84f9a28bcdd1cb72269b56baae0905a136fc2d041745fb7ae52c9958b24e warnings: "" diff --git a/tests/expectations/compiler/examples/board.out b/tests/expectations/compiler/examples/board.out index 6429eb0108..38621c641a 100644 --- a/tests/expectations/compiler/examples/board.out +++ b/tests/expectations/compiler/examples/board.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 747ce7178d5222a287460a44a6af1dda0d4d2646d3dafca6a24f3a1c71de86ce initial_ast: 2e20990b0a2385e2f321d4485737c2568ad818f441c5ee1a23ad68c06acef7bb unrolled_ast: 6e94b6b14856d2dd7cabcf7dbb4e70c23432eccdca1d046e72d244f68923558d - ssa_ast: 389c7cd3ccaa01a60a62e43f54386b3a39fc6f8ee6c377093649476ab8de37ac - flattened_ast: 768fca8fce80ff2ae0f1798a8e9517b661d0f933790ab20b0858cca1bfb483ad - inlined_ast: 768fca8fce80ff2ae0f1798a8e9517b661d0f933790ab20b0858cca1bfb483ad - dce_ast: 768fca8fce80ff2ae0f1798a8e9517b661d0f933790ab20b0858cca1bfb483ad + ssa_ast: c9b38f93d8a7c694f191115f6146222f7195787f6d615fbf19f724c3f9c861d8 + flattened_ast: 39e43d3fa171b628ec0f7c40e77479d2051ee01e21e4604cab6487b3931f1b68 + destructured_ast: bf89ec5cda97c96de9fd3eee37ebeafffb4cdb54002030fea16ef57409e30fc3 + inlined_ast: bf89ec5cda97c96de9fd3eee37ebeafffb4cdb54002030fea16ef57409e30fc3 + dce_ast: bf89ec5cda97c96de9fd3eee37ebeafffb4cdb54002030fea16ef57409e30fc3 bytecode: aefb5e5a0f121ad8132981b01cc28fb487f749faf8306b7dc9d1b6c3400af180 warnings: "" diff --git a/tests/expectations/compiler/examples/bubblesort.out b/tests/expectations/compiler/examples/bubblesort.out index a99919135e..5a8e70d4a7 100644 --- a/tests/expectations/compiler/examples/bubblesort.out +++ b/tests/expectations/compiler/examples/bubblesort.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 0b3b66c75aad461aa2b0d08e37ed5f8a77e64f3f8e5acabea0756c668f1eb05c - type_checked_symbol_table: 6e6444535fece9552257053846d5c6fa2f1401509797f9a5d053944ac0b2d17a - unrolled_symbol_table: 6e6444535fece9552257053846d5c6fa2f1401509797f9a5d053944ac0b2d17a - initial_ast: c9c08f3a16ff0305772ab43fec43791862f73aadaed711fef7df61d1208ce8a6 - unrolled_ast: c9c08f3a16ff0305772ab43fec43791862f73aadaed711fef7df61d1208ce8a6 - ssa_ast: 56bf9285263f9e1173d099f6792405f735f4d462ed9b87057efc988b97c3d38e - flattened_ast: 8e182a0c9f33dba5ff5b0595f434f0f5da9dbea9b47209bfb45a63ca8cf91a40 - inlined_ast: 8e182a0c9f33dba5ff5b0595f434f0f5da9dbea9b47209bfb45a63ca8cf91a40 - dce_ast: 8e182a0c9f33dba5ff5b0595f434f0f5da9dbea9b47209bfb45a63ca8cf91a40 + - - initial_symbol_table: d137dd4bcbfd053998e7e155589834bbe09309f04f2a15e302165a3b73311867 + type_checked_symbol_table: db86d31cb7a5fe27722edc93b04b8a7fdbf872fba652ee19562c49cee7e0d134 + unrolled_symbol_table: db86d31cb7a5fe27722edc93b04b8a7fdbf872fba652ee19562c49cee7e0d134 + initial_ast: 1a85f36094e9dc52ec3e8e38d14d3149c0cd93b613d5f5e53c1ee7cca150f5f1 + unrolled_ast: 1a85f36094e9dc52ec3e8e38d14d3149c0cd93b613d5f5e53c1ee7cca150f5f1 + ssa_ast: bfb42ba2acc6fb4f3c125a8fef5f4816baafff071556e2303f77164bcad51545 + flattened_ast: ca74cd6d7b57265eeee8e3f9293542cb88d060a8218f5ba633c1ab0fa0428fd5 + destructured_ast: 90c484d89aafa5754c92054244d909a97270353b293b718e52efeb7a34b1fb1e + inlined_ast: 90c484d89aafa5754c92054244d909a97270353b293b718e52efeb7a34b1fb1e + dce_ast: 90c484d89aafa5754c92054244d909a97270353b293b718e52efeb7a34b1fb1e bytecode: 5adbf2387ed6209b64c8248741f74929f524771803ef803d5d9f9f8fb0d66ee7 warnings: "" diff --git a/tests/expectations/compiler/examples/core.out b/tests/expectations/compiler/examples/core.out index 5e8df7f198..cb2f59b611 100644 --- a/tests/expectations/compiler/examples/core.out +++ b/tests/expectations/compiler/examples/core.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 62064b98695465c42e87daf7f0309207f302e6890e4679419c52a29626df8766 initial_ast: 94c4398141e7f3238adf7f5832509691a6efd231590f773b6405ab55edd6feb2 unrolled_ast: 94c4398141e7f3238adf7f5832509691a6efd231590f773b6405ab55edd6feb2 - ssa_ast: 5c11e008390df82c767594c6eb0f26aad62835b1dbe6ec3d577807d6454c79cc - flattened_ast: a93c9cfbf00c7b32c6f2aba0e781cef1a8a8e7e1cd8035471a7d7deca0432aa6 - inlined_ast: a93c9cfbf00c7b32c6f2aba0e781cef1a8a8e7e1cd8035471a7d7deca0432aa6 - dce_ast: a93c9cfbf00c7b32c6f2aba0e781cef1a8a8e7e1cd8035471a7d7deca0432aa6 + ssa_ast: 40d6f894a4a242b19f2ff564ab34d06e5bfbf2fccfc4f440b4e707ea899b5350 + flattened_ast: da6f67938c72a10dcf6a803186c787cc7a67e3d11504b8855be1c4b7349e287b + destructured_ast: b73a7f9d486de836beafd55e4593b37b4f7a7407064c8c025b1fbd7548b5cf57 + inlined_ast: b73a7f9d486de836beafd55e4593b37b4f7a7407064c8c025b1fbd7548b5cf57 + dce_ast: b73a7f9d486de836beafd55e4593b37b4f7a7407064c8c025b1fbd7548b5cf57 bytecode: b83219a26865ebfabc32ab427527151e26f2ca352b2dcc09e37069e38a102eb5 warnings: "" diff --git a/tests/expectations/compiler/examples/fibonacci.out b/tests/expectations/compiler/examples/fibonacci.out index 3043345847..e0848005f0 100644 --- a/tests/expectations/compiler/examples/fibonacci.out +++ b/tests/expectations/compiler/examples/fibonacci.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 17fa7256866ce828b0d91c1e81d1ec1530a7a087f388972a92e44acf86a9c541 initial_ast: 69e2d2fef3de400d96d1d131711314a44d3992c2fd101b91710758119ad4b7ab unrolled_ast: 05df9b5f60cc5869a7857b1f627b24bb7a89ee3fc25e746beedd8e60da9634ae - ssa_ast: 240a4c53ae7850ab2ef256f24cfeaceaf26cd8b7890114dc90d411e948954fdf - flattened_ast: c590ec1030fcaa8878900ecf258651b7cc0c8cb4255540d759fb2093ff06ca21 - inlined_ast: a868d815f6490feb4d22f8012078b21dd9586c4b1f756d0cd04d20d481adca14 - dce_ast: 0b76d3fc5a8da8857f5477a8b170dff026057d86f28c8439815fa94077a66a3a + ssa_ast: 0b6ef1fffbbe67dc709a17523556018658b2c504d2f8d175bd164178d6996e9d + flattened_ast: 06d734e5eb80573de1e1c2f666670d329c6fe2f7daffd470d38fe818719807ef + destructured_ast: af447357158e2f76b29202126d7c2fb7c7367c4a11bb5cd27cfdf64a33aed79b + inlined_ast: d1d353434f8bd7da9f0efddf9486cff41eb5bf249ad545dcd7d442cf0a08dd01 + dce_ast: 776ef96a34ce43ca1638e968431686210ff1a99e2ac38f8d2ff17abd726fddee bytecode: 3b90abd4333a964993382d9f47ba381cdd732a342f8b28828b99870c6dfafffc warnings: "" diff --git a/tests/expectations/compiler/examples/groups.out b/tests/expectations/compiler/examples/groups.out index c2b76ef1f3..fc9435512b 100644 --- a/tests/expectations/compiler/examples/groups.out +++ b/tests/expectations/compiler/examples/groups.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0d9667b468a7a7ca301068a3069059f43dde7f176f1b3769cac505a500b66ae4 initial_ast: 84ed1c305d69d6b924fc8a35e61d475b731d26b380d8cb618a615b7408105a1b unrolled_ast: 84ed1c305d69d6b924fc8a35e61d475b731d26b380d8cb618a615b7408105a1b - ssa_ast: 6ee7be97ffe8873bae919ca9d1475fd52424371c3f5cf2f43a35a6dcf549265f - flattened_ast: abe06d4616586b06a44a82aebbec5e3388a545a0a2e01e8103035e84cd7b12be - inlined_ast: abe06d4616586b06a44a82aebbec5e3388a545a0a2e01e8103035e84cd7b12be - dce_ast: abe06d4616586b06a44a82aebbec5e3388a545a0a2e01e8103035e84cd7b12be + ssa_ast: 87f2cb9f2f502de4591cdd561c64d33bbf00de725d026e9708d44bba36308ae2 + flattened_ast: 44673b1cb4c36b809c480138187cebb56524804e63f9bbd414fb173726483890 + destructured_ast: e11619355ed7d02409364c4602819a377deaae3c645578f3e8ccf0084bb9d821 + inlined_ast: e11619355ed7d02409364c4602819a377deaae3c645578f3e8ccf0084bb9d821 + dce_ast: e11619355ed7d02409364c4602819a377deaae3c645578f3e8ccf0084bb9d821 bytecode: 45196976b60c465ad542b11fe200c16d15959a4bf4d4a48f348aab42df3407ef warnings: "" diff --git a/tests/expectations/compiler/examples/helloworld.out b/tests/expectations/compiler/examples/helloworld.out index 27f91dd1f4..417e1b124f 100644 --- a/tests/expectations/compiler/examples/helloworld.out +++ b/tests/expectations/compiler/examples/helloworld.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 85f3bc07ec5b792bfc41647eb0d97fc76c79524ffc6362a21e12c46ec68b52f7 initial_ast: 215fcf9ac9e3e7262372a2b6c21b3c5641dc1c6e6baa95692d55b4ba6b5c3ca8 unrolled_ast: 215fcf9ac9e3e7262372a2b6c21b3c5641dc1c6e6baa95692d55b4ba6b5c3ca8 - ssa_ast: 638dd07bf786ccb52f3fe6c36986a8fd5bc4d28eabc29d6b50c185c952ab4a69 - flattened_ast: f67187a0f4fd9384f74b86683e73c7534a4928d152e65ea023ed2cd2006b5ee7 - inlined_ast: f67187a0f4fd9384f74b86683e73c7534a4928d152e65ea023ed2cd2006b5ee7 - dce_ast: f67187a0f4fd9384f74b86683e73c7534a4928d152e65ea023ed2cd2006b5ee7 + ssa_ast: b60e2a6314ce756225d50032160446f2a2b1f96000145d79214157f287e0eee0 + flattened_ast: 41648da4e1d1a145873488356583eacff3722b7f7c1dd6a6a5cb66ff507852ee + destructured_ast: f87976cbc15b924721b95e28ded83b54c41d7293a98a04eeef39f1dc48dc6e91 + inlined_ast: f87976cbc15b924721b95e28ded83b54c41d7293a98a04eeef39f1dc48dc6e91 + dce_ast: f87976cbc15b924721b95e28ded83b54c41d7293a98a04eeef39f1dc48dc6e91 bytecode: 774672545059d524d17b2709ca4d2f66dcc7fca13c4199ff8b5bf4a03d4d6c6a warnings: "" diff --git a/tests/expectations/compiler/examples/interest.out b/tests/expectations/compiler/examples/interest.out index f70bcf3f14..bf4282bca3 100644 --- a/tests/expectations/compiler/examples/interest.out +++ b/tests/expectations/compiler/examples/interest.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 26f0e24e0ac333ba239d85ed8293638f79ece995b09d84d936c2256c8882e8e4 initial_ast: eb52b2bb9bb2ee20254f62fb7af21e4af066dd819934568f042e39d75a0e5ddc unrolled_ast: 8a410e2833772602dbf1effc835230ecdc651e87b959ce24519e436a99875306 - ssa_ast: f9e5904f7cf265db9fefc170ee1612810ebc3a07478cb41de901d2c0cb3769b2 - flattened_ast: 28f4b3b5eca4b8e248dd53164db4a4a97fd9ff14116de74609cd7469deaee795 - inlined_ast: 28f4b3b5eca4b8e248dd53164db4a4a97fd9ff14116de74609cd7469deaee795 - dce_ast: 28f4b3b5eca4b8e248dd53164db4a4a97fd9ff14116de74609cd7469deaee795 + ssa_ast: 807f3f52c788ba6fa859b4fe6c1821c2c788fdfe0a4a7639b8982425cd26fb3e + flattened_ast: 59f2ce92289c5990a55b19412a56672737da90e19d3d9955d3b30097b37847ef + destructured_ast: 421b021a8e65708c1ea7fdf0b340133f84d0f678bb385da4a9fe29549609b775 + inlined_ast: 421b021a8e65708c1ea7fdf0b340133f84d0f678bb385da4a9fe29549609b775 + dce_ast: 421b021a8e65708c1ea7fdf0b340133f84d0f678bb385da4a9fe29549609b775 bytecode: 1425e7c87a38072c342ef9505090c0b039663ac1c5ce41632f999b376c81d348 warnings: "" diff --git a/tests/expectations/compiler/examples/lottery.out b/tests/expectations/compiler/examples/lottery.out index 2f75260b2a..d9edd4f7c1 100644 --- a/tests/expectations/compiler/examples/lottery.out +++ b/tests/expectations/compiler/examples/lottery.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 06a915845131cf88ed48bc6dd3e29263f3b405f1cfa33f826f7c357db2f4f7c3 initial_ast: 1302520bb45d2fa0aab61b9bd44f14ba0fd693cbe38eb53f07409da99005966d unrolled_ast: 1302520bb45d2fa0aab61b9bd44f14ba0fd693cbe38eb53f07409da99005966d - ssa_ast: 8b96d4cc8b07b936f4fa9115a20ccb7b8769fe14949ad0d1b1b8ae487d2796c7 - flattened_ast: d75c2f006febf5806c4b725c2b116cdd06bee753b79dec9ba1412932a7679e4b - inlined_ast: d75c2f006febf5806c4b725c2b116cdd06bee753b79dec9ba1412932a7679e4b - dce_ast: d75c2f006febf5806c4b725c2b116cdd06bee753b79dec9ba1412932a7679e4b + ssa_ast: ea12797f7e149be70770fb50f6195f0c52cfb8468c6fb61b7f05c9a3d794bdb9 + flattened_ast: f5f50603cd0eefc32c2299dc647b53390feacd45d2020167ed298208dc7e28cf + destructured_ast: 0193664ed21b214aa1fde2e0b7392cf21cee6db2dccdb311ba80ca6bb2a367a5 + inlined_ast: 0193664ed21b214aa1fde2e0b7392cf21cee6db2dccdb311ba80ca6bb2a367a5 + dce_ast: 0193664ed21b214aa1fde2e0b7392cf21cee6db2dccdb311ba80ca6bb2a367a5 bytecode: ec9d10d78356538cf9f94bc46c20c33001a05100906259e217eeea2cfd0c4a66 warnings: "" diff --git a/tests/expectations/compiler/examples/message.out b/tests/expectations/compiler/examples/message.out index 4458d66b5b..b126dbac09 100644 --- a/tests/expectations/compiler/examples/message.out +++ b/tests/expectations/compiler/examples/message.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 609c7c92cd8ee3d49e174c7843d3e2a7514549a7032b37d0ff12a64c76593dbe initial_ast: 7471a4f053a48c08828f6c1d34a18a619e4b6328e88b54f4fd84c46f85152ac2 unrolled_ast: 7471a4f053a48c08828f6c1d34a18a619e4b6328e88b54f4fd84c46f85152ac2 - ssa_ast: fe24ca8ae0ee23b2fbd2c181caf4fc3661963993a27d310b3464d7b6d7b7987e - flattened_ast: 4a1b12297dafab0e4812f66d888fcda16c3cac616313379f5d2684f17e4180fc - inlined_ast: 4a1b12297dafab0e4812f66d888fcda16c3cac616313379f5d2684f17e4180fc - dce_ast: 4a1b12297dafab0e4812f66d888fcda16c3cac616313379f5d2684f17e4180fc + ssa_ast: db379d9805dfda5d06fd0c4e700ef6651da4e9e945d62eca588b9c2fbdba308b + flattened_ast: e3a6809503463327a8bf749cf82edd6a40753a1c9ec95b749b61374dadaf45c5 + destructured_ast: 76d5b5acf5a77ef5e6d7caa664180968caf3d3c10d04823edf985b1b2cf1f84a + inlined_ast: 76d5b5acf5a77ef5e6d7caa664180968caf3d3c10d04823edf985b1b2cf1f84a + dce_ast: 76d5b5acf5a77ef5e6d7caa664180968caf3d3c10d04823edf985b1b2cf1f84a bytecode: ecb647f74261a2c1212405edf2024aed89ab5e3c19353127dacdc9e31ccaf0f1 warnings: "" diff --git a/tests/expectations/compiler/examples/move.out b/tests/expectations/compiler/examples/move.out index 14e83fed7f..08c9e583c4 100644 --- a/tests/expectations/compiler/examples/move.out +++ b/tests/expectations/compiler/examples/move.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1d7d583684c95811cd86e4ed36c9d20ac015eef8804fa6f5a9a53b5648c5d0c2 initial_ast: 4357fc8b0995826f10cc79bf6d7f0b78709d84c7239c3b79f80ca4dc08c67758 unrolled_ast: 11278033786c399904992b13a52d17c5f5bf53c40b8910e9cf0b2c61b66feda6 - ssa_ast: 2b5a6e32bdc8ee3dec71797d4f78a99375b47527050489af8e443f705b9bff72 - flattened_ast: cf89927bf70acb448eb3c32ea837772d807dd80c884b956f204d0f59afd8c25a - inlined_ast: cf89927bf70acb448eb3c32ea837772d807dd80c884b956f204d0f59afd8c25a - dce_ast: cf89927bf70acb448eb3c32ea837772d807dd80c884b956f204d0f59afd8c25a + ssa_ast: 2fde04623cbbe8e721298c17e6e2004ae1ebf4d60e4150b3ce8d987edbc7c111 + flattened_ast: 306f8ae63437d145b2134bc23ce013acaf8d835aba7b8f0a54127dcfd88ba9b6 + destructured_ast: e58ba09e28ccabca9af26258a6a91a73f1586958b91999409866d2454b206e41 + inlined_ast: e58ba09e28ccabca9af26258a6a91a73f1586958b91999409866d2454b206e41 + dce_ast: e58ba09e28ccabca9af26258a6a91a73f1586958b91999409866d2454b206e41 bytecode: 6ea0a455c7cc5f2bd868d5780a7735c599fb95c99157997d156dce175d6c6e94 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzdebruijn.out b/tests/expectations/compiler/examples/ntzdebruijn.out index aff0acdd33..f9fdec1565 100644 --- a/tests/expectations/compiler/examples/ntzdebruijn.out +++ b/tests/expectations/compiler/examples/ntzdebruijn.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6fc7030e66362267a02c9f18db8b74c53ea08ea2ca5253e31876280f842bbeeb initial_ast: 05bbe4bc100bc7e2623e581746305cdfe693ae20ae3f69702927baf5993f39ce unrolled_ast: 05bbe4bc100bc7e2623e581746305cdfe693ae20ae3f69702927baf5993f39ce - ssa_ast: 30e2a58fedd9c7d000e346e234265ae30297fdde27e7808f4db5d41e4a638e59 - flattened_ast: 3824bc28647fa41a426bee6f69de0580ef440a11c7be78634cba2df8294357c1 - inlined_ast: 39935bc78613b0ea027807518b7c65117d1cfc3e4d5fd71cdc55362e3a48c695 - dce_ast: 39935bc78613b0ea027807518b7c65117d1cfc3e4d5fd71cdc55362e3a48c695 + ssa_ast: b28af3d53f064df95ab8324538d738f47e75dcebcd2c5124a5006c0581e583d8 + flattened_ast: 6c12e7d6e353c095bba92e0ae162fc5d3b9a9e16fe2e9116c896e6701c72685d + destructured_ast: 7c3748f9467215c09d4f140caa4a97733d09b079d47191dbf2d17000b5105c50 + inlined_ast: 3459082d86302b8b124a1a7913718374d79a0d718661eef14591da382fd5cd0e + dce_ast: 3459082d86302b8b124a1a7913718374d79a0d718661eef14591da382fd5cd0e bytecode: ecf52756cc54e0e43ccfeb4db8369ff820a309fd7061bfaad5dcf535b58782b3 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzgaudet.out b/tests/expectations/compiler/examples/ntzgaudet.out index 5061cda416..5cd5d4432c 100644 --- a/tests/expectations/compiler/examples/ntzgaudet.out +++ b/tests/expectations/compiler/examples/ntzgaudet.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 43b2c2bc2bbf080157719eeb8caf5ea38818968d841af9c0afc919f126c5b963 initial_ast: c383b9c4aade8a5a6cb11bb1e44c05c677600f66b9a47a84325a88ee1d636e3c unrolled_ast: c383b9c4aade8a5a6cb11bb1e44c05c677600f66b9a47a84325a88ee1d636e3c - ssa_ast: e5de7721e815d96e3677536fb6934f1165ee0a2302e556c4f03f9d98ce02668c - flattened_ast: 2b5c11b963b3777a377640fbeb4782676a20229c010817fe6b9951859c5ece68 - inlined_ast: 2b5c11b963b3777a377640fbeb4782676a20229c010817fe6b9951859c5ece68 - dce_ast: 2b5c11b963b3777a377640fbeb4782676a20229c010817fe6b9951859c5ece68 + ssa_ast: 636a869b10bb31312f7ca3855e7e09e03e55c4972e8f28b76c09f5295f554b9b + flattened_ast: 03ad45dd6e22d24b65aa71944d0f36ce1367de6e8d7432029bb3cc2faff9b540 + destructured_ast: 5453386390722f5032a35180bccd48ab41d85a849891df493c0f22b00e65589d + inlined_ast: 5453386390722f5032a35180bccd48ab41d85a849891df493c0f22b00e65589d + dce_ast: 5453386390722f5032a35180bccd48ab41d85a849891df493c0f22b00e65589d bytecode: 5fd0ec18707f7e6af93b8eacd72590b4bfd68559dba48ab95574a0b44a0b3313 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzloops.out b/tests/expectations/compiler/examples/ntzloops.out index 73a558fbaf..6f2f621279 100644 --- a/tests/expectations/compiler/examples/ntzloops.out +++ b/tests/expectations/compiler/examples/ntzloops.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d39137542d515795253080b89c3de2f4c309acfa5128c87f846c12894f0b0be5 initial_ast: 30f118f3d1b9fd23de3f7c6eddfed4d5be70a8d25694fa893b1e29b565595d30 unrolled_ast: 662ba40e53108717967c84c9bafdbe2d0058f7287e66915332067a09cdad616f - ssa_ast: c4eeb19d857db44508943841b14a1def1cac900efb73c32dd6e3caa8753a90a9 - flattened_ast: 6d49538df941a87355c8c0443fd796a2c8e3a0e87719151614c2c5e4d21feb25 - inlined_ast: 6d49538df941a87355c8c0443fd796a2c8e3a0e87719151614c2c5e4d21feb25 - dce_ast: ec1f59dfe92d045954edf839159a378cc069bc2f831c3b241ff40132c5fb2a3b + ssa_ast: 7cbb261b90ec6d32f86c86e630ee62c04adb9fbe065d3942dc390b515a8d07e2 + flattened_ast: 6a292c8d84efe2ec68a6babcdd5f5cd8ee7c3e6b963de7ce9964a7aec6e29949 + destructured_ast: d0f71a5f14c082c4fc7b9715985d4d097cd8922f2c766c746f4e0be4afd0b22e + inlined_ast: d0f71a5f14c082c4fc7b9715985d4d097cd8922f2c766c746f4e0be4afd0b22e + dce_ast: 608d1df826bf342914f339e3266463adc84cee2191f79d7867fe067d62dd40c3 bytecode: cca4637103b23653c5a99744693068186bc6d89052df73b09c1601c7f85f0eed warnings: "" diff --git a/tests/expectations/compiler/examples/ntzmasks.out b/tests/expectations/compiler/examples/ntzmasks.out index da56692b98..d6fdd0ef8d 100644 --- a/tests/expectations/compiler/examples/ntzmasks.out +++ b/tests/expectations/compiler/examples/ntzmasks.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2bc2527e6be1b1bd96422c2e900b5499da543b90c204064e7ebd1bc512d3ba72 initial_ast: 76548383ace30e4527175e9cde52aa297711fcc015072b1b86c218e67b0b0436 unrolled_ast: 76548383ace30e4527175e9cde52aa297711fcc015072b1b86c218e67b0b0436 - ssa_ast: b2b15d03897c27c9bac0d0ad68db52a0a6e62c7fca584e5c9de53cd533e3b9b2 - flattened_ast: a275efffebeb89c9f1ce03375b9b7bf549b80fdcd293bd82573e9b039768a90c - inlined_ast: a275efffebeb89c9f1ce03375b9b7bf549b80fdcd293bd82573e9b039768a90c - dce_ast: a275efffebeb89c9f1ce03375b9b7bf549b80fdcd293bd82573e9b039768a90c + ssa_ast: 1407b2a19ab0121c98243fb423269147fa3ce64f4741ad69a30a6bb655096022 + flattened_ast: 83cafe5b4a01eee2a470a6264268c0032ce448fafe7a65766f8adb4359536803 + destructured_ast: 82f4738b8f761fac3ca5eb15291a92f928054f8dff80e87012f03d3424ddbdc7 + inlined_ast: 82f4738b8f761fac3ca5eb15291a92f928054f8dff80e87012f03d3424ddbdc7 + dce_ast: 82f4738b8f761fac3ca5eb15291a92f928054f8dff80e87012f03d3424ddbdc7 bytecode: 9aba49a906bfc3f931cb314bd970e04dc8b74966ec2888efecc4f0f8795dc368 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzreisers.out b/tests/expectations/compiler/examples/ntzreisers.out index 840fe8272a..4dff799580 100644 --- a/tests/expectations/compiler/examples/ntzreisers.out +++ b/tests/expectations/compiler/examples/ntzreisers.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b110a5a983eb6fd43a1cac00cb8ceef1362325e636f95bad64e663c6a4e1636c initial_ast: e3973d029cb91e15fbeb95807eb44ac4de7471dcf20b5dba8af5b5e8cc626e1b unrolled_ast: e3973d029cb91e15fbeb95807eb44ac4de7471dcf20b5dba8af5b5e8cc626e1b - ssa_ast: f31f5d2e89184fdf342c7f3297b5126c1000135bed0f6e55c753dfdc6cdff896 - flattened_ast: 8629cbce5a390eceea42317b8d0f89c957fcb1e67dddd99a25daeee589407327 - inlined_ast: 9260847e6d80fbb8fc7c3de0793590263ba4829be9d859783543c08e2c179a80 - dce_ast: 9260847e6d80fbb8fc7c3de0793590263ba4829be9d859783543c08e2c179a80 + ssa_ast: 5d2cc6c2b6e353f60e28e02850cf1a199795edad01e16bf3e964d5eda1da7517 + flattened_ast: d65566dc834722f85e36861abbdb7f44edff655abd2080bd4d7d794d07fba23f + destructured_ast: 706266a2d166eaf65579283356c625ba1a2388afb8bf842e510600c4ae85e25e + inlined_ast: 63d23a267252134a3db91fee736d7a86fa9394429e58f8708eda0a776ecfb7da + dce_ast: 63d23a267252134a3db91fee736d7a86fa9394429e58f8708eda0a776ecfb7da bytecode: 38e21ed198874357b0a83d451d9498a59838a7f5ad979d372a405b5e6e5a4e17 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzseals.out b/tests/expectations/compiler/examples/ntzseals.out index 75173ba4d7..728351af32 100644 --- a/tests/expectations/compiler/examples/ntzseals.out +++ b/tests/expectations/compiler/examples/ntzseals.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0dadd9818492643796a90c2f80db881d5c064129cc5568e83c2b8a6449a06d48 initial_ast: 7583fb00fc59ef76bcd830dceae725d25c90c779e499382dacd4e0e0652f1172 unrolled_ast: 7583fb00fc59ef76bcd830dceae725d25c90c779e499382dacd4e0e0652f1172 - ssa_ast: 22614f22bfdbc297a2247f5003c7afdbcfae83fae8fe86cc61c615bb6100fa7a - flattened_ast: 3a2de38070a5d6c906d795f791352ea16a38fb15293f144c670e97d5d6c15215 - inlined_ast: b39a8b59042282332d50946b21f83dac8465b7d0884853c6e85e4b03f646d167 - dce_ast: b39a8b59042282332d50946b21f83dac8465b7d0884853c6e85e4b03f646d167 + ssa_ast: 0ebda19da79d1d4f113507a77d7f34038e7d7a526839f6c0ff1d79063aebc536 + flattened_ast: d046d8db0a3245229f358b21cde306c6601edd89e0941c91305119f11b4ce5d2 + destructured_ast: 7ca28dda3930c6e0474db009b2a8d666e9b7a79c5b794215de158afff3b39db8 + inlined_ast: 88e48fa93bee7c03b687bc5bf5d7c6de990778e52a06629ceacc9f6eb4376ffe + dce_ast: 88e48fa93bee7c03b687bc5bf5d7c6de990778e52a06629ceacc9f6eb4376ffe bytecode: d2f0d0e9487f69b3c04cf702ee2d6a8d780ed928cee6d3d05a0fe423b3ad3c6b warnings: "" diff --git a/tests/expectations/compiler/examples/ntzsearchtree.out b/tests/expectations/compiler/examples/ntzsearchtree.out index 1c44a3265c..c8561ea406 100644 --- a/tests/expectations/compiler/examples/ntzsearchtree.out +++ b/tests/expectations/compiler/examples/ntzsearchtree.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 855362a5b53301e7be7e73b5e1cb1790656c759448ca73126a18c9eae3a05633 initial_ast: 890bd5c1bcb5de4dbb487eb54334e2024d6838be9401b8c4acaefaa761f7febd unrolled_ast: 890bd5c1bcb5de4dbb487eb54334e2024d6838be9401b8c4acaefaa761f7febd - ssa_ast: d829c4d4384855ec80603ed0dd30fb6023e17fdb403a2689f24565e112d164d9 - flattened_ast: d0106fae640ac66433bfe260c897b69ef44bc4b567a0caed76f808075bd9c3ba - inlined_ast: d0106fae640ac66433bfe260c897b69ef44bc4b567a0caed76f808075bd9c3ba - dce_ast: d0106fae640ac66433bfe260c897b69ef44bc4b567a0caed76f808075bd9c3ba + ssa_ast: 6589dc08e03001168bd350596bcd5f2a98a4f649fe1e89833472bee240c07d77 + flattened_ast: 581fa426cf68d7e3956e823eedbd3591a162e421dbd06f172b6b4a57ef2fe9b4 + destructured_ast: e9dc46fa8f194c507da6e8f67dc89feb93cb1d4956ab97322430e1135af716cf + inlined_ast: e9dc46fa8f194c507da6e8f67dc89feb93cb1d4956ab97322430e1135af716cf + dce_ast: e9dc46fa8f194c507da6e8f67dc89feb93cb1d4956ab97322430e1135af716cf bytecode: 3516104be238849345d986d90ff7aa2bc01fe31609f34330e279eef25edb7752 warnings: "" diff --git a/tests/expectations/compiler/examples/ntzsmallvals.out b/tests/expectations/compiler/examples/ntzsmallvals.out index bb549f6f9e..48c83507d9 100644 --- a/tests/expectations/compiler/examples/ntzsmallvals.out +++ b/tests/expectations/compiler/examples/ntzsmallvals.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 111dfeefe3f3681a199232158fb3a42944963c6485027309fef2aec13885b575 initial_ast: d8b618a423bf8587409a0498612ee1bef5cd42b53d4204220e632e504d287ea1 unrolled_ast: d8b618a423bf8587409a0498612ee1bef5cd42b53d4204220e632e504d287ea1 - ssa_ast: b00ddfa8f579e33b9363a3f9dd443eca9668cd8b9a8d26b7d97bd8f46e49d234 - flattened_ast: babff68bdd0b5b7b663f1b03f6d6dfb9e62734fad0d9d89e8c882f7cba56f552 - inlined_ast: babff68bdd0b5b7b663f1b03f6d6dfb9e62734fad0d9d89e8c882f7cba56f552 - dce_ast: babff68bdd0b5b7b663f1b03f6d6dfb9e62734fad0d9d89e8c882f7cba56f552 + ssa_ast: 20991a7dc2a744fe765b7f454c70d13f5b5543d328d68932e1993baaa80df1c3 + flattened_ast: 2e8ad5cb9dc7809a6543a21fa72e5aea2a1fa7714357d09f42091d6eb215b624 + destructured_ast: f26dc535bd601030eb728d40688d8f1c733e093b50a98f9850f3fe6993bba0c7 + inlined_ast: f26dc535bd601030eb728d40688d8f1c733e093b50a98f9850f3fe6993bba0c7 + dce_ast: f26dc535bd601030eb728d40688d8f1c733e093b50a98f9850f3fe6993bba0c7 bytecode: 447867c0cff55fb14313d71ddd48f1a8fbee509cd357304c12fba830841dcd09 warnings: "" diff --git a/tests/expectations/compiler/examples/simple_token.out b/tests/expectations/compiler/examples/simple_token.out index caf57db0b9..9a29e845af 100644 --- a/tests/expectations/compiler/examples/simple_token.out +++ b/tests/expectations/compiler/examples/simple_token.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 6c80312275821a59bc69db4af07e9d56c4e37f88c0cc3fab40555c8f579ed7a2 - type_checked_symbol_table: fd7dd218b4e95be072137897339897ed87303935857da9c64cf7d1ed149963e5 - unrolled_symbol_table: fd7dd218b4e95be072137897339897ed87303935857da9c64cf7d1ed149963e5 - initial_ast: 1947e4a44f4bd95145e667b0ec2abea03f939249c9442dce95a5d5e2b925afc7 - unrolled_ast: 1947e4a44f4bd95145e667b0ec2abea03f939249c9442dce95a5d5e2b925afc7 - ssa_ast: 0fe3d21f06d2dfe7eb6aa7204b52194cac046c679ca99f140126a11b1fb00dc6 - flattened_ast: 8cc95026511d90a0bd20eb0cd015313fc6bd516c9ee92d72c0c4220d99fd9d37 - inlined_ast: 8cc95026511d90a0bd20eb0cd015313fc6bd516c9ee92d72c0c4220d99fd9d37 - dce_ast: 8cc95026511d90a0bd20eb0cd015313fc6bd516c9ee92d72c0c4220d99fd9d37 + - - initial_symbol_table: 2648c3eb3bde543e6c8b367505c99cb62bf0a11f89b4a5a5fd2039a3795615ac + type_checked_symbol_table: 52c98fbb90b6aeb3491f8e93bde07b3f9ff58ad505da2736d1dbad7df74c6ebb + unrolled_symbol_table: 52c98fbb90b6aeb3491f8e93bde07b3f9ff58ad505da2736d1dbad7df74c6ebb + initial_ast: d093591c90b170ddb4ac0776bb0f75e9c570c77ae96a7d9e0199a8882d43c365 + unrolled_ast: d093591c90b170ddb4ac0776bb0f75e9c570c77ae96a7d9e0199a8882d43c365 + ssa_ast: 6fd2c29443528260107fb80b902fc69fdbfddfabd95f0deca1b567110cf63978 + flattened_ast: d2db7ec6b51a84f5f4330b7e809add2b2ae0a11df982fc5076c04659a2a9a959 + destructured_ast: 238e1c0e2bff62cee2ecd5130555ae6ca31ef82181f05acad6b7a57f5063a664 + inlined_ast: 238e1c0e2bff62cee2ecd5130555ae6ca31ef82181f05acad6b7a57f5063a664 + dce_ast: 238e1c0e2bff62cee2ecd5130555ae6ca31ef82181f05acad6b7a57f5063a664 bytecode: 1fb1eb1a0d28634e2e0ac374be81010d733d3749be3b2700cead1f03266ddfb0 warnings: "" diff --git a/tests/expectations/compiler/examples/tictactoe.out b/tests/expectations/compiler/examples/tictactoe.out index 7d531bb3ae..565e6da5b7 100644 --- a/tests/expectations/compiler/examples/tictactoe.out +++ b/tests/expectations/compiler/examples/tictactoe.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 78ce127f7f2fc99bd38f8318178792954ec9808fe9d12309468678a25826d36b - type_checked_symbol_table: c9c4c5a5fa38a61a5e73ddb30201f8b8d17bffc3ef2529baad0da63ab604112d - unrolled_symbol_table: c9c4c5a5fa38a61a5e73ddb30201f8b8d17bffc3ef2529baad0da63ab604112d - initial_ast: a3a9f85099d0563882aebe5bc820f8462c3884ff45f284607138d07a83daa5e3 - unrolled_ast: a3a9f85099d0563882aebe5bc820f8462c3884ff45f284607138d07a83daa5e3 - ssa_ast: 72c4dc86b289d9b30727779f6e5b87873b196cc67cadf035a18f0d1f8bc26d4f - flattened_ast: 7cc9dc7bacb1ca60579310bc49fee47f7de44bf691658e23ad1c3d9a92dca888 - inlined_ast: 7cc9dc7bacb1ca60579310bc49fee47f7de44bf691658e23ad1c3d9a92dca888 - dce_ast: b5e568c306504800264b1d8ab155b84195cbf3fdbba1a28b14cd329907ba4173 + - - initial_symbol_table: dde2ecb8c1a49f191268b8340d4428d62ffd5bd15635cd3b1e382c63b14c3661 + type_checked_symbol_table: 8dc3be60ac2c9d25fdbd4de88a04a731a2300dad0a3ae4ae5a9605f66d270636 + unrolled_symbol_table: 8dc3be60ac2c9d25fdbd4de88a04a731a2300dad0a3ae4ae5a9605f66d270636 + initial_ast: 58725e686ad59d74cb89ed7290e2715746a72d1543500abc21e46eb915a3ca11 + unrolled_ast: 58725e686ad59d74cb89ed7290e2715746a72d1543500abc21e46eb915a3ca11 + ssa_ast: 78680510c3a2024e6c8cf21ca32cee8ab8d3e8c6b8d97d2c033f138cd6f1b624 + flattened_ast: 1b7a3612fcd1d2785446e8110f5308126f0701e7e4a413acf5cbdf661aae5207 + destructured_ast: 58088e36f24030e3d884e63572c559bfb90f607f85ce521a83c3a1ca3966403f + inlined_ast: 58088e36f24030e3d884e63572c559bfb90f607f85ce521a83c3a1ca3966403f + dce_ast: c42502d602e73538053aede38f192d7247e5c7bbe223fb60ca21fda945c55d6b bytecode: 82d12cfea48eff976f9f70a6846c7f25870209fc3edf10b45b5f862a25ad3f40 warnings: "" diff --git a/tests/expectations/compiler/examples/token.out b/tests/expectations/compiler/examples/token.out index e1ae483455..f1b0f80c72 100644 --- a/tests/expectations/compiler/examples/token.out +++ b/tests/expectations/compiler/examples/token.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 07c6e40ad65d0970f67fd6b5106891b4a74d5b924e63a5104926f5031f64e92c - type_checked_symbol_table: 91f8f64294cba62a1d20f39003abcac35056de648a8bee74a217846f94d9614d - unrolled_symbol_table: 91f8f64294cba62a1d20f39003abcac35056de648a8bee74a217846f94d9614d - initial_ast: 0b121e536cfdc9c7a48cc2b0937b7a0013a9ebd828c236c52350aaa4b5ac40dc - unrolled_ast: 0b121e536cfdc9c7a48cc2b0937b7a0013a9ebd828c236c52350aaa4b5ac40dc - ssa_ast: 8ace2aff7a1c6ccc8a1b3947db80c60b38387fb9da4686a0b3b77c3cf542c92d - flattened_ast: 651aba0915701ac8895c616806c27129524a4d21d6bbbea6b8c9e25166fe2115 - inlined_ast: 651aba0915701ac8895c616806c27129524a4d21d6bbbea6b8c9e25166fe2115 - dce_ast: 651aba0915701ac8895c616806c27129524a4d21d6bbbea6b8c9e25166fe2115 + - - initial_symbol_table: 19941d0ec5dd4e944fc642479f6f6918fd96c7e818fdc242a88e6127466c9cb7 + type_checked_symbol_table: b91ae02b66efb6a93053d9bf3d29990c3560dc5bfc399a97f753be3dfae0ec9a + unrolled_symbol_table: b91ae02b66efb6a93053d9bf3d29990c3560dc5bfc399a97f753be3dfae0ec9a + initial_ast: 4830e691f1aa1d93207c126e2bf87820e38b71cd5297b2686cacfdae7d6b82dd + unrolled_ast: 4830e691f1aa1d93207c126e2bf87820e38b71cd5297b2686cacfdae7d6b82dd + ssa_ast: ec184ed8263b02ddf7d2a529de6e8ef2988fa7d94eed7266b3f433e3f2633ee4 + flattened_ast: 2d8d1c7dac80ba61250426d0e21e7f3b82049cce65553f133bca7ae0702dead1 + destructured_ast: aac539832c55d5718b76e2de99bedd8afa67c232e5ff6a2d26d48f52482170ae + inlined_ast: aac539832c55d5718b76e2de99bedd8afa67c232e5ff6a2d26d48f52482170ae + dce_ast: aac539832c55d5718b76e2de99bedd8afa67c232e5ff6a2d26d48f52482170ae bytecode: 379643d6f93f6040c0bb64ea96345269a23d6fb23fa3eae46ceb8e9ea9c73f9a warnings: "" diff --git a/tests/expectations/compiler/examples/twoadicity.out b/tests/expectations/compiler/examples/twoadicity.out index 6a2f8a49a9..f0d1e1669b 100644 --- a/tests/expectations/compiler/examples/twoadicity.out +++ b/tests/expectations/compiler/examples/twoadicity.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 4878dad9fe96fe726324c84079adc226aa6236496cfb430578f6bd86c18b8a77 initial_ast: eaee58bab7d93e255f0186e47b5f01fffdd83960c99baf10280198d89dac5053 unrolled_ast: e503a48a187c5b091b20378705e2ad2d15888509b8331efb10db0375b14c3744 - ssa_ast: c3564cf44256615a889ee8ca9f5a20e64767cd371b34bbeef0b20154be54ff94 - flattened_ast: 451d29a677cff61f512daed5a4a57ad1fc908a2626a40d6b8b5eb469a76b040d - inlined_ast: 87e5072b7c415f94e1afa7ed39ebd54b76f3fd3dfdf38c0419ff8f14481888df - dce_ast: dd5f1d0d7057a659f430835bd7b2f9e6e2f80b7b2c6d6231d5208e8c222663ca + ssa_ast: 974d6e872f2b8c44ea7c75141600c2f4a1006580c295f82a0a58a80e3d5eb66f + flattened_ast: 4f8ec0322c3e740adb1bf85f2c46cab1fc8a5295ef9ad615acd7edd5c9e3e822 + destructured_ast: ece9edb9838803a03bef14d9840dd1226ab21a5d12fd77769a1b166251b5620e + inlined_ast: 95c3568b11f93c44dbdea75cc65d5793f2715103d526975ea5207cecec4f7fe5 + dce_ast: 6e331afb847b2275ca307b930485e1aad5f52e72842d7924f5ec3e98fa0e515c bytecode: c5073e255b7504fbc368079e634a99935c6c645c9db6830212e2c6077f8ebf3f warnings: "" diff --git a/tests/expectations/compiler/examples/verify.out b/tests/expectations/compiler/examples/verify.out index d5ea8ede34..3c7866b17d 100644 --- a/tests/expectations/compiler/examples/verify.out +++ b/tests/expectations/compiler/examples/verify.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 048988eaf02278ff8d30e63453a12b099713d6c7261e5e78275158c2b765cf01 initial_ast: fe8ef76df1606381214f6e54fafeffbf3bb88362238e6775c4560f3b9bdb278b unrolled_ast: fe8ef76df1606381214f6e54fafeffbf3bb88362238e6775c4560f3b9bdb278b - ssa_ast: c49b7aa33cbe8313a44300676a45eed2159ed0ffe60dfd492feb94deeaeac0ee - flattened_ast: b2a32d6a298c3335f4d5fd94f9429c833e3d5ceca6512dacc0064a1d93fa62a4 - inlined_ast: b2a32d6a298c3335f4d5fd94f9429c833e3d5ceca6512dacc0064a1d93fa62a4 - dce_ast: b2a32d6a298c3335f4d5fd94f9429c833e3d5ceca6512dacc0064a1d93fa62a4 + ssa_ast: 61c504f228ca8981ff812c925e19a9e4777bb75fe27fd0f920b3104ce66638a9 + flattened_ast: 168ecb1fcf60ee9df9c2e5e2a9920899afdb3d98de7eed453ea3e0547261ba0f + destructured_ast: f8204859c983326c1eeaebcb0b51f78e71c349df723ffdc5110fa4d911c7d708 + inlined_ast: f8204859c983326c1eeaebcb0b51f78e71c349df723ffdc5110fa4d911c7d708 + dce_ast: f8204859c983326c1eeaebcb0b51f78e71c349df723ffdc5110fa4d911c7d708 bytecode: 153cfd2616e879c311c136713624e83ef42642241ffebf540e308a29a610b058 warnings: "" diff --git a/tests/expectations/compiler/examples/vote.out b/tests/expectations/compiler/examples/vote.out index 5b53efa1f0..0e8eed0df9 100644 --- a/tests/expectations/compiler/examples/vote.out +++ b/tests/expectations/compiler/examples/vote.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1ffc999a1854e9e7698468455416d3e4a8633b1295681d4598ec850b49e41cc8 initial_ast: 138da847ee27c757abc8cac45d9794e9829b8a7328a78544d6799d05676ba7e3 unrolled_ast: ad8b0114b13e2c37074e0e5c1ea1a8388b2d68566e7d630fe97bdbb428962bf1 - ssa_ast: f009ad0b0108aa940832434858c710fdeba501cb56a64b874aa7523f6ecb773a - flattened_ast: ede7fa712e7335d5cf6cf2245cfaaa8b7b625e0682c2d42450b32d032a72e6eb - inlined_ast: ede7fa712e7335d5cf6cf2245cfaaa8b7b625e0682c2d42450b32d032a72e6eb - dce_ast: ede7fa712e7335d5cf6cf2245cfaaa8b7b625e0682c2d42450b32d032a72e6eb + ssa_ast: f35f610097094b262fd5a39394b82f6f33d654a776a377b8ae4ef5936170a51b + flattened_ast: 6ae59ad1fd41f768f2e4915e440f500af80195001c339e03f2b7f3b3ad55de51 + destructured_ast: 53d6e3e25684285398721c64652be22a554d65ef68916673bae9fe7ee036e86f + inlined_ast: 53d6e3e25684285398721c64652be22a554d65ef68916673bae9fe7ee036e86f + dce_ast: 53d6e3e25684285398721c64652be22a554d65ef68916673bae9fe7ee036e86f bytecode: 0c73fbf3a08f7b89b82fc3189771704f58740f37c41f9c5aa7aef2a808badf9b warnings: "" diff --git a/tests/expectations/compiler/expression/cast.out b/tests/expectations/compiler/expression/cast.out index a934e71cf0..bc50e9bf58 100644 --- a/tests/expectations/compiler/expression/cast.out +++ b/tests/expectations/compiler/expression/cast.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6723b5183199a601f94753b3e55b3d90466a31565a781acdafd37a5996bfec10 initial_ast: aba256819b8839a5bae608e66753aca7a431c338a77cef899177dbee2f1263b0 unrolled_ast: aba256819b8839a5bae608e66753aca7a431c338a77cef899177dbee2f1263b0 - ssa_ast: 411e1ec223871f77a1a805220a14b609d8af456623a4feab3fec63b1ebd28d7f - flattened_ast: a3cdf6c9d5558a93a189af630d02f6974df9bb8a49308d3242c2357ca2fdc9af - inlined_ast: a3cdf6c9d5558a93a189af630d02f6974df9bb8a49308d3242c2357ca2fdc9af - dce_ast: 8e0316867110246bd0469432aed20dee275845c696f9b53b6c655670f2d398db + ssa_ast: 11d6ad8eaeb650584980917cd81be27541de44efb4667f2876e08c5eb9e44065 + flattened_ast: 2cece0fdbb957024ef56022cece82127c114382ed8932d8922b647b5c5e60ffa + destructured_ast: ef6f53af0e71820e31beaf437fb24760e0f782cb60df4f91f6b624e10e371423 + inlined_ast: ef6f53af0e71820e31beaf437fb24760e0f782cb60df4f91f6b624e10e371423 + dce_ast: b11c8a9d199cbac38faad79a194f128b95a0ca0ef8663beff9468e89697747b1 bytecode: 3c8ea2338433747c1805ff0086031f7be0d253cf25b173de2f145945fdbf2c98 warnings: "" diff --git a/tests/expectations/compiler/expression/cast_coersion.out b/tests/expectations/compiler/expression/cast_coersion.out index 4d6df6dc40..649867de7b 100644 --- a/tests/expectations/compiler/expression/cast_coersion.out +++ b/tests/expectations/compiler/expression/cast_coersion.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 23fd8b146aa5609587a3002939ae4f1f6879dc75f750090d19d6caede01bf01b - type_checked_symbol_table: 2b3bbcf2f843dec655c281dbe24abdaa76bb98697eb7cdaff61a968e9ff37531 - unrolled_symbol_table: 2b3bbcf2f843dec655c281dbe24abdaa76bb98697eb7cdaff61a968e9ff37531 - initial_ast: bf5c8c0d5a3520ddf64e1d3b5108265bd4967bf83b10252c4b4c8bc9f37ffdf2 - unrolled_ast: bf5c8c0d5a3520ddf64e1d3b5108265bd4967bf83b10252c4b4c8bc9f37ffdf2 - ssa_ast: c935da403925b6a862e76b34ddff6f610cdfbe302e8d1f2db85e935a045fffed - flattened_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d - inlined_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d - dce_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d + - - initial_symbol_table: 89d449785a0dd287784c79fd653ea04c2d2491c2a16312dcec237a0f3eec3f8f + type_checked_symbol_table: 7a8a99623648061cf40fa67292a1e702bd34495e264b4a2cd040f085f7079607 + unrolled_symbol_table: 7a8a99623648061cf40fa67292a1e702bd34495e264b4a2cd040f085f7079607 + initial_ast: 7193c99195e4612207530eafb9b2a77df043e69599f7fd2b70e4997f36f86179 + unrolled_ast: 7193c99195e4612207530eafb9b2a77df043e69599f7fd2b70e4997f36f86179 + ssa_ast: 3ee408c0145ae1c18f8dffb0c67aeda6a918b98b02653bc6ec1e6ebb561077f6 + flattened_ast: cb8264cd4b5c166aa434e64811f0b548ce235c8b19c719c881eb1d270918c1ad + destructured_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec + inlined_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec + dce_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec bytecode: 675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1 warnings: "" diff --git a/tests/expectations/compiler/field/add.out b/tests/expectations/compiler/field/add.out index a67edbaaa1..90e397b321 100644 --- a/tests/expectations/compiler/field/add.out +++ b/tests/expectations/compiler/field/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e399fb22c524abb01cf5978cccde4994f93846954316cc972df0143bd55df94f initial_ast: 3544737fefac41a335c97de2805ee4577eb63c8c828fa7c1fc2a8e83fd0d15d7 unrolled_ast: 3544737fefac41a335c97de2805ee4577eb63c8c828fa7c1fc2a8e83fd0d15d7 - ssa_ast: ddceeab4f4ff6266e18cbe69f02137c7aaca6c0a930e1c488411af0358bb78c7 - flattened_ast: 8aa23d43979542511f24b0b50ca7b5db0432b8edab2982e57b5b509e14983b2c - inlined_ast: 8aa23d43979542511f24b0b50ca7b5db0432b8edab2982e57b5b509e14983b2c - dce_ast: 8aa23d43979542511f24b0b50ca7b5db0432b8edab2982e57b5b509e14983b2c + ssa_ast: 93894f945032d61502792ae913738cbab4fd54a4551753765faf25583fe08f5a + flattened_ast: 66aa1e2f5b5d35e70ffa9326bfe02509a426b94208230a9dbc62178161da0704 + destructured_ast: ec229e86ad699e855525486e000ffd152389d9acca3b69b9d0f9ecec55a31292 + inlined_ast: ec229e86ad699e855525486e000ffd152389d9acca3b69b9d0f9ecec55a31292 + dce_ast: ec229e86ad699e855525486e000ffd152389d9acca3b69b9d0f9ecec55a31292 bytecode: 587770d63e2d2fe866f99683df9a32da50b718ee3a92aec0d9491cbb8569b80d warnings: "" diff --git a/tests/expectations/compiler/field/div.out b/tests/expectations/compiler/field/div.out index 4c61fc6035..7b6dd72b0a 100644 --- a/tests/expectations/compiler/field/div.out +++ b/tests/expectations/compiler/field/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e399fb22c524abb01cf5978cccde4994f93846954316cc972df0143bd55df94f initial_ast: 110b6765d89f6952d124b8c69dee5219b5e330e59a8bcff11d76f18204b7252e unrolled_ast: 110b6765d89f6952d124b8c69dee5219b5e330e59a8bcff11d76f18204b7252e - ssa_ast: 4dc6bf9e3b98e1859165fa9940cd8ba360b592d9961a8b5abbd905d5a0650b62 - flattened_ast: 50caa35ec6efb4eb0ce3440a94723e5412f59af2e3e7b9d1af3c56902473659a - inlined_ast: 50caa35ec6efb4eb0ce3440a94723e5412f59af2e3e7b9d1af3c56902473659a - dce_ast: 50caa35ec6efb4eb0ce3440a94723e5412f59af2e3e7b9d1af3c56902473659a + ssa_ast: 1aa650c28a1858492f40caafdf7fc94d05eccf2806c5010eb45ac5ed21c225ae + flattened_ast: 488aff75f4876c0c5274b0b4d54b7f0fdc690cb1711119ecd1304ccedfc8a139 + destructured_ast: 02921aab41f54e79bc1b2eafd5c4824b195c290b95b38687c375ea4e7c047c28 + inlined_ast: 02921aab41f54e79bc1b2eafd5c4824b195c290b95b38687c375ea4e7c047c28 + dce_ast: 02921aab41f54e79bc1b2eafd5c4824b195c290b95b38687c375ea4e7c047c28 bytecode: 8076383080c6f141d8c6038360d4c9494a44f39b20f85614faf57bb7f6e3a10d warnings: "" diff --git a/tests/expectations/compiler/field/eq.out b/tests/expectations/compiler/field/eq.out index 0d96d81c94..ee208ed189 100644 --- a/tests/expectations/compiler/field/eq.out +++ b/tests/expectations/compiler/field/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: dd18b321de2291ab01f99b6a2832d5a04fb95e320602435b0aeb8651d9c8b0d0 initial_ast: 50c4b512c0411ac9ce5cb86b8f31e72d63bf332525c7e3c0a53c58b4822b564f unrolled_ast: 50c4b512c0411ac9ce5cb86b8f31e72d63bf332525c7e3c0a53c58b4822b564f - ssa_ast: 4843c6f5d977bdc6fbd8b7756dbf003843f7f8245b2587d0898cbf7d1da4f2c7 - flattened_ast: ca2f32963628527897b0a2354b842ce42a9a779e8c9d7f84f27dac5f9d247276 - inlined_ast: ca2f32963628527897b0a2354b842ce42a9a779e8c9d7f84f27dac5f9d247276 - dce_ast: ca2f32963628527897b0a2354b842ce42a9a779e8c9d7f84f27dac5f9d247276 + ssa_ast: 1d399494264180ab2b4c7e6cd43c3d763a191e6c8fe266bdf13dcd838137a24f + flattened_ast: 38125fc850175c0626ab1ed3bd538d794d0468f5e2850e5cc5270e666c53e50f + destructured_ast: a82b575a39f12625e379a33bd7326fa6c9b0d02443297951576cc0f05e9b4660 + inlined_ast: a82b575a39f12625e379a33bd7326fa6c9b0d02443297951576cc0f05e9b4660 + dce_ast: a82b575a39f12625e379a33bd7326fa6c9b0d02443297951576cc0f05e9b4660 bytecode: 935fb69a9229d935e0f2ec6ce8774b279e8d2ab9496ef8dfcf061aec2088db31 warnings: "" diff --git a/tests/expectations/compiler/field/field.out b/tests/expectations/compiler/field/field.out index f9ce0f212b..f7a5c6a2fd 100644 --- a/tests/expectations/compiler/field/field.out +++ b/tests/expectations/compiler/field/field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2f30fe6479d6e1c7552eed9ea3fd718a3e6223c61f4827c1a6dabdf29007035d initial_ast: 7038e5126609f18b2ed1c3dd214c24c828b764174e7193a18d4c529d67048e60 unrolled_ast: 7038e5126609f18b2ed1c3dd214c24c828b764174e7193a18d4c529d67048e60 - ssa_ast: 6831138481ef40a3b000e1550e7be48d5059508ed20b66c1b2b932b934784ed8 - flattened_ast: a3827de33f63659680d1e9b514027e0f6aca71c846f1b76077cf8015507bc937 - inlined_ast: a3827de33f63659680d1e9b514027e0f6aca71c846f1b76077cf8015507bc937 - dce_ast: 49938e72ad1bf8ab5593124af88bc7dd907f6a786745deba10c7adf4a1222211 + ssa_ast: c7d6c30c1ce873470507e85cad31cdbf38a02a5b0a93a755d2d2795f9a2a814f + flattened_ast: 0350766ef23b9b755cf304f44be1276e15fc6e1d62623015003944368bff7ce0 + destructured_ast: 61f66fbdb1d660360b95408bd37e6096e633c7f6e0a9ea8e4a032f91fcca7df0 + inlined_ast: 61f66fbdb1d660360b95408bd37e6096e633c7f6e0a9ea8e4a032f91fcca7df0 + dce_ast: abbfbd3375c1dc5cb842b0004bb4103eada588a367eea1a2b21648b450159bed bytecode: 649e93daf1fbf2a9870cd22788b26685b9f873b10ced0b6844974081b511080b warnings: "" diff --git a/tests/expectations/compiler/field/mul.out b/tests/expectations/compiler/field/mul.out index e4220085b4..c613b5c99d 100644 --- a/tests/expectations/compiler/field/mul.out +++ b/tests/expectations/compiler/field/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e399fb22c524abb01cf5978cccde4994f93846954316cc972df0143bd55df94f initial_ast: 453a2801a4e1d098b1f8f67132fecafd84249f0b932de5f7ba54c2fd28f51a6d unrolled_ast: 453a2801a4e1d098b1f8f67132fecafd84249f0b932de5f7ba54c2fd28f51a6d - ssa_ast: 226e608a37573f286666872eb7ce07560415623163f1f2bbe3d7173ec6818c1f - flattened_ast: de8bbf33d1820ffad97b056a758cf585b22864a7f62743734f9ed42e76f672ad - inlined_ast: de8bbf33d1820ffad97b056a758cf585b22864a7f62743734f9ed42e76f672ad - dce_ast: de8bbf33d1820ffad97b056a758cf585b22864a7f62743734f9ed42e76f672ad + ssa_ast: d99b7a22c89ceb8b52d8b6765ccad4eeb4a83772a6d73cd02fbed2b6961ed367 + flattened_ast: 4fed9628c57e079ab1d373d3cff736190fab9efc6508b273da20ccdd76128bea + destructured_ast: 3b1e432c922dddd826d487995a730e8ed80f7f3cf31337414416d439641be1d1 + inlined_ast: 3b1e432c922dddd826d487995a730e8ed80f7f3cf31337414416d439641be1d1 + dce_ast: 3b1e432c922dddd826d487995a730e8ed80f7f3cf31337414416d439641be1d1 bytecode: b66977ddf8c6be2363f9c584853adf0dc546d28df9c4eb87ab94d393e9c39c59 warnings: "" diff --git a/tests/expectations/compiler/field/negate.out b/tests/expectations/compiler/field/negate.out index 5a5795a62c..72c989f22b 100644 --- a/tests/expectations/compiler/field/negate.out +++ b/tests/expectations/compiler/field/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: dd18b321de2291ab01f99b6a2832d5a04fb95e320602435b0aeb8651d9c8b0d0 initial_ast: 9acdcee09ddcdc5bb466f45e46ad504f8c691d851773c6964bc2cf1a4646b10f unrolled_ast: 9acdcee09ddcdc5bb466f45e46ad504f8c691d851773c6964bc2cf1a4646b10f - ssa_ast: a4c0e510d29832f1ce7a7d2de0b5338fce7b7a91fec6b6b78444533939184c3c - flattened_ast: f2067c63e77c7e11bccb7ef8607f42db0457370769fd7c637aa440562c09f6a4 - inlined_ast: f2067c63e77c7e11bccb7ef8607f42db0457370769fd7c637aa440562c09f6a4 - dce_ast: f2067c63e77c7e11bccb7ef8607f42db0457370769fd7c637aa440562c09f6a4 + ssa_ast: 0f9fdf924e49990d9b232dcbdbd0c134259f29065a74da6f2b22528fdddf5a75 + flattened_ast: 55f3701f981be84195999df3e5400693e7e3018e522bfdbe2be4f2dd6b8732b9 + destructured_ast: 0f52b9ad562ef69c0d98d80557644136bcbc1b1fbc08827871f5bbe1f3b27403 + inlined_ast: 0f52b9ad562ef69c0d98d80557644136bcbc1b1fbc08827871f5bbe1f3b27403 + dce_ast: 0f52b9ad562ef69c0d98d80557644136bcbc1b1fbc08827871f5bbe1f3b27403 bytecode: b9e119319f6a86cf6b4820d47924a35737646c2bee28ef72882d8e255cdaf7fb warnings: "" diff --git a/tests/expectations/compiler/field/operator_methods.out b/tests/expectations/compiler/field/operator_methods.out index 505e748815..aa5d612941 100644 --- a/tests/expectations/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/field/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aeaa43ccbcdcd11508ea459a42a112ecc66f01a2fb0c61dae1a7359669503082 initial_ast: 03c7a6320c3b8106c20f8b80a2384698e145880e605c6a4354aed514be89ff55 unrolled_ast: 03c7a6320c3b8106c20f8b80a2384698e145880e605c6a4354aed514be89ff55 - ssa_ast: 75af98cde2ccd292d0c7e9039b4db6803e93a94f7f2342d2d9d018781036b80d - flattened_ast: 24ba14b3db42d1b765ea03e439dd5e567f1259d9a7b56ee50663aedbd093c90e - inlined_ast: 24ba14b3db42d1b765ea03e439dd5e567f1259d9a7b56ee50663aedbd093c90e - dce_ast: df276ee572179f9ce074f075409519121f51178001a142aaf3ac3a979bc16971 + ssa_ast: a46ef544db6942e411f671bc13a3de594b1298f4fdbe79c77d85736c718b1ff3 + flattened_ast: 8a5125c66efb94b2a4f661d9aca1cd9c2b8f0091e256ddfd84ba896eacbcfb0b + destructured_ast: c32f7ce72ffbf3ead96656f54166953122a4a24d40381cb602971a0aa6c3af42 + inlined_ast: c32f7ce72ffbf3ead96656f54166953122a4a24d40381cb602971a0aa6c3af42 + dce_ast: caae9911050f44efae430ab15193fc399bd21807bc8af19757470688b2e1e62a bytecode: bc2da8a1b63f9c24fb14b7468faa8cc14da40ce5c61c9a1c86804b808533b92a warnings: "" diff --git a/tests/expectations/compiler/field/pow.out b/tests/expectations/compiler/field/pow.out index 20410325f4..be492cc222 100644 --- a/tests/expectations/compiler/field/pow.out +++ b/tests/expectations/compiler/field/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f1344f357b3ef45576d13db2b7a6219f4cb2cbf04d57683a6e9f681505f39346 initial_ast: c53b5f90048e50a1cfb14b96348b4fcb13cbb8fdf6e760c1ba51460a23cde2cc unrolled_ast: c53b5f90048e50a1cfb14b96348b4fcb13cbb8fdf6e760c1ba51460a23cde2cc - ssa_ast: af7adf3a158e3532e5e31608c7d1287123351444b6882224b819fa5976d1447b - flattened_ast: de64061210d366cfe22df6d50523c3b2f3a41859e4dac96853a7b84f644177b8 - inlined_ast: de64061210d366cfe22df6d50523c3b2f3a41859e4dac96853a7b84f644177b8 - dce_ast: de64061210d366cfe22df6d50523c3b2f3a41859e4dac96853a7b84f644177b8 + ssa_ast: 682eb321e7d4ab0cc226f1080343163fe131b8be7e052bd57ef27cc88db9a3fb + flattened_ast: 63694a4aeacf54a8f777f6f7553fc0c052fa63511be5c9ea79bec59498008288 + destructured_ast: e2510576237108c3b63499a66e46e2a0127f017dc78ea24d49ff5356ba4b1287 + inlined_ast: e2510576237108c3b63499a66e46e2a0127f017dc78ea24d49ff5356ba4b1287 + dce_ast: e2510576237108c3b63499a66e46e2a0127f017dc78ea24d49ff5356ba4b1287 bytecode: e31bed8381ccd85c771e3eba7b52867ed99d7cfbfadf9fed69211d5a815f89e2 warnings: "" diff --git a/tests/expectations/compiler/field/sub.out b/tests/expectations/compiler/field/sub.out index c7ba2b4998..046a1eeeaf 100644 --- a/tests/expectations/compiler/field/sub.out +++ b/tests/expectations/compiler/field/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e399fb22c524abb01cf5978cccde4994f93846954316cc972df0143bd55df94f initial_ast: 88fff3d02da892cb9d9bb5f3976c1c085e17376474aa25704382364f0a6c6aa9 unrolled_ast: 88fff3d02da892cb9d9bb5f3976c1c085e17376474aa25704382364f0a6c6aa9 - ssa_ast: 993f6e33264b4a9ef1c255aa1764f42fb53434dc300602a2548e37792dac29b3 - flattened_ast: 4ca6c74b5cbd0d4a33269de5f50e48dd4ace46eb462132d503d74ec71ff310f9 - inlined_ast: 4ca6c74b5cbd0d4a33269de5f50e48dd4ace46eb462132d503d74ec71ff310f9 - dce_ast: 4ca6c74b5cbd0d4a33269de5f50e48dd4ace46eb462132d503d74ec71ff310f9 + ssa_ast: be0215d87dda330df30dbbd9ddd41e175da57f0a60f4b36079f1d33fcd8a6eb3 + flattened_ast: 54a7fbc47ae38ca5e837dc28488add9c1691b9ffb470d78359af1e8c73e5ccaf + destructured_ast: 3424e65e924fbc006bb729304591168a83d30cc245085faab32a7fada911e87f + inlined_ast: 3424e65e924fbc006bb729304591168a83d30cc245085faab32a7fada911e87f + dce_ast: 3424e65e924fbc006bb729304591168a83d30cc245085faab32a7fada911e87f bytecode: ad633a49970484d1285719af828974f068669c6aef5a1d0e6471cc1285469d09 warnings: "" diff --git a/tests/expectations/compiler/field/ternary.out b/tests/expectations/compiler/field/ternary.out index 89187b402f..f69d188868 100644 --- a/tests/expectations/compiler/field/ternary.out +++ b/tests/expectations/compiler/field/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e399fb22c524abb01cf5978cccde4994f93846954316cc972df0143bd55df94f initial_ast: feb31b3a672a04e5e8f07b1b91389290d085e7b8841fd6c1af7b6f8693db41da unrolled_ast: feb31b3a672a04e5e8f07b1b91389290d085e7b8841fd6c1af7b6f8693db41da - ssa_ast: f107186a86aedaafa98bf1dc66092dcb19ee3308a90e310c566d545be868ef94 - flattened_ast: 43985c2e62f6655ea25287eea4a48c6eb95cb92cac19ea10caa9f7467b0c77ff - inlined_ast: 43985c2e62f6655ea25287eea4a48c6eb95cb92cac19ea10caa9f7467b0c77ff - dce_ast: 43985c2e62f6655ea25287eea4a48c6eb95cb92cac19ea10caa9f7467b0c77ff + ssa_ast: 502ad6835ab7f64f65c1219498354f8fd3953f0ec5e7046524135e569b90cada + flattened_ast: 2b15cf79b12aadcd0f554f5911e49cdaaa95f062e91008201ed3c4606aa1f257 + destructured_ast: 75af507c54bf2d9b67ab73a92b45b1c7ea1b4dbb6a2f7478baa2cbd21a9257f3 + inlined_ast: 75af507c54bf2d9b67ab73a92b45b1c7ea1b4dbb6a2f7478baa2cbd21a9257f3 + dce_ast: 75af507c54bf2d9b67ab73a92b45b1c7ea1b4dbb6a2f7478baa2cbd21a9257f3 bytecode: 483aebac4ea170dd82b9056a667b2be13c0b9e0b957a151e5f833e0119f7650b warnings: "" diff --git a/tests/expectations/compiler/finalize/block_height.out b/tests/expectations/compiler/finalize/block_height.out index a534a6b1e3..a168097f88 100644 --- a/tests/expectations/compiler/finalize/block_height.out +++ b/tests/expectations/compiler/finalize/block_height.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8a2ddf24516c2aee8f4b4d9f9221e27b7c0013ff93734c9304b16bcaf118c7bf initial_ast: 3fa1bf3d9465f691bfebc6b79d8d2220aa4bd1ddde949d4e74ce4104ca7194a0 unrolled_ast: 3fa1bf3d9465f691bfebc6b79d8d2220aa4bd1ddde949d4e74ce4104ca7194a0 - ssa_ast: 57cdec6f22c8b14655c4b4ffe32f668e450583c10e92de71e0c4d385b4937b5b - flattened_ast: ed62fc0374e52aa639b0cb6361c543c56a063989b15b2443da6e6c472176cd52 - inlined_ast: ed62fc0374e52aa639b0cb6361c543c56a063989b15b2443da6e6c472176cd52 - dce_ast: ed62fc0374e52aa639b0cb6361c543c56a063989b15b2443da6e6c472176cd52 + ssa_ast: f1ce9942026d4e1e929fce4bf0cb1711c833f6149853bafb93867357b71fd4f8 + flattened_ast: 581ba6e4cf6649270e8dfd25955144cdc07c150044b58c41e3bf70a656fde5b6 + destructured_ast: 89de2928144cd78b5d41bba212c8b75d6ef5ecc902e8188c8793a1dc332a87e3 + inlined_ast: 89de2928144cd78b5d41bba212c8b75d6ef5ecc902e8188c8793a1dc332a87e3 + dce_ast: 89de2928144cd78b5d41bba212c8b75d6ef5ecc902e8188c8793a1dc332a87e3 bytecode: 6e4a8aeaf3eabc361bf427126c0a7f35c64030fb9c8f66e178c7c05bbede1c48 warnings: "" diff --git a/tests/expectations/compiler/finalize/contains.out b/tests/expectations/compiler/finalize/contains.out index caa266a2b7..6902332420 100644 --- a/tests/expectations/compiler/finalize/contains.out +++ b/tests/expectations/compiler/finalize/contains.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6cf275cfad8c7db476592a97fcfdc6851d5c5014bafd3c954d6f46d7385e9d38 initial_ast: 3b663ccebe585a1ef278820096bbe17ae95f7a8009c2165ef27aac4aa94e1bb4 unrolled_ast: 3b663ccebe585a1ef278820096bbe17ae95f7a8009c2165ef27aac4aa94e1bb4 - ssa_ast: 54e68eab74623306518f553f7a3d95967b8b200adac33d2ff2b5c489aa2c11dd - flattened_ast: 75108b91ff5077303f6be482bc39f2ecb4dfd995209e9e78e53fe4f602f3c65f - inlined_ast: 75108b91ff5077303f6be482bc39f2ecb4dfd995209e9e78e53fe4f602f3c65f - dce_ast: 75108b91ff5077303f6be482bc39f2ecb4dfd995209e9e78e53fe4f602f3c65f + ssa_ast: debcb67b77e44d64d8df12e088bb9c0fe8cf5179930d5e4fa9a30c1593723afe + flattened_ast: 0b2c8bcb3deb3a11b3d09c5eaef190f73664c099152f3d95e232d473d2077ddc + destructured_ast: 255adbdddcaec61a3143f9bef1b72d4ec803f03505a74da10f48d2c7ff3539d5 + inlined_ast: 255adbdddcaec61a3143f9bef1b72d4ec803f03505a74da10f48d2c7ff3539d5 + dce_ast: 255adbdddcaec61a3143f9bef1b72d4ec803f03505a74da10f48d2c7ff3539d5 bytecode: 2560848929684abb429a7de8a2ff0368fa2ea939f25ae84851be67374b652e8e warnings: "" diff --git a/tests/expectations/compiler/finalize/decrement_via_get_set.out b/tests/expectations/compiler/finalize/decrement_via_get_set.out index 90fbb4d41d..c35629074c 100644 --- a/tests/expectations/compiler/finalize/decrement_via_get_set.out +++ b/tests/expectations/compiler/finalize/decrement_via_get_set.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 41c0247334d4ede070ae3278a2ef3cfde78fbf29cf768b8f60f3f5deadefd75b initial_ast: 008463f5deff1742786124c320a217a9d9408c88985627a62c95d3cd40ce279c unrolled_ast: 008463f5deff1742786124c320a217a9d9408c88985627a62c95d3cd40ce279c - ssa_ast: e8b63fd0ce0f18bfe615d17e7fb25d7193fb98c7bc2c02198f0b92367a1aea24 - flattened_ast: 5ff783fdcea1f69d4c9f800d5c8dd0c498382b1b9f27e76738a645d6f4085ec8 - inlined_ast: 5ff783fdcea1f69d4c9f800d5c8dd0c498382b1b9f27e76738a645d6f4085ec8 - dce_ast: 5ff783fdcea1f69d4c9f800d5c8dd0c498382b1b9f27e76738a645d6f4085ec8 + ssa_ast: bd284a6369a0aaddb144904b726733e0d0cd75318050977a31492a5eac531ca0 + flattened_ast: cb86a3f7a20c956ea9b398130fb33050953ef8b86ec5b6f83e45a7f8b55e364c + destructured_ast: c7fb16b5e352f5ced43a72396bfa2794b1920e40548bab88f928fc602f47e5df + inlined_ast: c7fb16b5e352f5ced43a72396bfa2794b1920e40548bab88f928fc602f47e5df + dce_ast: c7fb16b5e352f5ced43a72396bfa2794b1920e40548bab88f928fc602f47e5df bytecode: bbef5ec539b8616fe91e41c03c8ea6a71dfd3cb9731e634919bc8356e6664594 warnings: "" diff --git a/tests/expectations/compiler/finalize/finalize.out b/tests/expectations/compiler/finalize/finalize.out index 44d6c1bf62..68bf0ed43e 100644 --- a/tests/expectations/compiler/finalize/finalize.out +++ b/tests/expectations/compiler/finalize/finalize.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d0d4661a1ed6d81df23ac296d207ce4afb890be9d3939a3f7001389c802229e6 initial_ast: 164226236b60053405e4b19b3f4adb616a6fcd0aefb8f16821695779b2019cab unrolled_ast: 164226236b60053405e4b19b3f4adb616a6fcd0aefb8f16821695779b2019cab - ssa_ast: 26afd14df884307f3ca9e436b8fe68dad496221b5fbecb780146e4a1928b5ec2 - flattened_ast: 2539047a2909025a8c23bfdb41159533eb103e2f110c0cbd659877b414f85420 - inlined_ast: 2539047a2909025a8c23bfdb41159533eb103e2f110c0cbd659877b414f85420 - dce_ast: 2539047a2909025a8c23bfdb41159533eb103e2f110c0cbd659877b414f85420 + ssa_ast: 5e59e2992bd055db4a5fe660200e44866a7e599d5e98b339cbc500c221390814 + flattened_ast: bc9f180a3e528fe26992dc8c2047c9e8a5fdb0702234b23f1f4e6bf7015c233b + destructured_ast: 0ba923bb7a33e55b1ed6f9d35dff3e5a82814308ec98da1840036e3899f8dee6 + inlined_ast: 0ba923bb7a33e55b1ed6f9d35dff3e5a82814308ec98da1840036e3899f8dee6 + dce_ast: 0ba923bb7a33e55b1ed6f9d35dff3e5a82814308ec98da1840036e3899f8dee6 bytecode: 33d8ca1b78918f26980919a4a8b332fb9b375ac476b64636a387fdab715d4ed9 warnings: "" diff --git a/tests/expectations/compiler/finalize/finalize_with_method_calls.out b/tests/expectations/compiler/finalize/finalize_with_method_calls.out index b8cb46fbb9..b645a27f93 100644 --- a/tests/expectations/compiler/finalize/finalize_with_method_calls.out +++ b/tests/expectations/compiler/finalize/finalize_with_method_calls.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e1666b86df178f7cd63097df4540df94b80544cc01f5cb8b7e6da1dea861ebf0 initial_ast: 8f5b589c1e20bc7204b1d7fff58e92c1ae50d30d644713ddca5632d74cd88d79 unrolled_ast: 8f5b589c1e20bc7204b1d7fff58e92c1ae50d30d644713ddca5632d74cd88d79 - ssa_ast: 772de7e0df78d62c585b1febf48057c41d0c0920047babdb610bcd5dbc858b73 - flattened_ast: 6074c4b3298799f66c770458006429c1fa6e6f8aa6185aec73616deecbd86689 - inlined_ast: 6074c4b3298799f66c770458006429c1fa6e6f8aa6185aec73616deecbd86689 - dce_ast: 6074c4b3298799f66c770458006429c1fa6e6f8aa6185aec73616deecbd86689 + ssa_ast: 9cb4c8980ceeec55046efb7e981ba4ce643a8ff98e68a5ca73184c5a9eef8a99 + flattened_ast: 3ba0f9b73dffcaf4e55ae28cb89358de58125ae60ab47011a40782924f38fbd6 + destructured_ast: 0fd22f11b21664f4b5e33ad53e928b8a8ff591bc1d30f62e66f4d14cb2b63122 + inlined_ast: 0fd22f11b21664f4b5e33ad53e928b8a8ff591bc1d30f62e66f4d14cb2b63122 + dce_ast: 0fd22f11b21664f4b5e33ad53e928b8a8ff591bc1d30f62e66f4d14cb2b63122 bytecode: e9bcea998f0ff492fb57deabfcf08c4ed3f854880b595f17c9aa89181feb3764 warnings: "" diff --git a/tests/expectations/compiler/finalize/increment_via_get_set.out b/tests/expectations/compiler/finalize/increment_via_get_set.out index 005cad78d4..b863aa36d3 100644 --- a/tests/expectations/compiler/finalize/increment_via_get_set.out +++ b/tests/expectations/compiler/finalize/increment_via_get_set.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 38d767bda7bac322c87600d9140468092827e2132c0d5763dc69857c224d3150 initial_ast: 29714656f99da285cc9983018a37cd47f473fcb24a13ca6c5f76cd0aa934e8d1 unrolled_ast: 29714656f99da285cc9983018a37cd47f473fcb24a13ca6c5f76cd0aa934e8d1 - ssa_ast: 56c003168b11a191dfecff7befa304b9cb4886afa2722fa66c52cf5af278fa26 - flattened_ast: 77608d0001a55918feb78c6ae8954763f8a0a3438445509cab1446a2b7aee5be - inlined_ast: 77608d0001a55918feb78c6ae8954763f8a0a3438445509cab1446a2b7aee5be - dce_ast: 77608d0001a55918feb78c6ae8954763f8a0a3438445509cab1446a2b7aee5be + ssa_ast: 25365d84828479634c3e9d653f7840f7bd0281951616d1e24da1fd6ea19bfb71 + flattened_ast: a10ad3e30e7b7a2b155d3a30f49fe1e66c2350875981633890297e61ff3531c8 + destructured_ast: 63559f590ac0d7d266e95afe56f7736a3fd80184835d4778ebfc6aa4fc7a5506 + inlined_ast: 63559f590ac0d7d266e95afe56f7736a3fd80184835d4778ebfc6aa4fc7a5506 + dce_ast: 63559f590ac0d7d266e95afe56f7736a3fd80184835d4778ebfc6aa4fc7a5506 bytecode: 10e754c190939dcffa342c5eef2be0dcb73ef1a9b4391a99e963db6dc61bd38a warnings: "" diff --git a/tests/expectations/compiler/finalize/inline_in_finalize.out b/tests/expectations/compiler/finalize/inline_in_finalize.out index a3d0a5d830..039365dddd 100644 --- a/tests/expectations/compiler/finalize/inline_in_finalize.out +++ b/tests/expectations/compiler/finalize/inline_in_finalize.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: aa7192219308f1f62c2f10d8ed0bbada61e4e728350d027120a71f418a0cb545 initial_ast: ff822822a1f599044f4d0ce4f8d7cd9dfc706b5c953a1e3eec7f9a03baf3f43c unrolled_ast: ff822822a1f599044f4d0ce4f8d7cd9dfc706b5c953a1e3eec7f9a03baf3f43c - ssa_ast: 00529a7eab6e8154f0356862666570263b9843202cc42310c607153bc80b25b9 - flattened_ast: 30f9072bf03a9bc5896c99142bb6eb2b990e6b00c0dd7eb5a65d2b3c5d8fce1c - inlined_ast: 8a5719926eb6679339e22b30fdece64052c310865bf92a25283225b7c14b4e5d - dce_ast: 8a5719926eb6679339e22b30fdece64052c310865bf92a25283225b7c14b4e5d + ssa_ast: db70a52764789ffe0742a73f4b5f0bb4ab464edb9423b80ef08e7ce6f0e03af0 + flattened_ast: b06e200e939402dee568f14fd69efdaff5c0b294532a5bd50066181dd678262d + destructured_ast: 3f705c932c0e41ea552bf1f2c1cb19a8d27e10fa8615b1b4ebfac9f9a28789fc + inlined_ast: d0b632bbff735b19f6992685e378d2ce58e1629c6e86214527746a614ca8cc38 + dce_ast: d0b632bbff735b19f6992685e378d2ce58e1629c6e86214527746a614ca8cc38 bytecode: 643990908e94b8c16515df0d5dcd64918c17b356ad82d652cd9d6504089c49f0 warnings: "" diff --git a/tests/expectations/compiler/finalize/mapping.out b/tests/expectations/compiler/finalize/mapping.out index 285035b1a2..602f3131ba 100644 --- a/tests/expectations/compiler/finalize/mapping.out +++ b/tests/expectations/compiler/finalize/mapping.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2d9f0f9351ecf0a1f856909c7f330310fc59478f42022d8ac2f4058f808a7581 initial_ast: 8858dccf464525104ff74cc54bf82ce5704408f7aa3a5dde9d8113a9b1ac40c7 unrolled_ast: 8858dccf464525104ff74cc54bf82ce5704408f7aa3a5dde9d8113a9b1ac40c7 - ssa_ast: c959acceeeaff19c21015dfbf4a5134cb5af40bad08ad6138ed98d8809236773 - flattened_ast: 48da1aece09badbd679053fa633cc4394e16fc7198abc46203cbb3f146f18c01 - inlined_ast: 48da1aece09badbd679053fa633cc4394e16fc7198abc46203cbb3f146f18c01 - dce_ast: 48da1aece09badbd679053fa633cc4394e16fc7198abc46203cbb3f146f18c01 + ssa_ast: 8e051cf1a58d2a3a43adfe8c5fe8c99e26212cd419d5254c864a7f974d27efeb + flattened_ast: 3d02406cd0d62802accb6f455fa457826c39027d50e9869fb98fb37ff4ad7434 + destructured_ast: 8f951209f2a9e406bd9e679a06d82e76469237745a2c232e0ac45b8fca25971f + inlined_ast: 8f951209f2a9e406bd9e679a06d82e76469237745a2c232e0ac45b8fca25971f + dce_ast: 8f951209f2a9e406bd9e679a06d82e76469237745a2c232e0ac45b8fca25971f bytecode: 312c25062c283bf27a955dc0d7035c166da12e5e40eb55b9e6572af8750e0474 warnings: "" diff --git a/tests/expectations/compiler/finalize/only_finalize_with_flattening.out b/tests/expectations/compiler/finalize/only_finalize_with_flattening.out index 549d7d12a1..5b5cf4fa3d 100644 --- a/tests/expectations/compiler/finalize/only_finalize_with_flattening.out +++ b/tests/expectations/compiler/finalize/only_finalize_with_flattening.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7bd0addc88bb8cc54ffa341e723d934aa92dec285cf7ab9cec69df8d4b7b98f4 initial_ast: 93bb916617cc2aac07e70e185e31af232913f197803ac263c3911534de4f8695 unrolled_ast: 93bb916617cc2aac07e70e185e31af232913f197803ac263c3911534de4f8695 - ssa_ast: 37e2d2df853de322cae0b584bca5c322850b62c2959a969d9d63c70a9dd1d875 - flattened_ast: d2202fe4f8b99aa658ea05233dfd9ca2021645a47df7a01f5a7d781f6b751e2c - inlined_ast: d2202fe4f8b99aa658ea05233dfd9ca2021645a47df7a01f5a7d781f6b751e2c - dce_ast: d2202fe4f8b99aa658ea05233dfd9ca2021645a47df7a01f5a7d781f6b751e2c + ssa_ast: 8c721672e6eff2ad5bb4fe1315ad1d8d2b86142345d04ac60484a6a6b3ca77a6 + flattened_ast: 6cc2a25e399ae78217bf1403cf29ddd6ad17ef8bd731de5b5e903dc95414e483 + destructured_ast: 5d633186b406e86defed1611a80228bf6205c0470a7bf8517464d3e737ab7722 + inlined_ast: 5d633186b406e86defed1611a80228bf6205c0470a7bf8517464d3e737ab7722 + dce_ast: 5d633186b406e86defed1611a80228bf6205c0470a7bf8517464d3e737ab7722 bytecode: d1cb76177aa7ffcdc033855e2696b25791292c7c6b38fdc3c1e145dadc0f838a warnings: "" diff --git a/tests/expectations/compiler/finalize/rand.out b/tests/expectations/compiler/finalize/rand.out index 474dc11ef4..4302a5ff56 100644 --- a/tests/expectations/compiler/finalize/rand.out +++ b/tests/expectations/compiler/finalize/rand.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b8f9c015aa74cf6186fb8ebdb3ee75fca572198ad340239d8e3610e2d7524b6f initial_ast: a13e41d10136d37224ddfb9b54eaf15926a3db8217ecd5ddf8f72bd7a9624c2d unrolled_ast: a13e41d10136d37224ddfb9b54eaf15926a3db8217ecd5ddf8f72bd7a9624c2d - ssa_ast: cd75edd82d90a0f69080370969bb97159c5ef5ea366be0d1e8c392274021ab95 - flattened_ast: fffd7c38f8fa3a6d10a09dcf16921114d3fcbe6a9c29537b69ed29e863748fbd - inlined_ast: fffd7c38f8fa3a6d10a09dcf16921114d3fcbe6a9c29537b69ed29e863748fbd - dce_ast: c4f1e570c710539546c718ff2f70078f4f363af79020dedcaaab0f55769e17ef + ssa_ast: b50aecfed18f46ef186a2ebf53555a172c519fc698fd3b855ab3dcf475013056 + flattened_ast: 07840273fc19e6d24bb29321a93452076fd398e99723a33362a8580134290b0a + destructured_ast: 664485fccdd12fe3980c2849a06f7910a21e2f81ab73ec16f685c617c2b5b151 + inlined_ast: 664485fccdd12fe3980c2849a06f7910a21e2f81ab73ec16f685c617c2b5b151 + dce_ast: 5cd63137c51e305c3a8fe6eeabb5ac8fb3fecb03bb8417980a4487c2efdbf6f2 bytecode: c5e80399ab1edccfae4591f3c38695e9a4129b35ad2cc75238859a2e109a245f warnings: "" diff --git a/tests/expectations/compiler/finalize/read_write_mapping_fail.out b/tests/expectations/compiler/finalize/read_write_mapping_fail.out index 742cf4e06c..da1827effc 100644 --- a/tests/expectations/compiler/finalize/read_write_mapping_fail.out +++ b/tests/expectations/compiler/finalize/read_write_mapping_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EPAR0370005]: expected ; -- found '['\n --> compiler-test:7:24\n |\n 7 | return balances[addr];\n | ^" + - "Error [EPAR0370031]: `finalize` statements are deprecated.\n --> compiler-test:15:9\n |\n 15 | finalize(addr);\n | ^^^^^^^^\n |\n = Use `return then finalize()` instead." diff --git a/tests/expectations/compiler/finalize/remove.out b/tests/expectations/compiler/finalize/remove.out index e00f18765f..c90430a6e8 100644 --- a/tests/expectations/compiler/finalize/remove.out +++ b/tests/expectations/compiler/finalize/remove.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bf43437e96fea9575409103c44edf194be4f2df843834648e8df1fa2c6187981 initial_ast: ef40e848373640cc46daf2ed7d204e42947061724e43fb9fef09ca4ef4eed69e unrolled_ast: ef40e848373640cc46daf2ed7d204e42947061724e43fb9fef09ca4ef4eed69e - ssa_ast: f958903e101b60c097fea8eb35a340d2a66d20456c3a3aac4cf98d2fa6565c24 - flattened_ast: c4c68008b271c95ae78e361a3617f8f80cca0729d677aad03f21a5f34fb857df - inlined_ast: c4c68008b271c95ae78e361a3617f8f80cca0729d677aad03f21a5f34fb857df - dce_ast: c4c68008b271c95ae78e361a3617f8f80cca0729d677aad03f21a5f34fb857df + ssa_ast: a761fae101e2295dc36fbcd3ca8db1ed1a77bcaa10afe41bc1cfb7bc96057fae + flattened_ast: 8b2b6124af1eff9838b5dd0354b269c45b72068d313675632497481c9bf1b270 + destructured_ast: 20a7b264b90a3a95674b3585e93bb611efe50b7aee1cd182e8a435789910c684 + inlined_ast: 20a7b264b90a3a95674b3585e93bb611efe50b7aee1cd182e8a435789910c684 + dce_ast: 20a7b264b90a3a95674b3585e93bb611efe50b7aee1cd182e8a435789910c684 bytecode: 7598ca95ba8e589482a0d951cae6f2f8571e7ae33ec8f56dbe83077dac5100d4 warnings: "" diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index 953adcaa42..12c876c4ab 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9231efaf4f8792f3f3a472820e4fea02a790489d1698ea22dfeb1bbb0b8ffe16 initial_ast: 427b1b8d1d2b9f8a89a4b92c2aed0d4cf5b96320eee491f0a2ec7b9831f3b444 unrolled_ast: 427b1b8d1d2b9f8a89a4b92c2aed0d4cf5b96320eee491f0a2ec7b9831f3b444 - ssa_ast: cd23006a9997e037e42eb67853ac047ddba77e0ca9cdcfc9de30670f50117c94 - flattened_ast: 620e32cefb194029fb36e4abc6c8c311042dc2bae2277909323b19a0425293d7 - inlined_ast: 620e32cefb194029fb36e4abc6c8c311042dc2bae2277909323b19a0425293d7 - dce_ast: 620e32cefb194029fb36e4abc6c8c311042dc2bae2277909323b19a0425293d7 + ssa_ast: ae144c8dfcbe4ce600719d9dfb156de6c38402319d9ad65379865b45bdb44457 + flattened_ast: 1f22bbf282d3e9d3d0667d10fc1a3185f173be49ed0cd87c45a6f1aeefa6c7b2 + destructured_ast: 51c94d16c05aa89adf8f409f879e1e8420d5d90c27bfe8f093a66abaec4d8415 + inlined_ast: 51c94d16c05aa89adf8f409f879e1e8420d5d90c27bfe8f093a66abaec4d8415 + dce_ast: 51c94d16c05aa89adf8f409f879e1e8420d5d90c27bfe8f093a66abaec4d8415 bytecode: 7fe490ec8230a29dea04ba2ade935868530bcdcde28707abfa794c90833cc678 warnings: "" diff --git a/tests/expectations/compiler/function/dead_code_elimination.out b/tests/expectations/compiler/function/dead_code_elimination.out index c44d48cd0a..b434e63c3b 100644 --- a/tests/expectations/compiler/function/dead_code_elimination.out +++ b/tests/expectations/compiler/function/dead_code_elimination.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 92d5e7f428bcac3a3a187cefefe8ab79fab5ea5656fac7f116d985b5bab7ca1a initial_ast: 5fd4ec6a48727a235aabbea1c1dbbfde4a4be6e31b9ef2ab914494eb6026ad62 unrolled_ast: 5fd4ec6a48727a235aabbea1c1dbbfde4a4be6e31b9ef2ab914494eb6026ad62 - ssa_ast: fb66381c105c87cde42e3494091ce7022a18ec17028e3e7fee97d5cb68cb2561 - flattened_ast: 711ff7e9e3e8148b86dc570328c0744626f8c2a84727aad334a65bdf3c132791 - inlined_ast: d1753165c222b65bbc96ed8b585355164317acfcf77877ac2ecdbc34b1214fb8 - dce_ast: 4df7db264fb0c36a3e710b306668064ddb8944bf27ab3f1852233ab2291968e9 + ssa_ast: b67dd9f938568aa1ede1ad4cc2a78de57ae0a74371190b7c49ace5c0261a57f7 + flattened_ast: 84745aba1b7c321b96f953f03899f3d2c99b726f347851d89c7f15d19aeb8a48 + destructured_ast: 0e699370973c676faabf597cadad908b1e76bfc65ca41070d90cd6bbdd9f95f8 + inlined_ast: 415ce536c379482fc2b286dd281feb2ab68ca8eadb3cfb2e82d86326b8758595 + dce_ast: 9fa528f925931da6e4e4cc8f7b7b16301bb491fb2bc6a3141204395cc5a22e7e bytecode: 68f3c939bd54966a95293dd018927a50887a633eea6d5dc60fca8a1ba5400607 warnings: "" diff --git a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out index 4bae9a9346..a5ce7f07a4 100644 --- a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 71215d2a608c9f8657591472ccd91e32c5676de40d9c82a3c4952729c249f786 - type_checked_symbol_table: c0d211c6d8d6f9bd092ea7db5163f04f164618f23566b37e687c4feb4be3c825 - unrolled_symbol_table: c0d211c6d8d6f9bd092ea7db5163f04f164618f23566b37e687c4feb4be3c825 - initial_ast: 6fbe2698c96dea78dad3b6027efd68cdd8c38f95927c8aab31d917b183695231 - unrolled_ast: 6fbe2698c96dea78dad3b6027efd68cdd8c38f95927c8aab31d917b183695231 - ssa_ast: 0b829e372e521c46addc98d20589c41918896fa9042476500961c8a38c3521fd - flattened_ast: 18f0656c89910632dcfa201aec96cb2a431f400dccf3f3c943d8cff9da42bbd7 - inlined_ast: a89c814f1329e4412151f37a96eb6f8f08f24fbf718ce994e59b133a838495c8 - dce_ast: a89c814f1329e4412151f37a96eb6f8f08f24fbf718ce994e59b133a838495c8 + - - initial_symbol_table: fe3d23c0c6894f9f9f451dafa496621c11b64d47e2ff01c3bbb0b39d5301b8ec + type_checked_symbol_table: b089f56fe15895043abcfcb9ffc3b1e24fae84b7df52b43bfcd284cb84be8654 + unrolled_symbol_table: b089f56fe15895043abcfcb9ffc3b1e24fae84b7df52b43bfcd284cb84be8654 + initial_ast: 525183e369a9b0fa1968430934f80068e4edfbbb894b7c053e26c73d91ac2ca5 + unrolled_ast: 525183e369a9b0fa1968430934f80068e4edfbbb894b7c053e26c73d91ac2ca5 + ssa_ast: 171a06808b27f330bd49b9f4b3c0d4b345142d0db737d3d8d9bb041a718a8a62 + flattened_ast: 845ca84984a3b6c8dee6db5166eb1fc33c26e7b60d97440806677e786747d485 + destructured_ast: 13a10febb75ecb5feff6d62c18ab3d577499c8de772825cbb146e55d16a19e13 + inlined_ast: ab5ce5c5f5f6036fe9f057f057cf1e2c4fad1e2f945429258c931d96543b9860 + dce_ast: ab5ce5c5f5f6036fe9f057f057cf1e2c4fad1e2f945429258c931d96543b9860 bytecode: fffe093215f68fcc292f2c7b67e847897cd0334cdbf4a410f288d7957541a1d3 warnings: "" diff --git a/tests/expectations/compiler/function/flatten_test.out b/tests/expectations/compiler/function/flatten_test.out index c274a45a52..c4601f56e7 100644 --- a/tests/expectations/compiler/function/flatten_test.out +++ b/tests/expectations/compiler/function/flatten_test.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: c8a9d610f7eca0864b13719fa9ed05ce50708937f7719f797d054ec35921f554 - type_checked_symbol_table: 0183ebfe69a2d6769b23409dbe3ae1f0502f7a32de4e2542401907c51d8f10c6 - unrolled_symbol_table: 0183ebfe69a2d6769b23409dbe3ae1f0502f7a32de4e2542401907c51d8f10c6 - initial_ast: c68e7915210e1afa1b666a9838cdd1a91f476b839b45d4535cc25bb49ff7b769 - unrolled_ast: c68e7915210e1afa1b666a9838cdd1a91f476b839b45d4535cc25bb49ff7b769 - ssa_ast: 77d48798087e2de988c8a67451a1fab76622f36152845f33cebfd0a9f0dd844e - flattened_ast: d1614552dde5efcce8b4d0aedf2706db482ff2623d8bd72071cdc267997d4c24 - inlined_ast: d1614552dde5efcce8b4d0aedf2706db482ff2623d8bd72071cdc267997d4c24 - dce_ast: d1614552dde5efcce8b4d0aedf2706db482ff2623d8bd72071cdc267997d4c24 + - - initial_symbol_table: d388c731904c7e517defccf557cd24399a7610af1ddee1528ed3c55027ba7e89 + type_checked_symbol_table: f8c2728c9d4650d21cd73522b07875bb04c39951c33c539846223655b114a015 + unrolled_symbol_table: f8c2728c9d4650d21cd73522b07875bb04c39951c33c539846223655b114a015 + initial_ast: 0943805408b0eab0e48a70640823aca091f7636666435dd1888a441af488b338 + unrolled_ast: 0943805408b0eab0e48a70640823aca091f7636666435dd1888a441af488b338 + ssa_ast: c98520a46de2cd4d451d3fbf661f6883a39e4436c80fd06ea854f54a0584f8ee + flattened_ast: d7a28d369e33ed399242a2f0ecdd5a56d56cdec92ab5f6c854a6810337744ea5 + destructured_ast: 43396487c0e004f4113238e65c417033451b69d0f3243960d281208f28557d65 + inlined_ast: 43396487c0e004f4113238e65c417033451b69d0f3243960d281208f28557d65 + dce_ast: 43396487c0e004f4113238e65c417033451b69d0f3243960d281208f28557d65 bytecode: 6b4668099fa04bf4027b390ce9def813a3ade976add6104944433b3fab6a4ad9 warnings: "" diff --git a/tests/expectations/compiler/function/flatten_test_2.out b/tests/expectations/compiler/function/flatten_test_2.out index e0e530bd50..d66da1bdd0 100644 --- a/tests/expectations/compiler/function/flatten_test_2.out +++ b/tests/expectations/compiler/function/flatten_test_2.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: 6116676ba85683532f4ba3c6cbfcafee72573333a4bac3cbcd500672e788cc13 initial_ast: 3248ce2403b042aa9ed9dd106ae5bd368c44ee2d77c0e7abb15a5ef3ac461097 unrolled_ast: 3248ce2403b042aa9ed9dd106ae5bd368c44ee2d77c0e7abb15a5ef3ac461097 - ssa_ast: c4ace9b3bb68c0a4615b719bc8a70fc22afbcf0fca220ae493f111aa8ab71860 - flattened_ast: 46c1667e19b74e917142285ba586b47744dc9d8275a3562657d33a6c4f228510 - inlined_ast: 46c1667e19b74e917142285ba586b47744dc9d8275a3562657d33a6c4f228510 - dce_ast: 950f30a9bc5ad914a22dbd8230afa4a2ac4ea927d9c8d6b9d988c1867e5ee270 + ssa_ast: 5d11384f7c7981837f3a89dccf0492a39ebdbf320d0915f3b4e830be4ad767ce + flattened_ast: c76516316fed4eb2f304d7c8e50544ba7b4333cac8d1c45e8ffa24a0025de6d6 + destructured_ast: 3ff2bdb92c2e601107b5186c09150d2fbe497bcc2ba036b30e93d1cf7abfe86c + inlined_ast: 3ff2bdb92c2e601107b5186c09150d2fbe497bcc2ba036b30e93d1cf7abfe86c + dce_ast: ecee0cc51806b99e76d6717bccba4dbbcb42afd29dd980293af1760d741e5110 bytecode: 34ea2316698e1b32c9a8cecafbc7ec613d38e33d39bc50b517a10f255e9c8a03 warnings: "" - initial_symbol_table: f71db3010185a086c7849ae659bf4092bf7c106556fd33a9d305af996ac0c278 @@ -18,9 +19,10 @@ outputs: unrolled_symbol_table: 8562bbe75363a62591ae91ba9e0b31e82417cd0c76683701ffb423568e76e8ec initial_ast: ad707e31541726bfc7f719e637400cd774e760ab196cb8abc14d117534d6724c unrolled_ast: ad707e31541726bfc7f719e637400cd774e760ab196cb8abc14d117534d6724c - ssa_ast: c16f5732ebb4b33b65970e630337dee4b1e05eef4e44a09b8d02217b6155fe09 - flattened_ast: 45361e646f442e3c062307d082b0295453ea0060d451c05aa0a93f388bbc9c04 - inlined_ast: 45361e646f442e3c062307d082b0295453ea0060d451c05aa0a93f388bbc9c04 - dce_ast: 45361e646f442e3c062307d082b0295453ea0060d451c05aa0a93f388bbc9c04 + ssa_ast: 56e0b96d5fcec1453543ae2d31e3c8667b70482aea0f1f6be771e7bb67776434 + flattened_ast: a9f95fa1f0a8f6042317373744d90d2aa8138ef42250ed23da2b0b0dbe75cd08 + destructured_ast: c5c9c75a51b8d4cc87ab73206e732468d149eceb8be880275e09862bdef9b88a + inlined_ast: c5c9c75a51b8d4cc87ab73206e732468d149eceb8be880275e09862bdef9b88a + dce_ast: c5c9c75a51b8d4cc87ab73206e732468d149eceb8be880275e09862bdef9b88a bytecode: b42d3c958c08364d974824a28437565b32bce03a6dc86c38a03cfe741cac6995 warnings: "" diff --git a/tests/expectations/compiler/function/flatten_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_tuples_of_structs.out index 2eca7b79e7..30364312f1 100644 --- a/tests/expectations/compiler/function/flatten_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_tuples_of_structs.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 87ca23abc5d396756024d75212bf76415fbe9fd5348b0b8ef70d2608e0ae9963 - type_checked_symbol_table: 30e6bb5ff0e10de20b18cb38903deba0a1422a9ff0e2206849a33401464a8a40 - unrolled_symbol_table: 30e6bb5ff0e10de20b18cb38903deba0a1422a9ff0e2206849a33401464a8a40 - initial_ast: e7ed62da24e48a973ea1a12bf2787ae8e9da2b0030dbcdc7103f04a1677df04e - unrolled_ast: e7ed62da24e48a973ea1a12bf2787ae8e9da2b0030dbcdc7103f04a1677df04e - ssa_ast: 88f4dfa164bad35523eaf97908399d48c1b17f9b2f1f1dcf1099b2c63e6fce84 - flattened_ast: d15042ef5ca99aa5a50af66a21b330a6ee0f9dad5fb8c75ced45f73efb27cb9c - inlined_ast: d15042ef5ca99aa5a50af66a21b330a6ee0f9dad5fb8c75ced45f73efb27cb9c - dce_ast: d15042ef5ca99aa5a50af66a21b330a6ee0f9dad5fb8c75ced45f73efb27cb9c + - - initial_symbol_table: e48242d47a2461fa681ec8f01879acc66ad7fd6231ebda4951a9dff5c9a820e2 + type_checked_symbol_table: 4daea1e9ce0607be35cc9b5c18bd8e5e3369865f41be84d9aedf68038ad75942 + unrolled_symbol_table: 4daea1e9ce0607be35cc9b5c18bd8e5e3369865f41be84d9aedf68038ad75942 + initial_ast: 1bf33d02deb172ec2b34555e9d56f6941cbb07ac8a1cfd2bbbf6f000657b8852 + unrolled_ast: 1bf33d02deb172ec2b34555e9d56f6941cbb07ac8a1cfd2bbbf6f000657b8852 + ssa_ast: 1385ed5e4de37ffb2e64556ad6067896720c754ec9c371d2e0d4a583b4b948c1 + flattened_ast: 8264dca71be95502f047242839e8d34a793980e2dcc2887121d5bd41682669b9 + destructured_ast: 6144a2b82e97f4087afcc0a5c6496c796b9042d2aec11361d4ce092ef549fa2a + inlined_ast: 6144a2b82e97f4087afcc0a5c6496c796b9042d2aec11361d4ce092ef549fa2a + dce_ast: 6144a2b82e97f4087afcc0a5c6496c796b9042d2aec11361d4ce092ef549fa2a bytecode: 023b08025f2aa0f03538528dde0e9b8e6ddf7efb3feb3af35ff79a1d930e42cc warnings: "" diff --git a/tests/expectations/compiler/function/flatten_unit_expressions.out b/tests/expectations/compiler/function/flatten_unit_expressions.out index f20eb54fc9..6f9652b34e 100644 --- a/tests/expectations/compiler/function/flatten_unit_expressions.out +++ b/tests/expectations/compiler/function/flatten_unit_expressions.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: 645701c2b4f92ada6e879e919f3f3e84535fe152cea37aac292ce6a3c3e7cec3 initial_ast: d9a0c2f71cc7dedb4639fa64d24d31421e006583b42ea83450efcfe54cf1fcd3 unrolled_ast: d9a0c2f71cc7dedb4639fa64d24d31421e006583b42ea83450efcfe54cf1fcd3 - ssa_ast: d9a0c2f71cc7dedb4639fa64d24d31421e006583b42ea83450efcfe54cf1fcd3 - flattened_ast: f9cbae07fd365de649a34d99e4aaa06155e35683b9c89b4ed0270b94dd3a0d21 - inlined_ast: f9cbae07fd365de649a34d99e4aaa06155e35683b9c89b4ed0270b94dd3a0d21 - dce_ast: f9cbae07fd365de649a34d99e4aaa06155e35683b9c89b4ed0270b94dd3a0d21 + ssa_ast: 4476fc17736900b387d8073c273416f349a02a60aa4fe8656b3f076274a31169 + flattened_ast: 1bc41a7152dd59711acc3df10e751c84d14cf19c706a8bd2af9dd439b4cacc3e + destructured_ast: 63aa5485cbc2893a91ddc210ff171b2f4ca6198bb74a3f36a46dc41fa46448ac + inlined_ast: 63aa5485cbc2893a91ddc210ff171b2f4ca6198bb74a3f36a46dc41fa46448ac + dce_ast: faecf3266f4c9b327d5abbe0f200559e036729e9271dc26a71bd3212f068abee bytecode: b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd warnings: "" - initial_symbol_table: 129775a34fff5a18f0428731c46115aef4b20fffc29aab2c2a7c3e5bf8693f0f @@ -18,9 +19,10 @@ outputs: unrolled_symbol_table: 645701c2b4f92ada6e879e919f3f3e84535fe152cea37aac292ce6a3c3e7cec3 initial_ast: fb4640609fbd2abf325f069ccef6182571db7ac0225d5d318f008eb791ffa101 unrolled_ast: fb4640609fbd2abf325f069ccef6182571db7ac0225d5d318f008eb791ffa101 - ssa_ast: fb4640609fbd2abf325f069ccef6182571db7ac0225d5d318f008eb791ffa101 - flattened_ast: 02feccfef188a721d43b75e8c2256f7524db88bcd103c42ba65bebfe5445d394 - inlined_ast: 02feccfef188a721d43b75e8c2256f7524db88bcd103c42ba65bebfe5445d394 - dce_ast: 02feccfef188a721d43b75e8c2256f7524db88bcd103c42ba65bebfe5445d394 + ssa_ast: b1aa5e9ded7f8b48bae71225f4aa48f4c4366e92803405ca4e7c62b292bde34d + flattened_ast: cf517af413d4c6cf2acbb7f6924dc7df16e61e1b1eab12b5bc8267367e43c326 + destructured_ast: d7d55cfea5ea54a015823d7f0bd76df14239ad76fe6bb7e4a8a4c72b0ef6f39b + inlined_ast: d7d55cfea5ea54a015823d7f0bd76df14239ad76fe6bb7e4a8a4c72b0ef6f39b + dce_ast: d7d55cfea5ea54a015823d7f0bd76df14239ad76fe6bb7e4a8a4c72b0ef6f39b bytecode: b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd warnings: "" diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out index 0a8c72d686..58793fc43b 100644 --- a/tests/expectations/compiler/function/function_call.out +++ b/tests/expectations/compiler/function/function_call.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 35f7a9e6a0709e6fbea00feb60bbf281f14c20295996d7743a8bfa886772e50f initial_ast: f25477d64a89c91212d6f7df7d294756ea6d886f17c682ef3e847d97b1b907d4 unrolled_ast: f25477d64a89c91212d6f7df7d294756ea6d886f17c682ef3e847d97b1b907d4 - ssa_ast: c7be9d60134e1e234ee5950ae4bf6fe8ebd3c70e57b67a288236dc6fe8817de4 - flattened_ast: f73dbd887226bce2329f96b4d6c1bc1fa7d40bca4c0d7364dcd76c2006e23cc1 - inlined_ast: 042336c4bb8101c2d1b845756140fa0a7692692f13b2bd378eaacc2c47a37b57 - dce_ast: 042336c4bb8101c2d1b845756140fa0a7692692f13b2bd378eaacc2c47a37b57 + ssa_ast: f19128126050ef6d00563483bc82d9f2699c1e0ec89404b114047f419884358b + flattened_ast: 369b5393ee890420913469329fa99103b78fe19bbd98f35b959316d3858ec038 + destructured_ast: d9381de56b8284555e088b458c2b71dd5e42a36bf0dcf0dd61e74f8175c320a0 + inlined_ast: 1025f260684e64203d3bc31ab5c1299299a967fdfdec9de18c99736029957d1c + dce_ast: 1025f260684e64203d3bc31ab5c1299299a967fdfdec9de18c99736029957d1c bytecode: ce0dbf69a657e1fbc866ccc8c4a1cb4f8080a561d1ba4bafca831cee80a3ef81 warnings: "" diff --git a/tests/expectations/compiler/function/function_call_inline.out b/tests/expectations/compiler/function/function_call_inline.out index d783b411f0..ec0e1e044c 100644 --- a/tests/expectations/compiler/function/function_call_inline.out +++ b/tests/expectations/compiler/function/function_call_inline.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 65ae403d60c017a3a70900cb572a1197dbf20ea1cce3ae9a48354989697b5096 initial_ast: df40eb171f5d73427d4fb3e07a1b8527e7740c1175262383a5fa06afe0641411 unrolled_ast: df40eb171f5d73427d4fb3e07a1b8527e7740c1175262383a5fa06afe0641411 - ssa_ast: e4e44ade94500308ede757c4409faa26ed1c33bc4e1abcc81fb5d7a3103dfa4a - flattened_ast: 5873980a8c12b024580f6c0d581bd854eff9ccf12efd07faec56a520473e7a6a - inlined_ast: 4e1be3e70ef12212af6a16c479de1abdbdd98f9005c0fa48dae0d375d2e3407f - dce_ast: 4e1be3e70ef12212af6a16c479de1abdbdd98f9005c0fa48dae0d375d2e3407f + ssa_ast: 1c030ebaa9a65c5102304c52230ae59defbc31b162ce35ed8a729bcac7f73087 + flattened_ast: 30da202503d51bad8782aa5e24dcd5a174eea9b05ad7d71b80eebae5be6f92d7 + destructured_ast: 0fb1fe1435a7c74766ed3b959f3938fb9a27fe7eccb71b796d4a90a2b2b8ef03 + inlined_ast: 5d99726fb9c42d1dae254eb3338e9e032835162a86e36c6b9f13fee52a8a3045 + dce_ast: 5d99726fb9c42d1dae254eb3338e9e032835162a86e36c6b9f13fee52a8a3045 bytecode: 44ea5bc8171ad40715c28c40333b673e70474ef9ba2d8f60d6517c0bfc3539e0 warnings: "" diff --git a/tests/expectations/compiler/function/function_call_out_of_order.out b/tests/expectations/compiler/function/function_call_out_of_order.out index 7b64a149eb..c7363f841d 100644 --- a/tests/expectations/compiler/function/function_call_out_of_order.out +++ b/tests/expectations/compiler/function/function_call_out_of_order.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: eb507bb8d32ae3594d9c22557b842ebe88dcfc81b8f20aa462a8c81a3e083f31 initial_ast: 2e66056f9cc567c3f2cb633a3fc042fee903345bb7566ce6dd48622b56424af4 unrolled_ast: 2e66056f9cc567c3f2cb633a3fc042fee903345bb7566ce6dd48622b56424af4 - ssa_ast: 239547242fe1043516374257cfe81041ace468935982badc0bbd19e26cb35020 - flattened_ast: fd60c05e5ea2f79e385cc9d99e6cbfe3e588476380813ec55c23e4c92cef1653 - inlined_ast: 15ef64a7bfcb1310e16c3619838fd15a49f55056702695dd5436ea8e4d22a0a4 - dce_ast: 15ef64a7bfcb1310e16c3619838fd15a49f55056702695dd5436ea8e4d22a0a4 + ssa_ast: 179d31ef1db8d13dee47061678387c203e594c99dc362c75fdca26be97b5c3e0 + flattened_ast: 6a5ee9b84f2514a4e5beea5bdeb14e9e2d3ed3ba91ea7c7b95afb96b98ad09f2 + destructured_ast: 1334051d23244c6143afc021b87aa47d932591eb0de3b12f01bcd8e6766cdea5 + inlined_ast: 7b4ec4d220c4fc642cd71a6368fc30fdf5925dd7f795295e556d576065e8379c + dce_ast: 7b4ec4d220c4fc642cd71a6368fc30fdf5925dd7f795295e556d576065e8379c bytecode: 0d1f4cbd82531fbd8e3be16dd6b130e30da05f95568ab89856527ead1a0d68a3 warnings: "" diff --git a/tests/expectations/compiler/function/helper_function_with_interface.out b/tests/expectations/compiler/function/helper_function_with_interface.out index 30d88fe010..b66851ff21 100644 --- a/tests/expectations/compiler/function/helper_function_with_interface.out +++ b/tests/expectations/compiler/function/helper_function_with_interface.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 10652a4ac1489f3e5fb2e201552179d310bda10c0468fa53df6408cd9a4f88ad initial_ast: fc9140e35805415b4f2b04a2a1856e2ec6e334ee9699a89894c0b88b24100bf9 unrolled_ast: fc9140e35805415b4f2b04a2a1856e2ec6e334ee9699a89894c0b88b24100bf9 - ssa_ast: cf0c8034e2ee1ec212725b7136c8fed3d5ee6327d9ffcbe8bd7310ce5729afea - flattened_ast: e1f103ea422c359b57690fd535240d823be204a09349421b03a825a78459a3ba - inlined_ast: e1f103ea422c359b57690fd535240d823be204a09349421b03a825a78459a3ba - dce_ast: e1f103ea422c359b57690fd535240d823be204a09349421b03a825a78459a3ba + ssa_ast: 1c7de67b9f95e726e1f96e1130d12a2e2bcb3125e93991783562230bee376d20 + flattened_ast: cb5a6e6edbeaf8abf2c8c5e079755a4f74c5c6c687bdebc1216435c7a8f15dae + destructured_ast: 54b50236c58afbaf50fd9cf6aba643c46873ceb6f5b9fc95306d5cd2f790d699 + inlined_ast: 54b50236c58afbaf50fd9cf6aba643c46873ceb6f5b9fc95306d5cd2f790d699 + dce_ast: 54b50236c58afbaf50fd9cf6aba643c46873ceb6f5b9fc95306d5cd2f790d699 bytecode: b48e67a8ef2d6c9c20bb5d14b831c6fdcccc5093212bccf31f75483613edb518 warnings: "" diff --git a/tests/expectations/compiler/function/inline_expr_statement.out b/tests/expectations/compiler/function/inline_expr_statement.out index 542dec549d..b7f348a044 100644 --- a/tests/expectations/compiler/function/inline_expr_statement.out +++ b/tests/expectations/compiler/function/inline_expr_statement.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: ad29ba7da84b0c5d64220787f1686a551f624486ab3d9ccd2563d04f98d88c20 initial_ast: 73b2283213866910fe5b658e565262b8cf0f5bdd63a75744540ceca9e664426c unrolled_ast: 73b2283213866910fe5b658e565262b8cf0f5bdd63a75744540ceca9e664426c - ssa_ast: b1a433b8926e8eed057df7a36ef16cfe926748b1615a1aa873c0bf33cbf09466 - flattened_ast: 96f70367ca9bd009145fefd19e535eb1a82ef58b32f1d0eb0ab4b64af11c318d - inlined_ast: c411e1c3ebcf261591c46bb39e56edc4c7f85ccd28d757ce4ee92fdcf37dcae2 - dce_ast: 1306c4a61a7809227b4c04f91d7c309775654968ae7e0539af4b1c36da7563c3 + ssa_ast: ffb556000c776be294a9c9fc0f7987d8c44132942d7508f3e8e16818f08034d9 + flattened_ast: 0ef7576559d24e1b87424060972fcd19bd426716c013fcb6a6fb914a37df4f46 + destructured_ast: 02eac7d2855ab3410082c3ab65cff05f7d39ab3df70a914ceaa2dacb18603218 + inlined_ast: e26d7ce9ce806211830746d4700ba24739a7ef73452620f2b3aba29d42ae3d1d + dce_ast: 9430102073fe31bb5e58b7c02c5db1d2b5807130750d4ec7187fd807c925483b bytecode: 3c05138e2787f4f82e5e0503d73b7a23b55758efa05449d5fd6f691902e575f3 warnings: "" - initial_symbol_table: efd58a82eec538b09a03f84aeb0c685995e6a9b2f30087929a2ec52c512e01b6 @@ -18,9 +19,10 @@ outputs: unrolled_symbol_table: ddfab7deb0e6ab256ccba0367b1188594fa8f8b185c63a85b76c389b063723b7 initial_ast: 554e5cee7c6eb0c2e05b4ab77f917b2ab671341d27c48daebba5a6d8d49003ad unrolled_ast: 554e5cee7c6eb0c2e05b4ab77f917b2ab671341d27c48daebba5a6d8d49003ad - ssa_ast: f7f6d516d3d01bc703ab69bf46ce406b23ed581fe6ac787493875797fd199fcf - flattened_ast: cf4311dbcd61fa660750f9b64e0638d55546e5fb42d937f7c7642e80dd4d6b77 - inlined_ast: 6d649cc15fdcb5fe82d52e0fa24d3f1b1a5ea66fef091cbd82c760ff74715507 - dce_ast: 6d649cc15fdcb5fe82d52e0fa24d3f1b1a5ea66fef091cbd82c760ff74715507 + ssa_ast: 5563d6c45dc834810e394f5b1ecec6a3b797dc2040e4a1940f4bb0ee57e506be + flattened_ast: bdd9c60bbffff2ad9e7a72e9258a8eb7650540c36bd97f31fc537e50a69f6b7a + destructured_ast: bb7fc337fddec67daedc5b79b22687d934e2f6eb50a2320e64ce9311d8d12930 + inlined_ast: c30a8f1e257035dd1240c83776d864e04d9d9d3737c53581e762f26aa3a5a15f + dce_ast: c30a8f1e257035dd1240c83776d864e04d9d9d3737c53581e762f26aa3a5a15f bytecode: a0b5126f2fda64d2ee08377b08a787af8dcdb825268db2acf45a4a9d94dd8887 warnings: "" diff --git a/tests/expectations/compiler/function/inline_twice.out b/tests/expectations/compiler/function/inline_twice.out index 5c13225ea3..21491f0fa0 100644 --- a/tests/expectations/compiler/function/inline_twice.out +++ b/tests/expectations/compiler/function/inline_twice.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 05a0d73522a23d8054744e861cb6919de7e0240ffd2c245be7c36ffa6555417c initial_ast: ca7335fcf90cf27b14a7ff45cc9c121de5f80edb2d36d32ccbb2071a6ab8c15b unrolled_ast: ca7335fcf90cf27b14a7ff45cc9c121de5f80edb2d36d32ccbb2071a6ab8c15b - ssa_ast: a2f94566019fc66ecfc0d3d96efaf083aa3819a2c887655a547c3a999cdffd4e - flattened_ast: 27e02ca0e8c9abd35fc8a450f2a442fe65bf2a25acba27f2b54d58128240b16f - inlined_ast: 74fc6b7b2abbb362acfd05ced40c9dfa263b502036781b929b5fc4ad119309c5 - dce_ast: 74fc6b7b2abbb362acfd05ced40c9dfa263b502036781b929b5fc4ad119309c5 + ssa_ast: 0edb84b6dcd57a3227eaf279d1ada46a5f96536b58965d0baabb4c13d08971e2 + flattened_ast: 9c89c657cbe0be54355f9626fd872287de7bbc2db668489a01487a12d995fa19 + destructured_ast: da4278279baeb140201130c03601149702158659b2fcb4c4e1f5a652f8935a04 + inlined_ast: c34169bc7e76b32b637ba0a71d3c323a1c136428348e62ff771953841952355b + dce_ast: c34169bc7e76b32b637ba0a71d3c323a1c136428348e62ff771953841952355b bytecode: 0d572a58b3609a5835754184c0d7b55b9bb11b101a11a1be25546a212a668e25 warnings: "" diff --git a/tests/expectations/compiler/function/private_input_output.out b/tests/expectations/compiler/function/private_input_output.out index 11d183c2b3..fba1d7ffbe 100644 --- a/tests/expectations/compiler/function/private_input_output.out +++ b/tests/expectations/compiler/function/private_input_output.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 04e81d33425e630edc0cab4cfb7933385446ebc14cd83c0ff7fbbf339d30c31d initial_ast: 350e546265bd7417bcc63b083e48e9c1eea6547ce6279c0a9439f434abcc77af unrolled_ast: 350e546265bd7417bcc63b083e48e9c1eea6547ce6279c0a9439f434abcc77af - ssa_ast: d6608cc68f8e33190b029e36f24dd24843bd30ba4f0cb6ad433af1c7b73faf2f - flattened_ast: 02a0b64ae94a2ed92760fd3f5ef041507b87e487c701eff9d4027d1dcee8f8e2 - inlined_ast: 02a0b64ae94a2ed92760fd3f5ef041507b87e487c701eff9d4027d1dcee8f8e2 - dce_ast: 02a0b64ae94a2ed92760fd3f5ef041507b87e487c701eff9d4027d1dcee8f8e2 + ssa_ast: ba769afd0488d6adcf8db3d6306c1eaf3d6decb90ea8a59be372aab7b899d4d6 + flattened_ast: e6c8794cb394e3bba9468025f6a124a246b5760f719ff973fc9856f708b0b9cd + destructured_ast: b23365e1f6daa2a9c02f04e56a196431cc5a485537873526d047783e7b9bfdfd + inlined_ast: b23365e1f6daa2a9c02f04e56a196431cc5a485537873526d047783e7b9bfdfd + dce_ast: b23365e1f6daa2a9c02f04e56a196431cc5a485537873526d047783e7b9bfdfd bytecode: 9b307e37c2c37a7ce3a9817079f2c4701e09be5a72610792a62a26d9e2027e0d warnings: "" diff --git a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out index b24c49da0e..4b63513095 100644 --- a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out +++ b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b406519cdb9a1cae2d5df99eb638bdebffb4c545542b1ea20749e07a69a68fc9 initial_ast: 597e2a8548c8eeba743344f950f86f7fba212e067bf2b43b10e8a3a561c0d843 unrolled_ast: 597e2a8548c8eeba743344f950f86f7fba212e067bf2b43b10e8a3a561c0d843 - ssa_ast: 018ca08360aaf9afe9af2c6a2fd4cc024f34a3cc4b03951b43a65007db36ea4c - flattened_ast: c1095ac245e5643101c8df09829f1e035a8bf12835159a1cf63133307a875ede - inlined_ast: c1095ac245e5643101c8df09829f1e035a8bf12835159a1cf63133307a875ede - dce_ast: c1095ac245e5643101c8df09829f1e035a8bf12835159a1cf63133307a875ede + ssa_ast: e7ee13aff98d803f7dee908b6c1f49e2f18705a0b27edbccf12d26d3f55412a4 + flattened_ast: cf80e7ea767650744584bb51cedd39c343071d79d51a14028a5457943e6b1653 + destructured_ast: 4e2c11155fc3fa8f1798cda9d07c3e021aa3fbdeff5d1cde0deea7f63a633f62 + inlined_ast: 4e2c11155fc3fa8f1798cda9d07c3e021aa3fbdeff5d1cde0deea7f63a633f62 + dce_ast: 4e2c11155fc3fa8f1798cda9d07c3e021aa3fbdeff5d1cde0deea7f63a633f62 bytecode: eac5d0cfbac44a017f12d12a655088f7aa15d0567afa771b5ff8d83ba7a9eacd warnings: "" diff --git a/tests/expectations/compiler/function/program_function_empty_body.out b/tests/expectations/compiler/function/program_function_empty_body.out index 0079396421..e39655b096 100644 --- a/tests/expectations/compiler/function/program_function_empty_body.out +++ b/tests/expectations/compiler/function/program_function_empty_body.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 6e4112e81bff4d0d22eae2ec8692e2d54c581eca65c69b9ca816a5f2c83a5e16 ssa_ast: 6e4112e81bff4d0d22eae2ec8692e2d54c581eca65c69b9ca816a5f2c83a5e16 flattened_ast: defc8970989532f165b51332398e9e5068fd87e6575df5490ba5ec53113d19f4 - inlined_ast: defc8970989532f165b51332398e9e5068fd87e6575df5490ba5ec53113d19f4 - dce_ast: defc8970989532f165b51332398e9e5068fd87e6575df5490ba5ec53113d19f4 + destructured_ast: 085c50acc4706fadff1cf4c04cdd054dca8f67c0c3442890da760b365fae619b + inlined_ast: 085c50acc4706fadff1cf4c04cdd054dca8f67c0c3442890da760b365fae619b + dce_ast: 085c50acc4706fadff1cf4c04cdd054dca8f67c0c3442890da760b365fae619b bytecode: abc411306856bb13d787153cb890d742f962dfe924477954c427b7a3ab4e279b warnings: "" diff --git a/tests/expectations/compiler/function/program_function_unit_type.out b/tests/expectations/compiler/function/program_function_unit_type.out index 5ff3079df2..d07aba6f32 100644 --- a/tests/expectations/compiler/function/program_function_unit_type.out +++ b/tests/expectations/compiler/function/program_function_unit_type.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: bfd997015c96eb3d92c5f9057b6370ae3938578b492dbed7b97175afdbd471b1 ssa_ast: bfd997015c96eb3d92c5f9057b6370ae3938578b492dbed7b97175afdbd471b1 flattened_ast: c8911d3b90a47b2409ef8a009a0b355fe1a0bd015eb771dc95f30743e1294607 - inlined_ast: c8911d3b90a47b2409ef8a009a0b355fe1a0bd015eb771dc95f30743e1294607 - dce_ast: c8911d3b90a47b2409ef8a009a0b355fe1a0bd015eb771dc95f30743e1294607 + destructured_ast: b1d856dd1ea360545551c496d39e751080e70360a5cb5088d4d75e12eee96a72 + inlined_ast: b1d856dd1ea360545551c496d39e751080e70360a5cb5088d4d75e12eee96a72 + dce_ast: b1d856dd1ea360545551c496d39e751080e70360a5cb5088d4d75e12eee96a72 bytecode: 8ed93150ef7e3de74faaace88f995a65373e73428068d75142100775684d2fe7 warnings: "" diff --git a/tests/expectations/compiler/function/program_function_with_mode.out b/tests/expectations/compiler/function/program_function_with_mode.out index 7e9498402a..e03ca7f82b 100644 --- a/tests/expectations/compiler/function/program_function_with_mode.out +++ b/tests/expectations/compiler/function/program_function_with_mode.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 557d1db803e8208fe1da966a71fd18f2e3cf073e0f2ffc43582801ddbbe3b5cb initial_ast: 4bc6362836bfb83ce48f3ad8c251650eda30537c0acb2dbbcaa5d153f4630c71 unrolled_ast: 4bc6362836bfb83ce48f3ad8c251650eda30537c0acb2dbbcaa5d153f4630c71 - ssa_ast: 485a2411821e3cc4cb689a254522cdae64e17223938d9b319c44e9da3aec016c - flattened_ast: 6bffc3c2144a51b9d0890c52755b0c7d97cfb52a473f2f7e5a498bf7f32f64a2 - inlined_ast: 6bffc3c2144a51b9d0890c52755b0c7d97cfb52a473f2f7e5a498bf7f32f64a2 - dce_ast: 6bffc3c2144a51b9d0890c52755b0c7d97cfb52a473f2f7e5a498bf7f32f64a2 + ssa_ast: c5d2ef92e690385b358aeb5386d3d5ac6e1d7c4fe3c2bf0d090ae1e13be16cc7 + flattened_ast: e61518b69eeb01df9a04a8c90149d52b31044ce5edd7f59bd62af6e61ac00e4b + destructured_ast: a407de118c9d2e7de21594108cee37ae7f6ab98604e70548c12f581862a2b983 + inlined_ast: a407de118c9d2e7de21594108cee37ae7f6ab98604e70548c12f581862a2b983 + dce_ast: a407de118c9d2e7de21594108cee37ae7f6ab98604e70548c12f581862a2b983 bytecode: 7d4b43f8c90f7d5050fe8df5f3e44485187d882e4ecd4a9fcf9aae5ae14413df warnings: "" diff --git a/tests/expectations/compiler/function/record_in_conditional_return.out b/tests/expectations/compiler/function/record_in_conditional_return.out index db4eae0479..6fdcd35a2f 100644 --- a/tests/expectations/compiler/function/record_in_conditional_return.out +++ b/tests/expectations/compiler/function/record_in_conditional_return.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7a89e87fd4c0b3e1a08b06dfd67ae3b985fa7119d0bb8d91c233379cf372c05b initial_ast: 25666b6f305a1e3dbbdec17550db24d30c3d2e54b063b6814723fedb3d0bf259 unrolled_ast: 25666b6f305a1e3dbbdec17550db24d30c3d2e54b063b6814723fedb3d0bf259 - ssa_ast: a4455f6a325f25fc53b2d42f9fd127a36b787b9d940c0b97ac050ebeb87f4ddd - flattened_ast: c17f874c33875d81a7ee9e1d79ad1d35b2f3db4f1f7632e8fc8f23425bc4f868 - inlined_ast: c17f874c33875d81a7ee9e1d79ad1d35b2f3db4f1f7632e8fc8f23425bc4f868 - dce_ast: c17f874c33875d81a7ee9e1d79ad1d35b2f3db4f1f7632e8fc8f23425bc4f868 + ssa_ast: 08fe0b539731c507966ca37a244bee54f356f646bb3d4552cc757331dd7139b3 + flattened_ast: a0ec17f949db1b17246b5530e5f407e7b184c927df1c019803904a4cfa78c2b8 + destructured_ast: 43f92dba0bb655fdd7362731ed424a951ecab8c1b9da08c8265f168d67efe857 + inlined_ast: 43f92dba0bb655fdd7362731ed424a951ecab8c1b9da08c8265f168d67efe857 + dce_ast: 43f92dba0bb655fdd7362731ed424a951ecab8c1b9da08c8265f168d67efe857 bytecode: d33387a022d43e9692d4e894d0f01081de02b7a97bca69ab6b769b9ee41672a2 warnings: "" diff --git a/tests/expectations/compiler/function/self.out b/tests/expectations/compiler/function/self.out index 6f4638a9ce..f21a6818e3 100644 --- a/tests/expectations/compiler/function/self.out +++ b/tests/expectations/compiler/function/self.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c86d89f775243692114665c76b00955ec392accbf92bb2046f14eda92f8855ac initial_ast: 5a0ab14ece3e913371f92b16cf7fd2ebab4118e1265c699fd23d0bcc3ddf5311 unrolled_ast: 5a0ab14ece3e913371f92b16cf7fd2ebab4118e1265c699fd23d0bcc3ddf5311 - ssa_ast: ae89dfd6ec10c911a7bfc36049544c651e7b702eff0ea9599ae57de2e5a7b674 - flattened_ast: 0ab659abf443f20c93fa1ac180ff9101839db6ce7ddb44530afb691130fdaada - inlined_ast: 0ab659abf443f20c93fa1ac180ff9101839db6ce7ddb44530afb691130fdaada - dce_ast: 0ab659abf443f20c93fa1ac180ff9101839db6ce7ddb44530afb691130fdaada + ssa_ast: 82df19a26d599186bb707ad60ca1670f084d86ba2d471ae9f7ba2241a2e98da6 + flattened_ast: 04f1a5b0056863039be0a4bcffa3fd82e998a43f06aae71388eb2b88b1cc73a5 + destructured_ast: c735f21ef4db73a7e55252c95fa35e0de1ca24886333d16daae9e20d900b4857 + inlined_ast: c735f21ef4db73a7e55252c95fa35e0de1ca24886333d16daae9e20d900b4857 + dce_ast: c735f21ef4db73a7e55252c95fa35e0de1ca24886333d16daae9e20d900b4857 bytecode: 189a1342c4be53d495f4ebae39c645cb1f27532c1cc1f27f4ed656ed200f05af warnings: "" diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 1379ce7271..a0556906a7 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b7c2b55f18db1dfb6cff387146b373b13c31495d6bd062aed6c4d830a6f2c146 initial_ast: 6ac71c99d1beb69bd8039f15e7eb7049d4742424388dbaabe2f06eb11943d8a6 unrolled_ast: 6ac71c99d1beb69bd8039f15e7eb7049d4742424388dbaabe2f06eb11943d8a6 - ssa_ast: c9cc2636d2d8b3e4c4c0d19dbebf0248f168659a3834bbf475fef41e9550c924 - flattened_ast: 6de49bd39fa372d274b3523a068d45f5fd42a150367029e1f4aae808d21c5774 - inlined_ast: 6de49bd39fa372d274b3523a068d45f5fd42a150367029e1f4aae808d21c5774 - dce_ast: 6de49bd39fa372d274b3523a068d45f5fd42a150367029e1f4aae808d21c5774 + ssa_ast: 6c916b91f50380d09e6a457f056d68866f94de215e118b8cdaa75f59cb347f0d + flattened_ast: eeea53f6751cdd0adc6cfe19e22e0656042f120a4e3ea53bd1cc7ad71e30559b + destructured_ast: 36b3d6ce7a621541a078c99c06c641bcb2d1f5730e7755a522bbc3bb3124046e + inlined_ast: 36b3d6ce7a621541a078c99c06c641bcb2d1f5730e7755a522bbc3bb3124046e + dce_ast: 36b3d6ce7a621541a078c99c06c641bcb2d1f5730e7755a522bbc3bb3124046e bytecode: e5ff5cd670d0f32a96530eeba1b403bf2d6d5ff8ed31f4328227bb8857708f76 warnings: "" diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 5b22795ab5..799aaeef9b 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f5faace6fc30af1ff0ef6896771b8081bf9f3b9a7f4f0b84c277c3c92be9ce16 initial_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 unrolled_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 - ssa_ast: c691ba9882cdecab7b841724950ed7383a124bcbede63181091d0ce2a24d27f6 - flattened_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - inlined_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - dce_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 + ssa_ast: bbb83440ec8651c4955dfe546db9bd635b8b50411dce5a69337abee4e31aa01f + flattened_ast: 0c4d8472a67c9407be1adb68e3014bcc6db0bc06f2bd53700990fb02291aa8cd + destructured_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + inlined_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + dce_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f warnings: "" diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 5b22795ab5..799aaeef9b 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f5faace6fc30af1ff0ef6896771b8081bf9f3b9a7f4f0b84c277c3c92be9ce16 initial_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 unrolled_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 - ssa_ast: c691ba9882cdecab7b841724950ed7383a124bcbede63181091d0ce2a24d27f6 - flattened_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - inlined_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - dce_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 + ssa_ast: bbb83440ec8651c4955dfe546db9bd635b8b50411dce5a69337abee4e31aa01f + flattened_ast: 0c4d8472a67c9407be1adb68e3014bcc6db0bc06f2bd53700990fb02291aa8cd + destructured_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + inlined_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + dce_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f warnings: "" diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index cddbee5539..1917500b55 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3476aa3e1758580d69113e0f081e09123652c2ee90f21f009f6f1425c84076d0 initial_ast: 5ea657b1afa90b7137ddf25385d067356c12d778280ddb5adeab36b2ead5c30e unrolled_ast: 5ea657b1afa90b7137ddf25385d067356c12d778280ddb5adeab36b2ead5c30e - ssa_ast: d369033bb9bc116a3ea449ac2e366d4d577946dfddd9af28de5e94af08ae6f3f - flattened_ast: 47997e7171b2410d48d84e20137a7f4095b86cd3bef807c07f2efd72a062be25 - inlined_ast: 47997e7171b2410d48d84e20137a7f4095b86cd3bef807c07f2efd72a062be25 - dce_ast: 9244a766e0fae0fe2eb6d633fa97443170a89d711dc7e9d0f0fdaf24d7cb0f35 + ssa_ast: 1650472d35937069b98f55f802795d74ffc9490ac4e9b70b8010bbf2010af27d + flattened_ast: 434c0e3c5cb06174c63bfc8604009c5852f228c37e43da09be3055a0581b72ed + destructured_ast: 642e569b608a1707a6e3702cea9d9704e78a5e352f66509ba85ee2718c9d398c + inlined_ast: 642e569b608a1707a6e3702cea9d9704e78a5e352f66509ba85ee2718c9d398c + dce_ast: 0dc4c77130c5036838643cdef577b45fabc99cdc284c89324b39d26669bfb3d9 bytecode: 893927d508e10659ff793c68266c2702a5002dab713b22c8e5d00abec91925e7 warnings: "" diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 5b22795ab5..799aaeef9b 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f5faace6fc30af1ff0ef6896771b8081bf9f3b9a7f4f0b84c277c3c92be9ce16 initial_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 unrolled_ast: dc0d9ac25c1f87ec29ee2cb1c4c885be9cbe74133e8693e6f1a961665f3d29f1 - ssa_ast: c691ba9882cdecab7b841724950ed7383a124bcbede63181091d0ce2a24d27f6 - flattened_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - inlined_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 - dce_ast: 8cbdb193a06dfc3cd1bf775f57738802d0e233a0d503873772295b1b00417819 + ssa_ast: bbb83440ec8651c4955dfe546db9bd635b8b50411dce5a69337abee4e31aa01f + flattened_ast: 0c4d8472a67c9407be1adb68e3014bcc6db0bc06f2bd53700990fb02291aa8cd + destructured_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + inlined_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 + dce_ast: 223cf5cd9fdc502fd96d908bac8b0157380e1777c48226679747113d938832a5 bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f warnings: "" diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index 6fbe93264f..e925f8b751 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e59b510527114ab88771235dcae6f794a84ac2d657134822c486fa6584e28d18 initial_ast: 439839081dea56e8fd2ee8c2030574886af2e9e4aa3e4d0d8b1c36782de0f9b3 unrolled_ast: 439839081dea56e8fd2ee8c2030574886af2e9e4aa3e4d0d8b1c36782de0f9b3 - ssa_ast: 3b2e37e5b61594603d081b343568157e330657521f0a84aed42dfc4bd64bb362 - flattened_ast: 845d4fb26232d083b6e7b1934c5fa0fde9ad8318f706ae479d9a688e93483b48 - inlined_ast: 845d4fb26232d083b6e7b1934c5fa0fde9ad8318f706ae479d9a688e93483b48 - dce_ast: 845d4fb26232d083b6e7b1934c5fa0fde9ad8318f706ae479d9a688e93483b48 + ssa_ast: a6196bea9906496a68c6ea51c00332d4f77f58fc7e4bcea8869a42f4e8c6c636 + flattened_ast: e3839339742eed9e8fbb33f6f1284ce70b4312482b0618b74f024257d81ce383 + destructured_ast: 0f9da2c3e19716cedb4ac82c0569dd3f17feff1967d261822572154bd8cbdd5c + inlined_ast: 0f9da2c3e19716cedb4ac82c0569dd3f17feff1967d261822572154bd8cbdd5c + dce_ast: 0f9da2c3e19716cedb4ac82c0569dd3f17feff1967d261822572154bd8cbdd5c bytecode: 5ae93b430e99846cd18eedb09361257138ec9e2708bdb12c5f8de43ee470c031 warnings: "" diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index e189271d6b..a051b4b3f2 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ebdbae69e7efd0a9fcd76d413998ed0015aa31db56a79cf810106ca00a0119ae initial_ast: b53898edb12a9bbed04b21f6cd2f23dc40499c3811c1f1439e619100666c3cf2 unrolled_ast: b53898edb12a9bbed04b21f6cd2f23dc40499c3811c1f1439e619100666c3cf2 - ssa_ast: 3d08b7a347202349f1b02159caeff8beaa5c7427dc33d59f933c6394af20ae28 - flattened_ast: 6197e3b9767c7456a5a60d78bf1e12400077ce73a8601afa9d9a8a8acdd98a9a - inlined_ast: 6197e3b9767c7456a5a60d78bf1e12400077ce73a8601afa9d9a8a8acdd98a9a - dce_ast: 6197e3b9767c7456a5a60d78bf1e12400077ce73a8601afa9d9a8a8acdd98a9a + ssa_ast: cdb9d37f37e31200c634b161d161b42464dab6bf901b82383385273217ba3150 + flattened_ast: 4ce67c1c29953e91186f0a39ecfc42a3b481b6fcd338031423b3d9b008fc5afa + destructured_ast: e35e81573c27d6a6b82ff1c3f563db2026d4206cfc63d85a7a8dcfa8c26f56e7 + inlined_ast: e35e81573c27d6a6b82ff1c3f563db2026d4206cfc63d85a7a8dcfa8c26f56e7 + dce_ast: e35e81573c27d6a6b82ff1c3f563db2026d4206cfc63d85a7a8dcfa8c26f56e7 bytecode: 8d98c485074bce1870f038811bfa40e7910f16e7e489f22263f9b1816b1e2d8c warnings: "" diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index 6caef83f73..7972f078ca 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f5faace6fc30af1ff0ef6896771b8081bf9f3b9a7f4f0b84c277c3c92be9ce16 initial_ast: a6378731769ff813ec514a88f15d7c3ccf90e8696b07d5c146c95bdf582070af unrolled_ast: a6378731769ff813ec514a88f15d7c3ccf90e8696b07d5c146c95bdf582070af - ssa_ast: 99b8cd47b654388d7d83956fdb997afa2571b3d122dcf6bcd8b7f037aeecaa2d - flattened_ast: e50734a1dffe2a8c63a616abe02588ef6af28338f1028642c6df30552503b4e3 - inlined_ast: e50734a1dffe2a8c63a616abe02588ef6af28338f1028642c6df30552503b4e3 - dce_ast: e50734a1dffe2a8c63a616abe02588ef6af28338f1028642c6df30552503b4e3 + ssa_ast: 41469dfa181754f8694d354b6d7e3cb5d427af7583b31c46bd1f0a9e33bcbf7f + flattened_ast: 5ba6354b213d9ab32903efe9e239bfb0b74949a59bb4a0a0a16022ff1a1e8ac4 + destructured_ast: bb9ddebd831f0298b3741deac1878b9e26bb0ad0cf95e1c35d09379b705857e0 + inlined_ast: bb9ddebd831f0298b3741deac1878b9e26bb0ad0cf95e1c35d09379b705857e0 + dce_ast: bb9ddebd831f0298b3741deac1878b9e26bb0ad0cf95e1c35d09379b705857e0 bytecode: 0d7662a131d11ba04a4f945b24906a6f1899ac4260e423cc48aadd781371d3f5 warnings: "" diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index cc94235dda..68131ac969 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1823847a5b745bd66010de73413a9be8ecc28db583b0c97e740ed871237a785a initial_ast: 506175ba9691c5e854d8f77a33c73dab357a625d7b3c481831ca70db3ee43e4e unrolled_ast: 506175ba9691c5e854d8f77a33c73dab357a625d7b3c481831ca70db3ee43e4e - ssa_ast: 806269c731fc2daa6a7da85afed16ed921ef2c642ce6958a298aa59b8fa8b699 - flattened_ast: ec81e0893bbbb8e78ee15726f80b579f04e31008d25141bfbaa79d854a8072ac - inlined_ast: ec81e0893bbbb8e78ee15726f80b579f04e31008d25141bfbaa79d854a8072ac - dce_ast: 88c9f259603afba85dfe7cb44a1ca318464368c28dc587057129f364fd1a2a37 + ssa_ast: b4e6218c573de629857ee7d70c1a7c49de41d04203fd5dee7be09470d46f7ab7 + flattened_ast: 04e0208130fef7b8ae45df656e657fcdf8db53792e45ac81722e2db5c8ef0a22 + destructured_ast: 7d97d40f988b929a55366454f5dcea77328b689e31f20d738b1c17580e1939cf + inlined_ast: 7d97d40f988b929a55366454f5dcea77328b689e31f20d738b1c17580e1939cf + dce_ast: 74dd06e495730a52b748c9e632ce3e4f46ad76f59aa0fb4e91e1db7b0732c3bb bytecode: f8f1b8520fc2b0b64155f840db31d03aeee1afecd309f7a4be10038ee72fc5ea warnings: "" diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index 761a93bca9..1822a5bbed 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cd116bf484805e55d701e41c07da5e9e8fc1296bf9b37b0046ffca3b969378fe initial_ast: ebb0ae69d7c681d84d81185e43347323576c19b472423431a8d37fe2a201d574 unrolled_ast: ebb0ae69d7c681d84d81185e43347323576c19b472423431a8d37fe2a201d574 - ssa_ast: a1db55b2e195c5b67ac468f464c20fb33bdc1320bc9fcd7744e82f2ae6fb302e - flattened_ast: d50eac79a95fc2b74974142f245b4fdf1209ec5f5f55a20f50854c67db2c509e - inlined_ast: d50eac79a95fc2b74974142f245b4fdf1209ec5f5f55a20f50854c67db2c509e - dce_ast: d50eac79a95fc2b74974142f245b4fdf1209ec5f5f55a20f50854c67db2c509e + ssa_ast: 346493bab221c0df9ac1a1b4c5808ed328ae44fff72281e2392a2a6325c69509 + flattened_ast: 8bebd15e161260ee2a30683507e6d94ae8782ffb2db07873024ab3cfd63f72d8 + destructured_ast: 37174ca0e6b554b4804d6745dfd9184e118d090813724405f8bb02cac196a36c + inlined_ast: 37174ca0e6b554b4804d6745dfd9184e118d090813724405f8bb02cac196a36c + dce_ast: 37174ca0e6b554b4804d6745dfd9184e118d090813724405f8bb02cac196a36c bytecode: e7f080384059049f2c24ec0a010b5ec6b055497b51b78d736a5e2e8fa7b441eb warnings: "" diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index 1b292a31f6..85d059277d 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b7c2b55f18db1dfb6cff387146b373b13c31495d6bd062aed6c4d830a6f2c146 initial_ast: 709e54f33f5feb1360144b1a9842a62ed3432cac4d484b1a1560f4bc83f7626f unrolled_ast: 709e54f33f5feb1360144b1a9842a62ed3432cac4d484b1a1560f4bc83f7626f - ssa_ast: 43b635917defad1162a320d55a660e43ef85a47a13e929822feeaa3879ea1d47 - flattened_ast: 2810b762e84cc6a0a44ec800f0b718d06e24355a19a43f0cc7634ab60c7a9cc7 - inlined_ast: 2810b762e84cc6a0a44ec800f0b718d06e24355a19a43f0cc7634ab60c7a9cc7 - dce_ast: 2810b762e84cc6a0a44ec800f0b718d06e24355a19a43f0cc7634ab60c7a9cc7 + ssa_ast: 61d7a1d47e8f5f1a2e4fd20291a28955693ec472e93d4f1c20728f8abcde705f + flattened_ast: cf995b8ab8b54684132f3e4b64c0d87b3156bd0752bd50c49185b0ad8b194263 + destructured_ast: 906ae393eee70a5318317d19b3bad5bea1cd869ffed36f533621adaaab501b79 + inlined_ast: 906ae393eee70a5318317d19b3bad5bea1cd869ffed36f533621adaaab501b79 + dce_ast: 906ae393eee70a5318317d19b3bad5bea1cd869ffed36f533621adaaab501b79 bytecode: cab98d3ba5835201a8db5ce82ab32e51dc68f37a01156374e2f00a8bcbd82308 warnings: "" diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index 03b075a44b..a62296199d 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0913bb0bdc80b50fc6b91f6e0dcd0fbc6f4b565f1a187e37d5ef6b3c2c527bbb initial_ast: 325a0a768ad6cb789561605d928f98d40b08955b4b1f13a6e512dbec01d3116c unrolled_ast: 325a0a768ad6cb789561605d928f98d40b08955b4b1f13a6e512dbec01d3116c - ssa_ast: 0b9731a1218d2afad53da2ab6166b0f15a76559e6e30b3e1d3b42db860aa9110 - flattened_ast: 25b4ea6885ac3c88f6fe01486f67913994fb993aa2a3a03e6e728985b66c6cad - inlined_ast: 25b4ea6885ac3c88f6fe01486f67913994fb993aa2a3a03e6e728985b66c6cad - dce_ast: 25b4ea6885ac3c88f6fe01486f67913994fb993aa2a3a03e6e728985b66c6cad + ssa_ast: 776c15f34a389af5d2842e38be436b8189c1903e28fb0c617efde7c337d7d099 + flattened_ast: 2a20582895ed001d4d9995a61d75db922a3163ca1a81566890201f80f4853365 + destructured_ast: d1540618f5cbb7e250f90b34ab58a2302784d50ff8c0d319c2b668291dc13136 + inlined_ast: d1540618f5cbb7e250f90b34ab58a2302784d50ff8c0d319c2b668291dc13136 + dce_ast: d1540618f5cbb7e250f90b34ab58a2302784d50ff8c0d319c2b668291dc13136 bytecode: d60be9014c6563fb9bb800891ce6238d2f99473faf47c92cf99893ad1474a64e warnings: "" diff --git a/tests/expectations/compiler/group/to_x_coordinate.out b/tests/expectations/compiler/group/to_x_coordinate.out index 72fe070326..1c675d1ff1 100644 --- a/tests/expectations/compiler/group/to_x_coordinate.out +++ b/tests/expectations/compiler/group/to_x_coordinate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1bfa0e39b96c190d821eb751b6441b411bf173a96263b3b4a998a6b0d2fdb1fb initial_ast: 3923f64e0ff5b665addeba875de6ba9c8f6ee5d3fe03e37b0e55c056f60a0230 unrolled_ast: 3923f64e0ff5b665addeba875de6ba9c8f6ee5d3fe03e37b0e55c056f60a0230 - ssa_ast: 1558e1f992cca4e0810205119ff83dfa39108c62d52be5fafa75cc0c9e3c22b6 - flattened_ast: 519092ff2b9475381bba808ff84bb94f0e4d8e079978244f1adcec7a328e7cfa - inlined_ast: 519092ff2b9475381bba808ff84bb94f0e4d8e079978244f1adcec7a328e7cfa - dce_ast: 235df8a6ee904985fb20ef3df340535783c8eae6a2c02eca3aa8353a23e9bc70 + ssa_ast: ae361d8304e56ebdfcc17cd1c387e178de04b73bf041b44e523441299e082b54 + flattened_ast: 0c6427abdb4a72690aaaf1674b40f89e4c5076be8a347198b73dfa96fc6d521d + destructured_ast: 3f2ce709956539e9d6161a1abea401acf5edc692dbacc92f7216bd08ffb3964b + inlined_ast: 3f2ce709956539e9d6161a1abea401acf5edc692dbacc92f7216bd08ffb3964b + dce_ast: cb15e5ca329df848c51a27de01d4aad2223fa68ba0d4adc7251f68c72fe4e887 bytecode: 51e95e10668242bec30e9917715d9856da632e933c33207ee41c5ed38d6366aa warnings: "" diff --git a/tests/expectations/compiler/group/to_y_coordinate.out b/tests/expectations/compiler/group/to_y_coordinate.out index 20067ae10a..0f8b75fe50 100644 --- a/tests/expectations/compiler/group/to_y_coordinate.out +++ b/tests/expectations/compiler/group/to_y_coordinate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 1bfa0e39b96c190d821eb751b6441b411bf173a96263b3b4a998a6b0d2fdb1fb initial_ast: 582dee6aa6b0124966bba7d2c88cb4fb58b387d08c0e19ec247a7a8db943090d unrolled_ast: 582dee6aa6b0124966bba7d2c88cb4fb58b387d08c0e19ec247a7a8db943090d - ssa_ast: d186cf0b1a2c530efdb60bc367f07ea013a5d6248cd94c8cfb76c7e758e8b391 - flattened_ast: c29f018eed9c5db605260f299d9dd3ed4460f25b1dc7c81aa746e05510b1e380 - inlined_ast: c29f018eed9c5db605260f299d9dd3ed4460f25b1dc7c81aa746e05510b1e380 - dce_ast: 279f7a7609faa4faaecc8262e0a7498937d408ea18bab6b68b1301442dd431d7 + ssa_ast: 4a1c625fb3f8da18f4d6b8750e5615d8eac6745af3bf0fbf9b9882dd226c2cd1 + flattened_ast: 7cf56182465cbef5018d3d36e7dbfd5b8c0ae7fe60590d0fc00111c6291d0a4e + destructured_ast: cbaeb2dc4a5b9800ae32df9d0b522eb0055d63de8b83d8fd9a5e612ec9efcdb3 + inlined_ast: cbaeb2dc4a5b9800ae32df9d0b522eb0055d63de8b83d8fd9a5e612ec9efcdb3 + dce_ast: da2e1c9f765154adec576b4ebab6af86d793f2d59cb8e27c51440a8d9c6e1b29 bytecode: ea2e94f0f589fac4565040575643b1b7cd7813fe513d5b09b17c191bbf0f727e warnings: "" diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index 57c3fa4d73..e178d965fd 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ff22a327039be85ab9c847d135fdab4303773053a00fb019dfa18982afb47272 initial_ast: fa97fe84b6584e068aad1e53d1861db493b9b48004c1151e20a515db6b4effdb unrolled_ast: fa97fe84b6584e068aad1e53d1861db493b9b48004c1151e20a515db6b4effdb - ssa_ast: 575e12acb2cc00eadc7f43c509e5d1fa13fab021e36a2d21c80f4c667563ae7c - flattened_ast: e93c9cafe2e39a401c848482508019a45af86da60de00f435a7198905346b9c3 - inlined_ast: e93c9cafe2e39a401c848482508019a45af86da60de00f435a7198905346b9c3 - dce_ast: e93c9cafe2e39a401c848482508019a45af86da60de00f435a7198905346b9c3 + ssa_ast: c48b7d7380f3cae2a57824374e34d5fc000b9aa4480505f0c8396cf9fd960a96 + flattened_ast: 3f89891f8f5b0da358f278182cbd57146d656a6b0310c3437b1d7ffd46a0a7d6 + destructured_ast: 1f2d3d1afc7c8cde6bee53c249271d04ad5e01b577640004a6c35132aa177599 + inlined_ast: 1f2d3d1afc7c8cde6bee53c249271d04ad5e01b577640004a6c35132aa177599 + dce_ast: 1f2d3d1afc7c8cde6bee53c249271d04ad5e01b577640004a6c35132aa177599 bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a warnings: "" diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index 5e448d72e9..607fed9b17 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ff22a327039be85ab9c847d135fdab4303773053a00fb019dfa18982afb47272 initial_ast: fd72db6dfd3c88f2527c239312644426027e1e4ee19822d0e2a673e65ffa2b61 unrolled_ast: fd72db6dfd3c88f2527c239312644426027e1e4ee19822d0e2a673e65ffa2b61 - ssa_ast: 6a5f9f660145548ff819397785256f33eea7660602eca52ec18c235aafd4bb55 - flattened_ast: 88f62b8ccd0e3f5941a30eb732b18d5757ba2441ef47e9c0b9d4055a6f21fa65 - inlined_ast: 88f62b8ccd0e3f5941a30eb732b18d5757ba2441ef47e9c0b9d4055a6f21fa65 - dce_ast: 88f62b8ccd0e3f5941a30eb732b18d5757ba2441ef47e9c0b9d4055a6f21fa65 + ssa_ast: 4d02e3fd660b0b5f5578e409c365def5888c953ed4f731c54964f75ee242c6f3 + flattened_ast: 22148de18da6a69e934d4d139ac593af30a3cc9440b93e8e5aca68fd7e735abf + destructured_ast: 636ef47b258f31b6db5a38c7f306dff521bb9a93a07e55829e808c34b70cc7da + inlined_ast: 636ef47b258f31b6db5a38c7f306dff521bb9a93a07e55829e808c34b70cc7da + dce_ast: 636ef47b258f31b6db5a38c7f306dff521bb9a93a07e55829e808c34b70cc7da bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a warnings: "" diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index 990c9da82c..04314fd8b2 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ff22a327039be85ab9c847d135fdab4303773053a00fb019dfa18982afb47272 initial_ast: 5063b8cbf1c61afa0e10aed161f8b4be8cd83fdbb893474c8dbebd9837ee6b20 unrolled_ast: 5063b8cbf1c61afa0e10aed161f8b4be8cd83fdbb893474c8dbebd9837ee6b20 - ssa_ast: 39cd94e7b91f800bde27887b945b2ff5545fbd9199f669ae39154ba93e041ef9 - flattened_ast: ddfe2133a222442cafe8451a166e9764130047b97dc1e3007eb5a4753d7dee59 - inlined_ast: ddfe2133a222442cafe8451a166e9764130047b97dc1e3007eb5a4753d7dee59 - dce_ast: ddfe2133a222442cafe8451a166e9764130047b97dc1e3007eb5a4753d7dee59 + ssa_ast: cc31c8b3a406dcea24bb40024a1c593cc12584b85a3174a6f492ddc93ea36f32 + flattened_ast: 797e56f3090e7985adf4969ece9401689727e2a2300d380633994aefd3c4f738 + destructured_ast: 358b636e4d1b7a743bc47f15781e32513de43fd5ed3126897ad0097d326aaccf + inlined_ast: 358b636e4d1b7a743bc47f15781e32513de43fd5ed3126897ad0097d326aaccf + dce_ast: 358b636e4d1b7a743bc47f15781e32513de43fd5ed3126897ad0097d326aaccf bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a warnings: "" diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 0df26c4b0c..7af70073bc 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ff22a327039be85ab9c847d135fdab4303773053a00fb019dfa18982afb47272 initial_ast: f55c9feb361bba67181e03d89ed61e66161e922c386b45da3881a58d5661f7d2 unrolled_ast: f55c9feb361bba67181e03d89ed61e66161e922c386b45da3881a58d5661f7d2 - ssa_ast: bda53ce57b3bafd8e2c981365df1d00c8f8f859518955c2e10d0f52f226f29b9 - flattened_ast: 5c0bd26c559d8e5aa77b3bb996efa5397e36796191bdf0090d71ad2fdced3789 - inlined_ast: 5c0bd26c559d8e5aa77b3bb996efa5397e36796191bdf0090d71ad2fdced3789 - dce_ast: 5c0bd26c559d8e5aa77b3bb996efa5397e36796191bdf0090d71ad2fdced3789 + ssa_ast: 94da33bc2fe769681b3d1cc248484ef29ffbd385ac77dd9848ed32b68ae44d69 + flattened_ast: 0748f62ac7ee74a9e3f1ee34720fc533e116183421aaba0993d9437559342f39 + destructured_ast: 44bd45f43da3a1edcee49a1bc18a23f07d9254fbe3085509408d7e5174c35668 + inlined_ast: 44bd45f43da3a1edcee49a1bc18a23f07d9254fbe3085509408d7e5174c35668 + dce_ast: 44bd45f43da3a1edcee49a1bc18a23f07d9254fbe3085509408d7e5174c35668 bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a warnings: "" diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index 4ea74256fb..39b7955f98 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 00f52eb5d7d1eb280ece90eb16d86fb66e1d37511fe1b0c692d0608cbbbf69f9 initial_ast: c5cb278ee83cc71db7fe3cf784aa39e96ac3c1c713f23e95aecdc6a605154ca7 unrolled_ast: c5cb278ee83cc71db7fe3cf784aa39e96ac3c1c713f23e95aecdc6a605154ca7 - ssa_ast: aab08ae7ab5026351b298fd8c7a65047d2034211e64e9a6badcc9aa4fa0cd8bd - flattened_ast: a0dc9a0e36b2557b62b91dea49db5556de9fc884a443dab2a61c8eb3ea128dd0 - inlined_ast: a0dc9a0e36b2557b62b91dea49db5556de9fc884a443dab2a61c8eb3ea128dd0 - dce_ast: a0dc9a0e36b2557b62b91dea49db5556de9fc884a443dab2a61c8eb3ea128dd0 + ssa_ast: c15688b0270b5ffe36c1aecbc8c60d59d750660df5dce3157041e95c5b0b1037 + flattened_ast: c39b5f48410e5f9c72da12aa38b40de49d408958345b223c0f6be9552d42745c + destructured_ast: d53d403056a3a7f3c19f6d2a82ceb75825dd43fdb4bdd767dd057870b09f125a + inlined_ast: d53d403056a3a7f3c19f6d2a82ceb75825dd43fdb4bdd767dd057870b09f125a + dce_ast: d53d403056a3a7f3c19f6d2a82ceb75825dd43fdb4bdd767dd057870b09f125a bytecode: 1d6fcff80cb39d7f9451de676f70ab1e4dd1bcca8f7c9d0f1ddd34d12f159594 warnings: "" diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index ef6531e5fb..ae9b93fffd 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ce33cfaed5fc2662dd839f93ada12f191cc156fd69f39758d49a102b9312634b initial_ast: af38aa1deec778db10dc2df99122d294ed06c4c94c8b7f138c931dcd5f82712e unrolled_ast: af38aa1deec778db10dc2df99122d294ed06c4c94c8b7f138c931dcd5f82712e - ssa_ast: e8d852b40f89e9e1c635ab0704cadc89352563d1a9860bd7f97a81cff59cd64d - flattened_ast: c0630afa45c0e15edf1cfa6e8ec1369e6f8e87ffca5c9ff350627c5bbf7b37f5 - inlined_ast: c0630afa45c0e15edf1cfa6e8ec1369e6f8e87ffca5c9ff350627c5bbf7b37f5 - dce_ast: c0630afa45c0e15edf1cfa6e8ec1369e6f8e87ffca5c9ff350627c5bbf7b37f5 + ssa_ast: 97b23d4e53b1d489afd273092b13263557faaf30826cfd9deb8d8b2928954d15 + flattened_ast: 760f44301b1d855583572756dbfa6134203fee738fdfeb895f8bef94feb4776a + destructured_ast: 430a8ecb01a02dc8d6bb47593558224519c7c3116dd07d512cd8824a3aba1aa8 + inlined_ast: 430a8ecb01a02dc8d6bb47593558224519c7c3116dd07d512cd8824a3aba1aa8 + dce_ast: 430a8ecb01a02dc8d6bb47593558224519c7c3116dd07d512cd8824a3aba1aa8 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index ac9bb4b9a1..4796815bb4 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e79fcf57b54ca09848089ea35d49dbaba4d18e2a5abafc60ac077d9539f17347 initial_ast: cc4b5c0ab5fc7d4ca3e4150e599f7474a8b1e8ad23f3f1f855e8c8e6c522103c unrolled_ast: cc4b5c0ab5fc7d4ca3e4150e599f7474a8b1e8ad23f3f1f855e8c8e6c522103c - ssa_ast: 429576f15ccd322095a1a62f8abddce637e2780ba9b877ea77548b36de4d6861 - flattened_ast: 3fe7289c965a4c93fbd04b584e67fcf49906e2c8d9d79e3ee9c6d9465eeaf540 - inlined_ast: 3fe7289c965a4c93fbd04b584e67fcf49906e2c8d9d79e3ee9c6d9465eeaf540 - dce_ast: 3fe7289c965a4c93fbd04b584e67fcf49906e2c8d9d79e3ee9c6d9465eeaf540 + ssa_ast: 5edba73a288ff49928ad6ea1b0aeac7323c5528ee434e41f65dea399e2d60fb4 + flattened_ast: ad33c9bb3bfda3497b074536fd229f9f60e6642d83bd5da83af01aeed8212482 + destructured_ast: 5cd1bb38969905625e4c2ab0fbe13e74e1ca2425af5eef3c83125921e24f515d + inlined_ast: 5cd1bb38969905625e4c2ab0fbe13e74e1ca2425af5eef3c83125921e24f515d + dce_ast: 5cd1bb38969905625e4c2ab0fbe13e74e1ca2425af5eef3c83125921e24f515d bytecode: 5634fe853e1a2815f0828063a855b798b56cc6051b24205568908a5490c7d531 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index 9b07313629..1707a36834 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: e300dfd2af898874bc43f772422b9e113a463950582ed9f8a085b503a60febdd unrolled_ast: e300dfd2af898874bc43f772422b9e113a463950582ed9f8a085b503a60febdd - ssa_ast: 8721a0e40cf30a9a6dc7f561bdfbd2f68edccf6687e47c93ee01ea34d29f12e4 - flattened_ast: 54999f7ff3eb632eff40b0b17995274bb818a859007adf5d7dd6c59d2685c994 - inlined_ast: 54999f7ff3eb632eff40b0b17995274bb818a859007adf5d7dd6c59d2685c994 - dce_ast: 54999f7ff3eb632eff40b0b17995274bb818a859007adf5d7dd6c59d2685c994 + ssa_ast: b015cf2f213d1d4807c0197a502bc3b2712d4579bc5503860211ba82ae302eb2 + flattened_ast: ca954fff4702e98286879e106d8c7aba2d4d75e870429ee950e3615d7978a86b + destructured_ast: 226b0bff1f26c5047e29a45923271e76d7be4db295244b960ac51217b1b95fad + inlined_ast: 226b0bff1f26c5047e29a45923271e76d7be4db295244b960ac51217b1b95fad + dce_ast: 226b0bff1f26c5047e29a45923271e76d7be4db295244b960ac51217b1b95fad bytecode: 494e6857a1963542c9c28acd1b0d3584e2fa7aa4541a3c4d2accdaffa21a5363 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index f36de99086..69c9ca0433 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: e118b099ab381c02899ec0878d71dfc65b068da82ad6003548dff9431c8c5c8b unrolled_ast: e118b099ab381c02899ec0878d71dfc65b068da82ad6003548dff9431c8c5c8b - ssa_ast: c828635b61e1b1bc492fb87a29ddee736442d4a80d3a08e9897e995fcf752d84 - flattened_ast: 5af0ac7f083386a09359ebe9e08b0fd07bded49e82ae87595e8436805d2d4fc9 - inlined_ast: 5af0ac7f083386a09359ebe9e08b0fd07bded49e82ae87595e8436805d2d4fc9 - dce_ast: 5af0ac7f083386a09359ebe9e08b0fd07bded49e82ae87595e8436805d2d4fc9 + ssa_ast: 77ec81f5f71a2034ead6fb2762ef5995f6cf0f511c0528941958043e5cdb09d5 + flattened_ast: fb48c740c25a2a4a2821cdd2b54228c8605d396329be5b71bb615befdcda39a4 + destructured_ast: ccbce4472b3ff414f0a1e300880175eb7bc0e7b116ef654a5b212decbf3b8d4e + inlined_ast: ccbce4472b3ff414f0a1e300880175eb7bc0e7b116ef654a5b212decbf3b8d4e + dce_ast: ccbce4472b3ff414f0a1e300880175eb7bc0e7b116ef654a5b212decbf3b8d4e bytecode: 8285a2e1709b0ec4a12c265fcbfc8fafe3168599b60c587c0c4cb2eead7d4cb5 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index 1ce5a123ff..b72f672e15 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a2c718efda203dd1ca01adf5f053c11556fd8c8573780956ee6d43fe22aa0195 initial_ast: b0d28f610ee41b51855cf4f347093c9f5939e1711dfdfa4811969874756bb306 unrolled_ast: b0d28f610ee41b51855cf4f347093c9f5939e1711dfdfa4811969874756bb306 - ssa_ast: 29fbacf08024801f1f49de687e2a5ec4eb4af3f59aaa6f095052ee3089a9b9df - flattened_ast: 76d3d8fcea08260f44cf73de7f32646ed8aa641429a169cd5007b980b422dc47 - inlined_ast: 76d3d8fcea08260f44cf73de7f32646ed8aa641429a169cd5007b980b422dc47 - dce_ast: 76d3d8fcea08260f44cf73de7f32646ed8aa641429a169cd5007b980b422dc47 + ssa_ast: cc1295034e10426478478d2ac5c91fddac5a3ff151213219ceeac6932db38a27 + flattened_ast: 8b5501395571e4dce8b56c30cc9d40a29057f3e0db75e8b47cc8c96d16c1beec + destructured_ast: 3972ca997f619388a0f33dd082d3ba4e91553c17b8913ab2f8d0cb509f650c96 + inlined_ast: 3972ca997f619388a0f33dd082d3ba4e91553c17b8913ab2f8d0cb509f650c96 + dce_ast: 3972ca997f619388a0f33dd082d3ba4e91553c17b8913ab2f8d0cb509f650c96 bytecode: cfb775c32747a200198579e073ead1a4acd478ed2346b0e51ff488e71b5f806c warnings: "" diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index b3f96cdf63..3426c0be61 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 304cf0b7f0601da2a6adf9512fcb3cec5ccfe1352c76a16cbb85929418e6d7a5 unrolled_ast: 304cf0b7f0601da2a6adf9512fcb3cec5ccfe1352c76a16cbb85929418e6d7a5 - ssa_ast: 6cd36f771b514d9c5ee88b8b44e636f8012c987a29fc07abad963ba9bc5f3bfd - flattened_ast: d736f43e513de89d51dc9efdc4579c678c132ba0fb765603e2aba058a24f566c - inlined_ast: d736f43e513de89d51dc9efdc4579c678c132ba0fb765603e2aba058a24f566c - dce_ast: d736f43e513de89d51dc9efdc4579c678c132ba0fb765603e2aba058a24f566c + ssa_ast: 8faa00bd3b14759016ef4f43f2a770ccc85e5dda7012e01d32704593e5c5de7b + flattened_ast: ef92ba80c430cf8f1fbd5246d85828258f7453e102845856a231011d068535fc + destructured_ast: 6c076afb06a2824b3e55cb5e61eb71ec7507a5307e80405a1b579a8d56f2a4c3 + inlined_ast: 6c076afb06a2824b3e55cb5e61eb71ec7507a5307e80405a1b579a8d56f2a4c3 + dce_ast: 6c076afb06a2824b3e55cb5e61eb71ec7507a5307e80405a1b579a8d56f2a4c3 bytecode: 65f57028681592ca0f5c4fed50abb89f4aa53139b2371bc00c3e701d5b8e896f warnings: "" diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index 2cd97d6727..a4374ef4fc 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: 183aa2b9b6fead1908ab17d3a08542bcf77a02bb6bff79bb7cb8fe737260358a unrolled_ast: 183aa2b9b6fead1908ab17d3a08542bcf77a02bb6bff79bb7cb8fe737260358a - ssa_ast: 06a6d2b2657059fdc91b173b418e751ca680ccc7642ba9c8676c378ac324c76b - flattened_ast: fb1687c878c4b638157f170d342cac025809817fc4e93cdb1730648b29ea0f5d - inlined_ast: fb1687c878c4b638157f170d342cac025809817fc4e93cdb1730648b29ea0f5d - dce_ast: fb1687c878c4b638157f170d342cac025809817fc4e93cdb1730648b29ea0f5d + ssa_ast: 8c24475a2991364991c9aba552e1b2932b7c479d8d7989c8b4de862f7243f804 + flattened_ast: 70066256a7a55b4a74b8039e7c46c2946523a2473374438614b2a2a7b1bdd4be + destructured_ast: e0caeb076a070289cb77605cc23901af00e0b549144c5460ee84ed061252e0a5 + inlined_ast: e0caeb076a070289cb77605cc23901af00e0b549144c5460ee84ed061252e0a5 + dce_ast: e0caeb076a070289cb77605cc23901af00e0b549144c5460ee84ed061252e0a5 bytecode: 3cdd93b31b489b0c21ed940752b5f00fdbde28dc7e52fbe97bd6c0f5b3f2e2e3 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index 02d29c0eee..1eb025b5ea 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: 1476e6dd7ca916f676fd0ae02a006d79c5010e1fd1810c2e77ca7acfeee46b51 unrolled_ast: 1476e6dd7ca916f676fd0ae02a006d79c5010e1fd1810c2e77ca7acfeee46b51 - ssa_ast: 56c49fba79a8c462db7538fe0286bde55b5d7ae0bdec6cf69cc3956d5d62bbdb - flattened_ast: be89674402f204d79557d527892d84043e0a0a69988efd9577e78e02bbb59c51 - inlined_ast: be89674402f204d79557d527892d84043e0a0a69988efd9577e78e02bbb59c51 - dce_ast: be89674402f204d79557d527892d84043e0a0a69988efd9577e78e02bbb59c51 + ssa_ast: bb21d55526881b6aeb6529d876ebe92c53a2f1968b512348f2a222297989de11 + flattened_ast: 0f9f332c4d0a3c8fdd5d2b8763cfd84ba30cafd6a2165f87e80b4bff2478d995 + destructured_ast: 4d5d8f6062d1aab087b62dcf27820125ccfbe47bfcdf82e749174a5fd3c08b67 + inlined_ast: 4d5d8f6062d1aab087b62dcf27820125ccfbe47bfcdf82e749174a5fd3c08b67 + dce_ast: 4d5d8f6062d1aab087b62dcf27820125ccfbe47bfcdf82e749174a5fd3c08b67 bytecode: 10cd5a11422cda879fb35cd61b5e1b83e0a3b954e6583f44762802917d338085 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 3482ec7d1d..d9b53c4f3c 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: 701860c772089d058c92def47aa0cad8aa8fac7d8b42e108ca0f8a2405706b26 unrolled_ast: 701860c772089d058c92def47aa0cad8aa8fac7d8b42e108ca0f8a2405706b26 - ssa_ast: 8c2bf4b45a04ec3888817038a8bec7563a3f9e9b52137297e28c7c1aad7e302c - flattened_ast: 86fc0575f31d3b53c8eff3dab7c7d8bfd79c0c88d7ab74a8ae0344b8bc1b2c0b - inlined_ast: 86fc0575f31d3b53c8eff3dab7c7d8bfd79c0c88d7ab74a8ae0344b8bc1b2c0b - dce_ast: 86fc0575f31d3b53c8eff3dab7c7d8bfd79c0c88d7ab74a8ae0344b8bc1b2c0b + ssa_ast: 93f73a9d47e0c4a415c8bff42c8571aac136f4c16c336a949745165fc7cd77b9 + flattened_ast: 1af758c4b116f055ed47c53634cfa5871a20ecca3167f4046fe5d037afbed451 + destructured_ast: 282d5fbdd121e65417eea41d8e465e07de5d4c4a7b42570b5f885d3065274bac + inlined_ast: 282d5fbdd121e65417eea41d8e465e07de5d4c4a7b42570b5f885d3065274bac + dce_ast: 282d5fbdd121e65417eea41d8e465e07de5d4c4a7b42570b5f885d3065274bac bytecode: 484e03eaf5d4db72c6c47e37433ad15e9bf225f8ee65964eebcbbb627e1229d5 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 92fc3dd890..6e25c8cf55 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: 128014259f2122d6a9fbc8ca29155da3c52382c87f738622973a011e511dc361 unrolled_ast: 128014259f2122d6a9fbc8ca29155da3c52382c87f738622973a011e511dc361 - ssa_ast: 418fdeffa2b3b51884646d51ff30e342001aaba871bf357c9770c80f962d764d - flattened_ast: 6d6bb427b3f2d34cf3355b0cb503d2689cf7f7d9dd2d4a3a82a39c609c653b97 - inlined_ast: 6d6bb427b3f2d34cf3355b0cb503d2689cf7f7d9dd2d4a3a82a39c609c653b97 - dce_ast: 6d6bb427b3f2d34cf3355b0cb503d2689cf7f7d9dd2d4a3a82a39c609c653b97 + ssa_ast: eaa9f4745f7e82ba7a006a455794d2c5851488011fc4d6e2b3a1c9902fc73f0c + flattened_ast: c1b0d2b96006d6f78f162e0bfec1c23efa26eac60db5d06d8193c842fa9d6ec4 + destructured_ast: a1ce2a6b0a4d6aba490136f25cd6f4d2251559c4c47c9bb50fb5a0b768c26b08 + inlined_ast: a1ce2a6b0a4d6aba490136f25cd6f4d2251559c4c47c9bb50fb5a0b768c26b08 + dce_ast: a1ce2a6b0a4d6aba490136f25cd6f4d2251559c4c47c9bb50fb5a0b768c26b08 bytecode: cc1ee4fde8609e495d29513d4f1ba6088310c0b68929e619e6fef2fbcf127b13 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index 6cbd54a465..9bd795c659 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: 65dd591b54b144cf8c328cd7bc03709362adbe4d1eb7fcb020f30fb7d61a0c75 unrolled_ast: 65dd591b54b144cf8c328cd7bc03709362adbe4d1eb7fcb020f30fb7d61a0c75 - ssa_ast: 44d42e4e4aa6377b814219348d07ff4c047a481cf34e8fed8a21227f47b2e6f8 - flattened_ast: 162975be1ac8431157146d8b5c4b900df4e96acb5f93ca202734671a852fd669 - inlined_ast: 162975be1ac8431157146d8b5c4b900df4e96acb5f93ca202734671a852fd669 - dce_ast: 162975be1ac8431157146d8b5c4b900df4e96acb5f93ca202734671a852fd669 + ssa_ast: 2e8d93ccf1b5e2beb86dd159b67b166b9c4fa10c57fdb5c9943d9d6667bdb5bd + flattened_ast: f1504c83c4bd07ec4aef8651092833d89616a551a870e5ac531a84b9fdcc0913 + destructured_ast: 432269685543c98398b71af98ac820c9a633e48ca00153987e1719b1dd4da568 + inlined_ast: 432269685543c98398b71af98ac820c9a633e48ca00153987e1719b1dd4da568 + dce_ast: 432269685543c98398b71af98ac820c9a633e48ca00153987e1719b1dd4da568 bytecode: b1fc620dc1f15fe250bfd4e7bbf7ec3e51d72f7a47867a1b0ad680f7d97906aa warnings: "" diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index af46172272..cafb8f61ba 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 43874a4208d661fb947452ae93a7aaa0944ed0faa75aa6af4f89d1acf2e89d97 initial_ast: 94dd88e1468569534597e7718aaaae0bd95e2cea0fc8596704815e01517e84ff unrolled_ast: 94dd88e1468569534597e7718aaaae0bd95e2cea0fc8596704815e01517e84ff - ssa_ast: 8f1c2e97ba52c5f2539e869a803062acba7ef329f4cdd9aef53ec2b30196193a - flattened_ast: 8aa9e3e0d18bb420a1fd53a8e6f5a73ff4460c4d873900c3c3dcb6bd5ebca1b9 - inlined_ast: 8aa9e3e0d18bb420a1fd53a8e6f5a73ff4460c4d873900c3c3dcb6bd5ebca1b9 - dce_ast: 8aa9e3e0d18bb420a1fd53a8e6f5a73ff4460c4d873900c3c3dcb6bd5ebca1b9 + ssa_ast: f5951d2550ce7e6808743981d52c38b32707ea7361f7d1b7c84aeb35663d50e5 + flattened_ast: 51d8a1a35e12bcfeb03c5a32afc0b12275a1cd3ef0604c11934487b8eae86a8b + destructured_ast: 01df27d58ead392ea2d91e5bc0aeebed1a611bef54ae1e75075d3afdd12b1fb5 + inlined_ast: 01df27d58ead392ea2d91e5bc0aeebed1a611bef54ae1e75075d3afdd12b1fb5 + dce_ast: 01df27d58ead392ea2d91e5bc0aeebed1a611bef54ae1e75075d3afdd12b1fb5 bytecode: 0c9250cc00df66aac1199455cdfacc5d1a37bbf3719a4661a022b02d023ef962 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index 354ea2f5a2..559bc613ac 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 43874a4208d661fb947452ae93a7aaa0944ed0faa75aa6af4f89d1acf2e89d97 initial_ast: 385b2b62aec602a40147af9883c7bfae004ce1fa78768dd5e5fe09710a00cd1c unrolled_ast: 385b2b62aec602a40147af9883c7bfae004ce1fa78768dd5e5fe09710a00cd1c - ssa_ast: 6b745f8967b7d2133272163c9cc58c6c6adbf405a0505ca38a97f0310e877e4e - flattened_ast: 150954c0916310450d2c7d9f3a583fc5863a2635a6aa9ddb48f364727d7c6b43 - inlined_ast: 150954c0916310450d2c7d9f3a583fc5863a2635a6aa9ddb48f364727d7c6b43 - dce_ast: 150954c0916310450d2c7d9f3a583fc5863a2635a6aa9ddb48f364727d7c6b43 + ssa_ast: 1ac7ebf3469bed7476da1a43a79cc57e9d26d1370c04435a846e5a4585e65023 + flattened_ast: 76cee30c696e69e34a253be7399ba538178dd4a0f4b58bb0c37b7d3ea6f68589 + destructured_ast: 8d4ec843e9208a5b45abc3fc32afc7602b239d07319d99001a58a1b4980b0172 + inlined_ast: 8d4ec843e9208a5b45abc3fc32afc7602b239d07319d99001a58a1b4980b0172 + dce_ast: 8d4ec843e9208a5b45abc3fc32afc7602b239d07319d99001a58a1b4980b0172 bytecode: 3371e90020913ff2646967d8f24bd5da1033f31c46c1b46c1996331bb488b96e warnings: "" diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index 31c15b86d8..500905d600 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d13aa1200c313d83863c12c3d49728dc10de4ab4ad554c5044d0f23abef492f6 initial_ast: 11b09c38c84cbeab8252fa858c1205a419ab5ae1305d33b3d51b478ef2a74d72 unrolled_ast: 11b09c38c84cbeab8252fa858c1205a419ab5ae1305d33b3d51b478ef2a74d72 - ssa_ast: f4ec9ec44ebb4685478754dd522061b55af8899dfc86a9ec03b96291e1c8c2de - flattened_ast: 55c7f80a37ed8615a29e4cf22dc543cea51629af84860ee1a715feda9b76cdd4 - inlined_ast: 55c7f80a37ed8615a29e4cf22dc543cea51629af84860ee1a715feda9b76cdd4 - dce_ast: 55c7f80a37ed8615a29e4cf22dc543cea51629af84860ee1a715feda9b76cdd4 + ssa_ast: 49f55c1523b1c4db5703e5c4978bccb70d747e10b183a2bf55c2b198c6d1e37a + flattened_ast: db71bdf5c6b018421d90b45d254ff4fdb4f27fb0aa86b766575568b2155bad12 + destructured_ast: 79258ff39e113116b6f2ae71c3c773503da409d035da28206ec70803f2ef1913 + inlined_ast: 79258ff39e113116b6f2ae71c3c773503da409d035da28206ec70803f2ef1913 + dce_ast: 79258ff39e113116b6f2ae71c3c773503da409d035da28206ec70803f2ef1913 bytecode: 01713226f7ba799a801ed169d73aa94e4a3cb8048c6c069fdc874c2807e8ead6 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index c4d8feba84..47947e5b45 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: b96a4ea1f859aade2a4914305513dadf3c1cc393ae6f2f24af0ddc0a100649fe unrolled_ast: b96a4ea1f859aade2a4914305513dadf3c1cc393ae6f2f24af0ddc0a100649fe - ssa_ast: 908ffa1526a7293a0e978de6b067d7df88d5b85c72068b193e3c42885026ad77 - flattened_ast: ff7e7fa7adfb041fe19f8f709e6fc8fc2ce6349a266c81ac17a35abe74dec20c - inlined_ast: ff7e7fa7adfb041fe19f8f709e6fc8fc2ce6349a266c81ac17a35abe74dec20c - dce_ast: ff7e7fa7adfb041fe19f8f709e6fc8fc2ce6349a266c81ac17a35abe74dec20c + ssa_ast: 882d05a09419b1e558590bf5f8757c430b37c1d019b7ca360167bc490efc4a55 + flattened_ast: de6c1899f0fd9765c7fddec91512286a514be04139185a85450b1d2f6b692237 + destructured_ast: 41e9ab440244c95f05b2579563421b4a36fdeafcd94b341bf3699f5002b57372 + inlined_ast: 41e9ab440244c95f05b2579563421b4a36fdeafcd94b341bf3699f5002b57372 + dce_ast: 41e9ab440244c95f05b2579563421b4a36fdeafcd94b341bf3699f5002b57372 bytecode: d0d6aecd823bb5cd501ed807e6a169820dbee3db351de35303d4b8dda007e0d8 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index a100c1d769..bcc7bef864 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84edebb69731dd9365c339143d13da85953de6188de6407b328497c7060566f6 initial_ast: a48e1302860b89cef57a6ff71e2e46bee4ed9464260b0728b1ee56e25a94dd31 unrolled_ast: a48e1302860b89cef57a6ff71e2e46bee4ed9464260b0728b1ee56e25a94dd31 - ssa_ast: d562cdff47a2604e7f7cfac44a9509b930e2cb971f1b911a694fc8f2e5412f55 - flattened_ast: 6d45a6e7de13f68e8cf41724c0cb1f38d574469e83c54dd2b99d434f865e2c73 - inlined_ast: 6d45a6e7de13f68e8cf41724c0cb1f38d574469e83c54dd2b99d434f865e2c73 - dce_ast: 6d45a6e7de13f68e8cf41724c0cb1f38d574469e83c54dd2b99d434f865e2c73 + ssa_ast: ab164553a01499dc075a2f0fd07e03376bb4a01bd8f4ab9d8b9dac71cfd3923b + flattened_ast: edbaccec6f72926118414f97bdf235d938290583a4b85bd740f15a51c1ec98d8 + destructured_ast: 973c80a590e771d28a6cdabbf7b6fbd691dbc28640fee24bd4d91450c8fb7cea + inlined_ast: 973c80a590e771d28a6cdabbf7b6fbd691dbc28640fee24bd4d91450c8fb7cea + dce_ast: 973c80a590e771d28a6cdabbf7b6fbd691dbc28640fee24bd4d91450c8fb7cea bytecode: 234d1c18ac19b0979e3bf09581be0370faa2e2b322474f693d90c52cb2991177 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 80913d1d69..03e48e73e7 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 49d36dfa02338748eefac3661a0a953fcdff13187aca83d25d36dbe488b9a910 initial_ast: 93180f311232f25ed258631f9edc333546a99143069c0d177757c550ab756dde unrolled_ast: 93180f311232f25ed258631f9edc333546a99143069c0d177757c550ab756dde - ssa_ast: 16343fa7509df1f4d3420291e7fa14919e0472b5dfe88ce2da085121e6da6f10 - flattened_ast: faf92bffade7e396111dcb9306e2b27fbedf2e535d406c7961a403e19dfbc298 - inlined_ast: faf92bffade7e396111dcb9306e2b27fbedf2e535d406c7961a403e19dfbc298 - dce_ast: faf92bffade7e396111dcb9306e2b27fbedf2e535d406c7961a403e19dfbc298 + ssa_ast: c0c1fb686e75b9d96c47170d50d05ddd30191e43d24da1944ed1a6944c3feee5 + flattened_ast: 1924b0b7c0c7dbe8ba83308e29a4d40cc0feab5b0acaa30178ccd21fc37734d5 + destructured_ast: 17b86e39ced5a5e58a897faa4bcd71cbd194dff287dee74f3a7d89974777447b + inlined_ast: 17b86e39ced5a5e58a897faa4bcd71cbd194dff287dee74f3a7d89974777447b + dce_ast: 17b86e39ced5a5e58a897faa4bcd71cbd194dff287dee74f3a7d89974777447b bytecode: 8fbbd1ffdc2128ce18c84c8eee60a408dd29cdc99ca197ffe094a8be0c4019c4 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index d9c0d6a953..ed96e223b4 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d13aa1200c313d83863c12c3d49728dc10de4ab4ad554c5044d0f23abef492f6 initial_ast: d265065ce0e8ec331eef7cf715b0d22960a1a809030782b933aa67cf2b3a407b unrolled_ast: d265065ce0e8ec331eef7cf715b0d22960a1a809030782b933aa67cf2b3a407b - ssa_ast: ed71914802d500f601bb30372e917bf327d743fff6d81217aa33206f6df484f5 - flattened_ast: ffbdcf6c471a45ea50ef9ad0921c8856e9182960d68329e31a6b8db7ccbbbb92 - inlined_ast: ffbdcf6c471a45ea50ef9ad0921c8856e9182960d68329e31a6b8db7ccbbbb92 - dce_ast: ffbdcf6c471a45ea50ef9ad0921c8856e9182960d68329e31a6b8db7ccbbbb92 + ssa_ast: b24b7107eb8fe92021fba3976efa179b9f114eb54175df8cd9cf25b22f147d87 + flattened_ast: bc2f7dd1dc91194414175bbc3980ab48969fcd34a8ae7170894e00497e368daa + destructured_ast: dce405bc79e4d0dfc484e74d492adfdf3fc83bdfe156c30b62c76b3835530ade + inlined_ast: dce405bc79e4d0dfc484e74d492adfdf3fc83bdfe156c30b62c76b3835530ade + dce_ast: dce405bc79e4d0dfc484e74d492adfdf3fc83bdfe156c30b62c76b3835530ade bytecode: a9a22fd3ceba8f7aa3bc7f1e577a63bfdf395c9cad00987880cf75066bdf85c8 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index 76bb484f29..0e666a5dc9 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ce82c8fc7622a06be5a9deb77d05e876667277a28744b3278b9c35da6d34d5c4 initial_ast: d3aeb5abcedb217574fc8917cee0b6d772f13f4ae7aa85c67a034b6059372637 unrolled_ast: d3aeb5abcedb217574fc8917cee0b6d772f13f4ae7aa85c67a034b6059372637 - ssa_ast: b62997d1f304a11fbe494282bada27fb3619178cb5cde3dc7c85f9073f8e4239 - flattened_ast: d69724c5652f46f7f95122f2527047cc6ccadbe2f849de8e20a4bb2f4906209e - inlined_ast: d69724c5652f46f7f95122f2527047cc6ccadbe2f849de8e20a4bb2f4906209e - dce_ast: d69724c5652f46f7f95122f2527047cc6ccadbe2f849de8e20a4bb2f4906209e + ssa_ast: 963453af5930f6a2d873a83e5f6a636530f8540b76a44861b3f3ffdf99884c71 + flattened_ast: bef77a2a922bb458357a0d095b340676162770abf14778b346a58519d1968258 + destructured_ast: d79eb384857219f324eae0018e5f12bda9701a1408d0b0bb28e9a52e148366bd + inlined_ast: d79eb384857219f324eae0018e5f12bda9701a1408d0b0bb28e9a52e148366bd + dce_ast: d79eb384857219f324eae0018e5f12bda9701a1408d0b0bb28e9a52e148366bd bytecode: 163f69d6df6294a79a4f27ccb9ed64ebd0e5df96c5205cf176f1201eab229deb warnings: "" diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index c97d582d72..a6dadeaf88 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5549c6e1def4dafaaa22ed5bb54de02a68bf2410809062333f4b5c21499b1c36 initial_ast: 69d56cb037ef03160c68934b1ef14823d082d926de0dc9622872129118d5d162 unrolled_ast: 69d56cb037ef03160c68934b1ef14823d082d926de0dc9622872129118d5d162 - ssa_ast: 8686dbb349655382982ee89091121d2c02c5b343509a4ed5bb8a8f37c08e3063 - flattened_ast: 9e23fc8e49c418250b3d67ba34dd76950504575ac000a3ba805abe31f5ae7274 - inlined_ast: 9e23fc8e49c418250b3d67ba34dd76950504575ac000a3ba805abe31f5ae7274 - dce_ast: c963cb3d36c62cb5abe0f5553135b9bfa2ef6692099a843629e2d122ada3cdee + ssa_ast: 620b635347e27749657d49489a34954663b7c1b3ee1b91b9622b5c83acf220ff + flattened_ast: 2dca0b339e088ba8edf2982e06097af62488f1ec24065c8069645dbf0a73b992 + destructured_ast: 564653f279203e949f0e6b06919d1d4f92fed5185a9422a51bdef5f2b548b1fc + inlined_ast: 564653f279203e949f0e6b06919d1d4f92fed5185a9422a51bdef5f2b548b1fc + dce_ast: 3020f6058d267f806ec3b227752ad0294a7c0453fb055002a8c577bc5c06ba17 bytecode: 3f9bcd59307e76bb9f1ec70f6b5aa9d7d279141fd0ac17f03e19ad42c64b292e warnings: "" diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index 0bbb363ee0..0e2a5035b6 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 8ccb27842458398b641876f28e79ff17d83e0b591e5861e0a1f546d0924ca4e5 unrolled_ast: 8ccb27842458398b641876f28e79ff17d83e0b591e5861e0a1f546d0924ca4e5 - ssa_ast: 94bbf254a0e2c824d704c3e0bbed72ff23e46d0a6cec768bca85533ba666aa51 - flattened_ast: 71104c6a4fe496ffead7a0b5364474ce508740ef034edad5092bcfd48af04be0 - inlined_ast: 71104c6a4fe496ffead7a0b5364474ce508740ef034edad5092bcfd48af04be0 - dce_ast: 71104c6a4fe496ffead7a0b5364474ce508740ef034edad5092bcfd48af04be0 + ssa_ast: 79d9c6f3f1b715e0294b19aa5cf638e3331c9ab25b280115d16c907dd8113b8f + flattened_ast: 2172f96c2c8c8586bbc613bd9a5590899397c97a0336472faf4eaf442d25365a + destructured_ast: 7d02d0e96d64196cfd3134af98e64207183fbab8abde0b276d9e42e9ee2f3b8f + inlined_ast: 7d02d0e96d64196cfd3134af98e64207183fbab8abde0b276d9e42e9ee2f3b8f + dce_ast: 7d02d0e96d64196cfd3134af98e64207183fbab8abde0b276d9e42e9ee2f3b8f bytecode: 85fa769a183361184804ca78415e58cd4df150b04f1b50a743771dc28df46b4b warnings: "" diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index ded1432564..8d1abf6ff9 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 82d7c82038b5fb386f3078ef5eb00f2e2fe9ed26b32b8de844c9c82d4e6bf405 unrolled_ast: 82d7c82038b5fb386f3078ef5eb00f2e2fe9ed26b32b8de844c9c82d4e6bf405 - ssa_ast: b6bda830c091da44bab20b12186049577afbd022f5cd0b47344a1507884e7dc6 - flattened_ast: 36617ee3bac609aa9c13b337336e45b502550003e138b2c2677de894bcd72f77 - inlined_ast: 36617ee3bac609aa9c13b337336e45b502550003e138b2c2677de894bcd72f77 - dce_ast: 36617ee3bac609aa9c13b337336e45b502550003e138b2c2677de894bcd72f77 + ssa_ast: 5785c6bce3e07f86ea00bec2bcb8b5edb5b5c101536f88d529124ee0be328ae4 + flattened_ast: 51eddfb33661e966395a9faedd86744d013ee5c6a96a077881c704517476cbf8 + destructured_ast: 6ee39929dedc730df0db93a86d9e5f3b94da56b079ad99529f7a999b4952bb6f + inlined_ast: 6ee39929dedc730df0db93a86d9e5f3b94da56b079ad99529f7a999b4952bb6f + dce_ast: 6ee39929dedc730df0db93a86d9e5f3b94da56b079ad99529f7a999b4952bb6f bytecode: d190616fb105ce612eb0022279524f88dacfa3a9bef033cc54a70954b0140ef6 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 4422cda7ab..1157076914 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 2ec299be458d3ac55d9a5b74fe8a77fce6c11a7688bc1f3a1449e597c3e4bd37 unrolled_ast: 2ec299be458d3ac55d9a5b74fe8a77fce6c11a7688bc1f3a1449e597c3e4bd37 - ssa_ast: d843b4f88710104e4993fabb27e8ed36e1c401f0087138e0ff9ecd6f85dcf007 - flattened_ast: 09ea92efe6e31ebefd457e9328d50e1b866eede1bf53cdd1ff61aa8a41528433 - inlined_ast: 09ea92efe6e31ebefd457e9328d50e1b866eede1bf53cdd1ff61aa8a41528433 - dce_ast: 09ea92efe6e31ebefd457e9328d50e1b866eede1bf53cdd1ff61aa8a41528433 + ssa_ast: c318698638ae4e73eacde384c3e9ce8293d2837bdb391a96b312c2a8750b4af2 + flattened_ast: 71145fd88ad4277f2309f5f9be95f85acf235c5c61ea58f4dc6e3d6789064c7f + destructured_ast: b0588e81c5737a407f23c08a550a73f82fc70142d5719a89766ad440c5bba137 + inlined_ast: b0588e81c5737a407f23c08a550a73f82fc70142d5719a89766ad440c5bba137 + dce_ast: b0588e81c5737a407f23c08a550a73f82fc70142d5719a89766ad440c5bba137 bytecode: 5d53e21705893d69b529fbcd09e2200ac612868aa3b553ab83eac9ab33ecdcad warnings: "" diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 0e356be57f..a66441b6e5 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 8b20e8e4a4f093b8cca51de93194a226fb283178da310c5082ac19bb40273e04 unrolled_ast: 8b20e8e4a4f093b8cca51de93194a226fb283178da310c5082ac19bb40273e04 - ssa_ast: e9e10f56beeb5651a4d813e995c13aa6c46519aa5d24d4e03fb105a096bd4d5b - flattened_ast: f57090b8411e3963c4ea1e1185ef2aaa573f73a4fda83d6940c90ac118c1a9d6 - inlined_ast: f57090b8411e3963c4ea1e1185ef2aaa573f73a4fda83d6940c90ac118c1a9d6 - dce_ast: f57090b8411e3963c4ea1e1185ef2aaa573f73a4fda83d6940c90ac118c1a9d6 + ssa_ast: d68ae6a0b89512b9b2d825ae520a43a5ef495c73473a0bf457ce0636a1ec2913 + flattened_ast: 8a174b00412f32c11b27b069cba1896422b40a20f9c728d84b58c028fa81f2a4 + destructured_ast: 15e85dd654a38e2696681b4b7d7f3cdff5f6fedcb7e6b0ba144c284703f3f90a + inlined_ast: 15e85dd654a38e2696681b4b7d7f3cdff5f6fedcb7e6b0ba144c284703f3f90a + dce_ast: 15e85dd654a38e2696681b4b7d7f3cdff5f6fedcb7e6b0ba144c284703f3f90a bytecode: d27718f2372db60651de0720d5d611c3199e4be462f5a122ec9fbf05720f9700 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index 150a76bb74..32728db8ce 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: 4636121a3bed30f2ae1c48c207ee9f4a7fe00d08930c30bafb174185a13565bb unrolled_ast: 4636121a3bed30f2ae1c48c207ee9f4a7fe00d08930c30bafb174185a13565bb - ssa_ast: 1fe5f556c2a2ffb39411ef00ef80d0666eb157485997badfb97e306520c4cc55 - flattened_ast: cecc2c3694218a141f9479fd75eca5d4be2663a95cffed137daa7949feca3188 - inlined_ast: cecc2c3694218a141f9479fd75eca5d4be2663a95cffed137daa7949feca3188 - dce_ast: cecc2c3694218a141f9479fd75eca5d4be2663a95cffed137daa7949feca3188 + ssa_ast: 4a783dfd2fd51b45ac3b52a497af831134dac1da796212555a0b3851b405fde4 + flattened_ast: 943f9a64f219f081de98ddbd99366bb7e8d88dd407ed3e5ec3b6ad94f8bc1036 + destructured_ast: 020088630f55c922c6a6cc3daf13748a73da5b647e04f1088465bd164a4c5a7b + inlined_ast: 020088630f55c922c6a6cc3daf13748a73da5b647e04f1088465bd164a4c5a7b + dce_ast: 020088630f55c922c6a6cc3daf13748a73da5b647e04f1088465bd164a4c5a7b bytecode: 3835c59e778362b72f87e954fe6c9777904bf7d390f68b5ff47fb6c8ef5bb258 warnings: "" diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index f2add77d10..e46a03dfe3 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9df21559cca2d8fe49e78a8989b590f740238dc795e1e6c99b50eee4528aa407 initial_ast: d4992f16537b7f13ccecc09c843314906eb0a6a85063561293420f9c4a38c314 unrolled_ast: d4992f16537b7f13ccecc09c843314906eb0a6a85063561293420f9c4a38c314 - ssa_ast: 09b618370753cea353fca79fb9e8905bb74dd29c088bb3b2a8b38b3766c2e7c6 - flattened_ast: 5aa422d4a14d4e93b2fc46ef5f9dabccc6b31b24de0b421f065e94d8d2e9f0f3 - inlined_ast: 5aa422d4a14d4e93b2fc46ef5f9dabccc6b31b24de0b421f065e94d8d2e9f0f3 - dce_ast: 5aa422d4a14d4e93b2fc46ef5f9dabccc6b31b24de0b421f065e94d8d2e9f0f3 + ssa_ast: 78a984805a656601c4db3ef8e656a1c8cbf82bcf679430a89f50a756316651f5 + flattened_ast: d1a840a92ebfd346cabaca7eaafec9e5dbdc38a3404154fa824323de42d86e2e + destructured_ast: 462cbb6654e0fc5e202cfd8c3aac1c539a737e86179e3b4a4fed674d3e63a19e + inlined_ast: 462cbb6654e0fc5e202cfd8c3aac1c539a737e86179e3b4a4fed674d3e63a19e + dce_ast: 462cbb6654e0fc5e202cfd8c3aac1c539a737e86179e3b4a4fed674d3e63a19e bytecode: 1adab47eb5efe9d41dbad9d8b31eb8866871818b40ef6bd54a77c8b016683a5a warnings: "" diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index 7b95c6aaad..9dcabb494a 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f336e0af851c67fd4a3149941aa071d706f500842e70d15d1916f3213d37e635 initial_ast: d9fb17a2c54535f75ed739926fb22c8acfb325e81e2aa7d8069935553546f3a4 unrolled_ast: d9fb17a2c54535f75ed739926fb22c8acfb325e81e2aa7d8069935553546f3a4 - ssa_ast: f128e64e80ac913ba38f240c1e49a353297fe2ef15f712e2b56df940134569b4 - flattened_ast: 1a0ad9f4ad9317bffd5cf0d2db91bc0507e977728334d345ec9100bcb4d083f6 - inlined_ast: 1a0ad9f4ad9317bffd5cf0d2db91bc0507e977728334d345ec9100bcb4d083f6 - dce_ast: 1a0ad9f4ad9317bffd5cf0d2db91bc0507e977728334d345ec9100bcb4d083f6 + ssa_ast: d6a25ca7472c4f1bf2608584ebd87d01ab08205c36a20642c8d42e243e24638c + flattened_ast: 62cd7418654c5871e528e4bdd6c9447972fc7b468468f2516dfea434da441010 + destructured_ast: 00ebbf67188e1e9e89dbfac348dccfeb4d1fb14944afe7c15ef94bbf746c3599 + inlined_ast: 00ebbf67188e1e9e89dbfac348dccfeb4d1fb14944afe7c15ef94bbf746c3599 + dce_ast: 00ebbf67188e1e9e89dbfac348dccfeb4d1fb14944afe7c15ef94bbf746c3599 bytecode: dfa955d512febab56fa2b549f3f0857663aaddb77a71f0322d48b26af49eb2af warnings: "" diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index d7c40a1208..3a71da4d24 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 27c85c52a575175fb48e68698bae44d8219dbf92ae9498b0551d8efc5d168674 initial_ast: 12c22ec71f2ea6c7b87daa4e394fcb3fd5ab644763426a0c93b9a90e3253fd45 unrolled_ast: 12c22ec71f2ea6c7b87daa4e394fcb3fd5ab644763426a0c93b9a90e3253fd45 - ssa_ast: 45b1ed276dd05d31191e6e6491baef0e7ac64ca43db656adbb8a0146d1c075cf - flattened_ast: cb04ef807b5be5d7a5bb32c89c9dc6ff777e404266b453d3582574f9da35ced6 - inlined_ast: cb04ef807b5be5d7a5bb32c89c9dc6ff777e404266b453d3582574f9da35ced6 - dce_ast: cb04ef807b5be5d7a5bb32c89c9dc6ff777e404266b453d3582574f9da35ced6 + ssa_ast: b8eb77296de1462a985823d88a897257d397e24f9fe825e579fcdcff5ea5c51c + flattened_ast: f524ff628e8ae43a389a76538b785bb11768cf4754ac4b032cdf01c78f4807b2 + destructured_ast: e03112234e53c057db1d7af598d83e6c0c6c837d3c6f3f6c65412e0135f11971 + inlined_ast: e03112234e53c057db1d7af598d83e6c0c6c837d3c6f3f6c65412e0135f11971 + dce_ast: e03112234e53c057db1d7af598d83e6c0c6c837d3c6f3f6c65412e0135f11971 bytecode: a4e52d530daa111c685a34ebf07350f49f886e72fb1af5fd8c789c1ece9813b9 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index 232efbdf69..e7cd525560 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: d99b94038d36f43ae14e660b4a4dee0e75d7b18b978a2d70995620b739228422 unrolled_ast: d99b94038d36f43ae14e660b4a4dee0e75d7b18b978a2d70995620b739228422 - ssa_ast: 9a002b7ab1bc6cba0c7cfc2602d115008c7c885b04035f5080a290488a3637e0 - flattened_ast: 7940829149ab0d46963b23686014e60bc43fd0fde1f62be2934401e895c0eb4f - inlined_ast: 7940829149ab0d46963b23686014e60bc43fd0fde1f62be2934401e895c0eb4f - dce_ast: 7940829149ab0d46963b23686014e60bc43fd0fde1f62be2934401e895c0eb4f + ssa_ast: 89e803ea737abd93b9a8acb4c000620b5c98e68289ab236d73c6e3784eec4ddc + flattened_ast: 7b7d160710b9b3dbbdcafec4f9140bfe34d86c4f892f1bd631e27945611c2326 + destructured_ast: 1eb6a70048505a8a2a7de4aceff74ce4b48e1278983b3e82e2bed8b6c6b651ac + inlined_ast: 1eb6a70048505a8a2a7de4aceff74ce4b48e1278983b3e82e2bed8b6c6b651ac + dce_ast: 1eb6a70048505a8a2a7de4aceff74ce4b48e1278983b3e82e2bed8b6c6b651ac bytecode: 4d6180dac5a97d9a8f2825b4cae41adec00897380b309e1ffadda4ddd4f607fa warnings: "" diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 40606b2b41..df7f72dac0 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: 8adcd1a8f4b63032edc4c8d4fc473aee95b89a65d25faa872bac167f451229b7 unrolled_ast: 8adcd1a8f4b63032edc4c8d4fc473aee95b89a65d25faa872bac167f451229b7 - ssa_ast: d9c48ba24e00b90f4be6e7d8191e026f26b5837f4582bbcbf83076fdbec97840 - flattened_ast: 313d5d56eebf4c62c4e09c6df0e4201295c447eb8e49637dd10e5a75d8a51f1f - inlined_ast: 313d5d56eebf4c62c4e09c6df0e4201295c447eb8e49637dd10e5a75d8a51f1f - dce_ast: 313d5d56eebf4c62c4e09c6df0e4201295c447eb8e49637dd10e5a75d8a51f1f + ssa_ast: 3b261e8d89fa40774c44d7e3246cec8de2ce1590e51adc5c1309553e2d061087 + flattened_ast: 47b97c029e96806dc29773a4bdfee606d71cd8280230b56dec0d9849c2e410be + destructured_ast: 1d21333f0d6a4749cdc8f442f0fc1da98f561644998161c113fca16b06be33ca + inlined_ast: 1d21333f0d6a4749cdc8f442f0fc1da98f561644998161c113fca16b06be33ca + dce_ast: 1d21333f0d6a4749cdc8f442f0fc1da98f561644998161c113fca16b06be33ca bytecode: a0056ca7a6a670a9bb0bc979e224136219b6a336c43d3ecd624c218cba49ba22 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index 3cf0e75e6e..1b16a601d6 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9a3a72f738b4d70c5ff66281c873478634faeedee48c77a01f83ab851e0525f0 initial_ast: f2e3b52a161815a354f236a06f16084ab29cea13ec0e19303d361599148d89bc unrolled_ast: f2e3b52a161815a354f236a06f16084ab29cea13ec0e19303d361599148d89bc - ssa_ast: 29f7e4c31b246813263f7a1e5bce6f0cd0c18532e40f4a558d8e5e788a1dd731 - flattened_ast: 2f0cce80519cab027942f81ea4900e5cb93407620c94aefaedb3bf51c2eda6be - inlined_ast: 2f0cce80519cab027942f81ea4900e5cb93407620c94aefaedb3bf51c2eda6be - dce_ast: 2f0cce80519cab027942f81ea4900e5cb93407620c94aefaedb3bf51c2eda6be + ssa_ast: 400e2b3b8be4fb6d8eef4f4cf6eb16ec6950e44a0611d1af2cb95e9f12a19f56 + flattened_ast: f94af69641c5c92b8ea66e60e7027cafdde98989bc8a6d93137ec13fd2ac2383 + destructured_ast: 793e43fce40e520ed7ff8ba6a0cb9d4825f90d4f00a08db0560770a3b2aa49c3 + inlined_ast: 793e43fce40e520ed7ff8ba6a0cb9d4825f90d4f00a08db0560770a3b2aa49c3 + dce_ast: 793e43fce40e520ed7ff8ba6a0cb9d4825f90d4f00a08db0560770a3b2aa49c3 bytecode: ac2d2f57bf49761437884caa2b7f46c8c33df05175d3cba3ace16cb068374f18 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index c28699ed55..9e61a7c022 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: d1d7b7d425fa619e6b228da0137d4351e51fd104c4b29c625f26211e1eb3ffed unrolled_ast: d1d7b7d425fa619e6b228da0137d4351e51fd104c4b29c625f26211e1eb3ffed - ssa_ast: 418ca1ab19bfbc5d513763b1cc1c679d3020439a9658b9d8878e9eafc8dd985e - flattened_ast: 857e665cf1419a9965fd794728f9e0517d5e49ee040f3e1bee4f0995ad02faa4 - inlined_ast: 857e665cf1419a9965fd794728f9e0517d5e49ee040f3e1bee4f0995ad02faa4 - dce_ast: 857e665cf1419a9965fd794728f9e0517d5e49ee040f3e1bee4f0995ad02faa4 + ssa_ast: 959a289a21eaf5595bc47a6f03002e2e8c1b9b6e7ae1d7d0bfc8c37cf55a8454 + flattened_ast: f3b8dd96d5e5155efc0b68034e491d359066864226755597410abf4335e62564 + destructured_ast: 980a4b348d5d12a86f9bbc7b9137b6590cc1d8ace1129cf88b0ea6efe919467e + inlined_ast: 980a4b348d5d12a86f9bbc7b9137b6590cc1d8ace1129cf88b0ea6efe919467e + dce_ast: 980a4b348d5d12a86f9bbc7b9137b6590cc1d8ace1129cf88b0ea6efe919467e bytecode: 0d753f8ac24fd6daf4150b9ab5d1469e61c65d75c6eddcc8a5dd859e8084fb2f warnings: "" diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index fa2f311856..40227112b0 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: cf7a8855f7bbf94e0ead14280ce04d7ed834b92f64c21439f15ad0064cd3440e unrolled_ast: cf7a8855f7bbf94e0ead14280ce04d7ed834b92f64c21439f15ad0064cd3440e - ssa_ast: caac3e265c3d4d834fff7fc5e9a8c58232f08245c5d1e389b918798daa0fa020 - flattened_ast: e4f3e6f15130e2781f4dad4d392f148bc15625c82823170556d1ba43c4dcacc5 - inlined_ast: e4f3e6f15130e2781f4dad4d392f148bc15625c82823170556d1ba43c4dcacc5 - dce_ast: e4f3e6f15130e2781f4dad4d392f148bc15625c82823170556d1ba43c4dcacc5 + ssa_ast: 297ce7d662cf1ed8f31f75a6050375df5dda42562f08948f88294340f3d04d97 + flattened_ast: 99469a9c350d1e468b90b81238c5109a4e500cbb385bc3fb98067b4aaa9bfbd1 + destructured_ast: fe223b6ad23288804d43ca6e0484f674bc6bcf0515eff0a751b0ee8de3bc2a3c + inlined_ast: fe223b6ad23288804d43ca6e0484f674bc6bcf0515eff0a751b0ee8de3bc2a3c + dce_ast: fe223b6ad23288804d43ca6e0484f674bc6bcf0515eff0a751b0ee8de3bc2a3c bytecode: 898a6a5cc452219a2c31f1cc7f0c73c6eea23a72d4d331e013cfb866167467e2 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index ac3f5112c4..13c4325ec6 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: 79848cf881af328faaa9ccded32b179b7550d61e915f04e56b644b5d0955536f unrolled_ast: 79848cf881af328faaa9ccded32b179b7550d61e915f04e56b644b5d0955536f - ssa_ast: 338293d1c42f4467ff1f3ce9f4ff6bea2ee9dbf7cfe3257a53cbf9cd2e29439f - flattened_ast: 089dac12f1bc88fbdd94fc75413b029d4c471b22fddc7aa70c4556d7411e65f6 - inlined_ast: 089dac12f1bc88fbdd94fc75413b029d4c471b22fddc7aa70c4556d7411e65f6 - dce_ast: 089dac12f1bc88fbdd94fc75413b029d4c471b22fddc7aa70c4556d7411e65f6 + ssa_ast: 462806e9d1b78a92cbb320cb95772f7d7920303b27b4a6ba4af73073139a5789 + flattened_ast: 26238dc432aee51375883f9b1571fdcd4fc3f69bfbc290f1d62c77dc7588eb89 + destructured_ast: 5844c2302016c356fa77eec233ac16e8af03ef78a173daa1e4b4f25139f993cb + inlined_ast: 5844c2302016c356fa77eec233ac16e8af03ef78a173daa1e4b4f25139f993cb + dce_ast: 5844c2302016c356fa77eec233ac16e8af03ef78a173daa1e4b4f25139f993cb bytecode: e35d3733d6b9cdae2cad91fa9100d057efcbdf45f16994f11a75319486a81e64 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index b7dcfdf8e1..4a77e38357 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: 6cccef6f3b61bf8243e60d84816116af853d789d3ee036e65f154aeadf4d498e unrolled_ast: 6cccef6f3b61bf8243e60d84816116af853d789d3ee036e65f154aeadf4d498e - ssa_ast: 36a56089bb5f7268efaa2504b5c1e2147875f713414677dcea4dbca900eeaad3 - flattened_ast: 40084b2128e49985497f4d83e9d514751ef5f719589e21b9766e6f87f84383d1 - inlined_ast: 40084b2128e49985497f4d83e9d514751ef5f719589e21b9766e6f87f84383d1 - dce_ast: 40084b2128e49985497f4d83e9d514751ef5f719589e21b9766e6f87f84383d1 + ssa_ast: 9a45d4a96d0cb3d79d934cb3a25d787fe01b297e12f43e3e651bb0a6a2ba5fd6 + flattened_ast: 6ae60e930a9d72fddd1c0a2edf2dcb017c173291f99f775fba5def7109f777e7 + destructured_ast: 8c89ad11810266f9bb21eaf1c260d3acbbfb280f6926279f8428fc922acfae7c + inlined_ast: 8c89ad11810266f9bb21eaf1c260d3acbbfb280f6926279f8428fc922acfae7c + dce_ast: 8c89ad11810266f9bb21eaf1c260d3acbbfb280f6926279f8428fc922acfae7c bytecode: 8195766fd4b565e30f6f4e088c57977e5a558d68847e0a61fe2b8de79bd2590d warnings: "" diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index 5462746a39..6dd66c9747 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: d8205912b684d51c37b299cf4ca5f88e452e1a85b1647d4b1525e84be0dcb737 unrolled_ast: d8205912b684d51c37b299cf4ca5f88e452e1a85b1647d4b1525e84be0dcb737 - ssa_ast: b17caef9a8957283afb1f838ac990aceb0aed016b4e12c97b8033c6fce6ba38d - flattened_ast: cea168bb446dcca324d19f61cb61c7689ddca02b9c8bec50a7f5c6ab9f55d3ec - inlined_ast: cea168bb446dcca324d19f61cb61c7689ddca02b9c8bec50a7f5c6ab9f55d3ec - dce_ast: cea168bb446dcca324d19f61cb61c7689ddca02b9c8bec50a7f5c6ab9f55d3ec + ssa_ast: 5738d2f88c4607be17496a1b561fe59d4a969cabc49eb141902d85d00fc91669 + flattened_ast: 4b07fba9269cb70ce7caff70fcb2bcf5ad826d381a1117ae42ebf3912f0bcf02 + destructured_ast: 0f3aa2567e8ce4446911b17e3ca8b235473fdfc5f1c339a30bb2c493897ebbc0 + inlined_ast: 0f3aa2567e8ce4446911b17e3ca8b235473fdfc5f1c339a30bb2c493897ebbc0 + dce_ast: 0f3aa2567e8ce4446911b17e3ca8b235473fdfc5f1c339a30bb2c493897ebbc0 bytecode: 98dc59dd7939556e96fd2a7f222612401d18c45c3d38845f2c68d273b1d848c3 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index 3491083a44..cd83d294fe 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: 452e4a503f890a357396435a666e996b18f274498082ab3c25577d97bf3a6260 unrolled_ast: 452e4a503f890a357396435a666e996b18f274498082ab3c25577d97bf3a6260 - ssa_ast: 7de9823e091a50b3938f50dcd14b67106d38c195719cff1c10447dcbd66b8804 - flattened_ast: e59a5a8757504041d425d4e7ca0161eb89a52d5dc5a537618e4cfcc53f877dcf - inlined_ast: e59a5a8757504041d425d4e7ca0161eb89a52d5dc5a537618e4cfcc53f877dcf - dce_ast: e59a5a8757504041d425d4e7ca0161eb89a52d5dc5a537618e4cfcc53f877dcf + ssa_ast: 05497e9c25f3733541937446bfb733610a063abd5dc9b7152d5cf346022f9ec5 + flattened_ast: 1f915a338ee6d6b8bba126a42547b5198e733914730558ff623871969316fa7d + destructured_ast: ee76f1a566d1c0c0fa1bd2d86ec5599d7528adc85853de0d964a7dd73b7b573e + inlined_ast: ee76f1a566d1c0c0fa1bd2d86ec5599d7528adc85853de0d964a7dd73b7b573e + dce_ast: ee76f1a566d1c0c0fa1bd2d86ec5599d7528adc85853de0d964a7dd73b7b573e bytecode: 1ce9578b21f22dfd7342da3a2ea28ed86cb30b94475fc02329dab93fe121eaa3 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index 269d10d831..e965da6880 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ec81528114da95e8bc819b308072696197086a0cb2153b807346e6232e659cea initial_ast: 9b604bae34ca29a1535efa60093bb2a8ff7b0dbeb75125a59f8eb4ff847c972e unrolled_ast: 9b604bae34ca29a1535efa60093bb2a8ff7b0dbeb75125a59f8eb4ff847c972e - ssa_ast: adbff0941e230be93ce6dc0657f61e6201fa42d5f489c6060cc57ad3230e25b7 - flattened_ast: 004ac916c2105a3f3c0e169aae3b3880add9a204addd2ba232e9a59c0ed6299f - inlined_ast: 004ac916c2105a3f3c0e169aae3b3880add9a204addd2ba232e9a59c0ed6299f - dce_ast: 004ac916c2105a3f3c0e169aae3b3880add9a204addd2ba232e9a59c0ed6299f + ssa_ast: 84609de1d91e5d0d222c316f8865ff91e88aaf98de8dadbbefa761094305f7f4 + flattened_ast: d2c9bdc82b7279f7c4a2961efa6fbb02d576be35a7859794a8b41f7d6ddf9f72 + destructured_ast: e7f122dc2b3baed3dc2502dbfab90e8e3ba6da7b56a4905dc7195544b070bb57 + inlined_ast: e7f122dc2b3baed3dc2502dbfab90e8e3ba6da7b56a4905dc7195544b070bb57 + dce_ast: e7f122dc2b3baed3dc2502dbfab90e8e3ba6da7b56a4905dc7195544b070bb57 bytecode: 45295d2179ab802afcc86d7d5b8c0b17afcdab726c8cca491370f77918e64a2b warnings: "" diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 34ec2b21b8..ce7b044c29 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ec81528114da95e8bc819b308072696197086a0cb2153b807346e6232e659cea initial_ast: 0e28a92e28095a860c2609f13884ebd36f9d394b66041d0118a4bb3d28516fc5 unrolled_ast: 0e28a92e28095a860c2609f13884ebd36f9d394b66041d0118a4bb3d28516fc5 - ssa_ast: 32ea2235dd30beeae64bc3d49e1ef4829187f9c91336c019fd4e14b55405b8a0 - flattened_ast: 87345a4db4643a996305d8120f8ceae80f9d36a23ef6c1e1c9cc97188bcbf203 - inlined_ast: 87345a4db4643a996305d8120f8ceae80f9d36a23ef6c1e1c9cc97188bcbf203 - dce_ast: 87345a4db4643a996305d8120f8ceae80f9d36a23ef6c1e1c9cc97188bcbf203 + ssa_ast: 28108e203de9512164b05428263acd0dc5b2ceab9e005e669981fbcb3684704f + flattened_ast: 3d7cb7182ddb10dcabb108d9863837b0b0a9d0eb3373b717f42967cfa8174582 + destructured_ast: 25698e6c996c606afeeee06859fc8f5d9d1a5f5fa8ac29edf5735f4a4195729a + inlined_ast: 25698e6c996c606afeeee06859fc8f5d9d1a5f5fa8ac29edf5735f4a4195729a + dce_ast: 25698e6c996c606afeeee06859fc8f5d9d1a5f5fa8ac29edf5735f4a4195729a bytecode: b4ca9ba0607d70a519a65b1415ffb48639cda59835abf8a7a892710f309b0abc warnings: "" diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index f2eaccfcf4..55721efbf0 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6db445661e7120b7c1ab9183d24fe60e89938638d5c327bfce5621bb4e231026 initial_ast: a9e9de4c97130cadc71bcba5a2c0abb3269a327a7e6e000221494bd141c74897 unrolled_ast: a9e9de4c97130cadc71bcba5a2c0abb3269a327a7e6e000221494bd141c74897 - ssa_ast: 0f71190931fe5e4f5c50d83a246f313dd56881e60959590ebc2282139a8fae11 - flattened_ast: d43ed7a597af2196fcd7e8093a5cd075828e22d53347ee57defc88e4a3279333 - inlined_ast: d43ed7a597af2196fcd7e8093a5cd075828e22d53347ee57defc88e4a3279333 - dce_ast: d43ed7a597af2196fcd7e8093a5cd075828e22d53347ee57defc88e4a3279333 + ssa_ast: e30c9a0f66ef29a8abaafcfaddbe12b6f61f2d175cdf2ecfb5bbbb215deaace4 + flattened_ast: c34b7ab0f79b41826d126339fa8b8d8546e0abf352857d1d18935303bc9867d5 + destructured_ast: 2be0cd4b6543ed292a5cabc7d73547f2a36702acec98a08e789ab36772c1d305 + inlined_ast: 2be0cd4b6543ed292a5cabc7d73547f2a36702acec98a08e789ab36772c1d305 + dce_ast: 2be0cd4b6543ed292a5cabc7d73547f2a36702acec98a08e789ab36772c1d305 bytecode: 5d5bc4c63f62ab0bf4b07e3791e046417ea909f69375729be199bbdba267e742 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index 39e81d3093..e555482c11 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: 271d183ceaefe12784f6e098d32fe54bed646135a32f1389d68aac61526796af unrolled_ast: 271d183ceaefe12784f6e098d32fe54bed646135a32f1389d68aac61526796af - ssa_ast: 0f69b1cfe9370340e469b75b9139f10608ecfd375797cd6c3c01f282e2ae607d - flattened_ast: fdeea40eea4c8da83b75e7c903da3b6a9b6aed08a87387637fac1267dca07cd0 - inlined_ast: fdeea40eea4c8da83b75e7c903da3b6a9b6aed08a87387637fac1267dca07cd0 - dce_ast: fdeea40eea4c8da83b75e7c903da3b6a9b6aed08a87387637fac1267dca07cd0 + ssa_ast: 557d00eddcc07622ea95b53a116de65a41761a7371b8cf836538909421572442 + flattened_ast: 0e0894be55a77674b2ed1908ab7cf33db930edae6b954adccf1460338f507a2c + destructured_ast: faa4fac65c6433f2cedff34735207fd63c0d714a1765fe176947e7fce064da92 + inlined_ast: faa4fac65c6433f2cedff34735207fd63c0d714a1765fe176947e7fce064da92 + dce_ast: faa4fac65c6433f2cedff34735207fd63c0d714a1765fe176947e7fce064da92 bytecode: dfd9acb20823234cdd87513c5b6ee195f0e5b925b52e035009dcb7ff22e6900a warnings: "" diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index f796bba45b..fa8ef7a8ab 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5bc78fe4edd1a7989f75e73c5a67044df448be223990aeea89d19c62c8dd5ef1 initial_ast: b492cfdd97f4144e060adc575a92e929637a7a558d75a17956057050051427b1 unrolled_ast: b492cfdd97f4144e060adc575a92e929637a7a558d75a17956057050051427b1 - ssa_ast: 4017898ce097e66d22fe9ca28f24a6dcde1b75fce98317582035c9c7c25db33c - flattened_ast: 3ce9d3a246baf980cd9fcf78b4891d473092304db44b1500dd76f6f84544283f - inlined_ast: 3ce9d3a246baf980cd9fcf78b4891d473092304db44b1500dd76f6f84544283f - dce_ast: 3ce9d3a246baf980cd9fcf78b4891d473092304db44b1500dd76f6f84544283f + ssa_ast: ff18805420c9ed58d3eb5cc66ec6b77239ed8648c9028ee9302e62548731db82 + flattened_ast: a580ac53ffcba12257556cd075b117742d721aed628e858819d824cb7a597a23 + destructured_ast: 769459f68e712b2e249e6130381219f3730ea1408ff0a28228e69678dce4f0ea + inlined_ast: 769459f68e712b2e249e6130381219f3730ea1408ff0a28228e69678dce4f0ea + dce_ast: 769459f68e712b2e249e6130381219f3730ea1408ff0a28228e69678dce4f0ea bytecode: 955b3e3d4d80a6816de6d59563cc6f31f94dbff43853facba45936dfdc2012ca warnings: "" diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index dc1632b7b9..5228700ce5 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a67f4715ca068a676e26b5e43ef284461933a344614671c3476cb1b9c62de2fb initial_ast: db451518a7137c6bea003a454e465f00663f493616fa3e3d8ae118bd8a356567 unrolled_ast: db451518a7137c6bea003a454e465f00663f493616fa3e3d8ae118bd8a356567 - ssa_ast: 5412b8870b3be5e5e94232ee1dbcad3bc31edb0e927159f301d9f84e031ee477 - flattened_ast: bcc675dedef0d18fbb654dd065f4bf8f2748952df45674dbdc963014a2348fe5 - inlined_ast: bcc675dedef0d18fbb654dd065f4bf8f2748952df45674dbdc963014a2348fe5 - dce_ast: bcc675dedef0d18fbb654dd065f4bf8f2748952df45674dbdc963014a2348fe5 + ssa_ast: 9d9d13b2a29a5f46be90ab46dbe411ade441d7037f211dcde779697b5d7738ec + flattened_ast: 6cc4ddc13a5725a90469c785c54fbe6c8b5bb3bf1c00178da411976586da9697 + destructured_ast: 71e8d144ec36f4f3af05b0e61c326f11d8da22623f537aa5c6f586e7519a556f + inlined_ast: 71e8d144ec36f4f3af05b0e61c326f11d8da22623f537aa5c6f586e7519a556f + dce_ast: 71e8d144ec36f4f3af05b0e61c326f11d8da22623f537aa5c6f586e7519a556f bytecode: 4c2a08bbf8cfdd45438e33b981a9f3d77b1d44225227714b3189e3e641e428e9 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index 89b1774a59..7cb019f826 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6db445661e7120b7c1ab9183d24fe60e89938638d5c327bfce5621bb4e231026 initial_ast: f5f229f6ccc2bc98788f5717d8b8afa5a9d983e321efbdc49fff8b262f78b6e2 unrolled_ast: f5f229f6ccc2bc98788f5717d8b8afa5a9d983e321efbdc49fff8b262f78b6e2 - ssa_ast: 35f4fc06b546d9179116996701beccd8ca785e48b920caf5c89c462daee4143a - flattened_ast: 159c7e4696d8aa7a0a39a5208091acaf5c672ea18761d594bcf60585a92a2f0d - inlined_ast: 159c7e4696d8aa7a0a39a5208091acaf5c672ea18761d594bcf60585a92a2f0d - dce_ast: 159c7e4696d8aa7a0a39a5208091acaf5c672ea18761d594bcf60585a92a2f0d + ssa_ast: 2936648e6133f26fd61f17bc01ebacf97e408272aee7c98e046615a8ecee2473 + flattened_ast: 666307f1627a9e7c5c8d0de9b4738e57c7e346418d08b5a5762c6b411d6debaa + destructured_ast: d9f29a11f001bb7b99a238355e386329dd84f4013ae0d9b386c45f80420ad0b1 + inlined_ast: d9f29a11f001bb7b99a238355e386329dd84f4013ae0d9b386c45f80420ad0b1 + dce_ast: d9f29a11f001bb7b99a238355e386329dd84f4013ae0d9b386c45f80420ad0b1 bytecode: f1c720ffbffc836bb5dcc1bdf2b2e9cb95de97275e7798b6f8e508c9116d757c warnings: "" diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index bf7b6d181b..d784d04180 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e35e7c6ab49ed308a4cb758f407532677f9176ed232b34f2c49fb58634d7c979 initial_ast: 07471704e18a01d0ae4844ece2f29282a60ba80a87dfc66ac3981412e042e78f unrolled_ast: 07471704e18a01d0ae4844ece2f29282a60ba80a87dfc66ac3981412e042e78f - ssa_ast: 242b290a93cb7c6f5d5d508c17712eba96e3eb3e96693eb89168a42ba598fc2a - flattened_ast: a08f18eab436fb5b7f14c3a026fd6404b0b91acd864153c7a7bde9e45fe2d4e7 - inlined_ast: a08f18eab436fb5b7f14c3a026fd6404b0b91acd864153c7a7bde9e45fe2d4e7 - dce_ast: a08f18eab436fb5b7f14c3a026fd6404b0b91acd864153c7a7bde9e45fe2d4e7 + ssa_ast: 6db4facac2fc8eab5064ee78e668e9a3ef91b60857aae7d74ab3503591e3ab12 + flattened_ast: 4c59353246ab0fc11048482824cb7759a51ae975cea0c13d87fa5574f00fc678 + destructured_ast: 983288245f0ef405252ac0f7dcbc6f3f810fd8930c43f384d701b6ece99cc481 + inlined_ast: 983288245f0ef405252ac0f7dcbc6f3f810fd8930c43f384d701b6ece99cc481 + dce_ast: 983288245f0ef405252ac0f7dcbc6f3f810fd8930c43f384d701b6ece99cc481 bytecode: 041ad04237619df46380596339019563fc1d330a7e3792a3d856e4b600e8501e warnings: "" diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index 0711f62618..b42f3705c8 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 51429157ca682321002a683c7a122f6d6faf81d431eb976e3d3484c2a25d1c4e initial_ast: c76cd0b370adc7c4db5048e3b4f149bdc8df50133eca04e2a281d1169320fb26 unrolled_ast: c76cd0b370adc7c4db5048e3b4f149bdc8df50133eca04e2a281d1169320fb26 - ssa_ast: f407e3c1cc7e53c4a21f9a987ce44399e2a29001aa25fac6117f7967992fa123 - flattened_ast: 13d91143c167cf4d06a97a0f4131645e2d646a16a302242be41eaa9385f15bba - inlined_ast: 13d91143c167cf4d06a97a0f4131645e2d646a16a302242be41eaa9385f15bba - dce_ast: 7791d3815aa89ebca81a0886a44b2fac4cc023d1c98bd812e49077a623fd79df + ssa_ast: eb51eb7ca17dbfa638712b2089ada2ce483d6c3163251232954386faad4142d4 + flattened_ast: 3055cd48e36f93610bbc8e5dc2e92cbb652a3598cf8adb1878b72fc96d192984 + destructured_ast: 3ff9ad62032d74a3c7fa98c77074c145488b62a14e748abf0ea340be6528fd0f + inlined_ast: 3ff9ad62032d74a3c7fa98c77074c145488b62a14e748abf0ea340be6528fd0f + dce_ast: abbd9b235d88e05edfed4251205a9265023b1238bc50a2715cd58d0aea35d158 bytecode: 2ae0c269722de40ebea82115838ca6bc794e781954d9437afc1684c0f171847f warnings: "" diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index c1baf22628..f3e80aec46 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: 279cc9ffcbecb87718b690fadc16ac41cd867f9cc696a2b47e0c91a44c08c33f unrolled_ast: 279cc9ffcbecb87718b690fadc16ac41cd867f9cc696a2b47e0c91a44c08c33f - ssa_ast: 5ff6c118e3ad140c878a5fa784e689511f5c1d2c7b7ab049dca321ef221251d9 - flattened_ast: a5bcc9027c9d6e897e2a02eace7ed13f1e81ce1eb2c42d0c688468ad1ea184ee - inlined_ast: a5bcc9027c9d6e897e2a02eace7ed13f1e81ce1eb2c42d0c688468ad1ea184ee - dce_ast: a5bcc9027c9d6e897e2a02eace7ed13f1e81ce1eb2c42d0c688468ad1ea184ee + ssa_ast: dc525a22c659a37a4b1f299cfc8806be1b8a0c1321fc64f85f288d3ebb54f92f + flattened_ast: 3e0663296dfab794296f42c4314f5916403c6750333e8335b3d5b5fdd2c5642c + destructured_ast: b8d7820992bf08d7af55181b7d9d01d350bac544ec4eaba0d650cf691c8c6d3c + inlined_ast: b8d7820992bf08d7af55181b7d9d01d350bac544ec4eaba0d650cf691c8c6d3c + dce_ast: b8d7820992bf08d7af55181b7d9d01d350bac544ec4eaba0d650cf691c8c6d3c bytecode: ce2896db5a90c1bfd62a00f9b8721cc2285e1ef077a8e225e2748bb33742564b warnings: "" diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index 44488069e3..f22eeb9489 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: d84e421c180a941a94ad7c40f46802271afd2f5b53293a69ecd7e28c1e9b21f3 unrolled_ast: d84e421c180a941a94ad7c40f46802271afd2f5b53293a69ecd7e28c1e9b21f3 - ssa_ast: e416e3009826940fdec718475b0feda33f44f895bddcc2b019183c9990ab38cd - flattened_ast: c8243c23546646fb30eaec6a911272b1257447f9667d0e1673646b82499950e7 - inlined_ast: c8243c23546646fb30eaec6a911272b1257447f9667d0e1673646b82499950e7 - dce_ast: c8243c23546646fb30eaec6a911272b1257447f9667d0e1673646b82499950e7 + ssa_ast: 4feac4f909f3d817e63943c112c2af1fb2bffdde69d694ac9947526dbfa9787c + flattened_ast: 0e908a88533d75cdefa982d1fd2acfbbae2ee150b38f0d5fab4287722ffa6b2c + destructured_ast: dd63b622507f9b7bf3cef316c701ce98dd58508e0aa7c50a739313d1ad359edf + inlined_ast: dd63b622507f9b7bf3cef316c701ce98dd58508e0aa7c50a739313d1ad359edf + dce_ast: dd63b622507f9b7bf3cef316c701ce98dd58508e0aa7c50a739313d1ad359edf bytecode: 5566b622f6c5ea37b1b130db8b59ea5d69140dbe2aae45a1ada003d92482f7a9 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index 9fdaff67c6..aef4481950 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: e9f22c63837f9d1d63d73c76eb5a26fe317fbc74f75f362beebc2cfe6a18a275 unrolled_ast: e9f22c63837f9d1d63d73c76eb5a26fe317fbc74f75f362beebc2cfe6a18a275 - ssa_ast: 0d7665ee934cf40638c3205504274d2e92f9263bb9c81530b953c9c86d97f4c0 - flattened_ast: d3ba6df842e03c46aeef9dd64b5fe45098dca182914ed561ed7f81e33389a4d5 - inlined_ast: d3ba6df842e03c46aeef9dd64b5fe45098dca182914ed561ed7f81e33389a4d5 - dce_ast: d3ba6df842e03c46aeef9dd64b5fe45098dca182914ed561ed7f81e33389a4d5 + ssa_ast: c58550afa36e2505547db38d30d81fe73eb118aa9822da41468e0fef036a599a + flattened_ast: 346ed1b908bd2dc6d179cc79ad7de3ba96052037c982a4bb086e32cc927db633 + destructured_ast: 69e6c43c4a9af1e26d9dbbff8a339874b42c392f891f362490e5654c91ee9a2a + inlined_ast: 69e6c43c4a9af1e26d9dbbff8a339874b42c392f891f362490e5654c91ee9a2a + dce_ast: 69e6c43c4a9af1e26d9dbbff8a339874b42c392f891f362490e5654c91ee9a2a bytecode: 9db0a74c24c209fa63e0d47919e9fa1a10cde21b15179098872b9c99f821cb16 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index ae2c71f374..75b5c1ba53 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: ef73324d612b612e2dc1462a06dc293b2ea8cdff8b30424ec68dca0e10a7149b unrolled_ast: ef73324d612b612e2dc1462a06dc293b2ea8cdff8b30424ec68dca0e10a7149b - ssa_ast: 2539601d7f25248166006e5e5040188038d268866206c863ec90d55c63e39fa1 - flattened_ast: e2dbea7e2cd102d7a898e188b68d05574a115aa367205415381705a94b482e86 - inlined_ast: e2dbea7e2cd102d7a898e188b68d05574a115aa367205415381705a94b482e86 - dce_ast: e2dbea7e2cd102d7a898e188b68d05574a115aa367205415381705a94b482e86 + ssa_ast: 8cacb6d27d3fcaab57d579952f15d4decc66fa8c473e387e3da9710b3b87d70f + flattened_ast: 5d12a0b8d44ffcf1b4db98cd4d9d97bbe7b79b1b35781bbf2ab11b7d7cb683ae + destructured_ast: f016b501c10baa4ac88c5aaec457643a141f325ebb56818867beaf81eef2cac8 + inlined_ast: f016b501c10baa4ac88c5aaec457643a141f325ebb56818867beaf81eef2cac8 + dce_ast: f016b501c10baa4ac88c5aaec457643a141f325ebb56818867beaf81eef2cac8 bytecode: 65af41a661155e3ce64ac1afced0c2ad5098a59a458f1ef3215f34f5a8e4247a warnings: "" diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 1ebf685928..adfb02c91a 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: 7b93fe1a8c488385f7a66228388b8c73607f15124370975d14844bc030caffc1 unrolled_ast: 7b93fe1a8c488385f7a66228388b8c73607f15124370975d14844bc030caffc1 - ssa_ast: dd622b3c9f724adbdaa27ebb206ef1dbc4726928748a526fa25794b2a13522a6 - flattened_ast: 12c3d35359b64f6600a24c1c14d3220569507ca4849d184e49bedc5642120282 - inlined_ast: 12c3d35359b64f6600a24c1c14d3220569507ca4849d184e49bedc5642120282 - dce_ast: 12c3d35359b64f6600a24c1c14d3220569507ca4849d184e49bedc5642120282 + ssa_ast: 689d6e06e94efbc1e9e16a5cc07f13f39fd7dbe1861e174cc17dc4297a3c331f + flattened_ast: 36a7d12664d500ada7c88a9a8d55af0125d0cdf8545a757194b0adaa0cdcda3e + destructured_ast: 397ba1ca92c9707e829a9d366bab5093eef50b443e16f692d81ffd4b4425a8dc + inlined_ast: 397ba1ca92c9707e829a9d366bab5093eef50b443e16f692d81ffd4b4425a8dc + dce_ast: 397ba1ca92c9707e829a9d366bab5093eef50b443e16f692d81ffd4b4425a8dc bytecode: 1af055915587aced3dca90d1e065481be3648546d2bc465461d50b03c2974f6a warnings: "" diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index dbb2b9ac2b..dce81311e9 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8c6641667832d417a7f99c4f7fd1f3522a7fe0b06bb0c1ddf7661b82b94748cd initial_ast: 84bf70a2744ea7aaeefc0dc668d5459c605040d999d1c748704d6f657649e080 unrolled_ast: 84bf70a2744ea7aaeefc0dc668d5459c605040d999d1c748704d6f657649e080 - ssa_ast: baf116d8a20322dee3b27b123764579887350d75f820c558c6d6f44df19c5d54 - flattened_ast: b4b8244a2e25ddc1413ea0a8ea7c1d2dcfa81d2a7e74416172ca98b6dc94232b - inlined_ast: b4b8244a2e25ddc1413ea0a8ea7c1d2dcfa81d2a7e74416172ca98b6dc94232b - dce_ast: b4b8244a2e25ddc1413ea0a8ea7c1d2dcfa81d2a7e74416172ca98b6dc94232b + ssa_ast: 5f6d203896705a99eed524717aa2478fb133155f9b3fa08cf57e34ded3b02753 + flattened_ast: d73afbc02993dd1ba2a2dcf7969d38fce028b69e44c5a60409ac5ca22cec753c + destructured_ast: 25024853033d0998835e7ec6bc9a7b157767c2d6edbb8c5de5c78d736b05bfbc + inlined_ast: 25024853033d0998835e7ec6bc9a7b157767c2d6edbb8c5de5c78d736b05bfbc + dce_ast: 25024853033d0998835e7ec6bc9a7b157767c2d6edbb8c5de5c78d736b05bfbc bytecode: 17009388ef3907c90aabc4a26d822d5b361f00d4753cca95dda6539866f8d908 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index 848c4f8723..26e1509639 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9314651f3ee2b227b362b134410afb5308af0095c48fa8edc99bb62a4a263024 initial_ast: 48daf1cfcb485c3ae7bb8973fc72473d64a13399b92c1c00358f056edb8fc93f unrolled_ast: 48daf1cfcb485c3ae7bb8973fc72473d64a13399b92c1c00358f056edb8fc93f - ssa_ast: 5a97608d65c7396903d8f055849b316fafd33976b5c55885f9b3aaf60914b440 - flattened_ast: 4f392c79e9a86c8c43c03b838f279811c70a2c38f9dda4c2d391df47f19a504a - inlined_ast: 4f392c79e9a86c8c43c03b838f279811c70a2c38f9dda4c2d391df47f19a504a - dce_ast: 4f392c79e9a86c8c43c03b838f279811c70a2c38f9dda4c2d391df47f19a504a + ssa_ast: 35dff6e4598e7b2ca5b729466b94094a067f4a9d0ac69c363a32043be0c59663 + flattened_ast: 3b8e0039e896fb3c64387b6a4e275bc24b659045aadb64ed91776b4eaf19df03 + destructured_ast: 18a1ed2d9f7ff266f05632df06c306335f1cd650d421a14ce704e9320aff1868 + inlined_ast: 18a1ed2d9f7ff266f05632df06c306335f1cd650d421a14ce704e9320aff1868 + dce_ast: 18a1ed2d9f7ff266f05632df06c306335f1cd650d421a14ce704e9320aff1868 bytecode: 36a621308b0c9bc17df0d85b9b4734e73d1d64cbcacdd813603f3d79f74e8996 warnings: "" diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 8b550839bd..7a171ce453 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ca0fb84b6838559572e7793a48b687c19a623515a7ab73143baed64972d65a0c initial_ast: 6e98957a58567fbc1588178a730888c26a308ed7ca62e170dacb649480c8db7f unrolled_ast: 6e98957a58567fbc1588178a730888c26a308ed7ca62e170dacb649480c8db7f - ssa_ast: 54b91a38ec080a74124baf980df0c034142580250804124adde2dad1b88c4d01 - flattened_ast: 5838dd13ff247dbfdb49d1c0c27004c596403612481fe1a48f90576fdc4bf7f8 - inlined_ast: 5838dd13ff247dbfdb49d1c0c27004c596403612481fe1a48f90576fdc4bf7f8 - dce_ast: 5838dd13ff247dbfdb49d1c0c27004c596403612481fe1a48f90576fdc4bf7f8 + ssa_ast: 8b148cf0c0d2344c37d2d99db22f4464283be6f816d23f83b59f46a68142c154 + flattened_ast: 637bab35240fea0c8203ede49e5bea99aea21eaba5931fcf278e0d4172e8178f + destructured_ast: ef5ba8220ce91cdbc43ab5afffe02e29e6f5d9a309256e5f0cce71acc28c201d + inlined_ast: ef5ba8220ce91cdbc43ab5afffe02e29e6f5d9a309256e5f0cce71acc28c201d + dce_ast: ef5ba8220ce91cdbc43ab5afffe02e29e6f5d9a309256e5f0cce71acc28c201d bytecode: b3f7fd0a992ed66d1a25b6669e1387d7567d6fad58e97b43c160249c2109f516 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 76cbcac36e..3295238fd4 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 941dd916f6eb1f73cd995a4e4307df4e4f6d0e95604afe3e5fc6c52b9aa9cbc8 unrolled_ast: 941dd916f6eb1f73cd995a4e4307df4e4f6d0e95604afe3e5fc6c52b9aa9cbc8 - ssa_ast: 120e0bf509d902330c284dc8d1cd956157360ff54497849df959e4e431c899dc - flattened_ast: a0224268e819795fa77c89c71d8b2222d708556531161924e201daae0a570aed - inlined_ast: a0224268e819795fa77c89c71d8b2222d708556531161924e201daae0a570aed - dce_ast: a0224268e819795fa77c89c71d8b2222d708556531161924e201daae0a570aed + ssa_ast: cdba0e49f1854068c5ab96fe5066cd1e2c3917c14c1998d7ace41ebd640be43c + flattened_ast: 4062a192f3ffc0f054ed6d05e126ba7ccfb930441e79b53cf128188bffeda9a1 + destructured_ast: 058a27dc8c7ba19e6677e879fb5cf7779c7704425732109c6a99a62517128151 + inlined_ast: 058a27dc8c7ba19e6677e879fb5cf7779c7704425732109c6a99a62517128151 + dce_ast: 058a27dc8c7ba19e6677e879fb5cf7779c7704425732109c6a99a62517128151 bytecode: 2a2cbf02e188b3022afe1de563d58f86c9c18a2277c8dbeb307dd1b5dc66f8d3 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index ec73b18a0d..21e14c8a5d 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: b1e0f761f1e8abfa2a1d951cfb7ba9b5fbe7265027dd71c4b90b6ccabea4ba07 unrolled_ast: b1e0f761f1e8abfa2a1d951cfb7ba9b5fbe7265027dd71c4b90b6ccabea4ba07 - ssa_ast: 87cc397ac490f22aea4ba378068c3f3dd70e643faa5c7993494774c4c119e4fe - flattened_ast: 9b335c62b7ca3f245f8932761a1f1f8bebf9f07cfd8bc82be1beff90c0625cd8 - inlined_ast: 9b335c62b7ca3f245f8932761a1f1f8bebf9f07cfd8bc82be1beff90c0625cd8 - dce_ast: 9b335c62b7ca3f245f8932761a1f1f8bebf9f07cfd8bc82be1beff90c0625cd8 + ssa_ast: e2e908dce2c35adf8824351365108c7283b6a36447786e67c7687a905638cf0e + flattened_ast: 992fb60f37a6fa3b5fb1e67c06ca7e63d8612ced0de784e1bb49eaba9de0b858 + destructured_ast: d8cefa87ed7831796a209721dd3451f478be1ef0004dc44392aced43ed4e3146 + inlined_ast: d8cefa87ed7831796a209721dd3451f478be1ef0004dc44392aced43ed4e3146 + dce_ast: d8cefa87ed7831796a209721dd3451f478be1ef0004dc44392aced43ed4e3146 bytecode: eee50040aac3f0f43988dcc4e46afc2f734d30f614a2ae6ee1ce88f39b5f2827 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index ac82ab0d8b..e0d06fcdfb 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e65710f780068d12045610a89e2ba6f1692003645f01c0c697e04cd2db830bf1 initial_ast: 76e72e876ab4eb12247daf391ce0eb5e0b05e8bb9fd70db497c1452b777a346f unrolled_ast: 76e72e876ab4eb12247daf391ce0eb5e0b05e8bb9fd70db497c1452b777a346f - ssa_ast: a919ce7bfc16ac4bf307d9df2ed35b6ddb1415f34b08197ad98c2772e852d95f - flattened_ast: eae8891b568136d8de58acba992a53e3c8c3ccdc7dbf516259e9ced58f79236e - inlined_ast: eae8891b568136d8de58acba992a53e3c8c3ccdc7dbf516259e9ced58f79236e - dce_ast: eae8891b568136d8de58acba992a53e3c8c3ccdc7dbf516259e9ced58f79236e + ssa_ast: dd840e0a44dba70005e2b0aaa9ca3f1a7c616692b664ee0121ab3d937bd21dbb + flattened_ast: f3bc9b1f6a626a17978b2b1ff92916c67758be8d95ab090cc6ca89cd3ed7b895 + destructured_ast: a6363120ff33a0c1a6e5448938cfd7074ef671d7c4ad9a074ff75de56cabea67 + inlined_ast: a6363120ff33a0c1a6e5448938cfd7074ef671d7c4ad9a074ff75de56cabea67 + dce_ast: a6363120ff33a0c1a6e5448938cfd7074ef671d7c4ad9a074ff75de56cabea67 bytecode: e8b3b5f71b01963e4df9f24f4f4f47e9976e5e5b099659e6083cef239d37a2d1 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index 20aa483f2f..9af20f5cb5 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 72936110b033bedee701506e99844c9d9c708949058f688df73cc307021f4453 unrolled_ast: 72936110b033bedee701506e99844c9d9c708949058f688df73cc307021f4453 - ssa_ast: de7621e7951ffb1a21bec8ead00118c9bdb093c6ee4dee31ee036f1e8a2d20d1 - flattened_ast: a92a03cfd31d6db8133c1b1dd200f471c04a769f984d7270d6c558741651b5a3 - inlined_ast: a92a03cfd31d6db8133c1b1dd200f471c04a769f984d7270d6c558741651b5a3 - dce_ast: a92a03cfd31d6db8133c1b1dd200f471c04a769f984d7270d6c558741651b5a3 + ssa_ast: 891a02f2a1532c264da80cccfcbc0968e7303313972638b4b5aa8f9b01e07f52 + flattened_ast: 23825b0f62790a9d7efd8cbd0251aa7262dbe7e3eb0f8a41b32adfe2f9a24b1f + destructured_ast: 56ad7275100755d0ee27e98b52a89adc58c9a148f127d4ea99fbfc3b5f444f2d + inlined_ast: 56ad7275100755d0ee27e98b52a89adc58c9a148f127d4ea99fbfc3b5f444f2d + dce_ast: 56ad7275100755d0ee27e98b52a89adc58c9a148f127d4ea99fbfc3b5f444f2d bytecode: 22fa0cb05cba0820444e31f02772af70719116ea4f41c50faaed75a4c50cb845 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index cb362cf9c4..cc6bb7e375 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: 4fe7224ee78c5681b9007bc22d02cec7a297eca85ae70eabbfae120ba1e3ea41 unrolled_ast: 4fe7224ee78c5681b9007bc22d02cec7a297eca85ae70eabbfae120ba1e3ea41 - ssa_ast: 72a8fa0a66c3e0dd73ad9b70e4ae329153f5e4609217887ae0cac0eab775b4b6 - flattened_ast: cb4fd5dcf72809cac03b0c26de6452dfaa46daf0164f1590a5c2af52bda42881 - inlined_ast: cb4fd5dcf72809cac03b0c26de6452dfaa46daf0164f1590a5c2af52bda42881 - dce_ast: cb4fd5dcf72809cac03b0c26de6452dfaa46daf0164f1590a5c2af52bda42881 + ssa_ast: c3b8beb7d8577955103d414e7acf18b1a0a6e7b10b55b135b7aecdc2bf651dc8 + flattened_ast: 873afa6b25033a75ef0b6beae8ff6bc0ef85c2cdf6e7a977c72198de1098e45f + destructured_ast: dd41bc12a60dfc93fcb06960f19cbe32648054d155f4fc39c09a290616e47e52 + inlined_ast: dd41bc12a60dfc93fcb06960f19cbe32648054d155f4fc39c09a290616e47e52 + dce_ast: dd41bc12a60dfc93fcb06960f19cbe32648054d155f4fc39c09a290616e47e52 bytecode: db6394a0bd5332bffbca151ba7a0ea7bdb38f83f732c3afef149535db47a71cb warnings: "" diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 030939ef8c..5cb49b5edd 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: 662e95b1ca212b456bc20067490cd5e04c0eca85fe82d15ebd0b640119f3733c unrolled_ast: 662e95b1ca212b456bc20067490cd5e04c0eca85fe82d15ebd0b640119f3733c - ssa_ast: 541b3aecba66d70a14abb9d63d1a8ed3793e02f78948b8ed663fe147fcf10a9e - flattened_ast: b2f1e0b785f69cbd61d60b31a40a3663d226b3897e60a7a7d570b769a782e664 - inlined_ast: b2f1e0b785f69cbd61d60b31a40a3663d226b3897e60a7a7d570b769a782e664 - dce_ast: b2f1e0b785f69cbd61d60b31a40a3663d226b3897e60a7a7d570b769a782e664 + ssa_ast: b9113d3e71d319f2c486306723093ed975c6f97a5e8a259492376972db0a10f7 + flattened_ast: ebf902fd9687ace0633c5294c43d75e8dc052e471a6563fdcf39c23660ed4d9e + destructured_ast: 7b9e2b89ce0aed6c9c341f05cd1ffeb104dabe9393b7a33dae799044f22e4cb8 + inlined_ast: 7b9e2b89ce0aed6c9c341f05cd1ffeb104dabe9393b7a33dae799044f22e4cb8 + dce_ast: 7b9e2b89ce0aed6c9c341f05cd1ffeb104dabe9393b7a33dae799044f22e4cb8 bytecode: 319b96ef20018acc654ec52780087d599a75f6204095ab426882087218865bcc warnings: "" diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index 8268f0c51f..aa916d47db 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: a5532e64e2fb06209b84474fb65b0652a493daa147c406780a94df90143e01d6 unrolled_ast: a5532e64e2fb06209b84474fb65b0652a493daa147c406780a94df90143e01d6 - ssa_ast: 7ffa1ae5015b4d04210c81fd35f03fd5f0a6846f4b39852288542ef07453c876 - flattened_ast: 03991f80b2dff73f3dde39e1e26ad62d56fe35e7aefbf2283cd9eb20096d4563 - inlined_ast: 03991f80b2dff73f3dde39e1e26ad62d56fe35e7aefbf2283cd9eb20096d4563 - dce_ast: 03991f80b2dff73f3dde39e1e26ad62d56fe35e7aefbf2283cd9eb20096d4563 + ssa_ast: 9693286a108b117282adbc433973e0a3fc9584035f23538533865ba8bcceabac + flattened_ast: 928742c9653a7dd5eb94007578cddab5963cad2db5eaafa60c412432ef1e0e12 + destructured_ast: ebd01dafc479960fb597c3a265099b7462b509836d0f300b24db1cc509912e3d + inlined_ast: ebd01dafc479960fb597c3a265099b7462b509836d0f300b24db1cc509912e3d + dce_ast: ebd01dafc479960fb597c3a265099b7462b509836d0f300b24db1cc509912e3d bytecode: 7b0157b83a4db9b46a3c6572aeb5ccae55be420768dc034163508ac4a99308ea warnings: "" diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index eb892b3d6a..da08d39d32 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: c4ddfb19557a41b9bcd029b89f458a5424da75daf8243b39dbafb1b5c3c03971 unrolled_ast: c4ddfb19557a41b9bcd029b89f458a5424da75daf8243b39dbafb1b5c3c03971 - ssa_ast: 1872b2035899d4f5a3e8654fe99746198c23e1e6ba1a77f42e50f4c1aca6f7d9 - flattened_ast: a347f9ab0898808c972276e74702245115f8f8a6518f40a1b4fbd073e16deed2 - inlined_ast: a347f9ab0898808c972276e74702245115f8f8a6518f40a1b4fbd073e16deed2 - dce_ast: a347f9ab0898808c972276e74702245115f8f8a6518f40a1b4fbd073e16deed2 + ssa_ast: f2fd9106d5fee67b7270e5a52505482db714be7d212b63464d17f8d58e26a270 + flattened_ast: d667cd663dbeb571d43b0777d2d7a0afa3bcbd3b790c7eb61d5396500aed1699 + destructured_ast: 2d98e4c034db8e8b2fced65f900a16f878d94c414b9d892631a41f62cb549705 + inlined_ast: 2d98e4c034db8e8b2fced65f900a16f878d94c414b9d892631a41f62cb549705 + dce_ast: 2d98e4c034db8e8b2fced65f900a16f878d94c414b9d892631a41f62cb549705 bytecode: cc2d953415427376e9e3c26c04b4e66630e4b77f19e04e932b28f04599b7fe77 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 39b7983289..3f15ec2770 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: 2901daf53541d8da9442f265b7d872930ffacc60dcc701dd4169e696eb9f99a9 unrolled_ast: 2901daf53541d8da9442f265b7d872930ffacc60dcc701dd4169e696eb9f99a9 - ssa_ast: 727d2816085c1c4df5122c91fac71334a4bfc9e6a05aa6f24fe02d91390c60cf - flattened_ast: 301badfbae99f59f8e0133a76fe33e5a1354e669042bc5fb40df0ff671acdc5f - inlined_ast: 301badfbae99f59f8e0133a76fe33e5a1354e669042bc5fb40df0ff671acdc5f - dce_ast: 301badfbae99f59f8e0133a76fe33e5a1354e669042bc5fb40df0ff671acdc5f + ssa_ast: 06c23780f50a22e2a8f945460d8637c8238b2febe3e9cb2f02528e46a945c9cc + flattened_ast: f4e78e038a046e897d9201bba903d8e79e2509e24727d48fa36e6ba4dad59e7d + destructured_ast: 38fd3f2afe5efe9fb79dff3210a1769ac41f345655bede1df01e856ceb4a37c4 + inlined_ast: 38fd3f2afe5efe9fb79dff3210a1769ac41f345655bede1df01e856ceb4a37c4 + dce_ast: 38fd3f2afe5efe9fb79dff3210a1769ac41f345655bede1df01e856ceb4a37c4 bytecode: 815cbaa285c68d1b7707bbe1df33b84fcb00a81bfbae3d4d9cd290902e2ce091 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index bf4848eba8..2b105aa8dc 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 79b5c99166df68ad0c2f1cd72f59c7bd77dde5c674f084184e2e0badd9aa4bcf initial_ast: 2a5cf240151087c9735020d9dd65133efa053c599bb3303dbcc6f292acc893a3 unrolled_ast: 2a5cf240151087c9735020d9dd65133efa053c599bb3303dbcc6f292acc893a3 - ssa_ast: 91226d42a08674c625ed0b42232708920bfb5a17748c4bff86140904095c439c - flattened_ast: badc9444c0e3159e87d34fb8ebaffce7f4b462c319d24e1b93f72dee6c066480 - inlined_ast: badc9444c0e3159e87d34fb8ebaffce7f4b462c319d24e1b93f72dee6c066480 - dce_ast: badc9444c0e3159e87d34fb8ebaffce7f4b462c319d24e1b93f72dee6c066480 + ssa_ast: a49a2165badc89c43912c08eacfc7b75a09e2d380e923e01a00b89f81c788a28 + flattened_ast: 36bbebc782c95f940ea05796cba429fa9ec60b5a044c62a0ec0c41c3e65c28eb + destructured_ast: 889dbe921399aee243da15f3a668eaf578ce366c57cbfd04dc1e7f05a7191a3d + inlined_ast: 889dbe921399aee243da15f3a668eaf578ce366c57cbfd04dc1e7f05a7191a3d + dce_ast: 889dbe921399aee243da15f3a668eaf578ce366c57cbfd04dc1e7f05a7191a3d bytecode: 6821174db234fb38a3ded7835589628bf76443f2faff6cf9aa2f2fc5a5da71cb warnings: "" diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index f197ba2827..696577c1c4 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 79b5c99166df68ad0c2f1cd72f59c7bd77dde5c674f084184e2e0badd9aa4bcf initial_ast: 53559e6f871f8d61595c711540ca861e22d7aff824f553b39cd41e832fdd321b unrolled_ast: 53559e6f871f8d61595c711540ca861e22d7aff824f553b39cd41e832fdd321b - ssa_ast: 229a4e69e4f3c5df62a2aad19dc7e4e1c3ceefa600821cb676ef9ad0096a76cc - flattened_ast: f4bb2d38f0cb1ed0a1237ee15fc7e4e3ca5b14e26c275acb6f7efce7af0d056c - inlined_ast: f4bb2d38f0cb1ed0a1237ee15fc7e4e3ca5b14e26c275acb6f7efce7af0d056c - dce_ast: f4bb2d38f0cb1ed0a1237ee15fc7e4e3ca5b14e26c275acb6f7efce7af0d056c + ssa_ast: cec910fab8178994b0e9fe4e7f0aa5878786b4fc51eb8e2c3687bdf7dc8e890e + flattened_ast: e28d18dbff2bf06b5915b63e050859639bd6b1cc43d3a5b50407d2858ca288f3 + destructured_ast: d6b00106a9b202fa47321bc5caf0bdf9f5ef8df769bf5494c4773d8310605f24 + inlined_ast: d6b00106a9b202fa47321bc5caf0bdf9f5ef8df769bf5494c4773d8310605f24 + dce_ast: d6b00106a9b202fa47321bc5caf0bdf9f5ef8df769bf5494c4773d8310605f24 bytecode: 71fa0293c129cb150cfbc206d6709f67884cd0864200dd8a6382ae6d30a3dac2 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index bc392beaba..bc36c2ac06 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 886f17ee0ba8ee00df0e6e31f8943b424588e932a477d1ca70bedf0c2c709069 initial_ast: 9acb1e71d3623f570c93e6760bbe359367f57737cfad272065de176b9d6242df unrolled_ast: 9acb1e71d3623f570c93e6760bbe359367f57737cfad272065de176b9d6242df - ssa_ast: 680df6653d629b559350a615e808c9c45c5cfb1c070e1e80f06d41186ea85ab3 - flattened_ast: 907939dcbb5414ed9b1a44d6fd0a094826efd4d918d3042858921add17f4089a - inlined_ast: 907939dcbb5414ed9b1a44d6fd0a094826efd4d918d3042858921add17f4089a - dce_ast: 907939dcbb5414ed9b1a44d6fd0a094826efd4d918d3042858921add17f4089a + ssa_ast: 70a81eff6609de2ab336f90ce4368a454a44eb13a90f5e7d3f8fa6614cbc8f9e + flattened_ast: 5f57c1df48cf4d926e28f01f2dfec0f38ed13f70924cba3e80425a733b7c04b7 + destructured_ast: 18d780bb8c0901c9c20960b5b296ca1fc29d1ede61f52bbb59dc4e1a6c45c8a5 + inlined_ast: 18d780bb8c0901c9c20960b5b296ca1fc29d1ede61f52bbb59dc4e1a6c45c8a5 + dce_ast: 18d780bb8c0901c9c20960b5b296ca1fc29d1ede61f52bbb59dc4e1a6c45c8a5 bytecode: e28a0b12a5006a7f44ebd60e001a3b2bb2142f3e2bc03564b5870415a1bd1e6d warnings: "" diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 4fdecb86a1..75aa703927 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 27c963d6dfa1cfc76836e4b8616787b98285ad4cb3228fa33b0b64e1d6ceec8b unrolled_ast: 27c963d6dfa1cfc76836e4b8616787b98285ad4cb3228fa33b0b64e1d6ceec8b - ssa_ast: 8076cd2e4a2d5d336161c08480e561c66457adeaa2a816bd7eee1fc284284cf8 - flattened_ast: c516f6a1ca097ff79facf37e270432628c81ca2e8e2eb50d4efbc26cbd967995 - inlined_ast: c516f6a1ca097ff79facf37e270432628c81ca2e8e2eb50d4efbc26cbd967995 - dce_ast: c516f6a1ca097ff79facf37e270432628c81ca2e8e2eb50d4efbc26cbd967995 + ssa_ast: b1ceca124853da8ec5a66bd07484f16cfe723557688865c09a6bd761885bc9f6 + flattened_ast: 92a97b6bc6d09644fc3a87fc94756e3dd38484ad556150f094248f7ee2f128f6 + destructured_ast: b311e85e3bdb2f5ec5fd735a4b4fb1064794b88bfe0a655cd41571e156aec92a + inlined_ast: b311e85e3bdb2f5ec5fd735a4b4fb1064794b88bfe0a655cd41571e156aec92a + dce_ast: b311e85e3bdb2f5ec5fd735a4b4fb1064794b88bfe0a655cd41571e156aec92a bytecode: 6a5893dfd948c5fa425269a9ddab867cbcf55956e015e95b3d4a5be7a861d763 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 5e3cf2c982..f732106275 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 534e3f47e2a3eb649c6ca98ec4691e37554c88b9fd3ab9fcbd0c31d03713a165 initial_ast: caef4a8edb57dea8299f76b8256242ea10e99566461bbc88ba0585bd04edea8d unrolled_ast: caef4a8edb57dea8299f76b8256242ea10e99566461bbc88ba0585bd04edea8d - ssa_ast: 9686881355db482d4553f94d7e879bf46d73d5ed41b36c076065b8d5ff331ea3 - flattened_ast: fd8c000d20c39f3c7af089675759921cca5fcd352f62a7e59049ab71f46b8ae8 - inlined_ast: fd8c000d20c39f3c7af089675759921cca5fcd352f62a7e59049ab71f46b8ae8 - dce_ast: fd8c000d20c39f3c7af089675759921cca5fcd352f62a7e59049ab71f46b8ae8 + ssa_ast: d519ea59294f93aa9bdce4f8281a0d52ecc2f3a4868d5bffbd494e5266a2c640 + flattened_ast: 526fdaab8028660f6d482f67f0106d69a89cec6b33b074289c4d65a2d77e015e + destructured_ast: 6d0caacbebfe9c48414907925eaebcb540f9bf17db43d841ffb24187255fc85a + inlined_ast: 6d0caacbebfe9c48414907925eaebcb540f9bf17db43d841ffb24187255fc85a + dce_ast: 6d0caacbebfe9c48414907925eaebcb540f9bf17db43d841ffb24187255fc85a bytecode: 7e3f7a34eaf764f2d9b7119b882a649e4eaceabcd8e54ac5313127b3add0c091 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index 979b61f3aa..433adbaded 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d20ce52198bcfd4f30fa6c80c28b6415a5d13ef629474ac3041cb3d0da75e8a initial_ast: 83786cdae0f4f1f2e8213f4ffee814a734ffcf1501dc34daf4b36acb9b1cc8ad unrolled_ast: 83786cdae0f4f1f2e8213f4ffee814a734ffcf1501dc34daf4b36acb9b1cc8ad - ssa_ast: 1ac69dadd22c143e22d7ccb74b087d55139a43ddb34854546ecacdd8f60bf078 - flattened_ast: 5af0e8957c998e8325cd84840522cd16158aaead170052da92bd12c0aab39376 - inlined_ast: 5af0e8957c998e8325cd84840522cd16158aaead170052da92bd12c0aab39376 - dce_ast: 5af0e8957c998e8325cd84840522cd16158aaead170052da92bd12c0aab39376 + ssa_ast: a9cf5139abdfb2527f7921bf314c1791b527f9630c63297f5ad9d8d0f7c76689 + flattened_ast: 46a519bdeaee324b62eb2a9f2fcdbdc4308c14476e1790dbc52b21b1b2174dd5 + destructured_ast: 4cf364caf5c30e515d221251344376918402206504f5e78fae80db4827cd86da + inlined_ast: 4cf364caf5c30e515d221251344376918402206504f5e78fae80db4827cd86da + dce_ast: 4cf364caf5c30e515d221251344376918402206504f5e78fae80db4827cd86da bytecode: 009e138c1ef58588c8c34fdd4b56c5cd984a2f4664d71a3ce1f5811350d5cc1f warnings: "" diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 84c977245d..fad6a6cf55 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 886f17ee0ba8ee00df0e6e31f8943b424588e932a477d1ca70bedf0c2c709069 initial_ast: 64e515e64ca13cd53ad08c14d1300a13b9b1537037519544f4032ce7b9328010 unrolled_ast: 64e515e64ca13cd53ad08c14d1300a13b9b1537037519544f4032ce7b9328010 - ssa_ast: 3832f46d943e23621c118e9b8f71238f5da073b32c6333067fe3e6f13fad8fc7 - flattened_ast: e42b0243a58af4a70257b44d9bf05ad48fed89bad2cdd03ee09dbfec38976b35 - inlined_ast: e42b0243a58af4a70257b44d9bf05ad48fed89bad2cdd03ee09dbfec38976b35 - dce_ast: e42b0243a58af4a70257b44d9bf05ad48fed89bad2cdd03ee09dbfec38976b35 + ssa_ast: a90eb7d290919644dde1e4f9ee03c54b2bc3a88a610b8760dd1a57f4d16cc94c + flattened_ast: a5d50e1bcda4e454b66aeaa0225f3acc87d4bda904b48487d990485c7fb3c490 + destructured_ast: 419558a06bfe78f4dfec12d084c33c1b16d0aa1fcabc14e67e3d6423e7423e96 + inlined_ast: 419558a06bfe78f4dfec12d084c33c1b16d0aa1fcabc14e67e3d6423e7423e96 + dce_ast: 419558a06bfe78f4dfec12d084c33c1b16d0aa1fcabc14e67e3d6423e7423e96 bytecode: 7014d5adeb6ff035c6415dd1001650301e64c7bb14426a4adc0f9b9daa514f69 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index 253d67e487..ad6254e2e5 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9d1e9e5b0948376ed46501cef3297fea954a644d81b450079e86cf8b5b0ac66a initial_ast: c5a073691cef5b92979fdf6c2b55a8aa9dde71e46ecf9b8254e8237a33838261 unrolled_ast: c5a073691cef5b92979fdf6c2b55a8aa9dde71e46ecf9b8254e8237a33838261 - ssa_ast: 3dd18da4e51a07a1e4e3b9b3985fef14518d2921d54f23fe1112ff4979aea666 - flattened_ast: 71fa665fd62bf2df15a412cf0a930b3f97ce74937eaf1b983ad4ec10acaf836a - inlined_ast: 71fa665fd62bf2df15a412cf0a930b3f97ce74937eaf1b983ad4ec10acaf836a - dce_ast: 71fa665fd62bf2df15a412cf0a930b3f97ce74937eaf1b983ad4ec10acaf836a + ssa_ast: f6d89d1c2cad1e929ba52c131ef1bbecc97b03326f21f37e8c4cd75aa315f2c1 + flattened_ast: 3ccded4a912e55f04f3de7777b9ea21d368761bbedbd07eba57eaf51a668d01e + destructured_ast: 4d3c660a57ddd9cc6a3bcbdf9dedb2bef75fc0871cfea8573b851a752c4859f5 + inlined_ast: 4d3c660a57ddd9cc6a3bcbdf9dedb2bef75fc0871cfea8573b851a752c4859f5 + dce_ast: 4d3c660a57ddd9cc6a3bcbdf9dedb2bef75fc0871cfea8573b851a752c4859f5 bytecode: 0d7b74771220febbbf1600fe72c373d3398998c0d1200c1fd592d3b3da56b928 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 2422731498..84e10ec5f5 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7d651f20a2333105bff9d992301bf7f7938bafc65187f4ced1c8c464131645c4 initial_ast: df42262840b6c3a587320004c74bd7160c509a5b5dc717a76024f2db3afaac8a unrolled_ast: df42262840b6c3a587320004c74bd7160c509a5b5dc717a76024f2db3afaac8a - ssa_ast: 3e51b958002f4961c68963dcd2883d073ddb00cae9628fecdfbe313909968cae - flattened_ast: 396608bed448b55121a0425b1f0ff1942e4ba2e74489999b64d9a4c3d7efd1d0 - inlined_ast: 396608bed448b55121a0425b1f0ff1942e4ba2e74489999b64d9a4c3d7efd1d0 - dce_ast: e71c82af7142755421acf2be9eae81d802c5bad3df3d69d32be0a9a1f64d961c + ssa_ast: 766db29d303d7fd2903719a9baffe50149d5d79fc71258f09ace0a1260a90f0e + flattened_ast: 98650624b4d08047ee2c9e080f96470d17ded28b3347fa9503aad1117bcdd20d + destructured_ast: 869a7b1b9d4cd8774a4d8a8dc0b18aabfed8115211f7b21e1e852bf4b6021c6c + inlined_ast: 869a7b1b9d4cd8774a4d8a8dc0b18aabfed8115211f7b21e1e852bf4b6021c6c + dce_ast: 9f24d3c017183843966f84224aa468e0c96f3dbf1cc1e88025966970548a8c5b bytecode: 40661150b3b39dd341d29dab9771982c77efa03e028104d1965c1e2e2fbf3c28 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index 604eae1438..953bfc26cf 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 5e376cf36a0aa251f9836e21f7d6d3f08b3fe5a26d0067d92d1d9ff1e882cece unrolled_ast: 5e376cf36a0aa251f9836e21f7d6d3f08b3fe5a26d0067d92d1d9ff1e882cece - ssa_ast: ffa407e7ad2b8ebe98e874d1826729a31d935899b117ed44ecac673b842b82fb - flattened_ast: ff7884d6bd7eff3225d1332dfb44bb046fff939a0d81b87802f8566a5a2a7471 - inlined_ast: ff7884d6bd7eff3225d1332dfb44bb046fff939a0d81b87802f8566a5a2a7471 - dce_ast: ff7884d6bd7eff3225d1332dfb44bb046fff939a0d81b87802f8566a5a2a7471 + ssa_ast: 2b3580a6e3a1928af536222a9cb239e8c8794935b7da8953f41d37f0e6dc60e2 + flattened_ast: ac080544ff52c4c0198c52f6096ebb18bb5c193223138d81af9971a855608d0d + destructured_ast: bf0c88a245707e47735c7fc8af5d9c94d4236473b1fe304d5e16edb0c229aa53 + inlined_ast: bf0c88a245707e47735c7fc8af5d9c94d4236473b1fe304d5e16edb0c229aa53 + dce_ast: bf0c88a245707e47735c7fc8af5d9c94d4236473b1fe304d5e16edb0c229aa53 bytecode: 607f946bff91ee499a6d977e52f6cbc32678d1306e1e6437adc3ed3720d77a02 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index 88b92e0f34..c33c02e71b 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: e11c654cec744c9ace362a02ceb6abca03cecb74a679597b3cbded11ed19e8db unrolled_ast: e11c654cec744c9ace362a02ceb6abca03cecb74a679597b3cbded11ed19e8db - ssa_ast: 3b68d1fe05f070e46a893f4b3ca55dd3d533ece55be359406f1125dcc79a27c0 - flattened_ast: 3434130b7ea3d8236520960013f293554925f928e4ccfd1ef15927eb7ad1c218 - inlined_ast: 3434130b7ea3d8236520960013f293554925f928e4ccfd1ef15927eb7ad1c218 - dce_ast: 3434130b7ea3d8236520960013f293554925f928e4ccfd1ef15927eb7ad1c218 + ssa_ast: 382e484d1eff924cafe2402dcfb8398600866d3b198f00f6b3fad341814ac2e6 + flattened_ast: c87d5d3c38df248399b0b1e48f718048e5441c4b02d2a1fee4638c05751ed041 + destructured_ast: c67de127514b1afb04e94a5d2f9ccad8a93e9f3134bdcc16c95dc8c19f38fad1 + inlined_ast: c67de127514b1afb04e94a5d2f9ccad8a93e9f3134bdcc16c95dc8c19f38fad1 + dce_ast: c67de127514b1afb04e94a5d2f9ccad8a93e9f3134bdcc16c95dc8c19f38fad1 bytecode: 356e8fd9b7a616538d51b58accbf2cb604812f8d4e1d984ed091819b6b1dd7ef warnings: "" diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index 535d126307..1c13d19ccc 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: c7306d989fa4f62c27cf9aeff4afe73a7392d7a43a09e61f5134480c846156b8 unrolled_ast: c7306d989fa4f62c27cf9aeff4afe73a7392d7a43a09e61f5134480c846156b8 - ssa_ast: fa64c80cc7ca78e20768a24942b4f24fe1627f2a3f61c2b7f8ffdb869ef7bd42 - flattened_ast: 8a821a416689a373b2b65dc32cbe050d45fb3b0632bd7fbabe2bbdf43f057b95 - inlined_ast: 8a821a416689a373b2b65dc32cbe050d45fb3b0632bd7fbabe2bbdf43f057b95 - dce_ast: 8a821a416689a373b2b65dc32cbe050d45fb3b0632bd7fbabe2bbdf43f057b95 + ssa_ast: 119a10563e56bffebd9e0e73a52dfdddb001a51f3d863265e5030218be1ae091 + flattened_ast: 2e4fe54e52e71f2f8b98645999c3fad53a8bcb68b95d26caa3a0ccd98b0f4bec + destructured_ast: 3c332631b827d99cf193a618d5b79a696a99285f454f817e4b55ec3f9d0cda27 + inlined_ast: 3c332631b827d99cf193a618d5b79a696a99285f454f817e4b55ec3f9d0cda27 + dce_ast: 3c332631b827d99cf193a618d5b79a696a99285f454f817e4b55ec3f9d0cda27 bytecode: 58eca9e830625c2f8ae8836c94380e3decec48e4ea0b0b07421a69dffafc9366 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index 083bc63338..050ca7a0a3 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: eaab5081e7101d0d64afb3f87ac69aa28f57928cdf715903276530b8c964dcaf unrolled_ast: eaab5081e7101d0d64afb3f87ac69aa28f57928cdf715903276530b8c964dcaf - ssa_ast: b944463d7dfc3e4afff14edbbc96ed126245395fe31f3151a4d9bd5de09db660 - flattened_ast: fd9e916bc8b428828798184cb490df7857d07abf1c90d6b3516d47cc9ef10337 - inlined_ast: fd9e916bc8b428828798184cb490df7857d07abf1c90d6b3516d47cc9ef10337 - dce_ast: fd9e916bc8b428828798184cb490df7857d07abf1c90d6b3516d47cc9ef10337 + ssa_ast: 64495fdf7dcd652783f040a07eaa865191869b10c4d6ea7f965662f2c4d5e067 + flattened_ast: 0c8ebaa3bdf60c49f254e477787da0f04bed852cbdc6ffd8e1dba0f5370ac763 + destructured_ast: eaf3614abb18dc208b45a3de3b8a52d33c6719474d6f3f78540ade750c2d740a + inlined_ast: eaf3614abb18dc208b45a3de3b8a52d33c6719474d6f3f78540ade750c2d740a + dce_ast: eaf3614abb18dc208b45a3de3b8a52d33c6719474d6f3f78540ade750c2d740a bytecode: 7b5bbc80ede3dfcc182728241b3f4a889f3c1afc6e5db865947f34cc0eab889c warnings: "" diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index 115f595546..2f986df588 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 0f802764f7491ec8a7d5b53bb30ed41e29c1c0a5cda32509138b5a6a68121543 unrolled_ast: 0f802764f7491ec8a7d5b53bb30ed41e29c1c0a5cda32509138b5a6a68121543 - ssa_ast: 8ff5fb12e9c88100e9ff0b9a8efb6c9c7b60fce911b788efcbfa726e7ec3f8b8 - flattened_ast: 6fd5d523e92ff9412b8b5dee32b6c8a167a3c63abcbcb435ffc74c560c271dd1 - inlined_ast: 6fd5d523e92ff9412b8b5dee32b6c8a167a3c63abcbcb435ffc74c560c271dd1 - dce_ast: 6fd5d523e92ff9412b8b5dee32b6c8a167a3c63abcbcb435ffc74c560c271dd1 + ssa_ast: 2f70dff4608aa950ecd68c9c2a8ae16d1b8f0aadae667c5d778dde61974a616d + flattened_ast: c0152b44849ed50eee803ae09ce76f4251baa6ab5c0268d8eb1b6773891a884f + destructured_ast: 90047cecb1508d500df43ba64fc6fd0e5b49e9c662af46332d0203dc949b5f96 + inlined_ast: 90047cecb1508d500df43ba64fc6fd0e5b49e9c662af46332d0203dc949b5f96 + dce_ast: 90047cecb1508d500df43ba64fc6fd0e5b49e9c662af46332d0203dc949b5f96 bytecode: 4beebe6f64c29d63c9bafe8a3a58e52b14705368f667c1a44fd85d5d46e80f6c warnings: "" diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index e318e7306e..bdf1b4ab79 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 9968eae00db791ecbcf1908afa0b026c0db41a94bf3637445dee87e3ce7a2538 initial_ast: 6552f99643359b1b83b0c5b0b668f774ec95f2354f3347643590a767c2e87492 unrolled_ast: 6552f99643359b1b83b0c5b0b668f774ec95f2354f3347643590a767c2e87492 - ssa_ast: a7c219b748d640a66a013af4aa57cce89f85ed749a310e47ce1fc6dae164a32b - flattened_ast: 128f96db2d646a56452654ff56f154d9db801e6499cc7b9de70ac2bb3b4fc86b - inlined_ast: 128f96db2d646a56452654ff56f154d9db801e6499cc7b9de70ac2bb3b4fc86b - dce_ast: 128f96db2d646a56452654ff56f154d9db801e6499cc7b9de70ac2bb3b4fc86b + ssa_ast: 9099c4b01bd86f95b7d3f228c68fc61b92fe6379f7094cb835ca708057bb5ab2 + flattened_ast: d72a3b89fda0748935d7f3016530e6a39dbfcf218c1a296a11754930f81742a2 + destructured_ast: 2d225ce2bbde7dde3e23566fe4919ac9ca826f1096eed9ed5dc34a239dcad8f9 + inlined_ast: 2d225ce2bbde7dde3e23566fe4919ac9ca826f1096eed9ed5dc34a239dcad8f9 + dce_ast: 2d225ce2bbde7dde3e23566fe4919ac9ca826f1096eed9ed5dc34a239dcad8f9 bytecode: 8efbc5343f7c2f0c0978f035231692e7ff00b213495d8713911fe1be40aa91f4 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 944115d53c..e01ae5c489 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a90e49463ba2dedb555d97ba1c4ce905caff03b15b4f2c86882bf0ef20f1eaa0 initial_ast: 844684f19782ab4108adee190fa3e84edf5df83d7e4889b61c84e0f54e5a4f13 unrolled_ast: 844684f19782ab4108adee190fa3e84edf5df83d7e4889b61c84e0f54e5a4f13 - ssa_ast: e5408db456e5b9a3081166d7bce088cd98e913fb03cf3b034505616b9bbdaa4f - flattened_ast: 1936af1bf1af30c2235ce5bd241b2604533a56c876f71fa7108da50750c02f00 - inlined_ast: 1936af1bf1af30c2235ce5bd241b2604533a56c876f71fa7108da50750c02f00 - dce_ast: 1936af1bf1af30c2235ce5bd241b2604533a56c876f71fa7108da50750c02f00 + ssa_ast: 814ab2894acb354aae0749ed6f840bb9bb3c5216213a1b198f92284e4c1218dd + flattened_ast: 772897fae2badb227df2383ca2dd3fc0624813493a8c3f6aabc003a03409e9d5 + destructured_ast: 874a359eaa8e4c436f9642e2fe225956f2fc11b7d4c93e3d2a352ed9afab03bd + inlined_ast: 874a359eaa8e4c436f9642e2fe225956f2fc11b7d4c93e3d2a352ed9afab03bd + dce_ast: 874a359eaa8e4c436f9642e2fe225956f2fc11b7d4c93e3d2a352ed9afab03bd bytecode: 8255076ed16f7675cce867bf0b6ab1eacad9bdc4735188bb9b1b2dc40cf24ce0 warnings: "" diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index 5c8c42d624..5577762705 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 08a4db5dbc9faf5c461c7f01e29885754301c382f1e497c86e2e8d50c079eaf2 initial_ast: 26af865549c000913f389b838313614c05046c121e2942dee27c07fbc57b2b9d unrolled_ast: 26af865549c000913f389b838313614c05046c121e2942dee27c07fbc57b2b9d - ssa_ast: 1f85374a3af1fa4cc61dc953d0c86a9425edd0cab7b77492b1d53f7ae5a33e4e - flattened_ast: 72d8614fa37e5ff8baf6636b324c412c8faa4dbf2593225f6cdd1e207776a21f - inlined_ast: 72d8614fa37e5ff8baf6636b324c412c8faa4dbf2593225f6cdd1e207776a21f - dce_ast: 72d8614fa37e5ff8baf6636b324c412c8faa4dbf2593225f6cdd1e207776a21f + ssa_ast: 48e5aeea7744679d8b5ae844f426e1bf60c05d0afe58b52cc8f1925c08cbc152 + flattened_ast: 544c927bbb4fc83fbc0be71fc6b9b7c690252188ed8ae33e6198a60cbccc44e0 + destructured_ast: 8a28409bdcf10d50ddefad0e3315c1145480f719045e6b604781a508217f8266 + inlined_ast: 8a28409bdcf10d50ddefad0e3315c1145480f719045e6b604781a508217f8266 + dce_ast: 8a28409bdcf10d50ddefad0e3315c1145480f719045e6b604781a508217f8266 bytecode: 6a7c1505b6d57a26f767b63372873413e4ca3a4b7ff7b42f652a2841d843da64 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index 21d2a52d55..0bebea23a5 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: cf7cf05b6c37cff21a8819e7e34c4d69b6f171a2843e80f2fced2b66e6a98cca unrolled_ast: cf7cf05b6c37cff21a8819e7e34c4d69b6f171a2843e80f2fced2b66e6a98cca - ssa_ast: 00d417a886c1ab44fbb5cce91012e62cf7a7fcf43e35a09d521719638f9798c8 - flattened_ast: 8d53fd284eab1a9255e7a8f282b771ad8b80d6e769470645762888dcbae6af8f - inlined_ast: 8d53fd284eab1a9255e7a8f282b771ad8b80d6e769470645762888dcbae6af8f - dce_ast: 8d53fd284eab1a9255e7a8f282b771ad8b80d6e769470645762888dcbae6af8f + ssa_ast: 895a9139dc5c897168722da9a1a93fcdc16e4bbeeb2abc10a0afc398fd488f9a + flattened_ast: af1f7f4993435747de9db462b40e0d4575a414a7b440434683d139eba5180a74 + destructured_ast: fe4fe342d1d667b6b5019cc775cdd5457161c5475d7aff27c1aa78a20707be2d + inlined_ast: fe4fe342d1d667b6b5019cc775cdd5457161c5475d7aff27c1aa78a20707be2d + dce_ast: fe4fe342d1d667b6b5019cc775cdd5457161c5475d7aff27c1aa78a20707be2d bytecode: cacab9d7bb5db2f55373c7acaab14386b1e68569b39d0ca4837e07d67d31b78e warnings: "" diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 460f2213a0..ef743c1578 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: d1df78d895d38fb599d38466441aa4d495eb11e8a78f4c6ba3e89636dfd702d7 unrolled_ast: d1df78d895d38fb599d38466441aa4d495eb11e8a78f4c6ba3e89636dfd702d7 - ssa_ast: 534dbd8d774db3f0ac42461eb0c5375e3e5ad63732cd568ca0aa1d9febf8ffe1 - flattened_ast: d8dc4f68ed353fb0ea94f8edbeb99f6adabc7cf7dcbffd93dffe9c3c752194a0 - inlined_ast: d8dc4f68ed353fb0ea94f8edbeb99f6adabc7cf7dcbffd93dffe9c3c752194a0 - dce_ast: d8dc4f68ed353fb0ea94f8edbeb99f6adabc7cf7dcbffd93dffe9c3c752194a0 + ssa_ast: 8ad75002c205592af1e9d835f0ecb0dd18277d4880b762641f0484f629209b7b + flattened_ast: 299a2b9d4566cee87b1f059ecd1c0038409d76fa2e35606546771b8b4a066a9c + destructured_ast: 70d20e8921b8ed3d9784ded86044bacddf6438e8d58e310082f4f0411de7776d + inlined_ast: 70d20e8921b8ed3d9784ded86044bacddf6438e8d58e310082f4f0411de7776d + dce_ast: 70d20e8921b8ed3d9784ded86044bacddf6438e8d58e310082f4f0411de7776d bytecode: 8867cc02772ac290447a78df347c850a4f5a2cf3077d76fa71c1c3ee43ba6e55 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index bfb299b976..01d65f8c73 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bb08787aa8b924b0c7aa4a2fff36bdc6eacdc9cd586d6d60029cc10a3b1fc5f5 initial_ast: 95c8cfad4a969c09ebd169c4960a80dba145e0eb85e0bee9ffed838ab2c234d5 unrolled_ast: 95c8cfad4a969c09ebd169c4960a80dba145e0eb85e0bee9ffed838ab2c234d5 - ssa_ast: 0956a9a6f0f3d760fbb2e7b7c960e2cb468bf200d84b3a3b6269f6ff806260a6 - flattened_ast: acb737b128e7a043817ab50ad616a256c1577b197ceb5b1e5ffa8ca1fcf6914c - inlined_ast: acb737b128e7a043817ab50ad616a256c1577b197ceb5b1e5ffa8ca1fcf6914c - dce_ast: acb737b128e7a043817ab50ad616a256c1577b197ceb5b1e5ffa8ca1fcf6914c + ssa_ast: 9e1853dafb16173257bc6a24277679b7ef65b1d86db429e8b8d9f3e82b620db7 + flattened_ast: 0e96de99d3b734df4ecdb0bf961855ca121a5c8a24727829d002d28385f26910 + destructured_ast: 564cb405e4d400dd1302197385e60a926ba93ea222840c8bb460c13534f6e7a4 + inlined_ast: 564cb405e4d400dd1302197385e60a926ba93ea222840c8bb460c13534f6e7a4 + dce_ast: 564cb405e4d400dd1302197385e60a926ba93ea222840c8bb460c13534f6e7a4 bytecode: 84d9ec69408c0662a22522e0fde8c535c8f73af3da10f98f7b228a9c9ac2742e warnings: "" diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index 5569174ee6..ebdee4739a 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 3e9131bd623d2351a196665db5c10934de32076127ae0ff5f520e5884f6ea66a unrolled_ast: 3e9131bd623d2351a196665db5c10934de32076127ae0ff5f520e5884f6ea66a - ssa_ast: dfa476ef8edbd641b454897ef68188fa2a125db01b583d06720531d87e8e5dd7 - flattened_ast: c5071053d17f500e22480a9f86259ecfd73f40b4290ed4331cb8a7c4142b56c3 - inlined_ast: c5071053d17f500e22480a9f86259ecfd73f40b4290ed4331cb8a7c4142b56c3 - dce_ast: c5071053d17f500e22480a9f86259ecfd73f40b4290ed4331cb8a7c4142b56c3 + ssa_ast: f6c3c50d947a9de1843e0ab247778c83920127869cb08006c9a6ce8ea546038e + flattened_ast: 599a2405dd0d100e1daf34080a19ddd3f927fb7dc63a214d4e9c3e2203333d75 + destructured_ast: 6940af53d1caf9f73e4740df8868ded427727ceab497612525f036c59690d80a + inlined_ast: 6940af53d1caf9f73e4740df8868ded427727ceab497612525f036c59690d80a + dce_ast: 6940af53d1caf9f73e4740df8868ded427727ceab497612525f036c59690d80a bytecode: 1d370b22d4ae239f0bcb12a771b471bfbbf8c43ad4b3f15b8223b6f122f29457 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index ef43850f8b..95abbfcc99 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 582b259847e050fa885c15a58e4327e89af4d6437518c1a84162f18d860f091a unrolled_ast: 582b259847e050fa885c15a58e4327e89af4d6437518c1a84162f18d860f091a - ssa_ast: 2cdf8f94d47d3d78a0d8a6d1d9348b9bbbe01e227cea3423048d5cbac84d2993 - flattened_ast: b2302e0e159d5e2e9831c35dd27ad06c2b1589192ea935d41fc491bde205de18 - inlined_ast: b2302e0e159d5e2e9831c35dd27ad06c2b1589192ea935d41fc491bde205de18 - dce_ast: b2302e0e159d5e2e9831c35dd27ad06c2b1589192ea935d41fc491bde205de18 + ssa_ast: c72dff991ca4c7e4aa635201c6efe1d1d36b520a56a148b3d434f04c38df4d8b + flattened_ast: 84ac822999d5c8daccbb99d95b14c5286292f3713bdb08b7b70dd8ca7ee47c2c + destructured_ast: 8867f5bfc34385964f1276f656239ef965f9afa80d8bb722ce2966184d083dcf + inlined_ast: 8867f5bfc34385964f1276f656239ef965f9afa80d8bb722ce2966184d083dcf + dce_ast: 8867f5bfc34385964f1276f656239ef965f9afa80d8bb722ce2966184d083dcf bytecode: 3b16a9ffcba2d86d0099abfc040442550dad3a04f8ba2bbdec05f93ec3c1b6ec warnings: "" diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index c6bd2ad43f..891ea44d4f 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 624d68e7fd173a18bc972c59b4418ee2bba5fc66a8531016e9ea999b547e6f9a unrolled_ast: 624d68e7fd173a18bc972c59b4418ee2bba5fc66a8531016e9ea999b547e6f9a - ssa_ast: eeef3d434df3f19bfde89b5e84a26675c0c6c4ce847f8342d918f32f0d690d59 - flattened_ast: 5f26da65e10a3c8a03395027011ff05fb0be16fc2807c65c7e832fbd8a7e1cf1 - inlined_ast: 5f26da65e10a3c8a03395027011ff05fb0be16fc2807c65c7e832fbd8a7e1cf1 - dce_ast: 5f26da65e10a3c8a03395027011ff05fb0be16fc2807c65c7e832fbd8a7e1cf1 + ssa_ast: a603c8a6d410a19cb3fa9a1945ce2d47c65dac0bd2788d454f04792d7e4fe4d8 + flattened_ast: 8ea84ee17b870ce79103b1d3347f5b788329b9bb52ff270534b83500d00da94f + destructured_ast: 7e5851987565e1ca13352cd85dc7669f690bf66e9fbe714542fb39580db7a3df + inlined_ast: 7e5851987565e1ca13352cd85dc7669f690bf66e9fbe714542fb39580db7a3df + dce_ast: 7e5851987565e1ca13352cd85dc7669f690bf66e9fbe714542fb39580db7a3df bytecode: ed40a103f79cba4bb4b6ca00730fb673def3a223840271519eecbc1ee845f325 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index d04c9f7180..95b0d3bfaa 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 7da7208209d481ec1057f47cea22bacf9b42844defb355ad394a75ae7cb193cb unrolled_ast: 7da7208209d481ec1057f47cea22bacf9b42844defb355ad394a75ae7cb193cb - ssa_ast: bdc7b6b6813e03b23c2989be2034f3322f9140a8d4bf950357673dfbbcf60d41 - flattened_ast: 57ea7decdc60a96ce6eb491a842e623298f91070d7279e63b5fa9266b32a0866 - inlined_ast: 57ea7decdc60a96ce6eb491a842e623298f91070d7279e63b5fa9266b32a0866 - dce_ast: 57ea7decdc60a96ce6eb491a842e623298f91070d7279e63b5fa9266b32a0866 + ssa_ast: 9923398a0c2add1175b78f5a1fde1f72ccd6a681a96ee6781aa55efa99b5c77b + flattened_ast: 6586d4b7f35b142574886714340a7be3ee82f9a3924e13a8350b9a073c743549 + destructured_ast: 38d6286d40e6b5367e4a3b16e965ec5945c0c2cb1800737e33cf813d7f0fcf03 + inlined_ast: 38d6286d40e6b5367e4a3b16e965ec5945c0c2cb1800737e33cf813d7f0fcf03 + dce_ast: 38d6286d40e6b5367e4a3b16e965ec5945c0c2cb1800737e33cf813d7f0fcf03 bytecode: 9e8596394abe6381f7e39ef612e78acc5b9fd4e2cd036a0b3f1296686182a3e5 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index b6994e0f78..0e91bb7c84 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 412fd4c0aac141557a69cb1efcecbf302c6943af2c18b24b92545d29f629fee0 unrolled_ast: 412fd4c0aac141557a69cb1efcecbf302c6943af2c18b24b92545d29f629fee0 - ssa_ast: a5c9f4e4a692f9fb47d4b3d80635e9ed9203be6ec361d0aab3299a5139e6af1a - flattened_ast: 0c4d13a3c10eea6c4011a80466a0c7c1ef637dab10a1be5383b3d5a4d47bf4db - inlined_ast: 0c4d13a3c10eea6c4011a80466a0c7c1ef637dab10a1be5383b3d5a4d47bf4db - dce_ast: 0c4d13a3c10eea6c4011a80466a0c7c1ef637dab10a1be5383b3d5a4d47bf4db + ssa_ast: d48fe268c57675fa3ccf10b4f32c9805e4f140163ac9067b6c75fe6766eed493 + flattened_ast: b72a5fd2e4a22ee63e8e350e79d3e865acd2659dcca30fc9e7b3c261d9945974 + destructured_ast: 439d96fc00bd4be8b89cbc576cce2d850e55ef27407e26126b1967849cb8e55a + inlined_ast: 439d96fc00bd4be8b89cbc576cce2d850e55ef27407e26126b1967849cb8e55a + dce_ast: 439d96fc00bd4be8b89cbc576cce2d850e55ef27407e26126b1967849cb8e55a bytecode: b1f586e188d06fec69970d2cbf367157f2046040b6b848b8b0bc3dd6b02aa095 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 5cf855e874..f3db9566dd 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 9d0ce7d0bc726587b2ac68f9bfd5f7f74bb08741b00171a778f9e25a4fdf378a unrolled_ast: 9d0ce7d0bc726587b2ac68f9bfd5f7f74bb08741b00171a778f9e25a4fdf378a - ssa_ast: f684a36cf54f9f7ce671d6803ef776cdb16f74c91373badecabdde4c14ca828c - flattened_ast: c7f7c5fb5905b8b6fcaa634be3bf2769ddc776170e56d65a3b688a84c89a802b - inlined_ast: c7f7c5fb5905b8b6fcaa634be3bf2769ddc776170e56d65a3b688a84c89a802b - dce_ast: c7f7c5fb5905b8b6fcaa634be3bf2769ddc776170e56d65a3b688a84c89a802b + ssa_ast: 43a87f9f725ace6ed191c270b0b6ee356ffb74e2631fdaa47b2f20e5fcb16482 + flattened_ast: 383301ebc42bedef06ed8d6807675e2e8da77a776e823ef30833ba7dfb023bf6 + destructured_ast: fa12756b717cbc40a40e3c9cf41b439282a294ec7329140771c23345f49ef85a + inlined_ast: fa12756b717cbc40a40e3c9cf41b439282a294ec7329140771c23345f49ef85a + dce_ast: fa12756b717cbc40a40e3c9cf41b439282a294ec7329140771c23345f49ef85a bytecode: 146646862a181a2d9c802993b30c04190405d0ec9cf00847c755162af14ab765 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index d749b9bec1..8dc6e05281 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 85782785da5727ac7619b0b29a691157299ed7810b9b74caa3fc34525e251269 initial_ast: 7c7786a018bbe4ef4960a8900eda6ad353609958b02542d6ce55fefe46bde7dd unrolled_ast: 7c7786a018bbe4ef4960a8900eda6ad353609958b02542d6ce55fefe46bde7dd - ssa_ast: 5207e0d623114db014f56f0b3660b613cba3789669c777496489338a728f1104 - flattened_ast: 73d47751fbc644e4359d12799b43e0f328a2ae7d5faf3a3815c8204f37d9a2a6 - inlined_ast: 73d47751fbc644e4359d12799b43e0f328a2ae7d5faf3a3815c8204f37d9a2a6 - dce_ast: 73d47751fbc644e4359d12799b43e0f328a2ae7d5faf3a3815c8204f37d9a2a6 + ssa_ast: 81e79a6b9cb541eaf34324cce328a98a3654237b44c7915433f043a83c7fc9ae + flattened_ast: 08d44c2b8258ec33627c14c4045ca59204e299f098560c53e8e060ff56b61ed5 + destructured_ast: 622c8c576cd44b124fa2240395150a0f3bba43503acf1dea1d6439c2d5962a63 + inlined_ast: 622c8c576cd44b124fa2240395150a0f3bba43503acf1dea1d6439c2d5962a63 + dce_ast: 622c8c576cd44b124fa2240395150a0f3bba43503acf1dea1d6439c2d5962a63 bytecode: c8d4abba332861ba511e2f210502137e5aeeef23c159740de5649958515e3910 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 9cf8015451..dc5c3a75d9 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 85782785da5727ac7619b0b29a691157299ed7810b9b74caa3fc34525e251269 initial_ast: 06b5238a3b15657672d94289a30719cb29f48483a3cdd4926eaaef9db382f565 unrolled_ast: 06b5238a3b15657672d94289a30719cb29f48483a3cdd4926eaaef9db382f565 - ssa_ast: 38d3312b4454af9362e4ac3eb3fff0bb5da1e7801df9010cac82191d968228d4 - flattened_ast: cacf4a308ccfa5ba0b525632940e31cda475d4d508be9f327ab79bf856bcc31b - inlined_ast: cacf4a308ccfa5ba0b525632940e31cda475d4d508be9f327ab79bf856bcc31b - dce_ast: cacf4a308ccfa5ba0b525632940e31cda475d4d508be9f327ab79bf856bcc31b + ssa_ast: f510035217d01f47c468df46c4da48d98d67dbe60450db8a5bb049e25362af8e + flattened_ast: 9e44954d62b11e17cb590498a3a141b5e22fa94da3dc75b167cf7a1e070d450e + destructured_ast: e76b2508fcab127500f71802fcc0863c82914f851dfe828efdd5e0b96dfdcbe2 + inlined_ast: e76b2508fcab127500f71802fcc0863c82914f851dfe828efdd5e0b96dfdcbe2 + dce_ast: e76b2508fcab127500f71802fcc0863c82914f851dfe828efdd5e0b96dfdcbe2 bytecode: ba879d9c018e4334cff11992ba1b8a0bcb0901d6efdb29a6daac15ce9bb32e2c warnings: "" diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index 675e077c2c..c4b3e6633d 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f07cd29832076504537fcecac318aa3b8c3fb7c3247ce5e3e9181fdccce5449a initial_ast: e95b98809ec2eb870a7eb2271fc3f3f0d1888cf953b45c7d4bfc4ef656f91e83 unrolled_ast: e95b98809ec2eb870a7eb2271fc3f3f0d1888cf953b45c7d4bfc4ef656f91e83 - ssa_ast: 5faa88265fe5d0bd89c40cb68136acb93dbd0df3f45974fca19cc6c0041bb337 - flattened_ast: 91134ccdb03a4a6b0eee601d00e0e0a7280b24fe90659cf88999b958970d0749 - inlined_ast: 91134ccdb03a4a6b0eee601d00e0e0a7280b24fe90659cf88999b958970d0749 - dce_ast: 91134ccdb03a4a6b0eee601d00e0e0a7280b24fe90659cf88999b958970d0749 + ssa_ast: b79f2cce4f3d6221bf268c2c79109acb63945432bf4d02c9ac925faa2f2c343b + flattened_ast: 85ef09a920ef4c2a3183d559ae4f549fac8fc2456afcccbabe399704441ef742 + destructured_ast: 28d0af310f9397baedeb7c5eef9af35004007aac4ba4fcede34cd787c55f7fb7 + inlined_ast: 28d0af310f9397baedeb7c5eef9af35004007aac4ba4fcede34cd787c55f7fb7 + dce_ast: 28d0af310f9397baedeb7c5eef9af35004007aac4ba4fcede34cd787c55f7fb7 bytecode: 8060d7771b9a815e84dd576354e32cd26c7bf342fb513fe3b589de4c094701b4 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index a850b67778..825ae006a0 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: d2deeae8d7f12d766fa46ae5a4c10464f03cac5a96d75ea3646bf69d1c930d17 unrolled_ast: d2deeae8d7f12d766fa46ae5a4c10464f03cac5a96d75ea3646bf69d1c930d17 - ssa_ast: 7212ca5d33d81dfdaeeb5d2dec0d43768a2d71723a9505c6400fb0df6f28bc45 - flattened_ast: 3111550e6542e6cdec53c8a1caf1199f671b5b49116be90501198b406fe66d87 - inlined_ast: 3111550e6542e6cdec53c8a1caf1199f671b5b49116be90501198b406fe66d87 - dce_ast: 3111550e6542e6cdec53c8a1caf1199f671b5b49116be90501198b406fe66d87 + ssa_ast: 862f84e2efd36a753f6b070679d2e8f4f7314f91ae5617202b23506b572266d5 + flattened_ast: 225f43602f705d4b9f95239891d1d2ef2dc005a79a69bb7b6b57098dd45bd5c6 + destructured_ast: 72274e3c341978e8dfa5b2d83b7865fe9e6e87ed93c955506aa3bd00d7992453 + inlined_ast: 72274e3c341978e8dfa5b2d83b7865fe9e6e87ed93c955506aa3bd00d7992453 + dce_ast: 72274e3c341978e8dfa5b2d83b7865fe9e6e87ed93c955506aa3bd00d7992453 bytecode: f4641ddee6184f6fc437aa0f4422f2ea01a26648f9c7bf5559a2471505ed8096 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index 21b05a9758..c49017157a 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f9d62dee5604ba02b4e562c5eec5970479f7f44d87c18f7774080cc713feb73a initial_ast: 3b81e627fb68dcb0f0f4292e241f27c8ff86c07f545b3574e3144282f3adb4b5 unrolled_ast: 3b81e627fb68dcb0f0f4292e241f27c8ff86c07f545b3574e3144282f3adb4b5 - ssa_ast: bfc16da2760d47296a250005d427193d0c4194ac5dc19aa18f9169b21fce30b8 - flattened_ast: bb621cc8c2ab67d3568fc3fb24720a52ff325ad8c1676795d42490619e83fc40 - inlined_ast: bb621cc8c2ab67d3568fc3fb24720a52ff325ad8c1676795d42490619e83fc40 - dce_ast: bb621cc8c2ab67d3568fc3fb24720a52ff325ad8c1676795d42490619e83fc40 + ssa_ast: dca5e2634d123e7a9b5384850a9a99acec9ac20ba66dd535c285d5f92cc052b6 + flattened_ast: 66cd7cf2218cbc8c745b938e7d1cd89a3bc562e30a52ec4b281cd1f7a452815d + destructured_ast: 7202b2628adc40f5b3a3876d0567c155b49d88912e9efee9cb9f6b766458999b + inlined_ast: 7202b2628adc40f5b3a3876d0567c155b49d88912e9efee9cb9f6b766458999b + dce_ast: 7202b2628adc40f5b3a3876d0567c155b49d88912e9efee9cb9f6b766458999b bytecode: 56e6953042e8cf528010b3706c59f9240a38c0e4537f2bcedb790d17e0595327 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index 47a9fdc7d8..27810816b6 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a0572e715325c619a1d35b75063612b933270c22673c76277f668369e9a5c391 initial_ast: a9295daf430b915d08106a4f0a91a92fc57295212ed07731679d2240c9a53aee unrolled_ast: a9295daf430b915d08106a4f0a91a92fc57295212ed07731679d2240c9a53aee - ssa_ast: cdc53df836e75fb7aee45d466455a11fda3e08be7bb1476271c3aaa4ee642f96 - flattened_ast: b3bbbea75a51979067fa449fab919be2ab0ff51960cca6b61a7124db8508de66 - inlined_ast: b3bbbea75a51979067fa449fab919be2ab0ff51960cca6b61a7124db8508de66 - dce_ast: b3bbbea75a51979067fa449fab919be2ab0ff51960cca6b61a7124db8508de66 + ssa_ast: d54bcdd6f255e9def38cc0da05956c1b7b2b792f6d844b8458615d9858cd3639 + flattened_ast: b1960c8e886430cde2dff82cf6b05138990e1893605b260d399bf4a3b761132f + destructured_ast: b7c2a38e30d8d0b8776fa9ec93c5c674929964ef0dd2cc368626eec1187a7477 + inlined_ast: b7c2a38e30d8d0b8776fa9ec93c5c674929964ef0dd2cc368626eec1187a7477 + dce_ast: b7c2a38e30d8d0b8776fa9ec93c5c674929964ef0dd2cc368626eec1187a7477 bytecode: 4a3cad0d173991e84e84d40f5868e63fccab04b6561f1de4afef8976a90dbf17 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index 42d005194c..1f45c9d6c2 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f07cd29832076504537fcecac318aa3b8c3fb7c3247ce5e3e9181fdccce5449a initial_ast: 3ce491c98597f2b7460c6f2a055b4f342c7056bbb6067080fc317aa80ac62b5a unrolled_ast: 3ce491c98597f2b7460c6f2a055b4f342c7056bbb6067080fc317aa80ac62b5a - ssa_ast: 3e909d85f4baf8703995019545a989f96e598028eac6cabb73c51c1dadaf5c91 - flattened_ast: c2cf78406ab09f8b4949f621d34cca313780a9029797f900b3d3acfd09581875 - inlined_ast: c2cf78406ab09f8b4949f621d34cca313780a9029797f900b3d3acfd09581875 - dce_ast: c2cf78406ab09f8b4949f621d34cca313780a9029797f900b3d3acfd09581875 + ssa_ast: a32dcc57e1b0bb45fa8a3b86850e0d3d5ee991d81c846bf6e6317595837c566a + flattened_ast: b919076279215d29c03d6cf88fa084a4249226b1babf141c8d967dfaf0a22f04 + destructured_ast: 56927d68b0787d272094cd6ce033651f62e1e0c142d812474f41e91e334362b3 + inlined_ast: 56927d68b0787d272094cd6ce033651f62e1e0c142d812474f41e91e334362b3 + dce_ast: 56927d68b0787d272094cd6ce033651f62e1e0c142d812474f41e91e334362b3 bytecode: eb8fb8c25730005f5c6c14d190313c0bee2ae389d6295686dd1867663fc93f67 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 8babc85911..5232499e45 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ef9e135f891b49b1d7e304af1af0fe3677b23c28cbef4c3d0b2e07f10b706fe4 initial_ast: fa976a997cea13f1e6e173bf2d1666db2ddfeccfd73f5437583e6a0a941b2646 unrolled_ast: fa976a997cea13f1e6e173bf2d1666db2ddfeccfd73f5437583e6a0a941b2646 - ssa_ast: a88ddcf95d672421c9611a2ac19834093570deb5854c38b902385dff07ef71a1 - flattened_ast: 7cff8c8dadcb8a066ea03abd3d2a1be004b77f3d61859a31b8de7ea9b41ec68c - inlined_ast: 7cff8c8dadcb8a066ea03abd3d2a1be004b77f3d61859a31b8de7ea9b41ec68c - dce_ast: 7cff8c8dadcb8a066ea03abd3d2a1be004b77f3d61859a31b8de7ea9b41ec68c + ssa_ast: 84e29b1c5b8ebe66a1ecebb0c13527212a37212073c4bb1844a5a5206f0a5903 + flattened_ast: 6e45914136bd99bb8a717a077eef85af81a6bf1494b742deee83084a5cf1a552 + destructured_ast: 4d141099b7f55b5c1be5549a7a9a9a5f43de1dc498b73f7e968a78584d351f74 + inlined_ast: 4d141099b7f55b5c1be5549a7a9a9a5f43de1dc498b73f7e968a78584d351f74 + dce_ast: 4d141099b7f55b5c1be5549a7a9a9a5f43de1dc498b73f7e968a78584d351f74 bytecode: dbe5b65eae7786eb721e8e7bf810718e8482635802c2e5d5da2996d8c0c3f7f4 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index bc3cbee8c1..b1aa106275 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 41f58ce7e330bd6f27987d5c12db81ec59824582f0ea4c4cc49a3ac253d4ac8f initial_ast: a84c6b95502edc5d06e4353be5423fa3c1b691da2bb535d0f30fad9beb26c460 unrolled_ast: a84c6b95502edc5d06e4353be5423fa3c1b691da2bb535d0f30fad9beb26c460 - ssa_ast: 33cf3480acb76310554fc9046e26b5ffbdd5036e8b7af9ddf5a49f6f3bc68f7a - flattened_ast: b4b7dd36f242892a0d1157d933b7bf2e6af0f5ab2242e947fcab240b2f0fa913 - inlined_ast: b4b7dd36f242892a0d1157d933b7bf2e6af0f5ab2242e947fcab240b2f0fa913 - dce_ast: b1b6397df8e57b4bd74699a68b66e50a6514df0da8e785f9460f7cfbb41f1b8d + ssa_ast: bb7448e6ec8ee67b60006211e7179424a327aef15a76b08e539e921b9b811268 + flattened_ast: 73535d9d805c6931f7a5f459e172bc46c22907d82e3ff5f6457644125207b060 + destructured_ast: 736771fa106e469c69dfc35dafa190bb998f8f366d9430707292de0b7a46e896 + inlined_ast: 736771fa106e469c69dfc35dafa190bb998f8f366d9430707292de0b7a46e896 + dce_ast: bfc12d47d07031e78699a8a3f25b8df51bf86f8508523d0154d08118fbddaca6 bytecode: 94719443d1e9713563afa7861751ae6fac8380851db816055ed46c207a613efc warnings: "" diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index 0e43e0cf73..1cbe0e0cb6 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 50c602e8294ca9115e25f887416407d894525594c963cbfaa6edcdafd670528b unrolled_ast: 50c602e8294ca9115e25f887416407d894525594c963cbfaa6edcdafd670528b - ssa_ast: 81b201ad3d3e523d9f2144b172143c23533a95b99d56f7c13755ad33fc5d144a - flattened_ast: c66c1e526b7736e023977112dc130ace9b35c00e4311cba970c86bd744f69213 - inlined_ast: c66c1e526b7736e023977112dc130ace9b35c00e4311cba970c86bd744f69213 - dce_ast: c66c1e526b7736e023977112dc130ace9b35c00e4311cba970c86bd744f69213 + ssa_ast: e3228fe56195082bcc3c25b8dab0ba04dc42b2c76e5832f61461893b7d87aea5 + flattened_ast: 8096e84e30508da8edaa34f0fb2b02749602c5599c2d3724b91113fbae2a9ea9 + destructured_ast: c9455f2130b627f8e5154191cb2fde866091636f1f0a9ca62a4ef7687cc6a271 + inlined_ast: c9455f2130b627f8e5154191cb2fde866091636f1f0a9ca62a4ef7687cc6a271 + dce_ast: c9455f2130b627f8e5154191cb2fde866091636f1f0a9ca62a4ef7687cc6a271 bytecode: 4bdb71dbcb23bcb6519ef3ddab06e79a70b155f8be87cc5d2b9d95221affd686 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index 176017cde3..6ad84d1324 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 046c57f37aef152bd02ed0c89a60e6c1a6e55a3408626ad1e5ee3374004485fe unrolled_ast: 046c57f37aef152bd02ed0c89a60e6c1a6e55a3408626ad1e5ee3374004485fe - ssa_ast: 8c23b21cf248e76f9a26ff7327cd2b634aaa5b3299535563251d7edcaf6a2299 - flattened_ast: d0198c9bcb67b1fefd8e3f21b8c181177bf306ac908b14e0e43aea8b997f2ca8 - inlined_ast: d0198c9bcb67b1fefd8e3f21b8c181177bf306ac908b14e0e43aea8b997f2ca8 - dce_ast: d0198c9bcb67b1fefd8e3f21b8c181177bf306ac908b14e0e43aea8b997f2ca8 + ssa_ast: 746e4d02d9bdf083f175f26d571a7c636124ae32b48bc65fd2eba6dab69b4fbd + flattened_ast: 655960bb8293cea3d8cba2416668828f9054aca4ebeed399bee014280a953469 + destructured_ast: 0639acc7617cc5ddbebf682323f40bad421c145b0e4770320a265d41e74bad6c + inlined_ast: 0639acc7617cc5ddbebf682323f40bad421c145b0e4770320a265d41e74bad6c + dce_ast: 0639acc7617cc5ddbebf682323f40bad421c145b0e4770320a265d41e74bad6c bytecode: ff1ba1259f2f4a90553920fc5a9391125c9d5fbc583e2a648b80dc409b62d5fc warnings: "" diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index 0956b1bbc5..3a8c27affa 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 2a9e21e6d34833db8aec6b8fef47c7e762ae901c9ca4e9f483b798fdbe4748f0 unrolled_ast: 2a9e21e6d34833db8aec6b8fef47c7e762ae901c9ca4e9f483b798fdbe4748f0 - ssa_ast: 399dff553ddd870356d873c2e23f020af96f505ba4e4a17b347da395fe3f14a5 - flattened_ast: b89e558500d2d2b1ce568fbe5547829c51918bc1a9d5533292a64a37090cd624 - inlined_ast: b89e558500d2d2b1ce568fbe5547829c51918bc1a9d5533292a64a37090cd624 - dce_ast: b89e558500d2d2b1ce568fbe5547829c51918bc1a9d5533292a64a37090cd624 + ssa_ast: 5f4b4548c665600d7edbdd413cb2591a4378be83b4ec7ac2978822a0ab792bbc + flattened_ast: c0a8a7ee8a3dcb6e7ac02a766b716f127827d4dfee8d929971a02f942796d73f + destructured_ast: 35509e4437307431f315109e1781bb1201378dedda6d6d82f96de1f15fb33490 + inlined_ast: 35509e4437307431f315109e1781bb1201378dedda6d6d82f96de1f15fb33490 + dce_ast: 35509e4437307431f315109e1781bb1201378dedda6d6d82f96de1f15fb33490 bytecode: 89effef213f290d8097c5e2289a9010d4379e63954959a7eeca9a25e4e5f50b8 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index 940bcc7975..a3cffd0a60 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: ad631d834a368f8eda7553a8fe8891df4bd326f7f2c03b47de079284e6b6683a unrolled_ast: ad631d834a368f8eda7553a8fe8891df4bd326f7f2c03b47de079284e6b6683a - ssa_ast: 050f2377dc70af32d16575d63c3168699c44a454823bcd51ac5aa96a3e30e897 - flattened_ast: ef5611793a10f42f99e887ae4d7512da44aa9420faa1afeaaa02a613156c5d8f - inlined_ast: ef5611793a10f42f99e887ae4d7512da44aa9420faa1afeaaa02a613156c5d8f - dce_ast: ef5611793a10f42f99e887ae4d7512da44aa9420faa1afeaaa02a613156c5d8f + ssa_ast: 3341980f86b04f66333963938b938a6d8858e38257bddbd4476d1d3e25723901 + flattened_ast: 5d66f8bac0e407583f9a12a2b0e02ace793175362227e316f5131ead747fe86c + destructured_ast: bb69ff7bdec84320ce58682f5a98e4a99efd82a2d6563b5bb275e69ff7774ae9 + inlined_ast: bb69ff7bdec84320ce58682f5a98e4a99efd82a2d6563b5bb275e69ff7774ae9 + dce_ast: bb69ff7bdec84320ce58682f5a98e4a99efd82a2d6563b5bb275e69ff7774ae9 bytecode: 44b4f1e4aff3e8f3343854e8efc5146404333da549cc6e04bca927e7e1484487 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 1e7b87bcb5..92fced281c 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 593beadff16f32505822c60475e53a9780ebc87486b5505e15088999a6fae89e unrolled_ast: 593beadff16f32505822c60475e53a9780ebc87486b5505e15088999a6fae89e - ssa_ast: 1200b2ca1a40259e88bfa744111bc2c69a79b36619ef5a091ff0b86328828e0f - flattened_ast: e7429310d9ddc4ef7efb16bb0c23460ae73bfa875951dce39257fa7ef93c2aa7 - inlined_ast: e7429310d9ddc4ef7efb16bb0c23460ae73bfa875951dce39257fa7ef93c2aa7 - dce_ast: e7429310d9ddc4ef7efb16bb0c23460ae73bfa875951dce39257fa7ef93c2aa7 + ssa_ast: d29a8ebc3120ef3389a4ac43d0e6bab1dc4b6a54362e3ebc8260c659034f78c9 + flattened_ast: 84cdcecbee4938c749583ce7a69759eb6e39c3903a6c251551719f0401f1f5de + destructured_ast: d48d8d0b79c1f8c3d7c1bf0fb83367b5bb71640cb185222f85dfd53ffb0e96e1 + inlined_ast: d48d8d0b79c1f8c3d7c1bf0fb83367b5bb71640cb185222f85dfd53ffb0e96e1 + dce_ast: d48d8d0b79c1f8c3d7c1bf0fb83367b5bb71640cb185222f85dfd53ffb0e96e1 bytecode: 2768046fc5a9e4812b3b19a67908baca08c0e3d5141323dabb57cff84e659d62 warnings: "" diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index 62a1c0aa65..7ce6f3984e 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a00c41a2ecc20c5739ee7bb4b21c48d83bf0d16dd35b06165668daf8be5f29f4 initial_ast: 24e8db4a91bfbeb92a62a43e43a9cc64f62d895861b07ccc56029f92ad8dfb32 unrolled_ast: 24e8db4a91bfbeb92a62a43e43a9cc64f62d895861b07ccc56029f92ad8dfb32 - ssa_ast: e3cb7a92e1eea6ee2c95636cd5f22f1984ccef2226af5afba5c012204883050d - flattened_ast: 05e5844db01ced7370bda40e8f667911ed1ee09bcd905018f6f85414cfb6c45f - inlined_ast: 05e5844db01ced7370bda40e8f667911ed1ee09bcd905018f6f85414cfb6c45f - dce_ast: 05e5844db01ced7370bda40e8f667911ed1ee09bcd905018f6f85414cfb6c45f + ssa_ast: 6241df7579d31a19ca6e0a534f801e8eb6b74bfea6b093d10d236fe66dafe9cf + flattened_ast: cb156e6630e722e675191fb92494e56333797161df430b20a771bdf46a872d11 + destructured_ast: 395b1865dd28a817646f315928d728b17d4e0d4b79f37e29cc45654c00f92bbd + inlined_ast: 395b1865dd28a817646f315928d728b17d4e0d4b79f37e29cc45654c00f92bbd + dce_ast: 395b1865dd28a817646f315928d728b17d4e0d4b79f37e29cc45654c00f92bbd bytecode: 3394c4bead78f2ab177206a71d03d27cc9e584d5eb7aa587e7a9101911c1e76d warnings: "" diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 720571c0fd..f87693c5fb 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f739da46def78b2fb58f623784534d1f20914b8543569316f375337fe9171594 initial_ast: d734f61b4667fbab15d10dd2415e5c0fb6cb32d8705bbddae280c3ceaeae5b2f unrolled_ast: d734f61b4667fbab15d10dd2415e5c0fb6cb32d8705bbddae280c3ceaeae5b2f - ssa_ast: 81d126160404dce37caa388b65b08548bc5479d2d39b80418d8471068d0db2b0 - flattened_ast: 41dad5373e928e67edc9e6cca75e23c1e639bd2cefc4f23b5fd080ab54f3657e - inlined_ast: 41dad5373e928e67edc9e6cca75e23c1e639bd2cefc4f23b5fd080ab54f3657e - dce_ast: 41dad5373e928e67edc9e6cca75e23c1e639bd2cefc4f23b5fd080ab54f3657e + ssa_ast: 04268eafa1e32b258e111d20ae1dc58b5009ad77aa14037702e48c6b742f3d6c + flattened_ast: 2cb56869bf2ff923e4656b96f19a419b9c77f0bc0fbbf81ea9acbf09d81de823 + destructured_ast: f9bd472b8f7d590720bfd8684dd793ab0159e0b0676abc4493f87b5276670927 + inlined_ast: f9bd472b8f7d590720bfd8684dd793ab0159e0b0676abc4493f87b5276670927 + dce_ast: f9bd472b8f7d590720bfd8684dd793ab0159e0b0676abc4493f87b5276670927 bytecode: 4a10ca6f583fa9516bfbdad6094fdaadefd4d6069c0f87f13cc0e3fc1d36029e warnings: "" diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index 84a4f695e1..cc68e46f1a 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 8e8d6d73bb5d04afee4d9382f722349a9670485e55915a6667ed73ee988f94f2 initial_ast: e71f32fe834bfd20654220b705cd985e7c915f83025e23eca895570870987fcc unrolled_ast: e71f32fe834bfd20654220b705cd985e7c915f83025e23eca895570870987fcc - ssa_ast: 1e1fdb15be03b700debf5f9eeac76b09e8a87eb19c7d8bc0418fb7eaaf36f1d7 - flattened_ast: 68ae0773f949c46040f92a4c035ff4eec32fa14e0aab23d028a49a2e7181c47b - inlined_ast: 68ae0773f949c46040f92a4c035ff4eec32fa14e0aab23d028a49a2e7181c47b - dce_ast: 68ae0773f949c46040f92a4c035ff4eec32fa14e0aab23d028a49a2e7181c47b + ssa_ast: dba58f20da00519f350b378e6870da3d76d0314a073cd8555988ab5933b45410 + flattened_ast: 80eb2157f362c06f04944006dd2e069f3da4053d8264b943f080fb878432ac93 + destructured_ast: b255630b024c9d008b1df56919d27d4c86decfe07f01c81d74a4e5bf1d580b72 + inlined_ast: b255630b024c9d008b1df56919d27d4c86decfe07f01c81d74a4e5bf1d580b72 + dce_ast: b255630b024c9d008b1df56919d27d4c86decfe07f01c81d74a4e5bf1d580b72 bytecode: 202aa93c8b415346f4cc8b49533c89cf2004fb273e78581f033c75ea57dad512 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index 919fddbe97..f9c30a061e 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: 5ab4aceaae6361323b709c596bc01845e8dfe672ab99e24d4d9f525a027709b6 unrolled_ast: 5ab4aceaae6361323b709c596bc01845e8dfe672ab99e24d4d9f525a027709b6 - ssa_ast: 36ee9e8f654a1904236710aac7de1179b5ab1524a9c97372ee5675f8b98d3c07 - flattened_ast: dcaf99219aecac506dd5415f97f357cf6db8a1b612acd9b5734aa51d03e4f17d - inlined_ast: dcaf99219aecac506dd5415f97f357cf6db8a1b612acd9b5734aa51d03e4f17d - dce_ast: dcaf99219aecac506dd5415f97f357cf6db8a1b612acd9b5734aa51d03e4f17d + ssa_ast: 5746ac47d4dd352c50d8024eb9930450094bbf9ebd5163a95140c9f2742e3dd0 + flattened_ast: e7b772ef3af693481f6ef704742ab83b4f4cb0c8d8a2385a48bce2d4d31b0ca3 + destructured_ast: 45034d9da1177788a894ac4c633e44774a23104456c8cba1d2c370211dab63a2 + inlined_ast: 45034d9da1177788a894ac4c633e44774a23104456c8cba1d2c370211dab63a2 + dce_ast: 45034d9da1177788a894ac4c633e44774a23104456c8cba1d2c370211dab63a2 bytecode: b55a8d40426fb145352765c99ed1875c872f2a6a0aeaa46f5734c543b5cc17a0 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index 9dfb548493..79304f4060 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: 276720efd3a6b45cff14cce32a9904ec399e880cb12c7503bee72cfca906e432 unrolled_ast: 276720efd3a6b45cff14cce32a9904ec399e880cb12c7503bee72cfca906e432 - ssa_ast: ce41ef472716f3caf4e4ba7e1fc0a5de8ef712d5e377282a41a1d99cc8789ba0 - flattened_ast: d809d024848669fbe3b2bb4f182d6fc88bf110b02af73e673ae2448e4e335472 - inlined_ast: d809d024848669fbe3b2bb4f182d6fc88bf110b02af73e673ae2448e4e335472 - dce_ast: d809d024848669fbe3b2bb4f182d6fc88bf110b02af73e673ae2448e4e335472 + ssa_ast: 8fce48f289e1d9fe223ca9ae14a678c9f5b00660e1f1ba8c0c512f354103c38c + flattened_ast: 0fe46be3cb82bbaa26da1c89375dcb727324ae7d36cb37c945c20f936777a969 + destructured_ast: eb34a967d02b4f7a7d27bb27579ceb5d556d0c0162554f3902158b0b93c6856f + inlined_ast: eb34a967d02b4f7a7d27bb27579ceb5d556d0c0162554f3902158b0b93c6856f + dce_ast: eb34a967d02b4f7a7d27bb27579ceb5d556d0c0162554f3902158b0b93c6856f bytecode: 6696abc2bfb9eeab6ab4255dad93e1c66316b93bf19136e37fdefb22a09b50c9 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index 323a1a0e51..561e6643ba 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cdb6c07e9c5372a4894c1f46f87d45ef6dbd8ba0e9822a2f99a73ce62090a4c9 initial_ast: 48151bacbb63890a24cb427f58715668202cac491b634617854075b150895ab0 unrolled_ast: 48151bacbb63890a24cb427f58715668202cac491b634617854075b150895ab0 - ssa_ast: b490f513f1692725981538289957ae55979dcfe4f521e0686679fa4ad2947e5a - flattened_ast: ce2219f834ed545edec6db6e241fbff8a6f863a9fcae353f252f6541511761a6 - inlined_ast: ce2219f834ed545edec6db6e241fbff8a6f863a9fcae353f252f6541511761a6 - dce_ast: ce2219f834ed545edec6db6e241fbff8a6f863a9fcae353f252f6541511761a6 + ssa_ast: 19a25999c428adbf2c1eed830b2155c5d6c5462abb3930d2cb5280ceaef17b3e + flattened_ast: 60fc33b211b32dbee8caa35aa2b857c770593649241e94d06f9bff9a42e1993b + destructured_ast: 0b7b1d6719c45f2b33c14bab800d12314176bc1b09a91f3fe2c600b3a8afedb4 + inlined_ast: 0b7b1d6719c45f2b33c14bab800d12314176bc1b09a91f3fe2c600b3a8afedb4 + dce_ast: 0b7b1d6719c45f2b33c14bab800d12314176bc1b09a91f3fe2c600b3a8afedb4 bytecode: abe50f2f70110c2d0e6728636967d2e3ef06c1bdad64c39cf82f7402a924f769 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index 5b57481346..4e3e595862 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: aa9f632efc6b1be2d4ef0cf2fc6994be14c1c4d0d72fc55ba5c45e12a166c4fb unrolled_ast: aa9f632efc6b1be2d4ef0cf2fc6994be14c1c4d0d72fc55ba5c45e12a166c4fb - ssa_ast: 0e093204539c832f5ec061801c84ac4e8ab53640ff326822eef3006a4fcea0a1 - flattened_ast: b7261c799ed8b30770d1aa4b44abc9c3dd0b3f70d389f0bab645cb1cdbfcd96a - inlined_ast: b7261c799ed8b30770d1aa4b44abc9c3dd0b3f70d389f0bab645cb1cdbfcd96a - dce_ast: b7261c799ed8b30770d1aa4b44abc9c3dd0b3f70d389f0bab645cb1cdbfcd96a + ssa_ast: f051f84d79ca1a8623c8c5b5bbace7270418f6f33352d00f2e84ebe2d932ec8a + flattened_ast: af0c34629ac4b991d61679d59767a39aa94c5a91e500befa0dd73e05d9a51c56 + destructured_ast: b6ef97452c0af23a1e4555b7c5b13cf7819d75c3260f149b79ffded66f412633 + inlined_ast: b6ef97452c0af23a1e4555b7c5b13cf7819d75c3260f149b79ffded66f412633 + dce_ast: b6ef97452c0af23a1e4555b7c5b13cf7819d75c3260f149b79ffded66f412633 bytecode: a748bd3dea41e7274e04929fa60b4e6e1a93c07f229afe99bf12c5fc29162f68 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index fa2a559426..8188bd821d 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: 07c896ae0a2dc783ec7f0c05ec30a3a3a24cbffff7cf86d8a86c61af72bbe200 unrolled_ast: 07c896ae0a2dc783ec7f0c05ec30a3a3a24cbffff7cf86d8a86c61af72bbe200 - ssa_ast: c3fe80202d14503320d4484216a5ebe367c7cbed147cb4cead247a2817c259a3 - flattened_ast: 14514151ad1646b4b6b6876972f6d012985c02b4befd777383f4bcd1d75e4378 - inlined_ast: 14514151ad1646b4b6b6876972f6d012985c02b4befd777383f4bcd1d75e4378 - dce_ast: 14514151ad1646b4b6b6876972f6d012985c02b4befd777383f4bcd1d75e4378 + ssa_ast: b443ef911eea702713bc051e0ac6675ca543fa528109f96f88f2012b405d4f66 + flattened_ast: f03c11f0af2c25da7d27b64abf7042587f322c73234e1d4ab880b3d105823a47 + destructured_ast: f19d25d62fad5b3b755a23d4896c19019efeb22f74ea6e7937b717984af2d82f + inlined_ast: f19d25d62fad5b3b755a23d4896c19019efeb22f74ea6e7937b717984af2d82f + dce_ast: f19d25d62fad5b3b755a23d4896c19019efeb22f74ea6e7937b717984af2d82f bytecode: a78d778b5d4c7ab76e80a1c944c5060214f0e474a0892dca998044ec07f736f9 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index 129417ed45..5cc92dc2b8 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: e14dd714e08d3accdcfe7064a058d51149c2388cc70bb2504ced639d448dc855 unrolled_ast: e14dd714e08d3accdcfe7064a058d51149c2388cc70bb2504ced639d448dc855 - ssa_ast: 8adea74c870250818b48475e0d4a2bf55e2d2fbadd78b6daec5a8d4b00fb7d09 - flattened_ast: 2b5ea8892f473f3af51bcb3a85f27ac66be7488a2e9645bc1c1967e4c991d887 - inlined_ast: 2b5ea8892f473f3af51bcb3a85f27ac66be7488a2e9645bc1c1967e4c991d887 - dce_ast: 2b5ea8892f473f3af51bcb3a85f27ac66be7488a2e9645bc1c1967e4c991d887 + ssa_ast: 2183a22649908758c0c6073f50391dcd810196de247d69dcc5171b9e30c71389 + flattened_ast: fdc99ef53a971a9ed15e20ec07e2da5dbf16d65257bd466eb805046d3fee968e + destructured_ast: 49bbde440e9b8d3618f21b76ee07b5ec1924ef5a7395c75ae1b9931d333a8c19 + inlined_ast: 49bbde440e9b8d3618f21b76ee07b5ec1924ef5a7395c75ae1b9931d333a8c19 + dce_ast: 49bbde440e9b8d3618f21b76ee07b5ec1924ef5a7395c75ae1b9931d333a8c19 bytecode: 94572b27b48d4abfd620aa9e9b2826915ffa548e81e7163562a598777c174b9d warnings: "" diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index 294ea7c330..530772ec05 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: 7751a6b88047567464f9ca973ad51b09e92e65e77c846e2152370760ba9f9b99 unrolled_ast: 7751a6b88047567464f9ca973ad51b09e92e65e77c846e2152370760ba9f9b99 - ssa_ast: 1207107e3a23dd5525098a5ffc67a6eda74ffcbcd375ac16f746b3b03d513c06 - flattened_ast: 1579077875bd12910120509986d9d54214ea034d761d29ab89f53f15cd337439 - inlined_ast: 1579077875bd12910120509986d9d54214ea034d761d29ab89f53f15cd337439 - dce_ast: 1579077875bd12910120509986d9d54214ea034d761d29ab89f53f15cd337439 + ssa_ast: 01d1e659986079354c34639732b96629bd930aa8febd20350abb00bc7de4054c + flattened_ast: d0a6282f1f9f07a02b5480efec4cd031217a4a8ff71aa10eaaf6800520a8f66a + destructured_ast: 39eaea8dbf079600f0f8bec407dd85afe5a141add14b51ee4fba179caa718772 + inlined_ast: 39eaea8dbf079600f0f8bec407dd85afe5a141add14b51ee4fba179caa718772 + dce_ast: 39eaea8dbf079600f0f8bec407dd85afe5a141add14b51ee4fba179caa718772 bytecode: 12088489a333361c2ba46423958eb72cf877d9db1e0acc0520b13b02a6d0467e warnings: "" diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index 9c1d8e605a..b94e48d164 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: bf9f0f902bdeebef25e6efee84399cd4cbf1d656b0cdf5d95c49b8aa09ba24ad unrolled_ast: bf9f0f902bdeebef25e6efee84399cd4cbf1d656b0cdf5d95c49b8aa09ba24ad - ssa_ast: 32230ce3772045c308ef73208f79ac240284a5f0a6e83dd17fc06dcad1320c26 - flattened_ast: 9139f046a5c1085ddd6dc1e1deafa41855888ef243358a8b30eaf0eee6b2bef5 - inlined_ast: 9139f046a5c1085ddd6dc1e1deafa41855888ef243358a8b30eaf0eee6b2bef5 - dce_ast: 9139f046a5c1085ddd6dc1e1deafa41855888ef243358a8b30eaf0eee6b2bef5 + ssa_ast: 01f426f8f8139bfa59883b16103a1311c2005201e15f257213d52aa7de37187a + flattened_ast: fda49e27e0d5b7ca037e504050d10a89c63e9d59461f0f48dc2b2bab32886501 + destructured_ast: eedd1e14d3b6f737e5eac6ab949ec96a718bdb9721f67f987291479dfd1db2fc + inlined_ast: eedd1e14d3b6f737e5eac6ab949ec96a718bdb9721f67f987291479dfd1db2fc + dce_ast: eedd1e14d3b6f737e5eac6ab949ec96a718bdb9721f67f987291479dfd1db2fc bytecode: 13ee1135be90a2ac630bba0dddd170b24bdf375295c4d3e21ddb511d388f9c31 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index 7207c5ef85..b7d2e2c3c0 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: c3c393f6325347c0bd1b1f173d53658a7aaecd2e8fd668d0a08399966100113b unrolled_ast: c3c393f6325347c0bd1b1f173d53658a7aaecd2e8fd668d0a08399966100113b - ssa_ast: 497b9d48fa8ac528fb9f0e681970dc00999e987d2bf9c828fbfbf97c153052b0 - flattened_ast: 945d19de983eb5151647f0c6a43131643c1b9c22ae95706a02079dd075b4206f - inlined_ast: 945d19de983eb5151647f0c6a43131643c1b9c22ae95706a02079dd075b4206f - dce_ast: 945d19de983eb5151647f0c6a43131643c1b9c22ae95706a02079dd075b4206f + ssa_ast: 5ef01481e29bdf8af7f46b081c0801347c2c4957554f07c5edfa3898cb37f40d + flattened_ast: 0f0c927f8b5f75ac52c8b2f092d57c638b2c992c5308fd468cd563b840d4df72 + destructured_ast: 49e9dfb465054c3675b0b08f0f6f2f9d30ecd7e01b4966a323e1cbc05bac816a + inlined_ast: 49e9dfb465054c3675b0b08f0f6f2f9d30ecd7e01b4966a323e1cbc05bac816a + dce_ast: 49e9dfb465054c3675b0b08f0f6f2f9d30ecd7e01b4966a323e1cbc05bac816a bytecode: 603e5cdb76df60951144b9bf25a52c5707dd4286906cae46fccc43f3b87292e2 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index bb28199e32..07ede11471 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 28a475ec2f1f540a01415b66683581cc8eba9c4d0bc52b1df5f69ff3c64a34b9 initial_ast: ca65d712d52879b652b1dfc2716a86dd0d5298ab67da3968c29cfe79580b7559 unrolled_ast: ca65d712d52879b652b1dfc2716a86dd0d5298ab67da3968c29cfe79580b7559 - ssa_ast: 66cc15affd76cbec7d828435112e3874afb4a5276e9b9280892ecfe7a891e838 - flattened_ast: 4d777f68aab666d0f6a025a8a634f94f9e912c66f7fe5d621caf28b6862ab6df - inlined_ast: 4d777f68aab666d0f6a025a8a634f94f9e912c66f7fe5d621caf28b6862ab6df - dce_ast: 4d777f68aab666d0f6a025a8a634f94f9e912c66f7fe5d621caf28b6862ab6df + ssa_ast: 962488caa65d3f3029c4572233892e64a90aabb5035bfcbd6002d17f00aa96cf + flattened_ast: def3bf45cfc85c4efd59a0ba95bc7d9cbc8b0358b41151162fa552e48f62cd7f + destructured_ast: 1d8f9674b3fa07cac5851504d4de227fe336dc83e095a75815bd7cf85ac0137b + inlined_ast: 1d8f9674b3fa07cac5851504d4de227fe336dc83e095a75815bd7cf85ac0137b + dce_ast: 1d8f9674b3fa07cac5851504d4de227fe336dc83e095a75815bd7cf85ac0137b bytecode: 3c067ad506fc41e4e9e7db063d5364cb4b48df235e552f3cae7d5de2cbb781e0 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index 0d5ed9a99a..ca31e8dd10 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 28a475ec2f1f540a01415b66683581cc8eba9c4d0bc52b1df5f69ff3c64a34b9 initial_ast: 57f4f54277cf1fc78a306ffec7ba8beec7c89de249b85b166d830e33ade1819f unrolled_ast: 57f4f54277cf1fc78a306ffec7ba8beec7c89de249b85b166d830e33ade1819f - ssa_ast: 2bea46fffac2f4b0b47c292f67b1d9dc7bab82cc243dc0597767c9c764cf31ad - flattened_ast: 0f7f926aacdbe6ca6e053dd1f94f6c1a1cfd9aaffa82498530210820a31a1c56 - inlined_ast: 0f7f926aacdbe6ca6e053dd1f94f6c1a1cfd9aaffa82498530210820a31a1c56 - dce_ast: 0f7f926aacdbe6ca6e053dd1f94f6c1a1cfd9aaffa82498530210820a31a1c56 + ssa_ast: 6d89965f96124687a7733785e538f6c898586a6115db8c9911e8fe23b044b200 + flattened_ast: b45751e24df0420a17ec8a5c6dd39da48b4a27cd0bc6b43d117196f342a66a0b + destructured_ast: ea1f127bf9fa3703987231cc6f99ae4d44edc2fe85150a23f9781bae206ceed2 + inlined_ast: ea1f127bf9fa3703987231cc6f99ae4d44edc2fe85150a23f9781bae206ceed2 + dce_ast: ea1f127bf9fa3703987231cc6f99ae4d44edc2fe85150a23f9781bae206ceed2 bytecode: 55a111c89ca19d386df2b23007d709d5c8787909e9e1160c29499b3f7a01dcf5 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index c5bc09e4ca..e84ee9bf60 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d11260515707fa78aa3afcb2b722d57db8b28387b02eec750ed2ff498e635b50 initial_ast: 6d5fdcb059dc0d743ff081e77cd1a2d8f7af9d38aadd6d4f03202fffd262348b unrolled_ast: 6d5fdcb059dc0d743ff081e77cd1a2d8f7af9d38aadd6d4f03202fffd262348b - ssa_ast: 2d1cb3d486f209af0addd77450027e6f7e614849a20457c02f82b5119a7cd8b4 - flattened_ast: d4a0fa9189312fbced276b68ff9b4bb374583cf8936ddb189996464c589130c4 - inlined_ast: d4a0fa9189312fbced276b68ff9b4bb374583cf8936ddb189996464c589130c4 - dce_ast: d4a0fa9189312fbced276b68ff9b4bb374583cf8936ddb189996464c589130c4 + ssa_ast: ad6dfbdb4b7beca0194dffc209db676f9fa8210e75dab993b0b6bf95c86a24c4 + flattened_ast: 3e67ff351fd65b1f68f840e1f1256cec0e0ea63b1819d7ed1d6b7398f2a3fa9e + destructured_ast: 8fb136cfc320f05870bf5d826203501e17373d6ab097a11a4a0b428112ca2d6a + inlined_ast: 8fb136cfc320f05870bf5d826203501e17373d6ab097a11a4a0b428112ca2d6a + dce_ast: 8fb136cfc320f05870bf5d826203501e17373d6ab097a11a4a0b428112ca2d6a bytecode: 2181efe703d35367134a1f8a3601cc57254af6fff5313d65f4b442e1bb24ca38 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 0eb1cf68bf..07076fdf7c 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: efcf24a076173c654d6c0f56454aab0501f5729fb847f4951679c6a8809a32ce unrolled_ast: efcf24a076173c654d6c0f56454aab0501f5729fb847f4951679c6a8809a32ce - ssa_ast: 731b81e04883c82fb2ed89397e3753aaa13b0c21e57273c3a2990519217b3c91 - flattened_ast: 99fe1c10946d78a28d0c6238270099f6565214bf6006d80f9cea07f1d76a94ea - inlined_ast: 99fe1c10946d78a28d0c6238270099f6565214bf6006d80f9cea07f1d76a94ea - dce_ast: 99fe1c10946d78a28d0c6238270099f6565214bf6006d80f9cea07f1d76a94ea + ssa_ast: cae267038e27a2968f32ee301bf0de391c5addf526b6f356997af37a88c20d33 + flattened_ast: da19c52e56a639440d760ce57a86bac515550dbfc7e77e3780702dd53a7813ab + destructured_ast: d3111df89e5023ce77e44ee4183aaae8b2c59708032f3285fb2583ab67389f5b + inlined_ast: d3111df89e5023ce77e44ee4183aaae8b2c59708032f3285fb2583ab67389f5b + dce_ast: d3111df89e5023ce77e44ee4183aaae8b2c59708032f3285fb2583ab67389f5b bytecode: 4d7f4174af8a36e85cdb61b3aea8ff9d5d2fff98c50e002f82e4e37cec9beab8 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 8d6d557010..dccf4ad605 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b9804fc525196b58a8edfc3653ee23e6db035844e0724d0a40f1e64fd505665f initial_ast: b0744589808b4538ccb47697ff4f35ae9cc8706142dce0a9d40f1d70abe5a966 unrolled_ast: b0744589808b4538ccb47697ff4f35ae9cc8706142dce0a9d40f1d70abe5a966 - ssa_ast: 3d3790c7b9af8dfb3af07383c9f521fc571a806213b6db9a12fa5fd29f2c2313 - flattened_ast: 26c069358744c33e6a1bd1c6dc07a423e12a9f5dd613c69f314d88a6662cd2ab - inlined_ast: 26c069358744c33e6a1bd1c6dc07a423e12a9f5dd613c69f314d88a6662cd2ab - dce_ast: 26c069358744c33e6a1bd1c6dc07a423e12a9f5dd613c69f314d88a6662cd2ab + ssa_ast: 4b90ac5f23f67c8e56c00927216e4d245d8bb9094942d501a6737c1a8f6ee6fb + flattened_ast: 7d11e99c9b4d1501646d57451f14e5ec7752131bd361ef9b2a17a3e7462d9172 + destructured_ast: 16a4a7c4fa90a0c4f8929c3277e3b92b841da87da1e70ca4e6fa278fc08cdb29 + inlined_ast: 16a4a7c4fa90a0c4f8929c3277e3b92b841da87da1e70ca4e6fa278fc08cdb29 + dce_ast: 16a4a7c4fa90a0c4f8929c3277e3b92b841da87da1e70ca4e6fa278fc08cdb29 bytecode: d7dd8a73bf281baa5edbf7c488b9752d703a092ec1840c0e35d830a7c6f9c007 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 23d3f99a49..83bfd044a4 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 50148d3332fd0b260fd55ba65075adbbb723a015028ac006e56ac73e1fd45d6c initial_ast: 2111682b353a13dd95329974e5f8f08b734f8d9ab2217f0d08d1992075919a5c unrolled_ast: 2111682b353a13dd95329974e5f8f08b734f8d9ab2217f0d08d1992075919a5c - ssa_ast: f10b4d20d3bf892939dabceb688005024a098b11471bacb14d12c88985bbde36 - flattened_ast: 1c835bff21b723cc11a7a2aa103c3082be9b2117b1c64efcd882f17667d87fe2 - inlined_ast: 1c835bff21b723cc11a7a2aa103c3082be9b2117b1c64efcd882f17667d87fe2 - dce_ast: 1c835bff21b723cc11a7a2aa103c3082be9b2117b1c64efcd882f17667d87fe2 + ssa_ast: 2bfb73ad7b6756d3e52ac2286c808827af1dc829fe66025cb3a0e700cffdc156 + flattened_ast: ba38835a388447cf733ef32878b45a55bc9c56b1074fc5af2fff862f8d79eb89 + destructured_ast: 63e55f3fe73ac40975e90f5490453600c12aa962cb7fa38b1275c9e6d9a98155 + inlined_ast: 63e55f3fe73ac40975e90f5490453600c12aa962cb7fa38b1275c9e6d9a98155 + dce_ast: 63e55f3fe73ac40975e90f5490453600c12aa962cb7fa38b1275c9e6d9a98155 bytecode: 68da5691d330a6bcaa3f223f7a2140e1c01993fe61750a646efe6241bccb88c9 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 2f3bb21bee..466e12b093 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d11260515707fa78aa3afcb2b722d57db8b28387b02eec750ed2ff498e635b50 initial_ast: bc2bde7c6f7995c11f7eb55847eb499f5604bab06c439b00c925577dfe70f4a8 unrolled_ast: bc2bde7c6f7995c11f7eb55847eb499f5604bab06c439b00c925577dfe70f4a8 - ssa_ast: c1138f342f468740dbd9edd780d6061aef352ef395e06898df9527862c35ab84 - flattened_ast: f540ba84beaa45dfbd46a5d677a14363ec3476bbee482a22c41487cc3a758cf4 - inlined_ast: f540ba84beaa45dfbd46a5d677a14363ec3476bbee482a22c41487cc3a758cf4 - dce_ast: f540ba84beaa45dfbd46a5d677a14363ec3476bbee482a22c41487cc3a758cf4 + ssa_ast: f3f936337a787dbc01b175350a41841d353a3c46f349df27c849581dbcde3214 + flattened_ast: 40ffb16b4d72c71e5c7d7da4867eb9f6c3dc5638a7da6a6cab176f39cefe1fec + destructured_ast: 56142624f80df00ce3335b264b08799f5509a45678953c97ed86098bb6b2cfe0 + inlined_ast: 56142624f80df00ce3335b264b08799f5509a45678953c97ed86098bb6b2cfe0 + dce_ast: 56142624f80df00ce3335b264b08799f5509a45678953c97ed86098bb6b2cfe0 bytecode: a4ebf23c558ad51c1a52d068bb7ac0b76d19edf6545cb32d068ab3206f87bef4 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index fa239329a8..bb23afbed2 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3ec067709878fb30d7e169abaeb61d1a1ec619fe53a2cfdf19022525ce45d336 initial_ast: d6ecafd8d86e1a5b381bc86a82309f79411e7f06b2c1c79d6a51eb103a6095ce unrolled_ast: d6ecafd8d86e1a5b381bc86a82309f79411e7f06b2c1c79d6a51eb103a6095ce - ssa_ast: 8c7c9474171e8bfe64ab0ec075f4ff53a064dcd6e372287844305d228e3f9879 - flattened_ast: b0f4ea42416d72f85e780f0bb308ce2b78c7c244fb5b68ad6aae184821235ba6 - inlined_ast: b0f4ea42416d72f85e780f0bb308ce2b78c7c244fb5b68ad6aae184821235ba6 - dce_ast: b0f4ea42416d72f85e780f0bb308ce2b78c7c244fb5b68ad6aae184821235ba6 + ssa_ast: 6237f1d998fa4da4ac1f97b3a27ed8f1a618c100d14abcc458f4ff89715468f6 + flattened_ast: ee6fe9cc61ad01985a61b150bedb229cb037dbfc97dbd2b58b4ab58880a7273c + destructured_ast: eff2d20b5615ebff748b379de48109a495fc12012a1151185b354110001d6ca0 + inlined_ast: eff2d20b5615ebff748b379de48109a495fc12012a1151185b354110001d6ca0 + dce_ast: eff2d20b5615ebff748b379de48109a495fc12012a1151185b354110001d6ca0 bytecode: d93c33f2a15e75c32e9a604904fecc39f063d4a2a3463240b68a401105a55053 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index f8e44da54e..889a2a7835 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b5d8369df9289c8a99ad158abe7023bdc30d39456d378d9894c25ed944dc8baf initial_ast: 81718c89550a2cc22e9847a51dfa31bab560047fbc928ff1fc2f1622431e6e31 unrolled_ast: 81718c89550a2cc22e9847a51dfa31bab560047fbc928ff1fc2f1622431e6e31 - ssa_ast: 15987b53d69bcb02b25e97b7a834e568a51be37b7fd6787ee82ffb852a8f576d - flattened_ast: 1629ab5ffb9e1ab33b0b83dfb96311b7e999f2fb872240dbeb055ae319f67308 - inlined_ast: 1629ab5ffb9e1ab33b0b83dfb96311b7e999f2fb872240dbeb055ae319f67308 - dce_ast: 3aec41500426e87d57216be819a24154ea773d2d674733aee38064c2e7bd2ab4 + ssa_ast: 8e65d9ed1cd8ac9b27ad5939457216aa0d17ed3d065358536f37b7d2c15016be + flattened_ast: 8d1493dcb55684fc55175cc5051cc7b06e1f4c33b8778b7756ad52d84da85da9 + destructured_ast: d09d042d9d81eb153f6d5cb8b7104b823a408c048a478770d1d991c0c0563390 + inlined_ast: d09d042d9d81eb153f6d5cb8b7104b823a408c048a478770d1d991c0c0563390 + dce_ast: 298ddbe520367e324f61171225b31e20b10171eb3f04d70e8903183400c90220 bytecode: faddd6204de19b830842ea34e1f218276b8e8914ecd7fdbfd4143b0f08d305c1 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index 61d52605e7..fa9fe41237 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: 2b19386c7830492a5a8168a7e9ae3f9e6ff80d82d025d7e52f7ecf3793ff3328 unrolled_ast: 2b19386c7830492a5a8168a7e9ae3f9e6ff80d82d025d7e52f7ecf3793ff3328 - ssa_ast: 2bc932418aab23cc77e012bb8c3c473aba8f21852b30485523c3f8990df0b466 - flattened_ast: 81b8c837ecda3aff929e66d3725f37adaed88acd240b9a901df3e50e73891093 - inlined_ast: 81b8c837ecda3aff929e66d3725f37adaed88acd240b9a901df3e50e73891093 - dce_ast: 81b8c837ecda3aff929e66d3725f37adaed88acd240b9a901df3e50e73891093 + ssa_ast: 394e2db723f2649bb21baf0e165ed78c37a2074e41cbfdc3c550fcd182ed4d92 + flattened_ast: 5565a7a3cce207cc399e2ac014d5985e4111b0328b901d160d7e6b90744cfbb3 + destructured_ast: b99a075b10d9de9d11c23bbdf443fdbf08f24ee99f252794206ece1c6215ffc0 + inlined_ast: b99a075b10d9de9d11c23bbdf443fdbf08f24ee99f252794206ece1c6215ffc0 + dce_ast: b99a075b10d9de9d11c23bbdf443fdbf08f24ee99f252794206ece1c6215ffc0 bytecode: 4ea2659376ff2503f5dbf9e6bda9c9f13fb84dec3182bb626646806f874e00eb warnings: "" diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index ac4431cdcc..58bc441cf1 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: 13442c69315367e02556aee7a7029519195a86b030d19fd6f47006b9d93994ed unrolled_ast: 13442c69315367e02556aee7a7029519195a86b030d19fd6f47006b9d93994ed - ssa_ast: c969ecabfd66377971f52d0b3c86d6bf884444564468a98e973403e132cf4c11 - flattened_ast: 794d0297ebf2c69db5881e471cbe237097b14ef0cb7f2e09a851c73ff8831611 - inlined_ast: 794d0297ebf2c69db5881e471cbe237097b14ef0cb7f2e09a851c73ff8831611 - dce_ast: 794d0297ebf2c69db5881e471cbe237097b14ef0cb7f2e09a851c73ff8831611 + ssa_ast: 015a04c449b90164128401d604f35ad4ca1ccea70cccf555065450187bab3de5 + flattened_ast: 893a6e8c94d60d94706287b88d16fb34254a47341c314e5ba1e5a220313ed08a + destructured_ast: 81d3075b1e8689e93ebea86caea232b009bf44a4499265455ea0a3e7b57549f5 + inlined_ast: 81d3075b1e8689e93ebea86caea232b009bf44a4499265455ea0a3e7b57549f5 + dce_ast: 81d3075b1e8689e93ebea86caea232b009bf44a4499265455ea0a3e7b57549f5 bytecode: edd5ec13303284be804f592351207aa0ac4c7c6e0c0b7f9a6377f8b75e0d377e warnings: "" diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index 29fe20c4c0..2362ee2c7d 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: 0b7be843ddcac5210b24aa3ce36a716b4177adf7cc15caacf0aef65e9e3e0f86 unrolled_ast: 0b7be843ddcac5210b24aa3ce36a716b4177adf7cc15caacf0aef65e9e3e0f86 - ssa_ast: 64b9e41dc9354fbc343c86a99aeca8c2d701f3947f53e5703bc1065bcac080ac - flattened_ast: 03f8686266984e5c67ddb029bea5e7bf02acaa4a8fa526dccf048514749c6880 - inlined_ast: 03f8686266984e5c67ddb029bea5e7bf02acaa4a8fa526dccf048514749c6880 - dce_ast: 03f8686266984e5c67ddb029bea5e7bf02acaa4a8fa526dccf048514749c6880 + ssa_ast: 03c3d21a9fa13008cf1c7438f9bb1ba7b2ae13c786b30a32e21315d4ad9ce00a + flattened_ast: a66b759550f77238b420e2fbbc270e26dd364eb29f3c17c5e0383cb711b841b2 + destructured_ast: f8f94aaec07bcef6c754c0e55a32a7a52c8ec130cf24dcab91b49c47e559611d + inlined_ast: f8f94aaec07bcef6c754c0e55a32a7a52c8ec130cf24dcab91b49c47e559611d + dce_ast: f8f94aaec07bcef6c754c0e55a32a7a52c8ec130cf24dcab91b49c47e559611d bytecode: 34eda0edb2d4048d2b3e2ea19e929f063903b4ca94d90f8a0e1525a0bb2d0134 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index 15358ac18c..b234e69a70 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: fc3ee65765b1fdb66070c3d33c39ed9f671a0e0ecdc506815d3d373f47e6b67c unrolled_ast: fc3ee65765b1fdb66070c3d33c39ed9f671a0e0ecdc506815d3d373f47e6b67c - ssa_ast: cb1072b873af57ec8d21b96b2155940c529dd4b938d8d7e22ab882b3553ce83d - flattened_ast: 0d3f67fb86a9b70640aacfb376521bac9d417a188ecba1516f04d4b6e9d2cf6e - inlined_ast: 0d3f67fb86a9b70640aacfb376521bac9d417a188ecba1516f04d4b6e9d2cf6e - dce_ast: 0d3f67fb86a9b70640aacfb376521bac9d417a188ecba1516f04d4b6e9d2cf6e + ssa_ast: b5a80fd72ced9ff0e076b6a951e8de000b23bf151c347868bb36df572123f9e5 + flattened_ast: ad72d5b41631b05ea111c2bd96054bbf913ddb1df4f4e80420ea9ab4030bedc8 + destructured_ast: 114f519e1e3299ea8ac2e45e226832a3c7522ad55dc73f1a85e662fd1d27c008 + inlined_ast: 114f519e1e3299ea8ac2e45e226832a3c7522ad55dc73f1a85e662fd1d27c008 + dce_ast: 114f519e1e3299ea8ac2e45e226832a3c7522ad55dc73f1a85e662fd1d27c008 bytecode: 307c17323af8fd5de808a828e634ce97419a0ba67815102016fab6c883b7e052 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index cefa2e81e3..2d0645e12e 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: f92de2ea7508753e27e4dc4ca06bda8d7061bd91d91a2f135e0ef4af88b3c137 unrolled_ast: f92de2ea7508753e27e4dc4ca06bda8d7061bd91d91a2f135e0ef4af88b3c137 - ssa_ast: 281647bbe548b1ebce01c1b994e003fb11e7167683515fcb9a4dea91fc784d22 - flattened_ast: 35ed7e307234f1d8da24b3ca89169db6f8d63b265a082700a0d47439a207bfd7 - inlined_ast: 35ed7e307234f1d8da24b3ca89169db6f8d63b265a082700a0d47439a207bfd7 - dce_ast: 35ed7e307234f1d8da24b3ca89169db6f8d63b265a082700a0d47439a207bfd7 + ssa_ast: 3062b8983fa4700e586b730aa83715efc4e3846e8180a8cd2cc4af40987899a4 + flattened_ast: a0eb2887a4f1c30b36f977eadff4efc24df65283ee21233ac6fb9a4a1c3ee935 + destructured_ast: 164ad8e3e215419e20ea27511af110c59f33877520ae3db8be839416d39a3c1b + inlined_ast: 164ad8e3e215419e20ea27511af110c59f33877520ae3db8be839416d39a3c1b + dce_ast: 164ad8e3e215419e20ea27511af110c59f33877520ae3db8be839416d39a3c1b bytecode: e0110365aec2e78cbf8f7accb85b8c7e36d2c606cdd6a4cafd02a2b4dc7dfe38 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index e2abe81d9a..24204324ac 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 98dd2e035dc42b61c4335a9878652b9cd28c496f7fe71d824e3c9211f9796688 initial_ast: f162236d2f01559203bed702d3f4fcc3e0331cf5c29aa30ea0eb9c84bfdbd7b7 unrolled_ast: f162236d2f01559203bed702d3f4fcc3e0331cf5c29aa30ea0eb9c84bfdbd7b7 - ssa_ast: 80483bd2c3bf78f84b54ac83449f48467b7997bd716c36034b13cc851450d1cb - flattened_ast: c8cf641e7f2c5eb140e6f6b81697803f72b40c078852f1d4c8c781ae57280630 - inlined_ast: c8cf641e7f2c5eb140e6f6b81697803f72b40c078852f1d4c8c781ae57280630 - dce_ast: c8cf641e7f2c5eb140e6f6b81697803f72b40c078852f1d4c8c781ae57280630 + ssa_ast: b70e8b0478c946f07c390c08a360ff463fb97db4b5895827836493ecbb57e725 + flattened_ast: 3dcf479edfda0e72789ce47e53ce932a54efd50a0a7a846f9db716c1031b6762 + destructured_ast: 25c043bb82b879fea58bb57110dcca26a2b89981797f8c3019f18077ba2a34b1 + inlined_ast: 25c043bb82b879fea58bb57110dcca26a2b89981797f8c3019f18077ba2a34b1 + dce_ast: 25c043bb82b879fea58bb57110dcca26a2b89981797f8c3019f18077ba2a34b1 bytecode: 6638d0f711e011432b8371bf648e0903f22612d062139a650ebe4d75783a8393 warnings: "" diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index 4e8ec69695..c9368e4469 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 278913c828d09c3c4aeefb30326aa341df97652d17bc9b3e23415a95bec54fef initial_ast: ab03000d2c9a080953c307803dd6d434031e84f978253356b7a2da5d39600046 unrolled_ast: ab03000d2c9a080953c307803dd6d434031e84f978253356b7a2da5d39600046 - ssa_ast: a7155a4b57a5d83ab4b2c5a8f72823b58d0d0de4f99aaef22e1e8232d5783bfc - flattened_ast: 8b93542fd0ea666d3d34c08b312f5395ba8c3e39b6a141a363276047dec85e1f - inlined_ast: 8b93542fd0ea666d3d34c08b312f5395ba8c3e39b6a141a363276047dec85e1f - dce_ast: 8b93542fd0ea666d3d34c08b312f5395ba8c3e39b6a141a363276047dec85e1f + ssa_ast: 6fc395163c9820e89618109e340bb3f7527b12fa5c7f56054d5813a21f015d57 + flattened_ast: b751f32f23a9283df38643d1d1523dd49a258c35c27498af73a034111a04c173 + destructured_ast: 3665425082d20bd87df002f847bd610a396c5f898541e411db711a2395601676 + inlined_ast: 3665425082d20bd87df002f847bd610a396c5f898541e411db711a2395601676 + dce_ast: 3665425082d20bd87df002f847bd610a396c5f898541e411db711a2395601676 bytecode: 61eac30d1e0b3a4fa0357855b11e228b012203b9cd2f814c0faa660a2be5996d warnings: "" diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index 738db55041..5513308ea7 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a9b53dd2a48bfe18a193d3328aa1d40931a02e46d69be847195766e2e1103093 initial_ast: f888c319c6c2c20655a4c69f152143d611ed4a7140e66e9de739d99e6a1cf558 unrolled_ast: f888c319c6c2c20655a4c69f152143d611ed4a7140e66e9de739d99e6a1cf558 - ssa_ast: 9aec89f7127ca5be764c9925210071726d278689b2afb17aea9603ef114b837b - flattened_ast: 63d92001e7cc78a8510c818a8ea4be0876464f0adc315a68536601f95b420f65 - inlined_ast: 63d92001e7cc78a8510c818a8ea4be0876464f0adc315a68536601f95b420f65 - dce_ast: 63d92001e7cc78a8510c818a8ea4be0876464f0adc315a68536601f95b420f65 + ssa_ast: ff7cd304d84533c75dfea856759360a4321e392b73369ef8a7fc90adedd9f743 + flattened_ast: ae4ced75e5fd86c6dd5e73cf4c4d971e82c918c08cccffeb00a37abe4432413d + destructured_ast: ce840dbde1170fa32d7db9f7949c79a1487515f412afceaffdaed584b7e6132a + inlined_ast: ce840dbde1170fa32d7db9f7949c79a1487515f412afceaffdaed584b7e6132a + dce_ast: ce840dbde1170fa32d7db9f7949c79a1487515f412afceaffdaed584b7e6132a bytecode: 219e0ef5cb7c0ac1ecb9541920637d11e5f48c5e52adab2060e6ed389647eee4 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index 5a1c746f23..d07683ba50 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 5e209593c168e8a1237e6b2be7ff06e1e6f070f9e01d6b49dc60cbbe9b61893a unrolled_ast: 5e209593c168e8a1237e6b2be7ff06e1e6f070f9e01d6b49dc60cbbe9b61893a - ssa_ast: afa322ab4cb17b18eafb2d9a4575fcd14fb20862e0e3beeea58a911ff9511deb - flattened_ast: 98546579bec8399ea3e14a262a983088daffe17f895b198268f4fb1d79915e51 - inlined_ast: 98546579bec8399ea3e14a262a983088daffe17f895b198268f4fb1d79915e51 - dce_ast: 98546579bec8399ea3e14a262a983088daffe17f895b198268f4fb1d79915e51 + ssa_ast: 4f95769b7fea82807b841304fd95f16b8bd59dd0851cc29716f951da4340d3f6 + flattened_ast: 2f1f3244a14d5cfed43e3112f8ea4f1ab408e4fa501262d81a27200b534014a8 + destructured_ast: c4d84170223a0c925bda1ecabc21caf870e44d8fa91764ed9cf92ab13782cdc9 + inlined_ast: c4d84170223a0c925bda1ecabc21caf870e44d8fa91764ed9cf92ab13782cdc9 + dce_ast: c4d84170223a0c925bda1ecabc21caf870e44d8fa91764ed9cf92ab13782cdc9 bytecode: 2d327c3f6b7f23cc5f8e292ef00cf94df2fa9afad2bc8fe26ca28dc6f338d2cc warnings: "" diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index 6f2036c292..3089835312 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 8f41c7a4c347adf184830a15f36ac63ebb915d0528897cc783b517db06ebb7f1 unrolled_ast: 8f41c7a4c347adf184830a15f36ac63ebb915d0528897cc783b517db06ebb7f1 - ssa_ast: 257062c7d713943550588f65d05a1476d6f169410c295a61c569a4b3b4162abd - flattened_ast: 6581eea46b759fd63ec25217d7d20b849c88f7fae13abab0c32dba1307bc1ed1 - inlined_ast: 6581eea46b759fd63ec25217d7d20b849c88f7fae13abab0c32dba1307bc1ed1 - dce_ast: 6581eea46b759fd63ec25217d7d20b849c88f7fae13abab0c32dba1307bc1ed1 + ssa_ast: 1d88fb94e7d5f49bff041ce01d44da796c87a6a5176fd7e698b7e5dcea0624fc + flattened_ast: b3fea3bd4a8da30dfff6fe641e2318cc6816c53f719ec95d49ebd17a5bb412c8 + destructured_ast: b36ae701c9c8dbfe1d997c27e7b211561fed400afad9a8a2b77b88fe23fdb27d + inlined_ast: b36ae701c9c8dbfe1d997c27e7b211561fed400afad9a8a2b77b88fe23fdb27d + dce_ast: b36ae701c9c8dbfe1d997c27e7b211561fed400afad9a8a2b77b88fe23fdb27d bytecode: 5400590002c3acc5121a18ff585e8ca17b695e7486ea09a61cb2520dfd09f413 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index 175d50ad6b..6f89a3a081 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 956ca452b64c997ab87fbe02ae099fad572d1d9e16f0fddf3e9d1c220d1bd505 initial_ast: 5a8d26e0401f5d4838aca0096d93bdf3edfc08275b6708ca2dbeb54dc12e52c4 unrolled_ast: 5a8d26e0401f5d4838aca0096d93bdf3edfc08275b6708ca2dbeb54dc12e52c4 - ssa_ast: 0fa072336fc2178184462831f82ce3ae83f3ba771b59ef2101bfdd2c269b4e52 - flattened_ast: db76a2f00638dfec2e9a3ca1a3e16b469f2c941d1be21b7defc994fccd64685c - inlined_ast: db76a2f00638dfec2e9a3ca1a3e16b469f2c941d1be21b7defc994fccd64685c - dce_ast: db76a2f00638dfec2e9a3ca1a3e16b469f2c941d1be21b7defc994fccd64685c + ssa_ast: a9dbc43c1ed889952a7fa3237b189cbfb1b9322644071cb8a01689bb8f673dba + flattened_ast: 6ce0eee8c84f55b678c2b4d4729cb61b0080200f83eaf3bff4d3d0f108c1b96c + destructured_ast: 7a532ce7c0047e0534df75a4bc899770c1b16196d5280bd235352d6ea107bee4 + inlined_ast: 7a532ce7c0047e0534df75a4bc899770c1b16196d5280bd235352d6ea107bee4 + dce_ast: 7a532ce7c0047e0534df75a4bc899770c1b16196d5280bd235352d6ea107bee4 bytecode: 0d83f401cd41e95e3c0df3dc876c4f162207f2073c8e550beca92e21ef07a3b9 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 3da76320a1..a748c3d690 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: f66514c64aec3d4c43029e5c0c0f0b15bd8fd23e6f866f06eadaef7fa56d543b unrolled_ast: f66514c64aec3d4c43029e5c0c0f0b15bd8fd23e6f866f06eadaef7fa56d543b - ssa_ast: a253c2228fe3119abb136066a38d598c81927ebdccb3709dc4b659214639e133 - flattened_ast: b6940aab30dc9e70745dbca4b75be2386b44317191349083cc54e1a6e3c397e3 - inlined_ast: b6940aab30dc9e70745dbca4b75be2386b44317191349083cc54e1a6e3c397e3 - dce_ast: b6940aab30dc9e70745dbca4b75be2386b44317191349083cc54e1a6e3c397e3 + ssa_ast: 72e7827cfc054b8720e6fa2e52b3b4c0263a1ac149ad6f4642951fc97a12c985 + flattened_ast: 35edc184810208c654eee278a47918296fffb4485e55602e218d315a84f6c3d3 + destructured_ast: b7bbf23c76ad0c3a6c9f1a831d98245343a62b4e444020bbefef5d6a4ea671f1 + inlined_ast: b7bbf23c76ad0c3a6c9f1a831d98245343a62b4e444020bbefef5d6a4ea671f1 + dce_ast: b7bbf23c76ad0c3a6c9f1a831d98245343a62b4e444020bbefef5d6a4ea671f1 bytecode: 1ca018f3c002538884233e7f1e7dee0584a346f54675e78fb69af2c90d7d32e8 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index 74bf595832..bf12fd20a6 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: fbdc1fb41f691769987fb1d985ae0dde57a2509c3c4ea3e67845357bbb7e2a9e unrolled_ast: fbdc1fb41f691769987fb1d985ae0dde57a2509c3c4ea3e67845357bbb7e2a9e - ssa_ast: 8148ee8fa6d5da708da1e58a378896d1372f2272fedf1aab3e6af5e82142d2d9 - flattened_ast: 07e2ca2c713ee6f68219bde9dcb12599b1e615de7b80a01f23dc30a333e6783e - inlined_ast: 07e2ca2c713ee6f68219bde9dcb12599b1e615de7b80a01f23dc30a333e6783e - dce_ast: 07e2ca2c713ee6f68219bde9dcb12599b1e615de7b80a01f23dc30a333e6783e + ssa_ast: a77280ce7fb7b26fb73bf0ea7c29c5af5f9fb644b70f6cd11e2272cf4ffe4d15 + flattened_ast: 9e0c9056942bfbbbd7d079637e6e0adb1f051453dc06b7bc74f80e8a0a0a70a1 + destructured_ast: f295ab24bdb0f012ebcab859460a1e2e27ba5cb3a31ce277fb256136ecb286e7 + inlined_ast: f295ab24bdb0f012ebcab859460a1e2e27ba5cb3a31ce277fb256136ecb286e7 + dce_ast: f295ab24bdb0f012ebcab859460a1e2e27ba5cb3a31ce277fb256136ecb286e7 bytecode: 38011d05593d9cf5baa1fca933e8155d3154ad934a4b0ae9d67111b324875f86 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index 99f0c8b980..798ca1513e 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: e895b5e84804faba46bddf9e1cf35ca4a1e1ff26b897221b3efe39b121341492 unrolled_ast: e895b5e84804faba46bddf9e1cf35ca4a1e1ff26b897221b3efe39b121341492 - ssa_ast: b9ac5f48c882114384489f758e63ff52e31e593095aa5cb3452a76ad07c69ce3 - flattened_ast: 77c3fe2705562f3f70976f2c74171034cf778ded808501173463902ab941867d - inlined_ast: 77c3fe2705562f3f70976f2c74171034cf778ded808501173463902ab941867d - dce_ast: 77c3fe2705562f3f70976f2c74171034cf778ded808501173463902ab941867d + ssa_ast: be18f6077c42ea3e8d965953e3bf7f8e43b34856de80cdabd49476c13bcd4440 + flattened_ast: 107600fcc350f6db38bba1e4cf7082cdb40188ae65c2ce0b3a8654eff99712b2 + destructured_ast: cd57ee47cdae56eec155ce255ec1ecd1159c88d96d3893e9a1fbf8b9b1b90920 + inlined_ast: cd57ee47cdae56eec155ce255ec1ecd1159c88d96d3893e9a1fbf8b9b1b90920 + dce_ast: cd57ee47cdae56eec155ce255ec1ecd1159c88d96d3893e9a1fbf8b9b1b90920 bytecode: 92057edeaefa3fca292e9539868a1d2004a4ff6161d837428e1acff9ae8e0298 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index 7f48aa3365..67e8140817 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: a1ac6bbff0bfffa64e820c8fc7329b255a57a0da76eaa4370c115ed4cecc3a1f unrolled_ast: a1ac6bbff0bfffa64e820c8fc7329b255a57a0da76eaa4370c115ed4cecc3a1f - ssa_ast: bc616b309d54a1d8916df2aca94aba9d291b71c91cf96972d2f5fcadfa07ff03 - flattened_ast: 3be027960d7e65b18f39f2350d51b3fdfd4b59664fc783915334d48a408ead64 - inlined_ast: 3be027960d7e65b18f39f2350d51b3fdfd4b59664fc783915334d48a408ead64 - dce_ast: 3be027960d7e65b18f39f2350d51b3fdfd4b59664fc783915334d48a408ead64 + ssa_ast: 2c13d7f3a5be7fdee1fc3e3f67034271b7afb32911fdb7a9b734c67dfd5c3242 + flattened_ast: 7219cb7ceb5b2d063ed2448bf6c512833028783de87970bdb856302ac36d38b1 + destructured_ast: 5fd5ede4ae369835cc0b16d28106225398a8a3fad58af06c7a59af295f5f14f0 + inlined_ast: 5fd5ede4ae369835cc0b16d28106225398a8a3fad58af06c7a59af295f5f14f0 + dce_ast: 5fd5ede4ae369835cc0b16d28106225398a8a3fad58af06c7a59af295f5f14f0 bytecode: 14a4cbf43177cac769cf5e4befa2689f01a6755871f5fd288664ffff22e498c5 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index a917f16c50..26e11b7174 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: d1b1a109c26bcc0eedac482a0efbad4bb4417499aa6d49b32adf49345b84317e unrolled_ast: d1b1a109c26bcc0eedac482a0efbad4bb4417499aa6d49b32adf49345b84317e - ssa_ast: 4577ec525efdf021a5dfa9e27782a838442472672f013131d26aba0e5ecf455b - flattened_ast: a6f67965d73468e5d3728aa718fe65bce2c6cc1bd70860f049f39bc40ee4b2c4 - inlined_ast: a6f67965d73468e5d3728aa718fe65bce2c6cc1bd70860f049f39bc40ee4b2c4 - dce_ast: a6f67965d73468e5d3728aa718fe65bce2c6cc1bd70860f049f39bc40ee4b2c4 + ssa_ast: 33386a0ba38d0233086ffa3757563e82792962b807cc4239440ee684dda32a96 + flattened_ast: 04a018acb0a34b62dc8c23dd64de4ad3feaa70a1a9665eda5922232e68831c02 + destructured_ast: 4be511d46efab27af6cc83d35caa03cc1be5d9f0a59e387362ed9856d2932807 + inlined_ast: 4be511d46efab27af6cc83d35caa03cc1be5d9f0a59e387362ed9856d2932807 + dce_ast: 4be511d46efab27af6cc83d35caa03cc1be5d9f0a59e387362ed9856d2932807 bytecode: 6a2f064cee58782422db7fc88c4395f7e18281c9bf22e8b7546a054712482d8e warnings: "" diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 8f00a40288..2c89c06942 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: 505e9a47d0b564e17c524e9b9a3458894a9dc588e0dc71c3a04898ce32800acc unrolled_ast: 505e9a47d0b564e17c524e9b9a3458894a9dc588e0dc71c3a04898ce32800acc - ssa_ast: f0140f1e1264547c613e7893153986bba20fa09e71829f8281977e64be7b35a5 - flattened_ast: 06cd2089701584d23f1abb578e2f2e8b26607c8bbdd04b92c1b324614183cb22 - inlined_ast: 06cd2089701584d23f1abb578e2f2e8b26607c8bbdd04b92c1b324614183cb22 - dce_ast: 06cd2089701584d23f1abb578e2f2e8b26607c8bbdd04b92c1b324614183cb22 + ssa_ast: ee4518aa371d9c788e012118816c2db1b433ba2aa7c3dbc76b716f6180408d59 + flattened_ast: 92f0abbf29e865280ab933b0929c4db7de0b4321f1527904cd92263073f4bc27 + destructured_ast: 8636207d32bdfa78911bee5654b7775d9d2db81f35fdd56276f0588b5dfb2505 + inlined_ast: 8636207d32bdfa78911bee5654b7775d9d2db81f35fdd56276f0588b5dfb2505 + dce_ast: 8636207d32bdfa78911bee5654b7775d9d2db81f35fdd56276f0588b5dfb2505 bytecode: 459e412ddd219e315cc1ef6bf05f9b2490bae8dc003dcefc25f5976b8ff053f4 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index 57304eb4ec..6d84e760d1 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 386abbb1621e8c84121c43407cfc9bef60bf893c1868979c5ac23bc4aa78b578 initial_ast: 0ee0cc268a21dd1854e1bd20d8624a7dc6695dcce3b9b3445b40bf5ca375e628 unrolled_ast: 0ee0cc268a21dd1854e1bd20d8624a7dc6695dcce3b9b3445b40bf5ca375e628 - ssa_ast: 19501a466fab707d6c6bb919c88c9a6538d2839fa0a57d7433bfedb0afc0bf5b - flattened_ast: 9c8c478cfbb930dbfc865ee85bd36e71d4a30c8bc9647662e2f2fc4a111515e7 - inlined_ast: 9c8c478cfbb930dbfc865ee85bd36e71d4a30c8bc9647662e2f2fc4a111515e7 - dce_ast: 17dcb26f60ee9c515f0ccd8b59683e63e8d21f54f703afdeae624175ba19f308 + ssa_ast: b65acce1ef4ab9f77946c87c0210ed0cfc04b1410c515d542df5c87c00c3d1c7 + flattened_ast: 46bf55dc74c448c9966df7a3f5f4ed3513d80a3b34e6ea89313f88626628d39f + destructured_ast: 508aa59bb276e7c37dd7dd5f749ac4783e07f6410b2e6e896ef4dcf7193f3218 + inlined_ast: 508aa59bb276e7c37dd7dd5f749ac4783e07f6410b2e6e896ef4dcf7193f3218 + dce_ast: 09ed01942bc5e8a3858862e291fe5cd67d8bc5cc1b1e6a950732c5b391d76d33 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index ba4f235ece..83094c9f9f 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 386abbb1621e8c84121c43407cfc9bef60bf893c1868979c5ac23bc4aa78b578 initial_ast: c07dccd484663fb043f08ff44e71d1e85ebe2544562a79487eb577317d11bba5 unrolled_ast: c07dccd484663fb043f08ff44e71d1e85ebe2544562a79487eb577317d11bba5 - ssa_ast: 89a519ed19abb47571f8ebb50d32d1775af9fdc2aa1f32bb09f75de17b27bb9c - flattened_ast: 02bec5a3edb73e48a849863935bb879af5dcf4a107abb6c58bf68caff737f397 - inlined_ast: 02bec5a3edb73e48a849863935bb879af5dcf4a107abb6c58bf68caff737f397 - dce_ast: 68ad4f1a3a8654d41f05283dda962907863c4d76a8b92fea7abd375ae6630d95 + ssa_ast: 98c6f93d4c452eba1a29c6929ffad1fb5450984e2dc886a8b9a8e99e29fcc410 + flattened_ast: 9e7ec455d4acd0dede13f39f9138480d6b2c095bb7a5713d35281666ed372498 + destructured_ast: 951aed5b2cedd5e25dca2be0c868cd49572f4f66e98967f045b3d2b31b1be8ec + inlined_ast: 951aed5b2cedd5e25dca2be0c868cd49572f4f66e98967f045b3d2b31b1be8ec + dce_ast: 6926649e80b78cf2562f85eb3ef415cfdc0dbc63fb047e971d25d082a6e9ebb1 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index e58cf2965a..fb13f64857 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 7fbfc3c57f778f4a8ab14dc9334331ec9503bb04b6c467d09575f06b97bae934 unrolled_ast: 7fbfc3c57f778f4a8ab14dc9334331ec9503bb04b6c467d09575f06b97bae934 - ssa_ast: a96b1c66abd85a9c81050cf72aff3deaa6f82cf4a3cb514ee0abb51c0e9a28b5 - flattened_ast: 9ded83f61697247e1b5f163294a87625ff5087a3a237723b47d579498406b5f5 - inlined_ast: 9ded83f61697247e1b5f163294a87625ff5087a3a237723b47d579498406b5f5 - dce_ast: 9ded83f61697247e1b5f163294a87625ff5087a3a237723b47d579498406b5f5 + ssa_ast: 0c3785c946f064dac7c2a1d47d1399e2dd1e15b78456c00a620ee9c0878e3120 + flattened_ast: 5890a14ebdb0d4a6eed79f5609eaf98750b2c0efe8959eca039333b03425470e + destructured_ast: 674fc50fa4914e377d75ffe2ff30b80f8396c3d22287d42944ac2d5778d67e51 + inlined_ast: 674fc50fa4914e377d75ffe2ff30b80f8396c3d22287d42944ac2d5778d67e51 + dce_ast: 674fc50fa4914e377d75ffe2ff30b80f8396c3d22287d42944ac2d5778d67e51 bytecode: 67857a350a412ed022768ab4aaa6387e63e548b7dc0b552dcb061b719abc90bb warnings: "" diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index b34716357c..6f3a73f023 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c55fc2bf3d7f8fb94fdaf0e0ef6a172bcdfda87aa22f14c0951226c0b428b853 initial_ast: 12796debca55c3e9af60e63ba71bc03b0ab40c84ed62fead28b5b94076eaa15c unrolled_ast: 12796debca55c3e9af60e63ba71bc03b0ab40c84ed62fead28b5b94076eaa15c - ssa_ast: a87306601ccb415485a1137ef6f11e07bd95e64bde0955ebf8a95116ae8f7449 - flattened_ast: eb30ac383cc60a4b1d4f9fa4cac7a2305c9071b79c19721d1f691ae1bee87c60 - inlined_ast: eb30ac383cc60a4b1d4f9fa4cac7a2305c9071b79c19721d1f691ae1bee87c60 - dce_ast: eb30ac383cc60a4b1d4f9fa4cac7a2305c9071b79c19721d1f691ae1bee87c60 + ssa_ast: b9a3ca5134bf4d62d1285f1b73b60a1ef52010a5f9d6480d2e57299ccaa2a178 + flattened_ast: 31fe94d4617b064656e2ce71b93acb390ac18088d57224922a66c2ac3358cc2e + destructured_ast: c57aed5b6ea79b0c56fb62b3775b8cfdbc08a630ee424cc949371c37c8ecbd58 + inlined_ast: c57aed5b6ea79b0c56fb62b3775b8cfdbc08a630ee424cc949371c37c8ecbd58 + dce_ast: c57aed5b6ea79b0c56fb62b3775b8cfdbc08a630ee424cc949371c37c8ecbd58 bytecode: 63457f4ddad404af243d9707a6e9e6f6f878cb639895a110bca73b804395bd14 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index ac67d68b32..6d51913d0c 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7ae4a0f605551abe17f5b851ab45f977de434818378e0e36f3b58c74c93b8ec1 initial_ast: d0067c53c1eae1b7dd3614ef5cf397925633cf9305540b238e397712ed7225e4 unrolled_ast: d0067c53c1eae1b7dd3614ef5cf397925633cf9305540b238e397712ed7225e4 - ssa_ast: ac8b4dbffd5021513d6b2766ea2b89cedcb446ebfe5a31437e39dc76f5753cb4 - flattened_ast: 90942f4f971b7d024ae16a3fc66f627645b16c2bae0bcec8375d563957d1bd27 - inlined_ast: 90942f4f971b7d024ae16a3fc66f627645b16c2bae0bcec8375d563957d1bd27 - dce_ast: 8fe518613c5ac7da29f347539352d32a995c3c923fad8b5c0aebeb91935dd314 + ssa_ast: dced446b2647669d351016c86eab74d900615f94f95d43f244dd446d0d0c1c91 + flattened_ast: 31def6b2a3c0bb5f7aced922291206bfb2d65a8b6f45214089ae3937757b900f + destructured_ast: a7851a153a94afe8aa8859673cf1daa6bb2d68ddff52fec62fbb785a7f275638 + inlined_ast: a7851a153a94afe8aa8859673cf1daa6bb2d68ddff52fec62fbb785a7f275638 + dce_ast: b2a61b34252e170ccf4fc9cf57b170bdb981465082636716acf58271756a4ece bytecode: a669206687d494820bada50c8468f052183b69cd778ff0ce870a370ac8ea7bf4 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 5e9d2fb00f..abbfbc4c29 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: fd92f723fcc504326ca4d2663a4b2959a021c4ed9d2ae2152ca65feb4899ff49 unrolled_ast: fd92f723fcc504326ca4d2663a4b2959a021c4ed9d2ae2152ca65feb4899ff49 - ssa_ast: fb0e35c8e0f31e510a9358cc7278e6ae7cc92e2c964b6ccc2e8bbac86265c048 - flattened_ast: d01613892fd18f37737d55661e44adc2ee96b6492ef2e2ebef20023295dc4da8 - inlined_ast: d01613892fd18f37737d55661e44adc2ee96b6492ef2e2ebef20023295dc4da8 - dce_ast: d01613892fd18f37737d55661e44adc2ee96b6492ef2e2ebef20023295dc4da8 + ssa_ast: 83b7d8eeb876943e07528a84ed7bd381043db7598ee4caf0e8d08a1fcbbb7f03 + flattened_ast: 8d450c9279b296febbd01560b790448154e38850511830be8da507c5bf953481 + destructured_ast: eaa1482d45398145839ff208b3ecdfd3cddf3683026720e16c65aa64b7e4f043 + inlined_ast: eaa1482d45398145839ff208b3ecdfd3cddf3683026720e16c65aa64b7e4f043 + dce_ast: eaa1482d45398145839ff208b3ecdfd3cddf3683026720e16c65aa64b7e4f043 bytecode: 004cb45ea888f207ca8e42a4f7acf3687aa3294a975462c89541c2d0f53dcdf3 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index c31942f663..dd46cdb75e 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 5a1aec2ca9bff3d45309f987df10656d93f953be70241de5dc4e899b1b85fba3 unrolled_ast: 5a1aec2ca9bff3d45309f987df10656d93f953be70241de5dc4e899b1b85fba3 - ssa_ast: 2c52f7713e262dcd5769275be94016b29869369192aef60ab9f98ec4e926775f - flattened_ast: 74de869dca6fd73eaa1a5b25be93a90df352dea3be69ca86e54a6845b6f8f8ac - inlined_ast: 74de869dca6fd73eaa1a5b25be93a90df352dea3be69ca86e54a6845b6f8f8ac - dce_ast: 74de869dca6fd73eaa1a5b25be93a90df352dea3be69ca86e54a6845b6f8f8ac + ssa_ast: 7117b2441409e1f996c89fb5f4e1838b67e467e7718c865ff406b1f48217c0cd + flattened_ast: 44a802916f9639415b489bbaec167f136cc0c3b3ef88f4a215e6c0633c4efc31 + destructured_ast: 4f497e438998cfd8d33550239e08f1f69d94d2839d420d608ac10f5c5d2cd16b + inlined_ast: 4f497e438998cfd8d33550239e08f1f69d94d2839d420d608ac10f5c5d2cd16b + dce_ast: 4f497e438998cfd8d33550239e08f1f69d94d2839d420d608ac10f5c5d2cd16b bytecode: f88e8b16ebc2a407989f9f316ad6a9edfec6f134c7a0d9b25cea571df8161900 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 587c5b1bad..91061f19c4 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: fd071a2cdcd12a3ccd2bc93c6e00337ea23a00726e51132d6a773b1397134740 unrolled_ast: fd071a2cdcd12a3ccd2bc93c6e00337ea23a00726e51132d6a773b1397134740 - ssa_ast: b4cc0cd0d60c779be19e717f9b44ef2a8013fcaaa523e386f90da4ee01bf4093 - flattened_ast: 6056df925359316fd65511cd185624ecdac658fefe9b0d585026decd4f3af88c - inlined_ast: 6056df925359316fd65511cd185624ecdac658fefe9b0d585026decd4f3af88c - dce_ast: 6056df925359316fd65511cd185624ecdac658fefe9b0d585026decd4f3af88c + ssa_ast: 18790376b4c4aa42ad18f5efaafb80f855133b7236be12c07a58c28ee32b834f + flattened_ast: 894652429dc8d3fd7fe363f765315a7c54efbadf646f39bf68230121512d796e + destructured_ast: f2bfcf295653bcd97542464a7a9fbfd6137636b6d64cd4f9c7ee2744b7cd2dbc + inlined_ast: f2bfcf295653bcd97542464a7a9fbfd6137636b6d64cd4f9c7ee2744b7cd2dbc + dce_ast: f2bfcf295653bcd97542464a7a9fbfd6137636b6d64cd4f9c7ee2744b7cd2dbc bytecode: 77cd05d1f311504fae6e47a74e98a964f1dd411e6fd447b33b57a2d475bb5aed warnings: "" diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 726caa4345..0d5bd7b603 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: f885d689f3cb5e5b1b4dc9d3a1f24e136b508f68d698bfe0f1f26870591f598a unrolled_ast: f885d689f3cb5e5b1b4dc9d3a1f24e136b508f68d698bfe0f1f26870591f598a - ssa_ast: 50ec19c4ce7013bd2a006f85972ec7a8cba86519bf7df3b5417fad3ba61070bc - flattened_ast: e8fe147cd4fdc9d6fd373c13e69b939280a896d9c4fdc3db24ee2e3dceeafbf2 - inlined_ast: e8fe147cd4fdc9d6fd373c13e69b939280a896d9c4fdc3db24ee2e3dceeafbf2 - dce_ast: e8fe147cd4fdc9d6fd373c13e69b939280a896d9c4fdc3db24ee2e3dceeafbf2 + ssa_ast: 6fc195858ffce32bc6c2c4043edaf181fbcb8385f9f921472a4e7098b5c59691 + flattened_ast: 60e756a1d7a99cae73f9888e071dd2ddd7e4fe8f1442e8748fb47c702232028b + destructured_ast: 5147e8e69ac7a81762313e1b1a90361d15801ddc221d8ddb9b628cafc8c2939d + inlined_ast: 5147e8e69ac7a81762313e1b1a90361d15801ddc221d8ddb9b628cafc8c2939d + dce_ast: 5147e8e69ac7a81762313e1b1a90361d15801ddc221d8ddb9b628cafc8c2939d bytecode: f9f90b58b9fc961c6ee4909ef338c77962403add4feee851959038263971eba9 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index 99632fce95..88ee4cefe1 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 3f4806a9374743db7a2f5cecf1d48e598a15519a4275f869fe9639817c8936d1 unrolled_ast: 3f4806a9374743db7a2f5cecf1d48e598a15519a4275f869fe9639817c8936d1 - ssa_ast: 9f95ad729cb2646640bc0e250ed25036bc07f0212a9e3703f56a1d5ff019ac5e - flattened_ast: 6d02ce3aee788f7856cba48973a7f696f1421d479bbf7a872cd857f6a2234d2a - inlined_ast: 6d02ce3aee788f7856cba48973a7f696f1421d479bbf7a872cd857f6a2234d2a - dce_ast: 6d02ce3aee788f7856cba48973a7f696f1421d479bbf7a872cd857f6a2234d2a + ssa_ast: 687c090bd5f09448db4b3cf30943a65a0f92239c1f14f8859d9fdeef035a3c8e + flattened_ast: c545dd9604e49abed268b40750fed71cf8e54c7f7f9b4b91c6dc0d31d7d50aa1 + destructured_ast: 9db4c317973052f50cf077c6c863ce1051b75a8929971ba63f6a4219963553c9 + inlined_ast: 9db4c317973052f50cf077c6c863ce1051b75a8929971ba63f6a4219963553c9 + dce_ast: 9db4c317973052f50cf077c6c863ce1051b75a8929971ba63f6a4219963553c9 bytecode: c3f89cd7a94e013dfafa5e7deaa5bf758e78a9bee96b9324d8b2314d67ea6a27 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index d79db76b48..39dd5e43a8 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d84154eca10ddf524e43527f64fbf07e05feb02b142c9f1f36b42667a2ad7b84 initial_ast: 9c09c5a12561981c71a47cbb32e62bef33f8d8a5a9f9ecbb3ffce3244790166f unrolled_ast: 9c09c5a12561981c71a47cbb32e62bef33f8d8a5a9f9ecbb3ffce3244790166f - ssa_ast: 606f9e9570a9f7bd451a46261bca1c3001940ccf277c881ccdbb9273ec17ed89 - flattened_ast: cbfd3def2a42f44d710ec0deeffa1f7e5cd9f0326ac7c9474298c09c04ae72d9 - inlined_ast: cbfd3def2a42f44d710ec0deeffa1f7e5cd9f0326ac7c9474298c09c04ae72d9 - dce_ast: cbfd3def2a42f44d710ec0deeffa1f7e5cd9f0326ac7c9474298c09c04ae72d9 + ssa_ast: 2ee995605ed8712713ec0a054db102cc0dfa99a6a9131459fd34aadee4afcc96 + flattened_ast: 2f07005634fd2c4fe8cd4dd65bdf8b08463fd3a8d56b8051174e3baf94d8b0d6 + destructured_ast: e5fb4e2dd0e668e7dc49f91cd83f985234ebb353b9e681f612203b3376a7862a + inlined_ast: e5fb4e2dd0e668e7dc49f91cd83f985234ebb353b9e681f612203b3376a7862a + dce_ast: e5fb4e2dd0e668e7dc49f91cd83f985234ebb353b9e681f612203b3376a7862a bytecode: 92ed5e41e02f9f2ee5862aad62d54a2a0f2e1a2fc2edde87f1c6ee1fa84de67c warnings: "" diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index d7fa726415..9a7a4da58a 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f39d2584b1bc7f136e900227c8bcb8ae60874168ac96bd6220a35a110a97884b initial_ast: 2d4272bce09d7910145681953aa3b02491b600dca82d2aa8191cea4f46b0956e unrolled_ast: 2d4272bce09d7910145681953aa3b02491b600dca82d2aa8191cea4f46b0956e - ssa_ast: 8482316c42610d19a936e4ab1e1b3111601f8e1de9806d1308596918c2bf2f18 - flattened_ast: fb560c2ee5f697b6c2796b1db77fb3aa1777e09b42dedea7c4af43eeb3ac4c9f - inlined_ast: fb560c2ee5f697b6c2796b1db77fb3aa1777e09b42dedea7c4af43eeb3ac4c9f - dce_ast: fb560c2ee5f697b6c2796b1db77fb3aa1777e09b42dedea7c4af43eeb3ac4c9f + ssa_ast: ec63caac4d26b6970669d82c8263eaf625edf706e6dbc0464bb033e1cf351462 + flattened_ast: 183cf25749109b3e4b80a9fe9995d2c7c0916b8f80f40ddf81b2c7e02d7dc853 + destructured_ast: 84d6f14b9371470b418618bbd3dbfdd8c0481a6ca8380db7d9cbcab53529add3 + inlined_ast: 84d6f14b9371470b418618bbd3dbfdd8c0481a6ca8380db7d9cbcab53529add3 + dce_ast: 84d6f14b9371470b418618bbd3dbfdd8c0481a6ca8380db7d9cbcab53529add3 bytecode: d360bfc2331d64cee6cebe783b9ac261efe5c6e8aaa334be38a9c56ab40261b2 warnings: "" diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index e2de3e3cfc..38b33dd3f0 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: bb3cb1e54aead826b8d837ded436e621b4ade0d3baa10473ded6f4a1145d48c9 initial_ast: fefa2df843424c1ac80ca8eba5f9fd3e2a14fdfb4a60089569f2e89595c9d881 unrolled_ast: fefa2df843424c1ac80ca8eba5f9fd3e2a14fdfb4a60089569f2e89595c9d881 - ssa_ast: 317020817992dffe521aac2243810325c802a7ac3ea871f70fe0746c29188e0a - flattened_ast: 971c7e1f3a20723140c5ccef189019b3f25cbe3e15722d17e55002555563918f - inlined_ast: 971c7e1f3a20723140c5ccef189019b3f25cbe3e15722d17e55002555563918f - dce_ast: 971c7e1f3a20723140c5ccef189019b3f25cbe3e15722d17e55002555563918f + ssa_ast: 6f8cc74de90f2d7e8bf48c7f86e7a0fe07fb82d6f742918038b9a0dd8c9e0cfb + flattened_ast: c8177d58427efdb78c88cdc36ee990d3f2ec93cdf81651adfad782fa061c5c92 + destructured_ast: e61c521c4299e3d2687aa6317418e259c95e218e412529bc4d6c1123dfa03717 + inlined_ast: e61c521c4299e3d2687aa6317418e259c95e218e412529bc4d6c1123dfa03717 + dce_ast: e61c521c4299e3d2687aa6317418e259c95e218e412529bc4d6c1123dfa03717 bytecode: 63a04f95623ff9dfbe22b389e7b7b6127999e1340aa1ed3e2eb59228d92d9aab warnings: "" diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index ba9575abf7..c9900e52c3 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: e404c5edeb14da4db0f38a8e4dc200d262a9bddf0887ec3ab96fb0d8ec8211c0 unrolled_ast: e404c5edeb14da4db0f38a8e4dc200d262a9bddf0887ec3ab96fb0d8ec8211c0 - ssa_ast: bc5bd2b18c3a4a9e7229750168c9b29a2563d6e238818b4666f1b3c3174e62ca - flattened_ast: fa2bfa0bd43498a08673f03851c5b6fa599a4c51486ee7384ddad260ffb89e86 - inlined_ast: fa2bfa0bd43498a08673f03851c5b6fa599a4c51486ee7384ddad260ffb89e86 - dce_ast: fa2bfa0bd43498a08673f03851c5b6fa599a4c51486ee7384ddad260ffb89e86 + ssa_ast: 8f1bb6b618f077430c9382f3ad8b6730820cf28f6801e03a2b985e42b481043b + flattened_ast: 0c1012b76bd70dd799a160cefc8ee3aa00505865be673b494d2a05576dd75ad6 + destructured_ast: 2e5876230a9780c8de3f08146e553cc153b399b5954990d5a22a2000b0baadfc + inlined_ast: 2e5876230a9780c8de3f08146e553cc153b399b5954990d5a22a2000b0baadfc + dce_ast: 2e5876230a9780c8de3f08146e553cc153b399b5954990d5a22a2000b0baadfc bytecode: 2252ca765c9f4d167815c556dedf80fd261ecb82c22da486f1c019b62ca9b59c warnings: "" diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index ec899db197..0a5eeae22f 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 1a9494d53c31045452c050d0512164b408d50434174e98702f25f85c2e2af820 unrolled_ast: 1a9494d53c31045452c050d0512164b408d50434174e98702f25f85c2e2af820 - ssa_ast: 058fbedf3d6be35c96e4ef15ec343aef5ab4afc284b97c12f0696c41cb1acf02 - flattened_ast: 4ecceccf658abb3fa1f0c0266a4783ebb48ec9a826ef2b39ed8e102772273e55 - inlined_ast: 4ecceccf658abb3fa1f0c0266a4783ebb48ec9a826ef2b39ed8e102772273e55 - dce_ast: 4ecceccf658abb3fa1f0c0266a4783ebb48ec9a826ef2b39ed8e102772273e55 + ssa_ast: eb1929af3e59bca59256b1803c4bd9e0b19156fabaaf45be4b1257e4d96eaceb + flattened_ast: ca3a1a539f32e456fe1a0c32962f288ef6588c6277c8bd143d8e3a0b2155a712 + destructured_ast: 28da6f0d5d19cf6f82ef0705d9fa08ea64e637aaf9ad436ba27ff024123bc732 + inlined_ast: 28da6f0d5d19cf6f82ef0705d9fa08ea64e637aaf9ad436ba27ff024123bc732 + dce_ast: 28da6f0d5d19cf6f82ef0705d9fa08ea64e637aaf9ad436ba27ff024123bc732 bytecode: 6160eab9fab5c6648122e91366d143924e69bdc272bc606f68be14f22f88cd1a warnings: "" diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index 610b44cafd..575fb2d56b 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 46596328050cfeaa9611fe0b1546d2c9abdb8a675c2e052eaa92ede1f81998c3 initial_ast: e45c175ee876f797e822d53fd0edf31163f49b35d77c39933faa13302303cace unrolled_ast: e45c175ee876f797e822d53fd0edf31163f49b35d77c39933faa13302303cace - ssa_ast: 7562fa78b89c0e9e2b78a406ca66ca1592d2a4dd5a5821d3fc57ea3857b59a9b - flattened_ast: 1b6bf8ebb7c4eb4d03abd84a82497fc3d5f126bf1a5c3ddaf43b779b3c5df0ea - inlined_ast: 1b6bf8ebb7c4eb4d03abd84a82497fc3d5f126bf1a5c3ddaf43b779b3c5df0ea - dce_ast: 1b6bf8ebb7c4eb4d03abd84a82497fc3d5f126bf1a5c3ddaf43b779b3c5df0ea + ssa_ast: bcab76bdfd6b6cfa8a97eaf01dde79a7066ee141a556636f2172a9217e3ef9cb + flattened_ast: 54f09de862524a9853eb02bafab631409ee2dd7e6febdbd2b5c144591aee7231 + destructured_ast: fce125456fbcf35955aad1d65aa6a7ed3e025b1da88044b0e1ee4a057416f7dc + inlined_ast: fce125456fbcf35955aad1d65aa6a7ed3e025b1da88044b0e1ee4a057416f7dc + dce_ast: fce125456fbcf35955aad1d65aa6a7ed3e025b1da88044b0e1ee4a057416f7dc bytecode: 986d6843806fcd3a479d777dcc4373b94817a5d3b9fb4cc1a6c3da752a69c925 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index f7eabad0c2..1697327e76 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 6b41e77e500f73c239a50fe448f1d639e8e4b24ce5edca97d04e661df2fbeeae unrolled_ast: 6b41e77e500f73c239a50fe448f1d639e8e4b24ce5edca97d04e661df2fbeeae - ssa_ast: 26ec16cf413842a7799e68ebc18f3547bfc4694bb5ced3d943dc59b9299c3b17 - flattened_ast: 221791c77e4d728d8879d4c9d2eb9d0e236ab85c6eab11ad92ffe4110789d659 - inlined_ast: 221791c77e4d728d8879d4c9d2eb9d0e236ab85c6eab11ad92ffe4110789d659 - dce_ast: 221791c77e4d728d8879d4c9d2eb9d0e236ab85c6eab11ad92ffe4110789d659 + ssa_ast: 4a6dcc29f958a9850c55ca2fd83626b8f8c76eaa53b6cdc89ba33de2978a00f7 + flattened_ast: d1caa31a75927aae6e1408d55c0c75f04c3879938b89302df7d1f9cf2558bbe0 + destructured_ast: 603b172e2c75e4992ef607d83752675b413645b4e863cc62d2c4aaf1764f79a3 + inlined_ast: 603b172e2c75e4992ef607d83752675b413645b4e863cc62d2c4aaf1764f79a3 + dce_ast: 603b172e2c75e4992ef607d83752675b413645b4e863cc62d2c4aaf1764f79a3 bytecode: 99ba89ed030480c15697c6ba3b9dce82fa489d24dbba6d2edbc4934fc8baeb6c warnings: "" diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index fcffc03405..4a1c1d1a2f 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: 0385a1f3156f03e7edb891b635139d6242c982eeeb2c2c8543238aee7a5224ff unrolled_ast: 0385a1f3156f03e7edb891b635139d6242c982eeeb2c2c8543238aee7a5224ff - ssa_ast: a7a2419f5f1463098e9b2c2f1187288f819f97b5e7608e430a4521c3e0e50a74 - flattened_ast: af239703b0c54e5e9e600a7f95c7b825153c0218841bbc5dd00b66d5f2f3cb3b - inlined_ast: af239703b0c54e5e9e600a7f95c7b825153c0218841bbc5dd00b66d5f2f3cb3b - dce_ast: af239703b0c54e5e9e600a7f95c7b825153c0218841bbc5dd00b66d5f2f3cb3b + ssa_ast: f535c885fa833649c198f4d4c1e7d2d4f4330a11c19a502d4b2ff9e88f300360 + flattened_ast: b5b7bbefdbc5c1ecca6758f402cc97697152e0bc010299c1901aa8b96676f669 + destructured_ast: e7085aa2b613e753ac811d38103c40cf586f9b4ad3cae3d1f3840e5990a957db + inlined_ast: e7085aa2b613e753ac811d38103c40cf586f9b4ad3cae3d1f3840e5990a957db + dce_ast: e7085aa2b613e753ac811d38103c40cf586f9b4ad3cae3d1f3840e5990a957db bytecode: f125a6c62a71bd66b09211e1febbdfaa6491b9255270bbe3ac27ef505f4c46e0 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index b45dde61bc..73311b0da4 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: d96db486b5d33d5f7460adb1bee73b194056320a0d84ffd9b2d78a86b460a773 unrolled_ast: d96db486b5d33d5f7460adb1bee73b194056320a0d84ffd9b2d78a86b460a773 - ssa_ast: f00fc443bf56375716268e03240fac0fde0cd4859e5c62b449b79769bee61a52 - flattened_ast: 027c8fa68fbd26a95d600de6052995954efd79ff33cc6b3ff702770ecdc0792d - inlined_ast: 027c8fa68fbd26a95d600de6052995954efd79ff33cc6b3ff702770ecdc0792d - dce_ast: 027c8fa68fbd26a95d600de6052995954efd79ff33cc6b3ff702770ecdc0792d + ssa_ast: 0655f06d85b6996e06f128df15efd26124a1b1c853171b1908ad24d48a236cdc + flattened_ast: e72caf3c9820b4290b92e07e9572d6650b1eb3cea5568704a473b968847a8c07 + destructured_ast: bd3a7a54d186571c47be43eaa7eb250fb20ab9e6f813b94c655384f806cca112 + inlined_ast: bd3a7a54d186571c47be43eaa7eb250fb20ab9e6f813b94c655384f806cca112 + dce_ast: bd3a7a54d186571c47be43eaa7eb250fb20ab9e6f813b94c655384f806cca112 bytecode: ee2f4384477fac864957953a97c53275060e4c4ba793a180d6007af25b50b8df warnings: "" diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index daae678b86..7de94ae28d 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: d3960166cfdc48c8fec3e8071280ed6b9720f0213a25347d518cca142575891a unrolled_ast: d3960166cfdc48c8fec3e8071280ed6b9720f0213a25347d518cca142575891a - ssa_ast: dc980dc05656dec0bcb6a652ef7a49961e5aabed613ee16aa65e311084350817 - flattened_ast: f4508d89441f11e0656f7abc59438680919e177467361385c9f9596d198bdcdb - inlined_ast: f4508d89441f11e0656f7abc59438680919e177467361385c9f9596d198bdcdb - dce_ast: f4508d89441f11e0656f7abc59438680919e177467361385c9f9596d198bdcdb + ssa_ast: 6222faeadbf4d3603023d8327958aafc6183100ee7560f6113445a8c6e081a98 + flattened_ast: 71c4f5a6a4e220a91262fc4c4e5fa5d4e9a9d91c593addca0200021e12fe8884 + destructured_ast: 05b196a20e9a5ade31a93d0608cd9943a9ea83bb780f3b637cf323e1548754c3 + inlined_ast: 05b196a20e9a5ade31a93d0608cd9943a9ea83bb780f3b637cf323e1548754c3 + dce_ast: 05b196a20e9a5ade31a93d0608cd9943a9ea83bb780f3b637cf323e1548754c3 bytecode: f7ff09e980c11a6a98c8178e5cecbe8cbf83e40f25f5feec526358c95262fe96 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index cdafada6ae..1d4e66480b 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: d581935e5d2d7db6bc801217c799296eceb0cdffada1a32c279f58ce33b2ea6c unrolled_ast: d581935e5d2d7db6bc801217c799296eceb0cdffada1a32c279f58ce33b2ea6c - ssa_ast: e5a2a2e0aac309ab202685cb0d02d052811d72ca624df71159df0f69de3dec4b - flattened_ast: 5728ade297dcbb218f5aed35381986c444368a8fc5fd643f5ba7b5894ad1f7dd - inlined_ast: 5728ade297dcbb218f5aed35381986c444368a8fc5fd643f5ba7b5894ad1f7dd - dce_ast: 5728ade297dcbb218f5aed35381986c444368a8fc5fd643f5ba7b5894ad1f7dd + ssa_ast: 20fba7615d4e9acfbe50e0d6c4ab56c61f68ef863c3ed24c21b1e11ab6cb5d12 + flattened_ast: 8eee225eec70fcc401237f9a9f58da61a1a8975db8b3ea8b37e60e08455e3aa5 + destructured_ast: 98f58f8442e10ea228d41cb72bea793c49fe8604d222bf08da8c679f1e190b4a + inlined_ast: 98f58f8442e10ea228d41cb72bea793c49fe8604d222bf08da8c679f1e190b4a + dce_ast: 98f58f8442e10ea228d41cb72bea793c49fe8604d222bf08da8c679f1e190b4a bytecode: 1a4dc861ca94e33a883b8326dcf9a21345fdd65b1d00dcaab408cbe8bf2e7c23 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index 52f02f9f83..29d211cbb3 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: 0d71cf267a032aa4e55203051e6e695ed2554e0104cd27f0e8c09574d35d1b74 unrolled_ast: 0d71cf267a032aa4e55203051e6e695ed2554e0104cd27f0e8c09574d35d1b74 - ssa_ast: df360007ea33a524a4131f2c6224bf1820cb6534f5ab7cea73a7fef0d1129997 - flattened_ast: feba521f4c07321bebd99632c01df32d639373aea02baa624cb00521ff6337da - inlined_ast: feba521f4c07321bebd99632c01df32d639373aea02baa624cb00521ff6337da - dce_ast: feba521f4c07321bebd99632c01df32d639373aea02baa624cb00521ff6337da + ssa_ast: 9bc9566d00ef38566386ff46ce40cb06fa86d4c5f0405ff2983598dc4b77f7ee + flattened_ast: 2e29ab373754d625aa3b48c3aa81ea4aa281f8f8b87120261116d483aa104645 + destructured_ast: 3a47d6c5e41730e633261980e839399a100cfc69270a793970d9acbfad0a7b7a + inlined_ast: 3a47d6c5e41730e633261980e839399a100cfc69270a793970d9acbfad0a7b7a + dce_ast: 3a47d6c5e41730e633261980e839399a100cfc69270a793970d9acbfad0a7b7a bytecode: 3b2dd5b9dfa587ed0f67449bbc6a9a0b90edb7c9ffbee5e36f1c40512e09bb1d warnings: "" diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index cd1ae803c2..a96f6df8cf 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84a2645e93c38f97987564c33252945f4417afb7fccf25566791af33036d8ab7 initial_ast: e94f959efbde0bd8be8b7bb21ee88e5156edd2e3bacbcdc2f001027fcd3eaa06 unrolled_ast: e94f959efbde0bd8be8b7bb21ee88e5156edd2e3bacbcdc2f001027fcd3eaa06 - ssa_ast: 2c9f5c311aafc9ad33c9c67c9a49d7c36f1240dc619b78d1a1e7d6787ae63dbb - flattened_ast: 3da88b9bcd901897ad83c5549be48e41d1902f2c420a8b8fa1d9232e2b638351 - inlined_ast: 3da88b9bcd901897ad83c5549be48e41d1902f2c420a8b8fa1d9232e2b638351 - dce_ast: 11b945704c774d313d01236e8b5c2796ab7ed02cce0de44e317723b8720c9ad9 + ssa_ast: 642878e15516e6f5d60fee322c34558beecb1c44d1a4adec3198030851eeb5fa + flattened_ast: fa42ebae769f91415b275f49912a9de2aa1c328aec214798204ab5258c7cf04f + destructured_ast: 3c8e6664fb8c504ec54d13a21cdc10b36763c4141d2290a5550517a80824b805 + inlined_ast: 3c8e6664fb8c504ec54d13a21cdc10b36763c4141d2290a5550517a80824b805 + dce_ast: d74af38ec7fe4df3fe00581711c4be224630374a7e8509c89da471d8786ceb36 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index 537f064291..183bb9753b 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 84a2645e93c38f97987564c33252945f4417afb7fccf25566791af33036d8ab7 initial_ast: 07dfbf1465668e212134a96fc84d3eca5d3e307a2ecc6d74491dae0ae8d6230d unrolled_ast: 07dfbf1465668e212134a96fc84d3eca5d3e307a2ecc6d74491dae0ae8d6230d - ssa_ast: c2cd758d2cc339ab0f36fb8e2649efc84bd7bdc8e17724843b8a1fc5d06dcd6a - flattened_ast: 3fdc1a8aa6c1284066f5fa3ef6037fa6b51a46ca5ab64534c852f130edbcfd88 - inlined_ast: 3fdc1a8aa6c1284066f5fa3ef6037fa6b51a46ca5ab64534c852f130edbcfd88 - dce_ast: 5895ba81da1828c55973e3659deb04d118d76cea303139c7182979daca8dd87b + ssa_ast: 67722018464e940c7b8e465dc7ad7e9fec5e9508ee64225d65e815329aa8d06c + flattened_ast: bb023f69f96790afacc57bedacc90c143324eb0ff8341c1588652b9ac34a38cb + destructured_ast: 49e4b50b06901bc2c361a99061f8e2c5f6532a3c1091bece98dd1557375e06b7 + inlined_ast: 49e4b50b06901bc2c361a99061f8e2c5f6532a3c1091bece98dd1557375e06b7 + dce_ast: 2b0dbe16546b8ccb0755b4ad3bfcd4d6b9070459b0d5b67678ccf0324b355759 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 70960fe967..7340efd5ff 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 1a4cb7a18ab1250b56f8816d887d5ccbfb721fa43a0c63e80419f4b3cfcd1db0 unrolled_ast: 1a4cb7a18ab1250b56f8816d887d5ccbfb721fa43a0c63e80419f4b3cfcd1db0 - ssa_ast: ebb74ad83268f8504cf0b0e219bb9658bb8a6668a0c13de02cc98d44bba4581d - flattened_ast: e1d895840684427cd180fbd972235548323926d7d109cf787e71551b5eb4b46e - inlined_ast: e1d895840684427cd180fbd972235548323926d7d109cf787e71551b5eb4b46e - dce_ast: e1d895840684427cd180fbd972235548323926d7d109cf787e71551b5eb4b46e + ssa_ast: c6c2a85f7fab7af65a64891796c58f7351bcce6639cfe7452e9a936227c3eacc + flattened_ast: 7621d11d31c501912c4a93fc1c49ea0e46eef14467428053e5caf254b827365a + destructured_ast: e44c936e523ec551e6c94383b43f3d4f328e3d4cbfdf4131f53247331d999921 + inlined_ast: e44c936e523ec551e6c94383b43f3d4f328e3d4cbfdf4131f53247331d999921 + dce_ast: e44c936e523ec551e6c94383b43f3d4f328e3d4cbfdf4131f53247331d999921 bytecode: 5495593b6e8c8b396503f1f61e5f3b620d1ccc173721316cfb1f30b268486ed5 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index ebd8750607..8733be36c1 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e6229c54e1fd7e7544aad40d5d1fb5c726eb41c816af2f688a3e6eca4cc0952a initial_ast: 72f3eace7b480cf693960137efdd614e39f09569e5b85829151b9a41eac3f436 unrolled_ast: 72f3eace7b480cf693960137efdd614e39f09569e5b85829151b9a41eac3f436 - ssa_ast: 38efbb580170bc82ae7f192b5b080c73c810d122db2dd35562197976b782a048 - flattened_ast: b25d3f710ff63781c429b1aeb1c36b36c9426dfe841de40813345260c16b6dd4 - inlined_ast: b25d3f710ff63781c429b1aeb1c36b36c9426dfe841de40813345260c16b6dd4 - dce_ast: b25d3f710ff63781c429b1aeb1c36b36c9426dfe841de40813345260c16b6dd4 + ssa_ast: b5e8d7284cf4ebada151688c667e2058eb4575cbacefec6332b26109573d707e + flattened_ast: 8f5e80bfc8c543722419d3bcebb96803100c9bd57daff10760b1c7e4419a7edb + destructured_ast: e072761f483750cf3f59086d65cda6c5c11052fb24b1ddeb711f1424c78c3af2 + inlined_ast: e072761f483750cf3f59086d65cda6c5c11052fb24b1ddeb711f1424c78c3af2 + dce_ast: e072761f483750cf3f59086d65cda6c5c11052fb24b1ddeb711f1424c78c3af2 bytecode: 02468182490bfd77f1aae9ed8c5a4b1cd2a3373c2bdc998f6567f5c900fefe33 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index 179506ca17..c013b94af7 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a53cdad8402ae7ee3f500db43e7d0301d0733e9b925e9031b35d95d4d6c6e771 initial_ast: 7168a4815e70555e26ea34027f3127158a93bc4f42260c5b138fc6284272b07a unrolled_ast: 7168a4815e70555e26ea34027f3127158a93bc4f42260c5b138fc6284272b07a - ssa_ast: 7906d03f30161bc9235954fc036a956ff99d10c8d87ab07c5e178a740d2822a6 - flattened_ast: e63d333b77ab5783d522699d7864f442cce1b918ba930064acd9cd14c833bfaa - inlined_ast: e63d333b77ab5783d522699d7864f442cce1b918ba930064acd9cd14c833bfaa - dce_ast: 70886601ddef0b231a39cef55149a6afe97e433173fd5c835f2492d2cb97c770 + ssa_ast: c6e5927a353a7e654f37804b273f4ccf058b19112ce838308f97b222a8f5d63a + flattened_ast: 8fba4aa21c306d66cdfb4cfc621ae1d54c551c8cbf676320af8e355977308556 + destructured_ast: 7e4a94161667c0612f70493c9c31f6cc5c17bbf452a75c1a1f3fe22c05c4ef5e + inlined_ast: 7e4a94161667c0612f70493c9c31f6cc5c17bbf452a75c1a1f3fe22c05c4ef5e + dce_ast: 8ce83d8c924646db1e93679894ac25ebe84aeecefc46f1a8f74acb033a2198d6 bytecode: 842bf9cb4647adc6c67cecc1c36ec85f5a659d9245571869e10e93bb303ff343 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 32d148514c..6738b93412 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 75c1fa2138c42d5ea85383020934c33807ea03fcacc22818281a174dd92cb220 unrolled_ast: 75c1fa2138c42d5ea85383020934c33807ea03fcacc22818281a174dd92cb220 - ssa_ast: 3a915fd3c4d721c7742c34d599b6467adf419a0bc955fbd45d8125b72ad0ab1e - flattened_ast: a82f1a30c802a109c0fe9c453f1a87ce12d6ef6f5c99fca19b65c9d7d960f654 - inlined_ast: a82f1a30c802a109c0fe9c453f1a87ce12d6ef6f5c99fca19b65c9d7d960f654 - dce_ast: a82f1a30c802a109c0fe9c453f1a87ce12d6ef6f5c99fca19b65c9d7d960f654 + ssa_ast: 6889718cb3f502ed69a9c6ad9ef8030773f468d60d3bdd87a84a9ae21530bc2d + flattened_ast: e4fb7f67fe4f45c3ab11acb3b530db900b83746e0cbb4259cd9614b3ecebfd60 + destructured_ast: 9f2924c4e072ea535d8a6f3a645c429bc5443e513860a224267549ed99fba444 + inlined_ast: 9f2924c4e072ea535d8a6f3a645c429bc5443e513860a224267549ed99fba444 + dce_ast: 9f2924c4e072ea535d8a6f3a645c429bc5443e513860a224267549ed99fba444 bytecode: 50061292bb5678c2bbb3062570d3f8d5233316e274c6504aa6b012816e2f511e warnings: "" diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index 7f8bed70bf..092c789cad 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: a9eb2023f61859b1ee6d33cc0765ff24ee7fd879eff588a9dc1af51b42b78a03 unrolled_ast: a9eb2023f61859b1ee6d33cc0765ff24ee7fd879eff588a9dc1af51b42b78a03 - ssa_ast: c6add288f71ab4227783909ed72b0d49cde95d9aa82976007b28723d07ac07ac - flattened_ast: 8d5cf523122c804a77025a2d36f2a03e3314e1a84f6b79fdde3d1ce703ac1fc3 - inlined_ast: 8d5cf523122c804a77025a2d36f2a03e3314e1a84f6b79fdde3d1ce703ac1fc3 - dce_ast: 8d5cf523122c804a77025a2d36f2a03e3314e1a84f6b79fdde3d1ce703ac1fc3 + ssa_ast: 55fb8e35cb5d8bf7e39c81cabc2ee52539db8c89245e0f4f2a630f35b66e5ec2 + flattened_ast: 21aa230a6012c58277025920f3589a4cecff3d177092b7db2772d6c7c9c73570 + destructured_ast: 45fb96b609aa6bf86ec7c8608f14dc3e46e47fdd1a5c478d4df3ca2a48ce039a + inlined_ast: 45fb96b609aa6bf86ec7c8608f14dc3e46e47fdd1a5c478d4df3ca2a48ce039a + dce_ast: 45fb96b609aa6bf86ec7c8608f14dc3e46e47fdd1a5c478d4df3ca2a48ce039a bytecode: 57544c7875d33d64e359c3e64ab2115a3d431c3ecba318223e0237fbbbdfcde0 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 962b18c57e..3bdadaf959 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 6e8ed1ce1b833ee7325d7d7fef2c33a9653e389c639ed020e13d95b394a34450 unrolled_ast: 6e8ed1ce1b833ee7325d7d7fef2c33a9653e389c639ed020e13d95b394a34450 - ssa_ast: 1ef93bad2a2fcac3f556e33e09feb7cd83c67def3570b41b9a425d505fef5b9a - flattened_ast: b2e8ee83d76d3d7cf2ddfe80121fb2dd2e829ca483ae51492c37868fcdfdf96b - inlined_ast: b2e8ee83d76d3d7cf2ddfe80121fb2dd2e829ca483ae51492c37868fcdfdf96b - dce_ast: b2e8ee83d76d3d7cf2ddfe80121fb2dd2e829ca483ae51492c37868fcdfdf96b + ssa_ast: 09bcaf5a570a8f29b4ceaacf1cee5c76f30a311c0320accad87783e200406aa8 + flattened_ast: 83baa5e738cd8b567ef74de9f19198143eab5fdf0c3f12bbe32dabb62fede5c4 + destructured_ast: c2ba6bf2d640857fac73c967778955aa3199ce78c5adc77ba463d89fb2967c7b + inlined_ast: c2ba6bf2d640857fac73c967778955aa3199ce78c5adc77ba463d89fb2967c7b + dce_ast: c2ba6bf2d640857fac73c967778955aa3199ce78c5adc77ba463d89fb2967c7b bytecode: 312a00be59034a01944b77f36b32275e4d54b11d5b098a7e19c7bb4906e6ca6f warnings: "" diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 5d2b870eba..28d108a303 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 38d8dfd4309b96210922d82d2db29e5c1f30ea6575786b8fa299902f2bf616f4 unrolled_ast: 38d8dfd4309b96210922d82d2db29e5c1f30ea6575786b8fa299902f2bf616f4 - ssa_ast: 3a8a81c61f3920692e4f3d02bb3eae8a50b645200d389752c942d3dd3c8c1aa7 - flattened_ast: 7729d98f34e7a0f37f434e1b983b72ee1dc7e81777f8345d9e1398a701b8855d - inlined_ast: 7729d98f34e7a0f37f434e1b983b72ee1dc7e81777f8345d9e1398a701b8855d - dce_ast: 7729d98f34e7a0f37f434e1b983b72ee1dc7e81777f8345d9e1398a701b8855d + ssa_ast: ea773b7202042925850b5a252660b515150d827fa98be6ff026a84f1cc43825b + flattened_ast: 5984b9678a21616691bbfd2d83111e31a5618b7a63eaf5e81b1c55842dfb1032 + destructured_ast: 115e9a3857ecd3f8d0dafac7579dd3c2a8b48974125ffa7c19378da8822a6a8a + inlined_ast: 115e9a3857ecd3f8d0dafac7579dd3c2a8b48974125ffa7c19378da8822a6a8a + dce_ast: 115e9a3857ecd3f8d0dafac7579dd3c2a8b48974125ffa7c19378da8822a6a8a bytecode: 5ebe5527cde826ed570752b1e9ffd16a4805c5071c3adbd4099ebad9174d5f11 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index 6fe16ca3fa..b7be8f5ce7 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: 6d6261722c39ebdc1ee5735d3ec24517baf82256340bb1f6911efbbb1e4220e8 unrolled_ast: 6d6261722c39ebdc1ee5735d3ec24517baf82256340bb1f6911efbbb1e4220e8 - ssa_ast: baa6db4eb9fac3538323b20faca9a1e8e61a7cb88e89210e8375aad4b1984750 - flattened_ast: ff935067909928767c32d7fb74a267f13cfc6f6eead4e9dea3ffbb0a4ed65030 - inlined_ast: ff935067909928767c32d7fb74a267f13cfc6f6eead4e9dea3ffbb0a4ed65030 - dce_ast: ff935067909928767c32d7fb74a267f13cfc6f6eead4e9dea3ffbb0a4ed65030 + ssa_ast: ad0bfc510dd5708e2ae46af373753a6289161dff9631d5454dd492fa3ee3cb2d + flattened_ast: 357a4cb8c17ae4666a7ca5944c00c069ee8f813b968a571e5003c1f4e0b5067b + destructured_ast: d51e7ccdaeff662580a686966e095e91e5137bf3293a0605e96624d8b4da0d2d + inlined_ast: d51e7ccdaeff662580a686966e095e91e5137bf3293a0605e96624d8b4da0d2d + dce_ast: d51e7ccdaeff662580a686966e095e91e5137bf3293a0605e96624d8b4da0d2d bytecode: 27908eccc0ae25f792ff3b23f7b243cec3dc74e4167e62f5db0d2ac9c8d91d2c warnings: "" diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 0367117502..d4563085ca 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cfe67b325fb3911d716d01f22c5c3eb462db37e6f44b2c2c2ff84b0aca1ecb65 initial_ast: c06bf3aa68893dbfe6bebd55c3731e506c2e2ce2f432bd7a64ac30e883c59a1c unrolled_ast: c06bf3aa68893dbfe6bebd55c3731e506c2e2ce2f432bd7a64ac30e883c59a1c - ssa_ast: c1f798dfceab81545874f131ba469873dade62b040f7493e368c5366bb89b54d - flattened_ast: fefccdd70cfa6e956309a701d49642076cbb06937767df59b148d4c070b7ea93 - inlined_ast: fefccdd70cfa6e956309a701d49642076cbb06937767df59b148d4c070b7ea93 - dce_ast: fefccdd70cfa6e956309a701d49642076cbb06937767df59b148d4c070b7ea93 + ssa_ast: 07fc22808061cdec43e36fe3c804665c84011b8ebc8edc253f75131ae0fc35cf + flattened_ast: 61bb6d3506ece7a8ba6e07f70f112cada478a7c4012471992af509d484c6e4e0 + destructured_ast: ed6bec504e06cb45b3e4109626d6915ade022fc2c3fd73d093a64efe396f0848 + inlined_ast: ed6bec504e06cb45b3e4109626d6915ade022fc2c3fd73d093a64efe396f0848 + dce_ast: ed6bec504e06cb45b3e4109626d6915ade022fc2c3fd73d093a64efe396f0848 bytecode: d6c71656a8b803092075816e82fbc5c044f3700139c5ca079a1a8f2be846d573 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index b4ad3b84a7..46b25a4069 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 64ece3ec2691a47c9bbb041b518fd7ed235d1ffcb751599cb401862172555a3d initial_ast: 0bedfe6c8e571b2db7146b8977221d637162d5449c679a8a3a298371caa8ebc6 unrolled_ast: 0bedfe6c8e571b2db7146b8977221d637162d5449c679a8a3a298371caa8ebc6 - ssa_ast: 638221a94b7a14ac666359139214452c3aae043f9f0ed24c0acd8d3359d48e98 - flattened_ast: 6881fee75dfe6134eebbeac1e496d810fdab063ebf613cf513727d80dfdad041 - inlined_ast: 6881fee75dfe6134eebbeac1e496d810fdab063ebf613cf513727d80dfdad041 - dce_ast: 6881fee75dfe6134eebbeac1e496d810fdab063ebf613cf513727d80dfdad041 + ssa_ast: a2ab3f033aed4024e626e352f919c030f5660da0b868b4ef3d7cf7af43ee0b77 + flattened_ast: 68bf4c034148fde87a0430687bbf9228099a0a0d103a3b4924491b1a9de4e080 + destructured_ast: 220e85e5558ebd45dce06bd90ca52cbbcaa6e3618831194d7c9c37670e424c4b + inlined_ast: 220e85e5558ebd45dce06bd90ca52cbbcaa6e3618831194d7c9c37670e424c4b + dce_ast: 220e85e5558ebd45dce06bd90ca52cbbcaa6e3618831194d7c9c37670e424c4b bytecode: 113603fb207a83e65ee275be10ad122173cea7a90327c07028eab9fffe449016 warnings: "" diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 9deb7a9c68..6a58e2d054 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d33c6fb59aa59102ba9a9951d13fa38eeb7806214ed02decc75f3be3dd00daa7 initial_ast: 78bc9ab7a4337af4365b03732394ed92ed97a8b3cf40f20f43381e9678369d15 unrolled_ast: 78bc9ab7a4337af4365b03732394ed92ed97a8b3cf40f20f43381e9678369d15 - ssa_ast: d38636e43cea72c2f48eff2106d6d9da9f4d39d974acb04b045974e5a0356d7a - flattened_ast: 0c3844ca697e18170c34b3213484cba0a9feb68f9054c6d468229a6ac6cd7274 - inlined_ast: 0c3844ca697e18170c34b3213484cba0a9feb68f9054c6d468229a6ac6cd7274 - dce_ast: 0c3844ca697e18170c34b3213484cba0a9feb68f9054c6d468229a6ac6cd7274 + ssa_ast: 5975070714e9149c530f917230de21720cca9113a2a4c3494d6b59798c63bb63 + flattened_ast: 9fa42d77cca7a32d64c8e73bb4a583603d80d28fb1a464cc1898196068990f80 + destructured_ast: edb38e9d276333e0f84c5aa7d6ceda864d42dc6e01b5acd0cd2ddcfb2283e85b + inlined_ast: edb38e9d276333e0f84c5aa7d6ceda864d42dc6e01b5acd0cd2ddcfb2283e85b + dce_ast: edb38e9d276333e0f84c5aa7d6ceda864d42dc6e01b5acd0cd2ddcfb2283e85b bytecode: eb928c87aa9dab9c5fd3d063c6f3bd9400ca1fb12eea712baf4406852dc1f439 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index 1e5ecc12fd..e7a1885ead 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: de1d79c4cc99f6c48aa9ae4b1e5a1129424fc91bae37209b5056946e34c074b0 unrolled_ast: de1d79c4cc99f6c48aa9ae4b1e5a1129424fc91bae37209b5056946e34c074b0 - ssa_ast: 9910518d8d4a7ead04a65c8d92403ed75b33bf55161b9b7559dd4693e8ee00b0 - flattened_ast: 54df49ebe5511bcf26c17e18724980a9293aaeef00f54cc4ab1ea85822f68a85 - inlined_ast: 54df49ebe5511bcf26c17e18724980a9293aaeef00f54cc4ab1ea85822f68a85 - dce_ast: 54df49ebe5511bcf26c17e18724980a9293aaeef00f54cc4ab1ea85822f68a85 + ssa_ast: 30435c65404d5d6c0023272398419832b40ad400be710251507ef551639df822 + flattened_ast: 24f239829f58d7297738a24f2afa34dedeab27007c35ce38629fafe603ea19d8 + destructured_ast: f22cf3bdd3bcc18fea3683c716bd267a6929c4b2cd441f277ee7fb890f52c67e + inlined_ast: f22cf3bdd3bcc18fea3683c716bd267a6929c4b2cd441f277ee7fb890f52c67e + dce_ast: f22cf3bdd3bcc18fea3683c716bd267a6929c4b2cd441f277ee7fb890f52c67e bytecode: 6a79f884436b0bdadcee0ff3dd76a5e3fb16cd5d733f2091cbb17cc680c8b185 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index dc371bda61..5cc58ea6da 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: ea96cd405d0c1937d534774c21db67100aa7538e7f835251b7b86148c9d55cbf unrolled_ast: ea96cd405d0c1937d534774c21db67100aa7538e7f835251b7b86148c9d55cbf - ssa_ast: 4d28ab649224827f1f939e49ea0c67136ddc2fd129c456c8eefce11bd372e697 - flattened_ast: 1c3da1451e03726d3186e691599347d5f60a7b99150d63064dabe74506ddb756 - inlined_ast: 1c3da1451e03726d3186e691599347d5f60a7b99150d63064dabe74506ddb756 - dce_ast: 1c3da1451e03726d3186e691599347d5f60a7b99150d63064dabe74506ddb756 + ssa_ast: e55431c30a3a4d48c0359f627041011d46cf3a156c6ab9c0e939339870a130fb + flattened_ast: 7678e72a2e86f992358845797bbcc71ca94eeec49f057b26e18d2b9f6acce2b9 + destructured_ast: a26634291591d00b84477872d2c8e011a0153a1de34b1eb25f209fefae9baca3 + inlined_ast: a26634291591d00b84477872d2c8e011a0153a1de34b1eb25f209fefae9baca3 + dce_ast: a26634291591d00b84477872d2c8e011a0153a1de34b1eb25f209fefae9baca3 bytecode: 8cf2c9baf4dd960c2135a86ac62576bcb4d04c2ba826ff413bdce7f05d230516 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index 0ae5afdbf1..109ab8ae24 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e1c92215f5f0a04644183349b03487a00b00eab35e4b802209cc27f42737d730 initial_ast: 19094bb1c9c79c444f9bc3b60d410da13e9a2978061a81061779aceda908cc28 unrolled_ast: 19094bb1c9c79c444f9bc3b60d410da13e9a2978061a81061779aceda908cc28 - ssa_ast: da14dbf3d7b1600c1fcefa933302004ccb7242863065aaaecfc0e2f5f1baf59d - flattened_ast: 49a9666d58971d38821dc52817c9095f51d332dbe485f991bb483565f0965c4d - inlined_ast: 49a9666d58971d38821dc52817c9095f51d332dbe485f991bb483565f0965c4d - dce_ast: 49a9666d58971d38821dc52817c9095f51d332dbe485f991bb483565f0965c4d + ssa_ast: 5e4ac4ebba7cb2ff1666dee91136512ea044f59ae648bce00288976915883f0e + flattened_ast: 27c0740a413d4a3559bc556eb0257f40d9c2f450de25e67998f099e55da93d67 + destructured_ast: cb15ca4a7e5cd6511af51c06eff44d2921beb4ea3900285aaa1bcdbf351e6501 + inlined_ast: cb15ca4a7e5cd6511af51c06eff44d2921beb4ea3900285aaa1bcdbf351e6501 + dce_ast: cb15ca4a7e5cd6511af51c06eff44d2921beb4ea3900285aaa1bcdbf351e6501 bytecode: c05a2b573d0bcf072a9b4cda004f6e3c44b73fba4238919546eb3703cb05c258 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index 6ee918b81a..e84c13dffb 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: 7e668f4db2757fee934e3a51188b466b33f6886c0ef0e4481c03886612be9687 unrolled_ast: 7e668f4db2757fee934e3a51188b466b33f6886c0ef0e4481c03886612be9687 - ssa_ast: e4193c548ac29cdf4e01dd3cfabc170623511edd3e206b1326c94620c1aa6bf2 - flattened_ast: 43b93d24730350a50bcd7c44b8bd82ba99655b74a839693c500b2c6b54d131c1 - inlined_ast: 43b93d24730350a50bcd7c44b8bd82ba99655b74a839693c500b2c6b54d131c1 - dce_ast: 43b93d24730350a50bcd7c44b8bd82ba99655b74a839693c500b2c6b54d131c1 + ssa_ast: 8e0d1b89198f05f9b4282930c78c595e987153ea4506065338f2b0e747247e4a + flattened_ast: 08540c3c511f90cda6be15f3f000439280e08e269f8ac0d87ab1cce31e742cb5 + destructured_ast: 809032051e7dfd2f414bebe6cdf376a96bbf96694e6fb3fc5f6b5d59dee79232 + inlined_ast: 809032051e7dfd2f414bebe6cdf376a96bbf96694e6fb3fc5f6b5d59dee79232 + dce_ast: 809032051e7dfd2f414bebe6cdf376a96bbf96694e6fb3fc5f6b5d59dee79232 bytecode: 544b47ba167ef02d93729c64e3bb7f76cd94229385874a8c68b48cdf9f7cf767 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index 6bc3642340..ab49d2a092 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: e101932c30e61e27d071f6c8920d0104bad450a69498c1d857cb2cb8f184f7c0 unrolled_ast: e101932c30e61e27d071f6c8920d0104bad450a69498c1d857cb2cb8f184f7c0 - ssa_ast: 12582ff2af9b1f0e674bc51970991c558e4eac66467cb1a8ad93ba3c2e24018e - flattened_ast: f26ec23b0a417aa93d5d404b1267ba409d21087914552f1b2a5fbe6f99e53be1 - inlined_ast: f26ec23b0a417aa93d5d404b1267ba409d21087914552f1b2a5fbe6f99e53be1 - dce_ast: f26ec23b0a417aa93d5d404b1267ba409d21087914552f1b2a5fbe6f99e53be1 + ssa_ast: 26c9adc4113daf717fbef85f8e29d5bb49b5894bb17384ea4aa25f9207baaa0a + flattened_ast: f4ca3233cd22a0330cf13e97532d2abe904e802f7c9364db823d30a63f7a3cf8 + destructured_ast: bd2ecaf13fec2a800f2733f9f05e5a2b6f51b8218bee3c1d5455943ee9273d7f + inlined_ast: bd2ecaf13fec2a800f2733f9f05e5a2b6f51b8218bee3c1d5455943ee9273d7f + dce_ast: bd2ecaf13fec2a800f2733f9f05e5a2b6f51b8218bee3c1d5455943ee9273d7f bytecode: eb74a56b4c761a3050ee4ca8c5ac6f4085675f0ba71514b9c10cc49044251472 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index 3ad29a7d4e..774a5b0a48 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: 3b24934f60c7fc7b1e5da95bedbc40f9fb1243286bfeca47d8a969ea9b8bfeeb unrolled_ast: 3b24934f60c7fc7b1e5da95bedbc40f9fb1243286bfeca47d8a969ea9b8bfeeb - ssa_ast: 7c802bc8dfffc0804e680b83cbd5973e6d87d8ded5cce85b085df63e0d50a580 - flattened_ast: 692e43f31b8e692e89643964ebff7662d93a64b91822a7757932a4be7c0451d3 - inlined_ast: 692e43f31b8e692e89643964ebff7662d93a64b91822a7757932a4be7c0451d3 - dce_ast: 692e43f31b8e692e89643964ebff7662d93a64b91822a7757932a4be7c0451d3 + ssa_ast: 45eb56f87a99b8536175ca8a91783ea9efd6fe23c4922405b519896713c8c4c7 + flattened_ast: d91b6937e3e0507a36c4e9f14a55e86c992d480107b7a8d6f8a0740ba8c61636 + destructured_ast: d4ef0644caef57ea33678b735fcacbb548d93c6b066183df5e12719ffdef522b + inlined_ast: d4ef0644caef57ea33678b735fcacbb548d93c6b066183df5e12719ffdef522b + dce_ast: d4ef0644caef57ea33678b735fcacbb548d93c6b066183df5e12719ffdef522b bytecode: d5c6740e9f4b930180fb52ddc268e35b87ed215c56fe529e98ee015dbfa08b3e warnings: "" diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index a533a2a768..9ed9b02824 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: ee4b5c834873eb5e8e79cdbf734be28950d90c4d8323d76fe4f5fdc1ccf9c616 unrolled_ast: ee4b5c834873eb5e8e79cdbf734be28950d90c4d8323d76fe4f5fdc1ccf9c616 - ssa_ast: 84958a656304ef68f7655ba5e0713a9bf899c721578a6bab29dd1773234cacb6 - flattened_ast: 3a4354fccf9f89267e727a82bb310b68faf276e7024434d73434e9a3d942beab - inlined_ast: 3a4354fccf9f89267e727a82bb310b68faf276e7024434d73434e9a3d942beab - dce_ast: 3a4354fccf9f89267e727a82bb310b68faf276e7024434d73434e9a3d942beab + ssa_ast: acdce143caeec6f6f7611027bf64784774cd0b4171f95722699e1d8f097a02c5 + flattened_ast: 5c21821e0633fca72c1af768fbfeb241f1c779911909b205a1aee5b8d0dbf47d + destructured_ast: e2623529d782ae1cd42765258161e92f2da5168a90ae738a8c5e4cfca17adb4f + inlined_ast: e2623529d782ae1cd42765258161e92f2da5168a90ae738a8c5e4cfca17adb4f + dce_ast: e2623529d782ae1cd42765258161e92f2da5168a90ae738a8c5e4cfca17adb4f bytecode: 5b1536cb2d2f274904ed23cabc28dad63d0e22a9bd4d1a5615b88b2c3ea6d7eb warnings: "" diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index 020d849b71..7497fddcb3 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: b565062d732ea86d7b9fe047e39a29b20aa125ba3f8fcca7e232e88ba22df0ed unrolled_ast: b565062d732ea86d7b9fe047e39a29b20aa125ba3f8fcca7e232e88ba22df0ed - ssa_ast: e05849429e7bffad751f7a7b73921bc1dd7169d4ab3ec17100324c88810847fd - flattened_ast: eb72b23f795c0136f9d266f2c03406a9fc638490b5646068d7468de47342e4c1 - inlined_ast: eb72b23f795c0136f9d266f2c03406a9fc638490b5646068d7468de47342e4c1 - dce_ast: eb72b23f795c0136f9d266f2c03406a9fc638490b5646068d7468de47342e4c1 + ssa_ast: eb02a04207987622c6f744d2842fa742f3c4b905711655dd9fe520190be063fa + flattened_ast: 907cf0cc94340f76e579c1ff4902c06fece86f84e939e38e958a3b8bff7d30c9 + destructured_ast: dac493e7ebf9f137fb9ba3abce9deb48d05b7e2e9edd34c0a07da2244cf174b8 + inlined_ast: dac493e7ebf9f137fb9ba3abce9deb48d05b7e2e9edd34c0a07da2244cf174b8 + dce_ast: dac493e7ebf9f137fb9ba3abce9deb48d05b7e2e9edd34c0a07da2244cf174b8 bytecode: 76d3ed305f669697432c49a48165440a287bc91eb95c2110f936235259d824ed warnings: "" diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index 8317a5919c..2f09989980 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: 60355ab000b424048a3d7a6b949fd2cc2d2cf51b648b7bb13dc2d405ab99d6e4 unrolled_ast: 60355ab000b424048a3d7a6b949fd2cc2d2cf51b648b7bb13dc2d405ab99d6e4 - ssa_ast: 8f6f1bda8221e51299b1f72cf7010dabbe51ba689f4192ca312f3b552c12df61 - flattened_ast: 45c109c67f09bbb6fb8d0815e5b1c285d31246dcb8019c2d3c6c7969b78ca075 - inlined_ast: 45c109c67f09bbb6fb8d0815e5b1c285d31246dcb8019c2d3c6c7969b78ca075 - dce_ast: 45c109c67f09bbb6fb8d0815e5b1c285d31246dcb8019c2d3c6c7969b78ca075 + ssa_ast: cf740b15e80621afd0eb0c6537a290e73a071c7562aeaf05ca26edfa0143f5cb + flattened_ast: 8d110a2f39d6c8bdc916a7ddcba9f5c9d80ac1ff231612f63f1e1e7e9b049ad0 + destructured_ast: 11b2363c62bf1fc02ea6a2280172a32cd87e3e2682fcdb0d30c511ed39ca8e74 + inlined_ast: 11b2363c62bf1fc02ea6a2280172a32cd87e3e2682fcdb0d30c511ed39ca8e74 + dce_ast: 11b2363c62bf1fc02ea6a2280172a32cd87e3e2682fcdb0d30c511ed39ca8e74 bytecode: 4aac77fed46b036a9aaced7512320c824d26a5a025292fdb91c422b4ef3fadfd warnings: "" diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 095379ab77..f86eab780d 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2cd2ba03c3f90e833f1a08116e51e58d41d76bb92eac852bb9c04a98e53c1b13 initial_ast: e70ebd39196d80abf89fdfeccfdf9d5904354d4fa3ddbe23465df128c94f2ea4 unrolled_ast: e70ebd39196d80abf89fdfeccfdf9d5904354d4fa3ddbe23465df128c94f2ea4 - ssa_ast: 7eb64fa8dc7890bd52c42273c7784159c94ff9d0a7d1a2f18887a39bed6a620d - flattened_ast: 739e0af828395d2cd2a6ac1ab44c72090df839bdf3d33390ee67d5f2bf0424b2 - inlined_ast: 739e0af828395d2cd2a6ac1ab44c72090df839bdf3d33390ee67d5f2bf0424b2 - dce_ast: 8aa64ba7b102af2bfe3f343352a216b6e6a3b529bb39fcca93d42612aaf8bf80 + ssa_ast: 2982dd12abc87a8cd2a5d612fff307feb112032160b64add59d143f4c6310d80 + flattened_ast: d12144d2476b49c37c1a6cf742a7fea3a5163378b3edfd05f01a48afcd7d0ac5 + destructured_ast: 32f7887ce6ba85ef59b83086bfa8c8fddf39529a33730241502a9446b3520465 + inlined_ast: 32f7887ce6ba85ef59b83086bfa8c8fddf39529a33730241502a9446b3520465 + dce_ast: 8c0f0fb1d994a07af8d780f7e307df61453960157856f4fb7a7a27f355b6a750 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index d99f06aed0..f3e35df6e3 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2cd2ba03c3f90e833f1a08116e51e58d41d76bb92eac852bb9c04a98e53c1b13 initial_ast: 11f7cf2ab86792e498332fa61fc91cdd7e2896bfd8e30d1f8c3dfa980e66c99f unrolled_ast: 11f7cf2ab86792e498332fa61fc91cdd7e2896bfd8e30d1f8c3dfa980e66c99f - ssa_ast: 2be29248c5e232df3f47ebf1ec9999a0e6577c8db72de8cd26361c06ac6c14e2 - flattened_ast: 6551c9ed762de3da9213a16c7cd2317c300865a5c62826aaaa036d46ef25d180 - inlined_ast: 6551c9ed762de3da9213a16c7cd2317c300865a5c62826aaaa036d46ef25d180 - dce_ast: 5895ba81da1828c55973e3659deb04d118d76cea303139c7182979daca8dd87b + ssa_ast: 52db9df06a421ecc2c0d57e72457e2a50688c21fa7bef29ee700d84af6a93996 + flattened_ast: 4218ff2174f2c07fee39574b239b8850a62757199efbdf52e3668817e904eb02 + destructured_ast: dba75f2fc89f980a419e6935f32f072bc0f468269075bb47e709c79899252a06 + inlined_ast: dba75f2fc89f980a419e6935f32f072bc0f468269075bb47e709c79899252a06 + dce_ast: 2b0dbe16546b8ccb0755b4ad3bfcd4d6b9070459b0d5b67678ccf0324b355759 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index b68b14b11b..a0b8743c48 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: 3c7bc094cd452ce62fe4d18439e06f4b8eeb2254f7d87e40d818dd081963ca6f unrolled_ast: 3c7bc094cd452ce62fe4d18439e06f4b8eeb2254f7d87e40d818dd081963ca6f - ssa_ast: 16c42e0e5f81707a3edb2588f8e7d39cd4e7116884612e672a92e6de79b30172 - flattened_ast: 2e1a94c4cbcdb6c1b260a1304aec47227440dac610e64f1f475aa6f3c9a6f86c - inlined_ast: 2e1a94c4cbcdb6c1b260a1304aec47227440dac610e64f1f475aa6f3c9a6f86c - dce_ast: 2e1a94c4cbcdb6c1b260a1304aec47227440dac610e64f1f475aa6f3c9a6f86c + ssa_ast: a0da4da13ab5500ca4ebddd0125a4dbcfdff222833040690d0aea86ac37917c3 + flattened_ast: fd854ff25ff6dede92bae215860726ef1dc891370cc494f4eef20a84c87a6e64 + destructured_ast: b8c7d6e1283d09abedb8b86dc7f4c0b14a0f5701739cff672f1f3b95dbe3c61d + inlined_ast: b8c7d6e1283d09abedb8b86dc7f4c0b14a0f5701739cff672f1f3b95dbe3c61d + dce_ast: b8c7d6e1283d09abedb8b86dc7f4c0b14a0f5701739cff672f1f3b95dbe3c61d bytecode: 1dfb6b0bc60a60fdf5e7049346815ffb6fc80d045cb8282510fa518f3337e089 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index 2a9be19845..c468070b2b 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f4840dc05f84c67293a21be0ed9b1844d29461677af6b1e3d98ca89fbd84c2b2 initial_ast: eff3017303e5b27e088f058bf05a8b495ce9cd8f9ad1207eacbaafe50ad980ab unrolled_ast: eff3017303e5b27e088f058bf05a8b495ce9cd8f9ad1207eacbaafe50ad980ab - ssa_ast: f30bf546b17c49925748460a3747a657f2e6894cd338c6fe90fdbc67f37d979f - flattened_ast: 1ea3afe7ac8b02abd1232958ccfa16aba23d67ce411bfd9e297d9adc4ba728e1 - inlined_ast: 1ea3afe7ac8b02abd1232958ccfa16aba23d67ce411bfd9e297d9adc4ba728e1 - dce_ast: 1ea3afe7ac8b02abd1232958ccfa16aba23d67ce411bfd9e297d9adc4ba728e1 + ssa_ast: 45e007f47f8045621285b787e3e61f29d180561cdadfdc8ed65b90f30e51cdc3 + flattened_ast: e286ca25a5fc716b266bcbcc801c0452d9400a1254f01ae1db3bcd560464d748 + destructured_ast: 45ee68c30ac8eda74a82b184572e06f040bd7989ea6e57b45becf979d7fcd0ae + inlined_ast: 45ee68c30ac8eda74a82b184572e06f040bd7989ea6e57b45becf979d7fcd0ae + dce_ast: 45ee68c30ac8eda74a82b184572e06f040bd7989ea6e57b45becf979d7fcd0ae bytecode: 0fe1011e038cf47ffdbb7e95c4ac2326b985aeeffca177329c145c144fc46639 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 4fe24dafdb..60506a4b89 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d4fb39acf22b89826068727ab807f8a79cb2afdc404df182f4aad1c75bb8af9a initial_ast: a865cc2b84039ce3bd332d3e0251c4602783d0fae6d0c0b9c5a2db5ae1b2520f unrolled_ast: a865cc2b84039ce3bd332d3e0251c4602783d0fae6d0c0b9c5a2db5ae1b2520f - ssa_ast: 8459b19152bd9ae1ba35bd2a089a63b71369cb04236819e67ab1f8d16fac29b9 - flattened_ast: e31de493021a744c279f52833cbb3f8dba29ec82e414059342f03c82b4c9b402 - inlined_ast: e31de493021a744c279f52833cbb3f8dba29ec82e414059342f03c82b4c9b402 - dce_ast: 6f9c02740158c1c45a4f79a98f59efaf5c18e2ff6925f131edd9db37bed958ac + ssa_ast: 188ea948ed3a5dcd20bfe03e557b3e36a338cf875a08df306713575628810869 + flattened_ast: 575dcf1305f5b66e0d33fe7636c347e77d884f9910ac2046a2bf7460b82a7701 + destructured_ast: 289ad2746752845648308b2f8ac919099d917d5bb644ce03fb0fd45ebd6de34e + inlined_ast: 289ad2746752845648308b2f8ac919099d917d5bb644ce03fb0fd45ebd6de34e + dce_ast: ea532e6203be0f2b73923b2b727af1b65e501c2533a58c74735d41564262c36d bytecode: aec6ee0fcfa292c5e3a4b9165408e9627b7c73b520302dc986293cc36fea4383 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 4bfcf20a40..d96f688eb7 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: fc8048bb377758f9b20ff49edf0ea7d3bedb3291c9c0107bba73370a0e8884e8 unrolled_ast: fc8048bb377758f9b20ff49edf0ea7d3bedb3291c9c0107bba73370a0e8884e8 - ssa_ast: 96f8e4b4c6928863d839a500898d1411d856994aac3e75cf55bfffe3f3bf6b58 - flattened_ast: d769253ef26e43fae303cbb4f9be8dda832aa9ee653b84ebd5aa2b648b7d9a51 - inlined_ast: d769253ef26e43fae303cbb4f9be8dda832aa9ee653b84ebd5aa2b648b7d9a51 - dce_ast: d769253ef26e43fae303cbb4f9be8dda832aa9ee653b84ebd5aa2b648b7d9a51 + ssa_ast: 25107a3afa707f2ed0fa6be95867cbb1f2e47dbbc77d4b8a129d206eb441bab3 + flattened_ast: 640b3ee26816404cfbd43f78f188bb81a4b2bfad35af8ba1bc0abc9888e91ac7 + destructured_ast: 6d658eed4bddebfb397fdf34e78d9430e1eaeae9581d0e8c5a89c8e1e6fdd8c4 + inlined_ast: 6d658eed4bddebfb397fdf34e78d9430e1eaeae9581d0e8c5a89c8e1e6fdd8c4 + dce_ast: 6d658eed4bddebfb397fdf34e78d9430e1eaeae9581d0e8c5a89c8e1e6fdd8c4 bytecode: 53c22439941468b3986c9021bd4d3436c1e3ce8aa1ac79e04de9a0d08b16b3eb warnings: "" diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index c63069782a..5e5a8b6015 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: ecabeee1d64cdeb9dc01220bf0dab24463ff4616cea516f03a3b85de15ac8b67 unrolled_ast: ecabeee1d64cdeb9dc01220bf0dab24463ff4616cea516f03a3b85de15ac8b67 - ssa_ast: 3f01b6aae259a96aadff9ac0baeb1489add3763793fbf5e9ef3ef1bcdcb2f113 - flattened_ast: 5d44b80ab55e581cf932599ed021b82fa210149262c03c17caea38a397267cde - inlined_ast: 5d44b80ab55e581cf932599ed021b82fa210149262c03c17caea38a397267cde - dce_ast: 5d44b80ab55e581cf932599ed021b82fa210149262c03c17caea38a397267cde + ssa_ast: 5451435e987d0ee051192799262222522913dd9d06da8f56afd35ffdbbac3265 + flattened_ast: be7deee2d43c14f9b69b60fd8de789947a387443c732ac835232b69da1d7e4da + destructured_ast: 7ea867e6ad6183979a2656a92e75e7c71042286a65a87f8c13a89730d307ad3c + inlined_ast: 7ea867e6ad6183979a2656a92e75e7c71042286a65a87f8c13a89730d307ad3c + dce_ast: 7ea867e6ad6183979a2656a92e75e7c71042286a65a87f8c13a89730d307ad3c bytecode: ea3230d133de200302ce0c5577ef8daca458af44512b67f567dfdeaeb60ef62d warnings: "" diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index 8c31094a1b..4d8056f560 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: bdd1667b55809b761703919c652c262fade85d0c55dddc1f7a8e935b72273e7b unrolled_ast: bdd1667b55809b761703919c652c262fade85d0c55dddc1f7a8e935b72273e7b - ssa_ast: 21adee3d62866e30620462d1e9ab43d87948b3a666ae3008e679780e9d0cd0f3 - flattened_ast: 1d01bea07476d0a7deaf36b448d69b6eaf0d482079982187863906d9adab38dd - inlined_ast: 1d01bea07476d0a7deaf36b448d69b6eaf0d482079982187863906d9adab38dd - dce_ast: 1d01bea07476d0a7deaf36b448d69b6eaf0d482079982187863906d9adab38dd + ssa_ast: 83b60da74ca1e26fe77a42375bb0790359f721b4258cc3c81198496a7f106880 + flattened_ast: 579a639096557a606bda8dc7bd38a179ddb51ccab517f17be7642b670712025b + destructured_ast: 673c9f3b83cecc6b275793af0ec6d3b86cd99b5d0ff31c6df6186deabf56d3bc + inlined_ast: 673c9f3b83cecc6b275793af0ec6d3b86cd99b5d0ff31c6df6186deabf56d3bc + dce_ast: 673c9f3b83cecc6b275793af0ec6d3b86cd99b5d0ff31c6df6186deabf56d3bc bytecode: 654c6c9d87b686ee8ac83d2561ae0db42eaed0e933d018514d99d2eee2dc350c warnings: "" diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 56c0888f83..c3cc27ec96 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: 8e61eca488f9ed07cf02dccd2b1a55e97d792b7e5a57c9b5e474393ef8107c77 unrolled_ast: 8e61eca488f9ed07cf02dccd2b1a55e97d792b7e5a57c9b5e474393ef8107c77 - ssa_ast: 36f2f319ad73ad7b89a28c42adb82567966cb45d925cb87e942ec3211a549838 - flattened_ast: c3860e11a8a65e38eddf16815a1c90114d226e1d0acd0d6ff1249d80efefd500 - inlined_ast: c3860e11a8a65e38eddf16815a1c90114d226e1d0acd0d6ff1249d80efefd500 - dce_ast: c3860e11a8a65e38eddf16815a1c90114d226e1d0acd0d6ff1249d80efefd500 + ssa_ast: 439b0167251df9f717e4add5f802a172d2a3e55b925690256b90e7022cbfb764 + flattened_ast: c54e313b52798dcda54249fcf83d93a8a3b6cae80c828037555e3c65885f213f + destructured_ast: 2c2fb03914cbb972362b645862b7b882143ee5a2f498ba39be2846240027d68d + inlined_ast: 2c2fb03914cbb972362b645862b7b882143ee5a2f498ba39be2846240027d68d + dce_ast: 2c2fb03914cbb972362b645862b7b882143ee5a2f498ba39be2846240027d68d bytecode: d00fc78598c5002f3dd2576928bd1fb6121f078f9fc5b2b7394ff8338192172d warnings: "" diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index 526683b450..b0de7a67b8 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: 8672f67c01d138970bc8af7ffb6f21dcc8c12528c624706a0f0934b8291c3c10 unrolled_ast: 8672f67c01d138970bc8af7ffb6f21dcc8c12528c624706a0f0934b8291c3c10 - ssa_ast: 22407a18c92842c1bf3028d76f0e341c4c3eabfce03cdd91283525225e6153ab - flattened_ast: 51c1dab2ce25ec9998c722ea3485a2c23b4cb8b4b5e335b5f1c9c88fcf76a174 - inlined_ast: 51c1dab2ce25ec9998c722ea3485a2c23b4cb8b4b5e335b5f1c9c88fcf76a174 - dce_ast: 51c1dab2ce25ec9998c722ea3485a2c23b4cb8b4b5e335b5f1c9c88fcf76a174 + ssa_ast: 66853094d64b621713a4d9e27abfef46312ab730c1db29cfed69db82c4c22320 + flattened_ast: 179615690a932cfa32600f7cd5ffc96b45d2194314c4d537d0c664ccbd60262e + destructured_ast: 574674104accf727ca34d8d79e5b5152eab423601cec423f28905cf73ecee401 + inlined_ast: 574674104accf727ca34d8d79e5b5152eab423601cec423f28905cf73ecee401 + dce_ast: 574674104accf727ca34d8d79e5b5152eab423601cec423f28905cf73ecee401 bytecode: 80a1a42b727652cf9808ca4800943f424edc0f0b8e43781b9a6686e3ef7801e1 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 895dab5674..25712d5eea 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7863d5e390001e8eb504d8c2b0eb32b4169371a875b379265e788b656c6bfde7 initial_ast: 8c5c4c45cfa5e851e58d6c724e0af6063ad048a109e666e49ef79711f6082862 unrolled_ast: 8c5c4c45cfa5e851e58d6c724e0af6063ad048a109e666e49ef79711f6082862 - ssa_ast: 2b811b2a973ea6002852361c0c4e32570a96176eef2c39c7e0e6fa2ab755913e - flattened_ast: ca64ad2da665dcfe81b52f187608f68217589d81150865be244b7315c797598c - inlined_ast: ca64ad2da665dcfe81b52f187608f68217589d81150865be244b7315c797598c - dce_ast: ca64ad2da665dcfe81b52f187608f68217589d81150865be244b7315c797598c + ssa_ast: b1c42058efda4e35cc2e6d711231975850aff73172fd820eb60bc3421f998694 + flattened_ast: 84aa90651861086de16ff42d5d661501f2e23231a5d3fac14b1cf1efa8b886a2 + destructured_ast: 313b72693b053f09c3e9bbb199e9dc091b00e88de11ee04a651d57972dd4af11 + inlined_ast: 313b72693b053f09c3e9bbb199e9dc091b00e88de11ee04a651d57972dd4af11 + dce_ast: 313b72693b053f09c3e9bbb199e9dc091b00e88de11ee04a651d57972dd4af11 bytecode: 979ef93cea21ee04681e95a25458674a5c7bbc15e717b104e6dc1b16d5a7111b warnings: "" diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index bb49ed06ee..8dfea36fcc 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: dd40afb545ef0030ffa854af416ae22e8e8ef85cfda6c853421551fa9a71ab15 initial_ast: ebf8c8ac989d41db06a8899490e09a0f16164bfd65772bfba8981da584798386 unrolled_ast: ebf8c8ac989d41db06a8899490e09a0f16164bfd65772bfba8981da584798386 - ssa_ast: 220f30dbf39af3a11390a81b06cb530d20321bf5b3ea3875fc31b806742b8889 - flattened_ast: 3344b1dae17a149991a48af742c0d43d54626ad8008ec8807f22fd767889c104 - inlined_ast: 3344b1dae17a149991a48af742c0d43d54626ad8008ec8807f22fd767889c104 - dce_ast: 3344b1dae17a149991a48af742c0d43d54626ad8008ec8807f22fd767889c104 + ssa_ast: c1fb5d59df31c57a1ecd8167222ba5470deb5b77f8e712cdcb1c3f02bef52956 + flattened_ast: ee5a3571f5a1fb77f1289fd2d05a258a08f796aaa4144f609b704b59cf44f313 + destructured_ast: c0d44fea17eddaccd55edeb5c7c9ce852737ea74b7bf2f48b93e4ca10f49915f + inlined_ast: c0d44fea17eddaccd55edeb5c7c9ce852737ea74b7bf2f48b93e4ca10f49915f + dce_ast: c0d44fea17eddaccd55edeb5c7c9ce852737ea74b7bf2f48b93e4ca10f49915f bytecode: 0ecd93e68a7f1e72535d2f014714c6b6dbf91f2b0a18df56913798be12ec1515 warnings: "" diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index 267e4dc542..069420b20e 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e8d38c8be56a4dd9febf060769d647da304c0432ff914abe66d212eb1b5a898c initial_ast: bdd4aea6c7477b4d34f8114652848f4b3781b74de3a3416fd57f77b29bc7d493 unrolled_ast: bdd4aea6c7477b4d34f8114652848f4b3781b74de3a3416fd57f77b29bc7d493 - ssa_ast: 19aa0f057391acb2de3d4bfb1cd51ed7d2a503d9ec8d48970ee66741ed6c79cd - flattened_ast: ae067df1b36ab36120d082d0460dbf748dbc3f5eb6612a59ddca956c21b09869 - inlined_ast: ae067df1b36ab36120d082d0460dbf748dbc3f5eb6612a59ddca956c21b09869 - dce_ast: ae067df1b36ab36120d082d0460dbf748dbc3f5eb6612a59ddca956c21b09869 + ssa_ast: 6b402f9a4c7871289f4cc0e0ac2b670223672c7798000da8dc87a71660f6c0c1 + flattened_ast: 2cc9aa6139e4aba967a068c522b70962ca6714dbb57ddfa58571fe5cb390d80a + destructured_ast: dfcf0a06bf48f958c9fca5c2f07d290536f6d67cbd5ab66fc7e327a9af720115 + inlined_ast: dfcf0a06bf48f958c9fca5c2f07d290536f6d67cbd5ab66fc7e327a9af720115 + dce_ast: dfcf0a06bf48f958c9fca5c2f07d290536f6d67cbd5ab66fc7e327a9af720115 bytecode: f870b2c0a3ffc0935a53b790fbd562a4e160982136e597762e14d3a11f7572c7 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index c72485c9fe..b9c1d5a55a 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 33aeee491784f1b98215a05c860db41e2f77a26393e08bd03db18441a0b31318 unrolled_ast: 33aeee491784f1b98215a05c860db41e2f77a26393e08bd03db18441a0b31318 - ssa_ast: 0e6dc7d17dc50214c5be8e237ba197196b713276115f965c979dfee1fb5a4df8 - flattened_ast: d7fafea4febbf9def87d24a0fd22f2e3775f18295bb8dc58f24bc44751debd41 - inlined_ast: d7fafea4febbf9def87d24a0fd22f2e3775f18295bb8dc58f24bc44751debd41 - dce_ast: d7fafea4febbf9def87d24a0fd22f2e3775f18295bb8dc58f24bc44751debd41 + ssa_ast: c23742ee970181846bcd2d3c2bed3ad9f6605178165fda31b193100fb9170dbc + flattened_ast: 14ce73192713aef5ed0c17fafce195e19da37b878f6654818f7d8ff9356f87b4 + destructured_ast: ef100ceb34be2089bac97e2c46d26c99425c74d7fcb130b026181062e37de7e1 + inlined_ast: ef100ceb34be2089bac97e2c46d26c99425c74d7fcb130b026181062e37de7e1 + dce_ast: ef100ceb34be2089bac97e2c46d26c99425c74d7fcb130b026181062e37de7e1 bytecode: 3be0f7452f3ef5033f9f4c29362b7f16ca7d059569909b356d23fe3dbd898486 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 4158b89d7a..f614ada5d7 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: e9a6c82f15aacca06a9199541c5f4c2274174af98c3e61000bd460751a9aa3eb unrolled_ast: e9a6c82f15aacca06a9199541c5f4c2274174af98c3e61000bd460751a9aa3eb - ssa_ast: cf91e94b24b6cca0f142b6cfd0e3b79d1a61e5fe93b003d7d2006cde6c020ada - flattened_ast: 9f440e4b6aab7d1611e1d7b6b8954764744baabaa3d5b200968994c4ba17895c - inlined_ast: 9f440e4b6aab7d1611e1d7b6b8954764744baabaa3d5b200968994c4ba17895c - dce_ast: 9f440e4b6aab7d1611e1d7b6b8954764744baabaa3d5b200968994c4ba17895c + ssa_ast: 223f737e2db95f93fe3026c117cc8c3a4f504eb140d5d059c2807ca11bfb9bf7 + flattened_ast: f0f817a1b7db7d16b0f2e817b5d9824466409707c88497c4300ef84015c4e7f2 + destructured_ast: f2a7f14a668c003111df302cad3b5e63ca5f922d0accd6f347662478f1406366 + inlined_ast: f2a7f14a668c003111df302cad3b5e63ca5f922d0accd6f347662478f1406366 + dce_ast: f2a7f14a668c003111df302cad3b5e63ca5f922d0accd6f347662478f1406366 bytecode: af4239d923d8c22f7bbdfdf8643c85648b25ba62b82819217a6c50924208d529 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index c95af24694..fe7c3f2364 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 71a963835fa828831d8e555baabc743bd1e62cc358056fc47aded6886003dc25 initial_ast: a3c41bbf9b3eb8df5aa82adf3937fb7be3cdcd2047d4edb77845083614ee6d2c unrolled_ast: a3c41bbf9b3eb8df5aa82adf3937fb7be3cdcd2047d4edb77845083614ee6d2c - ssa_ast: f9753561c037db5d2e3e942f5e60b9b419c3ca52c1b657b4ee9e6a1252d1e7d6 - flattened_ast: 3ec4abb5873ab3b7afaf3010dd06c1757ce720eac54858b09e256ae0981d0efd - inlined_ast: 3ec4abb5873ab3b7afaf3010dd06c1757ce720eac54858b09e256ae0981d0efd - dce_ast: 3ec4abb5873ab3b7afaf3010dd06c1757ce720eac54858b09e256ae0981d0efd + ssa_ast: cdba72ffda5592536e50be977ea1e1722369bca56c7b04d43e4dc985ae381fb4 + flattened_ast: 5c82896e387c209c13b6a5e938bebeb56cda54eb7852295370387214150a3199 + destructured_ast: 43c2b0c2517b5ba40b7778d30500ae93890047ac950eb16acf914358f2557e76 + inlined_ast: 43c2b0c2517b5ba40b7778d30500ae93890047ac950eb16acf914358f2557e76 + dce_ast: 43c2b0c2517b5ba40b7778d30500ae93890047ac950eb16acf914358f2557e76 bytecode: 0ee1282c31147bd35917b56ca5e0b6ed9ae7178f4a8e0681cb788bfe2803d2e5 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index d98347b377..80018a7f68 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 7a2bdc3126db200d6ce184b65821fe3afa19fadf85511b54de25027769566225 unrolled_ast: 7a2bdc3126db200d6ce184b65821fe3afa19fadf85511b54de25027769566225 - ssa_ast: bda4049422a43c71b2db1c57d9076dc938d61e70c3a46723380a4eb274b3315f - flattened_ast: a5df9680564531e1eebe70731d84ddc1e81c759dd64f0a37fa4b08df257c1f90 - inlined_ast: a5df9680564531e1eebe70731d84ddc1e81c759dd64f0a37fa4b08df257c1f90 - dce_ast: a5df9680564531e1eebe70731d84ddc1e81c759dd64f0a37fa4b08df257c1f90 + ssa_ast: 8c23749118b832e6646a4e1c45f6212f09f604969a3710fba3478ed3bbb62c44 + flattened_ast: fdeac42d29e66a70c615004d96ea9a8dd76ac99e6a12239e48ec4ff98329526d + destructured_ast: b5523259920d5c2c4b66917fff9ed2979e3e5378880f911fe17b7579c91d1227 + inlined_ast: b5523259920d5c2c4b66917fff9ed2979e3e5378880f911fe17b7579c91d1227 + dce_ast: b5523259920d5c2c4b66917fff9ed2979e3e5378880f911fe17b7579c91d1227 bytecode: 2a4e7edc50312cff13755a1480eadc016a474629e3655a4d8b878a85001b75c3 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index be61ab6a83..3904ae8cd2 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: 0bc12706f2939a55c6184c786ab8ae4ba3463694012edc4cc49e1227de0306ec unrolled_ast: 0bc12706f2939a55c6184c786ab8ae4ba3463694012edc4cc49e1227de0306ec - ssa_ast: 28cd2171798ab6a40d72196e953b7d01643ce7562a1db6576d54ba98fb9f3a83 - flattened_ast: 34adcc808910aeebf4b73e8bfeae6a5e09aebeea1bb77c466e4f84ae0deee587 - inlined_ast: 34adcc808910aeebf4b73e8bfeae6a5e09aebeea1bb77c466e4f84ae0deee587 - dce_ast: 34adcc808910aeebf4b73e8bfeae6a5e09aebeea1bb77c466e4f84ae0deee587 + ssa_ast: 384543a9ec8e3c5a70bb37d1e75abfb7c55c617db9ef17feb30ede39a6b1e2bc + flattened_ast: 188c2bd3ba90bc1efc297a5b18d57e25e39f631fec0e2700210d5b43c947e143 + destructured_ast: 4e37c795c5cdfea7e843e64f805de24f0e6df846df8fd4880ac06c064ca976a1 + inlined_ast: 4e37c795c5cdfea7e843e64f805de24f0e6df846df8fd4880ac06c064ca976a1 + dce_ast: 4e37c795c5cdfea7e843e64f805de24f0e6df846df8fd4880ac06c064ca976a1 bytecode: c3b043c14b4d869eddba1a5c38b463704b8fdc7a7b6dbfb8b54dbc4ba66e706f warnings: "" diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index 9da2d44a1d..e610538174 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: ef53fb78567d2b6c14af645deb2a1897957a1a47ea8ea8619e6bd7de0573d521 unrolled_ast: ef53fb78567d2b6c14af645deb2a1897957a1a47ea8ea8619e6bd7de0573d521 - ssa_ast: fbf3a9d84e062f617ef67b7bc0fa5a97085e5cc0ee0b415bfa01647ac5cbbee4 - flattened_ast: 892630e663f8f3714be6ca97e586795f1ce27d9c73047d5439dac9748276a245 - inlined_ast: 892630e663f8f3714be6ca97e586795f1ce27d9c73047d5439dac9748276a245 - dce_ast: 892630e663f8f3714be6ca97e586795f1ce27d9c73047d5439dac9748276a245 + ssa_ast: f80a37abf36a0d6eb9e7c161cac2e9ca52355830e6c9e40d47a5fd8d129acd1a + flattened_ast: 82a4e62dc8e5c52792f699834255c6ffc23112ad3524b89fbb15dca2bb9ac504 + destructured_ast: 313edf3029a998943b9707a9001e073bc7883f6a3ed985e66440f57a6c91a00f + inlined_ast: 313edf3029a998943b9707a9001e073bc7883f6a3ed985e66440f57a6c91a00f + dce_ast: 313edf3029a998943b9707a9001e073bc7883f6a3ed985e66440f57a6c91a00f bytecode: b2e3005d49e16c6431a7731d180ba407dbf3c26564e1015a3e803681959a6e7c warnings: "" diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index d71b40de9e..df719d992e 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: 243d0412ee25a151776284ae51e231466850d7cb903eeb2cf5f9b9a722780ade unrolled_ast: 243d0412ee25a151776284ae51e231466850d7cb903eeb2cf5f9b9a722780ade - ssa_ast: 8b1cf650ff3e3b1388d5b2da9d4a5db4884a76b09e7dfe96e12e211059706399 - flattened_ast: 00646ec52479e9675e7c77d4f38631d41f664d6147932b18d30bcaaaf7b2157b - inlined_ast: 00646ec52479e9675e7c77d4f38631d41f664d6147932b18d30bcaaaf7b2157b - dce_ast: 00646ec52479e9675e7c77d4f38631d41f664d6147932b18d30bcaaaf7b2157b + ssa_ast: 6c938f5b7d8fec370a6e342fb5238102027a50663bb1e38bb688564b2ff9d0d1 + flattened_ast: fb46f27cfb1fbffeb5c23728cfac119f8ad80e2434648b866c4dd15f82cce814 + destructured_ast: 81e40c4612bbe305485eacbdb767c628ef94816a1055088dc8f6e99007d5d081 + inlined_ast: 81e40c4612bbe305485eacbdb767c628ef94816a1055088dc8f6e99007d5d081 + dce_ast: 81e40c4612bbe305485eacbdb767c628ef94816a1055088dc8f6e99007d5d081 bytecode: 1e385f77b2a0d6c95fc6747906e33664cce2d0a97477de15da923d515c2747b7 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index f2e0f85b18..cbe6cd39bd 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: 095086cfb17d589715520316d0dfdf64386b3f8b7ee20101577e04d3752246bb unrolled_ast: 095086cfb17d589715520316d0dfdf64386b3f8b7ee20101577e04d3752246bb - ssa_ast: 8d6b67871ef8255ced1927290640b2777c15aebeda0565c5b6753b9e2cf3d1c1 - flattened_ast: b24321df601700e2122baecbdaf6d515999cc1ac40ff9def9d93576efb2466ed - inlined_ast: b24321df601700e2122baecbdaf6d515999cc1ac40ff9def9d93576efb2466ed - dce_ast: b24321df601700e2122baecbdaf6d515999cc1ac40ff9def9d93576efb2466ed + ssa_ast: dd2c645d7edf700e3ead9692bfb859b67ee53dd0945ca58e391f382530d672fb + flattened_ast: 026fd0fb9e3eccc52a12e5fbb4e21fb427c9e1c751ba5be54019efde84f150cd + destructured_ast: 8a6e814154c1402a6a3ae63a7d4de2ed8b5d41eab72304ca2539da28f97bb9a7 + inlined_ast: 8a6e814154c1402a6a3ae63a7d4de2ed8b5d41eab72304ca2539da28f97bb9a7 + dce_ast: 8a6e814154c1402a6a3ae63a7d4de2ed8b5d41eab72304ca2539da28f97bb9a7 bytecode: 8236ef7329613c24727637bdb29f45feb3ad59e82ed99249b8f5098b82922859 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index 7a58acfd6a..836f7b3b4a 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: a909b9998bac26ddcb5d94b0d29e12e967b22dc0cd82e9475e1336d367822fc1 unrolled_ast: a909b9998bac26ddcb5d94b0d29e12e967b22dc0cd82e9475e1336d367822fc1 - ssa_ast: 3c95437628b3b1e8f2cd7d065f39fa37c4788c933e64f884bd0f5f32d8afc5c1 - flattened_ast: 4b03ce4ae8994b0831f160426a48a4690374a8d92d936e94f345ded13a8a012f - inlined_ast: 4b03ce4ae8994b0831f160426a48a4690374a8d92d936e94f345ded13a8a012f - dce_ast: 4b03ce4ae8994b0831f160426a48a4690374a8d92d936e94f345ded13a8a012f + ssa_ast: 51f9dd26ee256a02fb28fe6a164088270864b40bb9e2ad6fe633b6fcaab35b1c + flattened_ast: 8916811ed7a333abf6f36dcaa647bea4cda63eabe5c2ed69997f0283d3722951 + destructured_ast: cbe0348c01673a20e0dd1e21be2703c7a6c2112d9ae09012c97115a11afed220 + inlined_ast: cbe0348c01673a20e0dd1e21be2703c7a6c2112d9ae09012c97115a11afed220 + dce_ast: cbe0348c01673a20e0dd1e21be2703c7a6c2112d9ae09012c97115a11afed220 bytecode: b436a196b7beab8b7a51791cc458801a2cd9498aeced74c07b81a7f1cc77e183 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 3491edb6d9..abdd1b985e 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e587b1af5fcf688b7eeca27308e160342880804ac989814fa1a510c88fd74002 initial_ast: fea68c7da706c4857102c30ad8edd99ff5c51ee134e9fb5f1785f6060b9111af unrolled_ast: fea68c7da706c4857102c30ad8edd99ff5c51ee134e9fb5f1785f6060b9111af - ssa_ast: 54f572d48682371eefdf956c2bc1421bb5b64534f4aceeb6d64150afb2a233ad - flattened_ast: 522290a7d44ad08c560f5888b24f6d0011556f31bb2c166e4a37862b47e9bfeb - inlined_ast: 522290a7d44ad08c560f5888b24f6d0011556f31bb2c166e4a37862b47e9bfeb - dce_ast: a223e17e2c9a39a44ad128da70b7042b63173d4eab6f2a00a09ead90d34c0fe1 + ssa_ast: 0d61420f08e3af99008499ce1f3c8074ea27b92d406eb99eb83c0754c9463e0e + flattened_ast: ecd4364cb87b2fb600f315ecb8de156b0108e5da9bd7ddc05eb016156e12ce25 + destructured_ast: 796ed038fcf8b8f590b69436f9a95b9ad25c22c83f28f737dc996ea2bfabc686 + inlined_ast: 796ed038fcf8b8f590b69436f9a95b9ad25c22c83f28f737dc996ea2bfabc686 + dce_ast: 8a8db3f01bdf687b0b8a87a58d283f51dde69ff504c32edef8ac68ce3cee729d bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index b27e2b88b2..f37720039f 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e587b1af5fcf688b7eeca27308e160342880804ac989814fa1a510c88fd74002 initial_ast: bd28bbbd07900816ef6b2766a57aa9fed1b81c7dad3dab587571b4a831b5d705 unrolled_ast: bd28bbbd07900816ef6b2766a57aa9fed1b81c7dad3dab587571b4a831b5d705 - ssa_ast: 975ae9aa5a2f3eb2bd9efba4d72968e35967e5ca85df0c7c7b4fd12d18975d22 - flattened_ast: a8632c6ad291798e003da53a6117ede6875b355003d5ff711fc71f3fe4774ff2 - inlined_ast: a8632c6ad291798e003da53a6117ede6875b355003d5ff711fc71f3fe4774ff2 - dce_ast: 5895ba81da1828c55973e3659deb04d118d76cea303139c7182979daca8dd87b + ssa_ast: f8eb23c3534b372046ec79ebc3a2c6bb33d54b327415813efcf0010623e869af + flattened_ast: 1ab14dba83cc1abdc642f2c179e4840476ea0d5fdcc92ef6c00875aec529ec83 + destructured_ast: 0fb539a42cd6fcc69b0e170d4ba59a2c80ee474ba8a48b1989d1baa4764b01cc + inlined_ast: 0fb539a42cd6fcc69b0e170d4ba59a2c80ee474ba8a48b1989d1baa4764b01cc + dce_ast: 2b0dbe16546b8ccb0755b4ad3bfcd4d6b9070459b0d5b67678ccf0324b355759 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index 26b05c4086..84de1594dd 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 613b2eda6079845b367d19c40d4dfd9b5b2602c09e912286fc941f070a5c5d1f unrolled_ast: 613b2eda6079845b367d19c40d4dfd9b5b2602c09e912286fc941f070a5c5d1f - ssa_ast: b93d83e9454d7411c02699d401a573168137496a521d035bbff03e4230f81fdc - flattened_ast: f72c8a3ba8640021358cbb96f72e1955eb7503488abd3b50e14c643a7520f228 - inlined_ast: f72c8a3ba8640021358cbb96f72e1955eb7503488abd3b50e14c643a7520f228 - dce_ast: f72c8a3ba8640021358cbb96f72e1955eb7503488abd3b50e14c643a7520f228 + ssa_ast: 34bf9bfaac959fa4f24440e76ca858d992bfb4adebb8a020d08ab9cd56f215a0 + flattened_ast: 1a1fc958a9e4b0da2bb92525c59619a33a509c77c3cb1f31f9ad9ca3a4b8af08 + destructured_ast: 4d4417c0c9142c8be160de978ddf31d482f7df83e7947195bb7923c4f69cb011 + inlined_ast: 4d4417c0c9142c8be160de978ddf31d482f7df83e7947195bb7923c4f69cb011 + dce_ast: 4d4417c0c9142c8be160de978ddf31d482f7df83e7947195bb7923c4f69cb011 bytecode: 78f1462dd03f403c4a6d09ee9fe96c4a38f860069190d718a34416b68b9b5643 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index e8f0af0460..a16c797933 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b0ddac973edd8e55a17b0acbbc0666fff0b004726b504c4c04446fbe79186a52 initial_ast: 289370598c580c0a77db8ec3bf769f58e60f0a7d69a1d66b3459734b250f49c7 unrolled_ast: 289370598c580c0a77db8ec3bf769f58e60f0a7d69a1d66b3459734b250f49c7 - ssa_ast: 6bbbe4859c5ce135648851e10a02671504a60edff4b7d09ebce16aead6052054 - flattened_ast: fbf9b112dd98e0c5063d7a2e043bd6ed62967231bdb214341a636bd1bed06834 - inlined_ast: fbf9b112dd98e0c5063d7a2e043bd6ed62967231bdb214341a636bd1bed06834 - dce_ast: fbf9b112dd98e0c5063d7a2e043bd6ed62967231bdb214341a636bd1bed06834 + ssa_ast: 897702589b53782b355f5aafbaca7ca75bef83fec5d8e5fb155903577a85c2cb + flattened_ast: 8107d78818cd2a224772dee8997f8422adb618c6a18aacb26b9504435285f239 + destructured_ast: cc73d14533dcb08634f5c8f26059457f51754f141ac42bcb77e7e7455c0786cc + inlined_ast: cc73d14533dcb08634f5c8f26059457f51754f141ac42bcb77e7e7455c0786cc + dce_ast: cc73d14533dcb08634f5c8f26059457f51754f141ac42bcb77e7e7455c0786cc bytecode: a7b99df5f7c17bca61aa58a32b7dd8b1b4281302d545b2a88b8c162d1c52dbaa warnings: "" diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index f967b2bb02..14e69a0778 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e0773e84b8e8486f001fa117b80af79e27c45d8416b381428900d0c2f234c8a9 initial_ast: 89c7f6a2ed64c468b223df4a2ef54af2dc269f1b937f60af6c343cb8ffd47a9b unrolled_ast: 89c7f6a2ed64c468b223df4a2ef54af2dc269f1b937f60af6c343cb8ffd47a9b - ssa_ast: 7300e3bd04a1dc5761209d2c2532ae8e25a1ee1b5253c3dd38c84fbe8b123d0c - flattened_ast: 55c8c27c9f52ad37e9b876dd18f6dfd7462f9a79b0e9460f975be8f8c256315a - inlined_ast: 55c8c27c9f52ad37e9b876dd18f6dfd7462f9a79b0e9460f975be8f8c256315a - dce_ast: d39ab146fab137bf1ac6d1196de2ac172e9fca0f9fd5a0aee6e06a1f95040a7f + ssa_ast: a068873a94fc820b97fa0658cc007e4dad4c7cc9792a2fcd82e08a8d3ca2a85c + flattened_ast: c5f403c6aa3234e16ba4dde272debe702d5cfbf16f29cafcd3393bc68c660b33 + destructured_ast: e1d0df49e0de0952217cb41108d21451af076d4c28980e2ea2b11fe31663969e + inlined_ast: e1d0df49e0de0952217cb41108d21451af076d4c28980e2ea2b11fe31663969e + dce_ast: 5deda4e7c9eea5815f27a6e75195bb477ea43732652590e433f331227bb8c3f4 bytecode: e5ef9b94c6b2173341804d3fd3d6ca89bcdebc38ed22f7444bb4e140d86f5f00 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index 0ccf559216..c5ed7d6192 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: e4a926507ecbd7759bdf0164c3ccae1d828be2d5a5a23fd6966147a4d9fdbae4 unrolled_ast: e4a926507ecbd7759bdf0164c3ccae1d828be2d5a5a23fd6966147a4d9fdbae4 - ssa_ast: b47603628d0df974f272db1f46dba3d67f06ea754427e58015ddf5ab24a7bf7f - flattened_ast: abbbfa2c746d4cc8ff5f69b0659f1a70f124718aca505c1ba210b22a8a71023c - inlined_ast: abbbfa2c746d4cc8ff5f69b0659f1a70f124718aca505c1ba210b22a8a71023c - dce_ast: abbbfa2c746d4cc8ff5f69b0659f1a70f124718aca505c1ba210b22a8a71023c + ssa_ast: 83960a40c8862aafb80047d4ccdee5333c4c658fde50981d9e0050ec1d6f51bb + flattened_ast: e02dfeaab54ef2dcabb380461d1033dcfa1515a6c6fe261cfa06410d4058e180 + destructured_ast: 068c25b07849d29e43b02a322c106419ea1c6122019f03d27e20a4272f03797c + inlined_ast: 068c25b07849d29e43b02a322c106419ea1c6122019f03d27e20a4272f03797c + dce_ast: 068c25b07849d29e43b02a322c106419ea1c6122019f03d27e20a4272f03797c bytecode: 13cd83b19f077edfeb58e50adbd76dac67742cef9747f50f4bc4bdb3ec3dc38e warnings: "" diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index e84501bc62..3728bdc95c 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 8165b96192ad76a4971494092b8044e8c48062ea39979badd862826239e6ca4e unrolled_ast: 8165b96192ad76a4971494092b8044e8c48062ea39979badd862826239e6ca4e - ssa_ast: 7cabb88fd60501ed21ecb6708275b9d33064aa5e061d16207dfb3449e856142a - flattened_ast: b4fc66a6e9b04603f58e7b12f25d7a7d30d0151ed578bb6f5c907d2e3b705c4c - inlined_ast: b4fc66a6e9b04603f58e7b12f25d7a7d30d0151ed578bb6f5c907d2e3b705c4c - dce_ast: b4fc66a6e9b04603f58e7b12f25d7a7d30d0151ed578bb6f5c907d2e3b705c4c + ssa_ast: 386d12c6ef952da2eafb36c2651b2c22e750ce581492c71c4f4865f9234548ff + flattened_ast: 128b0bb9bbc3f7f6f2d0cda8a3525aa06e2c2be90ae7bad83fed5a1bb963db07 + destructured_ast: 375e5450f0d0afc622e8b85ea97673d1db4e30ac17c4aaab44d7518a9b8ba389 + inlined_ast: 375e5450f0d0afc622e8b85ea97673d1db4e30ac17c4aaab44d7518a9b8ba389 + dce_ast: 375e5450f0d0afc622e8b85ea97673d1db4e30ac17c4aaab44d7518a9b8ba389 bytecode: d1aaa5f10bdbc9f2ea3144d83472c27d7f6d6ae31fa26196f320db6d7a9b0403 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 5237fda060..cd0c86bd4d 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 0332dfb3645a245effe0f97f2788e5b97aa9a4667f09e7b49cbea0f8b4fa39f1 unrolled_ast: 0332dfb3645a245effe0f97f2788e5b97aa9a4667f09e7b49cbea0f8b4fa39f1 - ssa_ast: f6d8b7aba78631e6e3712fec87eb92bf94c46283936c9c6da4e466c1292e50d0 - flattened_ast: 4dca2310088bad00b222921ffdff0e8b2f18506d1ffba7f22800a5a1b9412a3a - inlined_ast: 4dca2310088bad00b222921ffdff0e8b2f18506d1ffba7f22800a5a1b9412a3a - dce_ast: 4dca2310088bad00b222921ffdff0e8b2f18506d1ffba7f22800a5a1b9412a3a + ssa_ast: 2f9cf566aac73864452fcdef3a0da94b6d46af760a69596b6f6f74531a8962c9 + flattened_ast: 9fadcf2f3a7f10911e6b0194c837281459eb0837a4301ddf05ab3c47d9ef4889 + destructured_ast: 23130ef167f4182a5e6e4c6b5c3a866ec42741463acfbabcbf6480e6f2b9c7b8 + inlined_ast: 23130ef167f4182a5e6e4c6b5c3a866ec42741463acfbabcbf6480e6f2b9c7b8 + dce_ast: 23130ef167f4182a5e6e4c6b5c3a866ec42741463acfbabcbf6480e6f2b9c7b8 bytecode: a9ad512e3741c4b6ee79435b76680783f4e9de0ae6720f3945fe03a8a4fd4d0d warnings: "" diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index dfbe95ee0f..0973dc9703 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 3b7a0d6cc6bbca6d22f54515383fac76f57f6209093543ebe04302125e948b7a unrolled_ast: 3b7a0d6cc6bbca6d22f54515383fac76f57f6209093543ebe04302125e948b7a - ssa_ast: 6741d145b1a2bca6e361e6ce077c07d763d9e5fe1ef7d612316ae67fe9097192 - flattened_ast: 2bcc3495eb6331fbcae0c68eac09a8027911c541e0b729186226f1bc4087e8f8 - inlined_ast: 2bcc3495eb6331fbcae0c68eac09a8027911c541e0b729186226f1bc4087e8f8 - dce_ast: 2bcc3495eb6331fbcae0c68eac09a8027911c541e0b729186226f1bc4087e8f8 + ssa_ast: 4e20fa9e39db4df3ddec393fa09c3d1ee2db0f728f702303fb9bfce7b8d5e794 + flattened_ast: db5cfa29cd125f3ca3302d6df0191641df0a09c04f72ba16b1d1fd95b07f6a68 + destructured_ast: 2e1fd994348223a934d1eb74a2638152d1221e9c0d86380b6d0342baa35cc93b + inlined_ast: 2e1fd994348223a934d1eb74a2638152d1221e9c0d86380b6d0342baa35cc93b + dce_ast: 2e1fd994348223a934d1eb74a2638152d1221e9c0d86380b6d0342baa35cc93b bytecode: d36e49eaf108a44b1c40155c909914f866e5ce509034c1ae630d22a37c702cba warnings: "" diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 97ae2a9f35..d19238b1fd 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 6e0a35192bd8616ee51e8311133486f8b8d9538e1da160baa9fad6d95510737f unrolled_ast: 6e0a35192bd8616ee51e8311133486f8b8d9538e1da160baa9fad6d95510737f - ssa_ast: fee7f88ac5a1618a9a28355464978a8746024c87ad01dc0495efd68b80eab402 - flattened_ast: ca1fb9cc4c1ca4a7bd7596fbf2b8cdfd22251bbe51fe2fe5534409b4bc57140a - inlined_ast: ca1fb9cc4c1ca4a7bd7596fbf2b8cdfd22251bbe51fe2fe5534409b4bc57140a - dce_ast: ca1fb9cc4c1ca4a7bd7596fbf2b8cdfd22251bbe51fe2fe5534409b4bc57140a + ssa_ast: bec0c3533c24fa1df07b3fdecd65ac4358471a4421aff880924d643c341a3a26 + flattened_ast: 46c9a709d1a104dbbf77afa0c19c49ff32dafcd6836123cda9511619f9a29b4a + destructured_ast: 6c410d87ee19d21f79822e93e1ad614d3c6f3d006e5576e3b2c2aa5405be2359 + inlined_ast: 6c410d87ee19d21f79822e93e1ad614d3c6f3d006e5576e3b2c2aa5405be2359 + dce_ast: 6c410d87ee19d21f79822e93e1ad614d3c6f3d006e5576e3b2c2aa5405be2359 bytecode: 58d1ec6467fbeb13930300da8864ec299ab548393dd572f1ccd4878a599873e2 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index 97152afcc0..dd1b3ca6ce 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0f2265f9101f359c896b55da9d8ff13fabf3d206191dd1b8b424ff81230e92c0 initial_ast: 6ff3de29229f846ecee4a774c203122a2b68e88b2d2f2175187ab6acad512ea9 unrolled_ast: 6ff3de29229f846ecee4a774c203122a2b68e88b2d2f2175187ab6acad512ea9 - ssa_ast: b8f2ecd37c7e89563d0cdcea7f8f432bd6727b213f96b5191b3d3c93499f9222 - flattened_ast: 4ac307696e2ee4f79bac52a9a4c56b61d7513e345926e498c61a899ef3a3a7d5 - inlined_ast: 4ac307696e2ee4f79bac52a9a4c56b61d7513e345926e498c61a899ef3a3a7d5 - dce_ast: 4ac307696e2ee4f79bac52a9a4c56b61d7513e345926e498c61a899ef3a3a7d5 + ssa_ast: 659e82bfdaa93301c7fb8de2cf836e365ab57df4d8035dbd625eec09b06b9131 + flattened_ast: c6a1608337f12a8738ebf168b0397b1215cdec2086967c1029b8c90e98b358cb + destructured_ast: 0245b0b43eb89124e9edfb8ddec661f0eb094c9066a47e8641f70758005adb56 + inlined_ast: 0245b0b43eb89124e9edfb8ddec661f0eb094c9066a47e8641f70758005adb56 + dce_ast: 0245b0b43eb89124e9edfb8ddec661f0eb094c9066a47e8641f70758005adb56 bytecode: fe0eb66afc2af38ebf4fd30fa4eb0af15eda6be5302fb2a7470485b4536d06e4 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index a9d1c630de..683d951ae2 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c6830299330a05ca4f0ad6029c9bbd1e3773f782b26e721ddb140ee7564f8444 initial_ast: 1c906a0215f9fb741c2b753ba481d23ecf05eafe4e735be84aa1c93cdba2cb1e unrolled_ast: 1c906a0215f9fb741c2b753ba481d23ecf05eafe4e735be84aa1c93cdba2cb1e - ssa_ast: d0cb1e8d0becb355d6475f3724e8efa65c70a9bb28280c199075559179287cb9 - flattened_ast: 904c1ebdec7f0bfaa441b8321c8066b41a6d6e46e1e85af3c8a0c8cf5d1479f0 - inlined_ast: 904c1ebdec7f0bfaa441b8321c8066b41a6d6e46e1e85af3c8a0c8cf5d1479f0 - dce_ast: 904c1ebdec7f0bfaa441b8321c8066b41a6d6e46e1e85af3c8a0c8cf5d1479f0 + ssa_ast: eae5f3b8382ac91d94bd07fcd5176c68aca05b4bd09fbe58b47593c73903683a + flattened_ast: 6e1f1c6e79148e6336cb144210314565ac42f49be35dcc9a8786849e60076038 + destructured_ast: 58e445f587fa1265412117255cb46e89bd2922def1409cc812f7fc4dcf96f505 + inlined_ast: 58e445f587fa1265412117255cb46e89bd2922def1409cc812f7fc4dcf96f505 + dce_ast: 58e445f587fa1265412117255cb46e89bd2922def1409cc812f7fc4dcf96f505 bytecode: 4e191316243b5f6fff5d47a3177f3ec59d72ce76b7f3d6d3aa0da615f67a4087 warnings: "" diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index a3de3816e0..b69041cb20 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b43e69e053c7c7146845266084efddcbe355fe241489e5a8c81188b9246dcb94 initial_ast: 9b4ba9bdb6f581dfa235a208d3727093a87c5c71fca8ddcec9a6f727f4f1c00c unrolled_ast: 9b4ba9bdb6f581dfa235a208d3727093a87c5c71fca8ddcec9a6f727f4f1c00c - ssa_ast: 696ccc6e1e200a529fa458534e2353ab17a28208b7644f8ee29ab31538486b1c - flattened_ast: ef2eb12b9a044ecb8dbe32fbe8ecc4c22a3eac67a80695b0bf6d836b88f44168 - inlined_ast: ef2eb12b9a044ecb8dbe32fbe8ecc4c22a3eac67a80695b0bf6d836b88f44168 - dce_ast: ef2eb12b9a044ecb8dbe32fbe8ecc4c22a3eac67a80695b0bf6d836b88f44168 + ssa_ast: bf5a5f0da460f03cb4552219f7f80cd596b3985055e6a7ef031fa0cea98d508f + flattened_ast: 50f237b43d096394a829fc63fddd609ad4e5ecf09f50f4f5ea6d3752f46479d8 + destructured_ast: e2fc8e0f713eb24ab748c95ec5ba35e3034f00577eb5adb22146acad9010255a + inlined_ast: e2fc8e0f713eb24ab748c95ec5ba35e3034f00577eb5adb22146acad9010255a + dce_ast: e2fc8e0f713eb24ab748c95ec5ba35e3034f00577eb5adb22146acad9010255a bytecode: cf0a59e484f688e214a001360e2b18445ca6764fbd6c05f133ff317504b3fb3c warnings: "" diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index 1987b83817..055286b37e 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 636f79875d0d01ccc98758456283a63570f990642dbc9b00b28afc7380089597 unrolled_ast: 636f79875d0d01ccc98758456283a63570f990642dbc9b00b28afc7380089597 - ssa_ast: 119ffe701833abc22445c2e981b7293e4a5adcefdbf69d212cf32016f927e22f - flattened_ast: dc0a4cf8a7dcddc6447562ffdd933b7e5fee25a64654fd3d3ee439a08ea02574 - inlined_ast: dc0a4cf8a7dcddc6447562ffdd933b7e5fee25a64654fd3d3ee439a08ea02574 - dce_ast: dc0a4cf8a7dcddc6447562ffdd933b7e5fee25a64654fd3d3ee439a08ea02574 + ssa_ast: 944d794140604131b2eabb90d9c3b86e61579a46827a247dd0d3ea999583b984 + flattened_ast: 93a03419ecede73b8093e7b838ebb27aa6082dffbd686501117d47746b2b7376 + destructured_ast: cb58fcb84cf9e99eeafba10f88c84b5ca61fc991393570bcadb4b7affdb1b402 + inlined_ast: cb58fcb84cf9e99eeafba10f88c84b5ca61fc991393570bcadb4b7affdb1b402 + dce_ast: cb58fcb84cf9e99eeafba10f88c84b5ca61fc991393570bcadb4b7affdb1b402 bytecode: 6761db493c28a4d597f857d8d63da1678bb9f4408795168fe82a841acf77f89e warnings: "" diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 0fd1232d2f..381ebd09a1 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: e37c04b6a312bcbe8ac11cdfb14d5ff88dea84fc7f1f60a10ca854978f8bf192 unrolled_ast: e37c04b6a312bcbe8ac11cdfb14d5ff88dea84fc7f1f60a10ca854978f8bf192 - ssa_ast: 7782b34249849db6cae50df0c058f7015bb9224832ad88612f850ded73a6e229 - flattened_ast: 4fcecc7f8df8ec0680699918336edfc9cd165e9d715c1e5cc278bb7d619947c2 - inlined_ast: 4fcecc7f8df8ec0680699918336edfc9cd165e9d715c1e5cc278bb7d619947c2 - dce_ast: 4fcecc7f8df8ec0680699918336edfc9cd165e9d715c1e5cc278bb7d619947c2 + ssa_ast: f886296db2a886941d887725f69523b1f88a42905009b2290ae43e9e9da23cbf + flattened_ast: 2b3d3e2919f9002afe991642bad9abfef2053684439d302ae67db06a381a60b1 + destructured_ast: 8320940b59b044d77afb6e67cce845dd4a0e11dc1dec936b7b1409af836c1bb3 + inlined_ast: 8320940b59b044d77afb6e67cce845dd4a0e11dc1dec936b7b1409af836c1bb3 + dce_ast: 8320940b59b044d77afb6e67cce845dd4a0e11dc1dec936b7b1409af836c1bb3 bytecode: 31f37fed73b997c95b00e68369546c32ee9baeac9bc4c08113248156f68f7365 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index 62e25ec21f..6cb337fc70 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d1f54203cf2573f6fd59f6e68fe9817a0e9067c01a984914965ff537220ddfab initial_ast: 8ce75c86a629b2f0e052c746b322c97559b57da075df7a260e44436c86c2ddff unrolled_ast: 8ce75c86a629b2f0e052c746b322c97559b57da075df7a260e44436c86c2ddff - ssa_ast: 7da86a12a8baf837d022891f2c80cb20f87a1c93760059a92185eee212cd8a7a - flattened_ast: bfb2bf90e2d7d988ce475a309c0f33d2fb4c01a2b8be9781f12e772bbacaa94f - inlined_ast: bfb2bf90e2d7d988ce475a309c0f33d2fb4c01a2b8be9781f12e772bbacaa94f - dce_ast: bfb2bf90e2d7d988ce475a309c0f33d2fb4c01a2b8be9781f12e772bbacaa94f + ssa_ast: ab5632849863819d07048c38965900b67111d470e69dc657dede1acb0bf4ab34 + flattened_ast: c0e4849060c973a628b7e63a3324e096b2b2c2c3f1b28af136b3a2563fb86e94 + destructured_ast: 852213e0fa8b5a343a29e5a2241e044a2d92fbcf0388c8c6a07b8016762c84e1 + inlined_ast: 852213e0fa8b5a343a29e5a2241e044a2d92fbcf0388c8c6a07b8016762c84e1 + dce_ast: 852213e0fa8b5a343a29e5a2241e044a2d92fbcf0388c8c6a07b8016762c84e1 bytecode: 4c7bc1ae9e77f79475afa9f5201eefc0fe85291af17b3d746bd69336e42101a1 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index 15790f3f0d..acdd9330b6 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 874031b7e3fcbfbea896b42ce387bde598c459e03850664d943ad27ceaae8e2d unrolled_ast: 874031b7e3fcbfbea896b42ce387bde598c459e03850664d943ad27ceaae8e2d - ssa_ast: a3e0a4d7699a93d45698221c87dc8c876f2c953bab5fa381e40565c9bddf9569 - flattened_ast: db56ed86aaf64f3ccd7b643d795f5ce4a11dd46318cd986ea27b5a74dcf833a0 - inlined_ast: db56ed86aaf64f3ccd7b643d795f5ce4a11dd46318cd986ea27b5a74dcf833a0 - dce_ast: db56ed86aaf64f3ccd7b643d795f5ce4a11dd46318cd986ea27b5a74dcf833a0 + ssa_ast: a29ccba7ea1013b000ff6712a2691b827cac0a704c05eae685b6087e86dfa147 + flattened_ast: 68fdc6979db518e5157928a48fccd5275f63f4f1e630a0ba8823d3cc354e65c8 + destructured_ast: 2e02ec9fc4a1777fdecf247dcfc9ed69ecdc6f3a825908113a74c7e75cb30c1d + inlined_ast: 2e02ec9fc4a1777fdecf247dcfc9ed69ecdc6f3a825908113a74c7e75cb30c1d + dce_ast: 2e02ec9fc4a1777fdecf247dcfc9ed69ecdc6f3a825908113a74c7e75cb30c1d bytecode: 632b53e1874bb592e38caef626784ecc81f0b250a76ed6ece1d92b0e3e07f0f3 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index acb030a90c..e62f3860a3 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: 1f3589e83b8c1cc6351cf13e6bc005af915719eb9978551592d2557780c3f432 unrolled_ast: 1f3589e83b8c1cc6351cf13e6bc005af915719eb9978551592d2557780c3f432 - ssa_ast: 2c5dbb36b52788ac4ccbc6522bdbfca964d44ed94d02ecceb7e5ef651e9e6850 - flattened_ast: 91a2477363384dce5eefe0d9d2b694e9c1c882fa1fbb8660d45b322431c665aa - inlined_ast: 91a2477363384dce5eefe0d9d2b694e9c1c882fa1fbb8660d45b322431c665aa - dce_ast: 91a2477363384dce5eefe0d9d2b694e9c1c882fa1fbb8660d45b322431c665aa + ssa_ast: 4096fa7a6204f1ec6d44f41466655850387de65c1877b5615bdf9dbcacefeb61 + flattened_ast: 700f248ad7f74f54d0dc691fbb5fae806a6e99584ae2d5e451a6cf577dec9923 + destructured_ast: 2e71ee43cad489ad9fea2199a433b2ffaac1bd3a29aaae8048dca6cac3844797 + inlined_ast: 2e71ee43cad489ad9fea2199a433b2ffaac1bd3a29aaae8048dca6cac3844797 + dce_ast: 2e71ee43cad489ad9fea2199a433b2ffaac1bd3a29aaae8048dca6cac3844797 bytecode: a8fabd0b697054bb6de3971dbb93d8a9fb228135f08372b2ae641bb32d670d62 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index 968a4b7f6f..c89c9aa1cc 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: 25aaff69c6fc5d71da142026a2411fec2b0b09d4abde344123db34e6fa5f86d3 unrolled_ast: 25aaff69c6fc5d71da142026a2411fec2b0b09d4abde344123db34e6fa5f86d3 - ssa_ast: 5e59981f39508d1bb140931601e58882b409e8ea32c3985e58b96cd8bebacc72 - flattened_ast: d8de7e07907b545f848e581f8e5bb87ce67ff9a9981ceae5effbb375368c72f0 - inlined_ast: d8de7e07907b545f848e581f8e5bb87ce67ff9a9981ceae5effbb375368c72f0 - dce_ast: d8de7e07907b545f848e581f8e5bb87ce67ff9a9981ceae5effbb375368c72f0 + ssa_ast: 183762563747b7afa21e69b27d2ce765333ad6a674cadbf69092c62feff6a3d5 + flattened_ast: 57377b9a28d4fdd9e5b7f3438c20e5e51b88e36e7a3f879473a194042c1198c6 + destructured_ast: 3e407e38718f2d41b60a0ff45999aaad964f7120594bf1b5c0383b8c45d77d63 + inlined_ast: 3e407e38718f2d41b60a0ff45999aaad964f7120594bf1b5c0383b8c45d77d63 + dce_ast: 3e407e38718f2d41b60a0ff45999aaad964f7120594bf1b5c0383b8c45d77d63 bytecode: f6c47583029e6e00d1d236422c0365a273e4da8dad6dabfb1fe6d1081dc03311 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index a428b2a065..a3a0d15802 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: 4a31c204f4e6baa24f7e69d6e24a849148f76a2b425076922a531967ebbc49a9 unrolled_ast: 4a31c204f4e6baa24f7e69d6e24a849148f76a2b425076922a531967ebbc49a9 - ssa_ast: 9a24e8bf6b83a99a054004661e5d6817d7e1a6ee204ceb22e933f39888c38414 - flattened_ast: 008f98b37ca529aa07d200665d872a656117abfeef245c3987aafb431354d918 - inlined_ast: 008f98b37ca529aa07d200665d872a656117abfeef245c3987aafb431354d918 - dce_ast: 008f98b37ca529aa07d200665d872a656117abfeef245c3987aafb431354d918 + ssa_ast: c87827b419e6cc358f7f91897502737d3f0fd516401efdd538a0bae3aecdf008 + flattened_ast: 0a83c4f51f7e3bc7a1971c2f28798c252ed4af5aa0fca2626a26faf839c6658d + destructured_ast: d55f3abc3f4058adb3ebbf178fc314e28c4f25877651b550f4a7f49ebfb887ea + inlined_ast: d55f3abc3f4058adb3ebbf178fc314e28c4f25877651b550f4a7f49ebfb887ea + dce_ast: d55f3abc3f4058adb3ebbf178fc314e28c4f25877651b550f4a7f49ebfb887ea bytecode: 33459897e4a71fffb71fcfaead0d591ef888473dd61c5c1b83465aa7f99c7f69 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index ecd654bf8e..79ac1557a4 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: 1698f39e64a09d70e644f8ac7ff0b4741f140b4586b0d1b7e88edf96fbf71822 unrolled_ast: 1698f39e64a09d70e644f8ac7ff0b4741f140b4586b0d1b7e88edf96fbf71822 - ssa_ast: 3ca2c0040234b5934e79c8221136390814d10499d5b87e56f488333f43559997 - flattened_ast: 7724a7103f8b9b81227bfb19f57b8859afac1b214222f98cefbc0976a9caa68b - inlined_ast: 7724a7103f8b9b81227bfb19f57b8859afac1b214222f98cefbc0976a9caa68b - dce_ast: 7724a7103f8b9b81227bfb19f57b8859afac1b214222f98cefbc0976a9caa68b + ssa_ast: 859b61ba5de929fe69378258ccabb15e4df1c0dc713a119c0d9f1407136e75e8 + flattened_ast: f63fbfb72a64cc8ba51cf636a375ab8faf116f03830061a8a828edd3c1575733 + destructured_ast: 9287020d0ce35ffe5dfbda30957deb0a9ccca9167b9ced0e9cb1b0d878845bd2 + inlined_ast: 9287020d0ce35ffe5dfbda30957deb0a9ccca9167b9ced0e9cb1b0d878845bd2 + dce_ast: 9287020d0ce35ffe5dfbda30957deb0a9ccca9167b9ced0e9cb1b0d878845bd2 bytecode: 4e59b997e48f430720d435483ba0e45c45df4be732f87661f59f7f6b87331c30 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index 87dfd55d51..71466f02b8 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: f1629cef6834b7345b30c2f04b79982827f2a88ae32666ff1961ee8e3f734dd0 unrolled_ast: f1629cef6834b7345b30c2f04b79982827f2a88ae32666ff1961ee8e3f734dd0 - ssa_ast: 0f95b5c1fa70367694695fbde705194e27deb486b98b0379c32cb7706e1eaec1 - flattened_ast: 762b95a1120eec92960cf4dbcc9451a0a8f61fa6cd56dd6e9bce58357657b067 - inlined_ast: 762b95a1120eec92960cf4dbcc9451a0a8f61fa6cd56dd6e9bce58357657b067 - dce_ast: 762b95a1120eec92960cf4dbcc9451a0a8f61fa6cd56dd6e9bce58357657b067 + ssa_ast: afde6ac7e232f92d67d839481a27cc1fc27bd5b477066b14a2e750e580ecf4ef + flattened_ast: 7e83476e8640d3efff79d5410d7cc569aa469007b39dc2375c9120192a71bba3 + destructured_ast: 2f03a2f42bfa7ae17e8492978d394ca1d55a9b1db2ff898f2b64d1863928f05a + inlined_ast: 2f03a2f42bfa7ae17e8492978d394ca1d55a9b1db2ff898f2b64d1863928f05a + dce_ast: 2f03a2f42bfa7ae17e8492978d394ca1d55a9b1db2ff898f2b64d1863928f05a bytecode: a785c0d8cfd6988cde7a87a968cf8aa87ac982a4c4aef53474348c4e0525d714 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index 0098ddb820..4bc019c4c1 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e5c1c1bfa113a66563ce095a7f0136668963521789ff90de7c5d37999fc47ba6 initial_ast: dfa20d61739e36a47b19b6e5f08300911c60a2f12a106a2ae8684d0cca02cb93 unrolled_ast: dfa20d61739e36a47b19b6e5f08300911c60a2f12a106a2ae8684d0cca02cb93 - ssa_ast: e72f36bb49b37d1948f612d4448c9f82b4a9764749176b78f79a5ea534324cd0 - flattened_ast: cbda59c0c1298dd224eb9a4139aa7fa064ae9a06fd3be6bf326655396f02594c - inlined_ast: cbda59c0c1298dd224eb9a4139aa7fa064ae9a06fd3be6bf326655396f02594c - dce_ast: 5895ba81da1828c55973e3659deb04d118d76cea303139c7182979daca8dd87b + ssa_ast: 72796c75b4ec33bf3451ade7b789da650c4d946c479fe7182d84de4bcf8e924d + flattened_ast: 3ea428041bdf306befd85bcf9df5d9bccb697b3160f9e44761e410f70c4c72b3 + destructured_ast: 60670af4839af3bcabab655c3f7c532fceb9a51a25fc7cdb4ac1e63a776944a0 + inlined_ast: 60670af4839af3bcabab655c3f7c532fceb9a51a25fc7cdb4ac1e63a776944a0 + dce_ast: 2b0dbe16546b8ccb0755b4ad3bfcd4d6b9070459b0d5b67678ccf0324b355759 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index 92d193886c..65dff78008 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: e5c1c1bfa113a66563ce095a7f0136668963521789ff90de7c5d37999fc47ba6 initial_ast: 8695ec874b2bd68e6b1bd05716ae1ebecf750f29ca64a5db4db695bb4a654fa4 unrolled_ast: 8695ec874b2bd68e6b1bd05716ae1ebecf750f29ca64a5db4db695bb4a654fa4 - ssa_ast: 814aff0f9b4afebb549676dc3308a12f168d3135cc865f7dfb13f149e52f353b - flattened_ast: 7da3313afaab310d17c708e0a8fd1a86ef7804e7cd7f6cbddf9cba769e2e078b - inlined_ast: 7da3313afaab310d17c708e0a8fd1a86ef7804e7cd7f6cbddf9cba769e2e078b - dce_ast: bdcbd1ad39ec74c501c73024023b5bd4a8d2bb16394566ac3bc67d78d32df0f0 + ssa_ast: 39b785f4b6bdbb4291d1cc99df447253ae0d2d078f8b53890d88a8792b47b22a + flattened_ast: 381024a49e9a903754a9a199c1516da60b399d5b835cfb14e2f7684275e4421f + destructured_ast: 19a41aaf8ee6237465a98725bf3897a48faa2354ea3e86bac3ee5d7ea980e3f9 + inlined_ast: 19a41aaf8ee6237465a98725bf3897a48faa2354ea3e86bac3ee5d7ea980e3f9 + dce_ast: 98e6c40e53cff196b1c70525093de0b270a18ad15d9b79eac884b4832088e8d8 bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index 6796fffd97..1fc54fbd54 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 8dff2d38fd3394c3ee6d0fdb4446015444ac812c99ddc93b52445705dc1a21a4 unrolled_ast: 8dff2d38fd3394c3ee6d0fdb4446015444ac812c99ddc93b52445705dc1a21a4 - ssa_ast: fc81d30666a2b1f6d2adcc24eb1dfdbf8d96411c72d5116c391345445e5a4e05 - flattened_ast: f99a69133b30dd569d9c6d52afebea7be73f6bdb03f3e66cbdbf7202defe37e4 - inlined_ast: f99a69133b30dd569d9c6d52afebea7be73f6bdb03f3e66cbdbf7202defe37e4 - dce_ast: f99a69133b30dd569d9c6d52afebea7be73f6bdb03f3e66cbdbf7202defe37e4 + ssa_ast: 6d27e483c1980b4506bdbc56e719c6978bfeefc57bd40680f4008020341f7601 + flattened_ast: 20bde5cf38b2631083df48b494fd09ab4077eaf47175ddb9df4067846adca131 + destructured_ast: cf9c4391eb693b545a7ee5ff062f588d1b3050a78b5b56a436a9a5076ac33a04 + inlined_ast: cf9c4391eb693b545a7ee5ff062f588d1b3050a78b5b56a436a9a5076ac33a04 + dce_ast: cf9c4391eb693b545a7ee5ff062f588d1b3050a78b5b56a436a9a5076ac33a04 bytecode: 937e45d26a72a2f9c73609facb8351023ac2bd00390e289501ad3729b65adbb4 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 3011b4bb06..21afc4abc6 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 45260630381ed725777ebdbd7d894af5eb8e08ca73bebada2dd79960713a4ea0 initial_ast: ac5103181a8d38588002635c92a1000f60d1bf093a4e668a44e51fedc3cc6428 unrolled_ast: ac5103181a8d38588002635c92a1000f60d1bf093a4e668a44e51fedc3cc6428 - ssa_ast: 3efa1ee6d9866bcb0a79c31bf984ae62daa67cba46a07bcbb0adf6f8aeec6672 - flattened_ast: f02a6cf45337bdb75c9a32d04bcecc916d37ce50429dbbf9a085cdb6e1bea172 - inlined_ast: f02a6cf45337bdb75c9a32d04bcecc916d37ce50429dbbf9a085cdb6e1bea172 - dce_ast: f02a6cf45337bdb75c9a32d04bcecc916d37ce50429dbbf9a085cdb6e1bea172 + ssa_ast: dac20b4e50a88c50c27d6a9b3861c6c984a9cd0828e52baa4b71dc6bfc199ed3 + flattened_ast: 5e97ef5b1475cce5e3dcd82a7b256d979f2d2061f1d0d071b8f28ba1b1350d1a + destructured_ast: 052f90bbaa36cbf143acc5c7215d0918dc338764063f2d86c4adb7e511e76c22 + inlined_ast: 052f90bbaa36cbf143acc5c7215d0918dc338764063f2d86c4adb7e511e76c22 + dce_ast: 052f90bbaa36cbf143acc5c7215d0918dc338764063f2d86c4adb7e511e76c22 bytecode: 675110e460b707b82a70a488ae58b8d118d946909f825c9afd6121254e676c03 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index 6383c9e669..634179d6ac 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 180504424fa5bbbff4752a6342bf1e1155602b8a1e7581038ca028e266868190 initial_ast: d3485e23edfd680a7b7dbfde3cc48d533c01361c22d17e3e1f32ee9888e6969d unrolled_ast: d3485e23edfd680a7b7dbfde3cc48d533c01361c22d17e3e1f32ee9888e6969d - ssa_ast: 181d461c52a0302da06a1f059c3103438b27b499c6820bf337e458dccf236f33 - flattened_ast: c1903a76413877f1e3f4325d49f3835733402c44dbe7e7fe9a91a75888ce088c - inlined_ast: c1903a76413877f1e3f4325d49f3835733402c44dbe7e7fe9a91a75888ce088c - dce_ast: 931f0dd705cf5450ce921311f9092412d50cbe63ef1c8a430049e4efe971ed16 + ssa_ast: bb8bd2c81edac486294c3e84bc75f5c8cf09e9211c138adff097f3da9732adc2 + flattened_ast: ddf9053eff5e19307c2a5e93c5975c3015bfdb2480dc95a60f6addc360dfdea5 + destructured_ast: f51555bd91b454379123d50233e2a47fa546e2d4f386504db509fc4c8f2cbaa6 + inlined_ast: f51555bd91b454379123d50233e2a47fa546e2d4f386504db509fc4c8f2cbaa6 + dce_ast: af9b0559a9a8a5f58482135bcda829232324c38e3903f8a0390f7bcbd97546f5 bytecode: 525aa7ee628bc18ddc77b4d2c0f21cc66858ecbdd517233862c7ba491158c69f warnings: "" diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index f661f1392e..b47fa20c9e 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 4994d49ebe7dca04e7fc4c26335fe32fd6fd5b30145298e27f9019d4425e8ce3 unrolled_ast: 4994d49ebe7dca04e7fc4c26335fe32fd6fd5b30145298e27f9019d4425e8ce3 - ssa_ast: 6bc2f07390686616695230b48d5912bcae06c9d6592a036aff64ee4687b2866c - flattened_ast: e2abe282cf3f2707237dc349dd928663d01d5b91f1e6b5c764467ff3a40e541f - inlined_ast: e2abe282cf3f2707237dc349dd928663d01d5b91f1e6b5c764467ff3a40e541f - dce_ast: e2abe282cf3f2707237dc349dd928663d01d5b91f1e6b5c764467ff3a40e541f + ssa_ast: afc42b15285525fa6048fd82f4af8b64db6f351d36c126121b37fe25d1926e62 + flattened_ast: f738226ade944b3946e692d30c72136f6c516fadfd6c9dbfda98665d815e38db + destructured_ast: 2438d6a4742c2e88eaab83bc527e2243119dc5abb7e0beb68b7cde9505699790 + inlined_ast: 2438d6a4742c2e88eaab83bc527e2243119dc5abb7e0beb68b7cde9505699790 + dce_ast: 2438d6a4742c2e88eaab83bc527e2243119dc5abb7e0beb68b7cde9505699790 bytecode: dc659eaf16fad4225b86c68e2986ec498a85bfa9f34ad54a538119692169d54d warnings: "" diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index 51f292c1c3..935c0f8ace 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 5dbc7fa224db4bf7122e479a0f3761d640ac7858f7996b26125d1567ab6e7cfa unrolled_ast: 5dbc7fa224db4bf7122e479a0f3761d640ac7858f7996b26125d1567ab6e7cfa - ssa_ast: a111d6b5a6acc394d081f7285e7fef0892296ae6325697828293bc4052fb278e - flattened_ast: 35771ba5b29f3ed1694570d42856b0e8057e665cdd039b0e342de7447bf51959 - inlined_ast: 35771ba5b29f3ed1694570d42856b0e8057e665cdd039b0e342de7447bf51959 - dce_ast: 35771ba5b29f3ed1694570d42856b0e8057e665cdd039b0e342de7447bf51959 + ssa_ast: 8073d0244abde49fba06b73162a6130dd6e55cd7db1370e83b37228de15810ed + flattened_ast: 3b19e38f1ca194b7bad168d3f33f4c2a67b5225678fb954f718bd079346039e6 + destructured_ast: c058773d826a030f2f87e30429a3fd29d4391f3d2e41b0b2cb3ce3d8c2c6dc72 + inlined_ast: c058773d826a030f2f87e30429a3fd29d4391f3d2e41b0b2cb3ce3d8c2c6dc72 + dce_ast: c058773d826a030f2f87e30429a3fd29d4391f3d2e41b0b2cb3ce3d8c2c6dc72 bytecode: 6f39595f71ec6b6a1a2c622b9c18785cb99323fe027c8cd95d4f49a20b875f39 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index 4b929f29c5..ce63402b93 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: cdc64f216484d66d0154f8dff83dc5d115aad8e54b6e301e61ac548446dcd34a unrolled_ast: cdc64f216484d66d0154f8dff83dc5d115aad8e54b6e301e61ac548446dcd34a - ssa_ast: 55d2c462435d0f30a60d687b04af55573fc977aece329d3c9ae9a384a4646ae1 - flattened_ast: 1d41f602b4c4ccf1504be4769a8d4d8049ffbb830bc7ae414fe13f18563b2164 - inlined_ast: 1d41f602b4c4ccf1504be4769a8d4d8049ffbb830bc7ae414fe13f18563b2164 - dce_ast: 1d41f602b4c4ccf1504be4769a8d4d8049ffbb830bc7ae414fe13f18563b2164 + ssa_ast: 83cf97c66e55a5fd3449f60e25b988483255edbdf9d5085699e75e721b30e6d9 + flattened_ast: 7a8d12634c31d5bdb4072202b1d9f5f235758054c7f4863bee5ee90717b11a33 + destructured_ast: df5a699bb8025a8d0e9779e6115be1128763b3ac340f6307699f99c9bd6387fb + inlined_ast: df5a699bb8025a8d0e9779e6115be1128763b3ac340f6307699f99c9bd6387fb + dce_ast: df5a699bb8025a8d0e9779e6115be1128763b3ac340f6307699f99c9bd6387fb bytecode: eb0766ef7942b5b5f50c4778d1d82479583761acb0d4e903ca3b4998e9036ce8 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index 73e539abfc..c0fb0a2370 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 60ea5f5a13cbbe52b9f07cab3179f86374b18cfdb3b067be97546a4808520977 unrolled_ast: 60ea5f5a13cbbe52b9f07cab3179f86374b18cfdb3b067be97546a4808520977 - ssa_ast: f972534b22a7fe343d8e2801366a1b081d25be7b1e12e386d903ac16c654685e - flattened_ast: baab0de8163c3a55ecc8b9cb8d846b838869f5f177eafe923569616cb8e00237 - inlined_ast: baab0de8163c3a55ecc8b9cb8d846b838869f5f177eafe923569616cb8e00237 - dce_ast: baab0de8163c3a55ecc8b9cb8d846b838869f5f177eafe923569616cb8e00237 + ssa_ast: 15373db695019e2be3b2aa5156cd012c756b1d802776b7ab30f68a519636c49c + flattened_ast: 71e06772bd51f2e56483948a374b92a59b3093bc64fda5fefba5995e9e02e785 + destructured_ast: 2c93b0a1dc335c2421437e313ce7dd885002ce0a1b55fdeb0d168bcb68299d3d + inlined_ast: 2c93b0a1dc335c2421437e313ce7dd885002ce0a1b55fdeb0d168bcb68299d3d + dce_ast: 2c93b0a1dc335c2421437e313ce7dd885002ce0a1b55fdeb0d168bcb68299d3d bytecode: c080998e39be58c165d147352fed55e49828e93d487976c27e4e6e160736f4f6 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index 8b2781d8b1..29c7687387 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: 9c25c3f591c4a726e9a694ccd805abaa7298b668c4ebb4d9ee2fabe63ef9fa55 unrolled_ast: 9c25c3f591c4a726e9a694ccd805abaa7298b668c4ebb4d9ee2fabe63ef9fa55 - ssa_ast: 6d0daedd58d5699cd37d7e1234994770924bb92838bd17fc76ae39dcb4c1e5dc - flattened_ast: 4d5a0bcdd5cb3f020471f04f3290699ca71103018beb348f31968bad62f9cb35 - inlined_ast: 4d5a0bcdd5cb3f020471f04f3290699ca71103018beb348f31968bad62f9cb35 - dce_ast: 4d5a0bcdd5cb3f020471f04f3290699ca71103018beb348f31968bad62f9cb35 + ssa_ast: 4f07cf368313a67a2e50ab244346409f03a4e6c5dc6a74e0abcf5d9e6d21261f + flattened_ast: 0dcbd294cff451887b9347bfee31a64d53735c1bb153c4b0fe386bab753f1d03 + destructured_ast: c6b78b42d67ad1e637235d2980b6878636051cdbf33c26d543c5037abaa9b68d + inlined_ast: c6b78b42d67ad1e637235d2980b6878636051cdbf33c26d543c5037abaa9b68d + dce_ast: c6b78b42d67ad1e637235d2980b6878636051cdbf33c26d543c5037abaa9b68d bytecode: 115a3954fe97b0bf052859b3e2060732a5988a738e33e38fa9fc6124009a3df1 warnings: "" diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 92deb97d07..d3b6db46c2 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2eae41569c12165b6e03dd3e7f58a5dd053d20deb338170fe5660b71e1272660 initial_ast: a218b4101c0d9531bc258dc615833198d39b8d1719b4259c5c5205959500fb5b unrolled_ast: a218b4101c0d9531bc258dc615833198d39b8d1719b4259c5c5205959500fb5b - ssa_ast: 3973e419427e1f88d44e16164cd0e63b69f405d4c0560b15f412c2c1a2c382c7 - flattened_ast: 28aca0353f46f88b644a2d832b2bb8b6112b7c06f30c9838afe827c2386a03fa - inlined_ast: 28aca0353f46f88b644a2d832b2bb8b6112b7c06f30c9838afe827c2386a03fa - dce_ast: 28aca0353f46f88b644a2d832b2bb8b6112b7c06f30c9838afe827c2386a03fa + ssa_ast: bfd64b0c4d19e743628afba64079169a23f7f1df1b99a3e8bd96d1b3a9f34653 + flattened_ast: 00c01dc63770370da9c1d26c8e46b88ca291196e22ab178e928ad4917c0d955a + destructured_ast: 8edb9e25d93636837d1ba0550bbbf220a160585e9ba5c5520197228c03f46598 + inlined_ast: 8edb9e25d93636837d1ba0550bbbf220a160585e9ba5c5520197228c03f46598 + dce_ast: 8edb9e25d93636837d1ba0550bbbf220a160585e9ba5c5520197228c03f46598 bytecode: 000488241130473cec7bf53df1dc0bdab4ae452ab173fe563a9b9311c73f35fe warnings: "" diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index a8b41978c3..fe7129e8c4 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c3c8b22792593c3ebe3181295145026ab9081dec7906016f7fa8af0a7978dad5 initial_ast: 325ce226e58d637e6ae7037c61cf87d358304017cf0aacf4931e4b39d1348c91 unrolled_ast: 325ce226e58d637e6ae7037c61cf87d358304017cf0aacf4931e4b39d1348c91 - ssa_ast: 66b3e3125afc3caf7019ec051aabd4d940c16d88cb5f9fad50143287a0d50589 - flattened_ast: 6ced372238f44a1e0779d89b71e2e7d1da5336c1e8d339d3a104f27176f17c0e - inlined_ast: 6ced372238f44a1e0779d89b71e2e7d1da5336c1e8d339d3a104f27176f17c0e - dce_ast: 6ced372238f44a1e0779d89b71e2e7d1da5336c1e8d339d3a104f27176f17c0e + ssa_ast: 51360259b236e29171eafe154690f22337070146a5cb7263a8c7ed8e8e201e76 + flattened_ast: a6e64213ad5857ebcf9dcce92c5e5a049b050305c10c904958b09d7f0f8706db + destructured_ast: be39c58bd215510fe4ddfb9d4cf78b372960635607536a86be3474b5e31c2f8a + inlined_ast: be39c58bd215510fe4ddfb9d4cf78b372960635607536a86be3474b5e31c2f8a + dce_ast: be39c58bd215510fe4ddfb9d4cf78b372960635607536a86be3474b5e31c2f8a bytecode: 070a1a31af23c4436a8adf74befb9bae19c60a73da4ca1b8c295213c0505b1cb warnings: "" diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index f05504335a..2e7529874b 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 2f4d212a85f52ac39d3713c646ba81f1a01e97fa60202931b90f0911ac55fe7b initial_ast: 4743ce61174e6f531d7d352a1ddc85c26082692ccb67f3cc6f35d584bd40e0aa unrolled_ast: 4743ce61174e6f531d7d352a1ddc85c26082692ccb67f3cc6f35d584bd40e0aa - ssa_ast: 117bc4d6381dcc7b14802a3f7d2c9537b11c9751dfbf40f49c0409aface4b43b - flattened_ast: 17bde92e42952e9cac14b8c8650ab03911931c4abf07e6ef780199510c920c1c - inlined_ast: 17bde92e42952e9cac14b8c8650ab03911931c4abf07e6ef780199510c920c1c - dce_ast: 17bde92e42952e9cac14b8c8650ab03911931c4abf07e6ef780199510c920c1c + ssa_ast: a64128d560b6ffda123f8c2dad53ce9c59d82752394d6271e4bcc2cce7e5e172 + flattened_ast: 5e726423ca4dc4c66d9aa47148a4b914a977923a86426b92478cd0396e822919 + destructured_ast: c953463474fd78b29144715b190c0bc0e04bd61fe6b82b8711925fd337a2c32e + inlined_ast: c953463474fd78b29144715b190c0bc0e04bd61fe6b82b8711925fd337a2c32e + dce_ast: c953463474fd78b29144715b190c0bc0e04bd61fe6b82b8711925fd337a2c32e bytecode: a4c6a3559c050f7e666b347ea9cedd29ef60140d4bee54d145160726d4c31880 warnings: "" diff --git a/tests/expectations/compiler/mappings/max_mappings.out b/tests/expectations/compiler/mappings/max_mappings.out index fb69eb04f2..b239e8290c 100644 --- a/tests/expectations/compiler/mappings/max_mappings.out +++ b/tests/expectations/compiler/mappings/max_mappings.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: cf858c842a56e95eaf213aa840135e9271a2aa180b77297e1220fefc5698de39 initial_ast: 75fd2c11dd05bb9f73166f3e2157e0e024b222cc74ac4f7a798ba0eefd44d202 unrolled_ast: 75fd2c11dd05bb9f73166f3e2157e0e024b222cc74ac4f7a798ba0eefd44d202 - ssa_ast: 8cc9940d8137a8bdac91a4bcb1d3346e32b6f854377fa0122089c04cecbbf3c7 - flattened_ast: 6f6f90710738e5cdfbde623ca5e74347a82881ef0ac6b2c2bd59f045e0966fda - inlined_ast: 6f6f90710738e5cdfbde623ca5e74347a82881ef0ac6b2c2bd59f045e0966fda - dce_ast: 6f6f90710738e5cdfbde623ca5e74347a82881ef0ac6b2c2bd59f045e0966fda + ssa_ast: 65272614066cde684594b54636f61b9262bf4cd562416db87944a1543c86516e + flattened_ast: 080dedeb7ab2c0a432cbd0d797f108cef48aad6710a5384242c375cddbc6ba88 + destructured_ast: 72f8ad583cfa8357d468cf76295de7936394f8708b379d93b120106ad16590d0 + inlined_ast: 72f8ad583cfa8357d468cf76295de7936394f8708b379d93b120106ad16590d0 + dce_ast: 72f8ad583cfa8357d468cf76295de7936394f8708b379d93b120106ad16590d0 bytecode: 510d9a029bd4900c2278ae7b0d1a7a595b0bd6bae6e362e7bf3ca900ef8bdc8d warnings: "" diff --git a/tests/expectations/compiler/records/balance_wrong_ty.out b/tests/expectations/compiler/records/balance_wrong_ty.out index 97b61f107d..e16fa95f79 100644 --- a/tests/expectations/compiler/records/balance_wrong_ty.out +++ b/tests/expectations/compiler/records/balance_wrong_ty.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: d167be6064c68ea6f32ed604eb4e75f9ac77fcb338e0807bc3ff31bac40b778d initial_ast: dea94e375aab8e362433712e7b097c647093df55a3298808c0d6f456ee939fc0 unrolled_ast: dea94e375aab8e362433712e7b097c647093df55a3298808c0d6f456ee939fc0 - ssa_ast: 15d85f1df02125078ca685a8b7bd701bc5e9b42a9fd84b8352896e3139cd4953 - flattened_ast: 001894eb8466da7609fb7214fa48e231e5d0a449ff31eaea39a49e93cec8680d - inlined_ast: 001894eb8466da7609fb7214fa48e231e5d0a449ff31eaea39a49e93cec8680d - dce_ast: 001894eb8466da7609fb7214fa48e231e5d0a449ff31eaea39a49e93cec8680d + ssa_ast: 027a3088cfadfe7399e3f892090dc1c7cd00ad7af5aa34dcd8e24260e5fc769d + flattened_ast: c44ad0d422e38a5a53106f1f37609f7744304fc139693813453c464fd9978598 + destructured_ast: 90a7458d379dc0bccf7211e4c8309aab2b147a4877319d49716ea24405b82d80 + inlined_ast: 90a7458d379dc0bccf7211e4c8309aab2b147a4877319d49716ea24405b82d80 + dce_ast: 90a7458d379dc0bccf7211e4c8309aab2b147a4877319d49716ea24405b82d80 bytecode: c0e06b094899a8b986048ec322e2fccaf4812febf185e635cb734797a25a7626 warnings: "" diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index c5c69e6762..fd093f5c1f 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 07001f1ca76990a7763e649c27e7d5c327516ebed491fd303dddb27dbe21d22a initial_ast: 509cd8b89f1757b93d6259a8ea8f8fac5001bda3f4b1a9e3b399a02c5c05f91e unrolled_ast: 509cd8b89f1757b93d6259a8ea8f8fac5001bda3f4b1a9e3b399a02c5c05f91e - ssa_ast: e27bf383396c15af6c0c46662dcf62a84b8b8a3c1e964f2f6a0f7bfb11c8293d - flattened_ast: bfee8ca87770c2a49b583decc811c916fcb47e4c959494f4d96c622ef197276b - inlined_ast: bfee8ca87770c2a49b583decc811c916fcb47e4c959494f4d96c622ef197276b - dce_ast: bfee8ca87770c2a49b583decc811c916fcb47e4c959494f4d96c622ef197276b + ssa_ast: f09d1c80285d5aa123d845dafb4b85fba15c9254796e9eb0649877d68a47b2d3 + flattened_ast: cc4042addbfd34047f7a956e2ad6d26ac186332f64f150770c836b9f98d199d7 + destructured_ast: 36cc9dd107b7a18be38fdf1d205a4ca2e29a13f87bfa670219f3d1c152548f22 + inlined_ast: 36cc9dd107b7a18be38fdf1d205a4ca2e29a13f87bfa670219f3d1c152548f22 + dce_ast: 36cc9dd107b7a18be38fdf1d205a4ca2e29a13f87bfa670219f3d1c152548f22 bytecode: 567f936a9f498a3648860fa0c7028b9fe84c93e9843fc82865e39298bc99c525 warnings: "" diff --git a/tests/expectations/compiler/records/gates_is_allowed.out b/tests/expectations/compiler/records/gates_is_allowed.out index e1d732deb1..0094e7eccd 100644 --- a/tests/expectations/compiler/records/gates_is_allowed.out +++ b/tests/expectations/compiler/records/gates_is_allowed.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: a1a827c679ee9f62340a3b4f1d4d90d23a11be76fefb5b3667c77dc834a4cff2 initial_ast: b0058066b37366146f819427de163003f7428d1cbbeb0e9641cf7a4864e055cb unrolled_ast: b0058066b37366146f819427de163003f7428d1cbbeb0e9641cf7a4864e055cb - ssa_ast: 9419ff865fe18d5dc944001de86f1bd26fdcd63f984ffd7d983d559eecbccfd5 - flattened_ast: 596077f295c27f8f438d754b1c7c9036c107f657461880bd6132079f30692326 - inlined_ast: 596077f295c27f8f438d754b1c7c9036c107f657461880bd6132079f30692326 - dce_ast: 596077f295c27f8f438d754b1c7c9036c107f657461880bd6132079f30692326 + ssa_ast: de955f364746d61f44c38e7f72b6e51438d2569c1178d5172fd17d8dc142fbab + flattened_ast: fc0420da0e5fcbb1744dfdbf9e8105fccea6f62056496071eebf9663ec3c0d43 + destructured_ast: 16c6fa5a38e5248e1432d20014a0caf5bdd65f564af77f1bb5b5e3206f79e9a9 + inlined_ast: 16c6fa5a38e5248e1432d20014a0caf5bdd65f564af77f1bb5b5e3206f79e9a9 + dce_ast: 16c6fa5a38e5248e1432d20014a0caf5bdd65f564af77f1bb5b5e3206f79e9a9 bytecode: 48e7881ab72ea8eaea757488386d315e8b5572f7ed34a5f1c70a5d19b2c4c481 warnings: "" diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index 0b7f4751ff..f759e6f126 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6d1f891ac8a76d72966fbb9fd46e2bfae3399b196e77a780432101429e408112 initial_ast: 3cb09a09d98355b352f37296f8e54a9a290731444fd72b1c102ceed1e9566ffb unrolled_ast: 3cb09a09d98355b352f37296f8e54a9a290731444fd72b1c102ceed1e9566ffb - ssa_ast: c58791cae4f3ed64b267b5baa59261c85656cc6d316c95cf13235e716989432f - flattened_ast: 50113c4e91ffa850e524251047ca867dd0dfe70ef8964716e0d49595d963d135 - inlined_ast: 50113c4e91ffa850e524251047ca867dd0dfe70ef8964716e0d49595d963d135 - dce_ast: e886606ff8442fbdcd6d0d8692a47cdd32e7c06335aa2674c287436f581e6f54 + ssa_ast: c5a9adec66fc572a76636bfb7a9b15376023eddbff62ee6ffbac010216c6967a + flattened_ast: 4b5887101de9295a5b4c54f809312cd4a6f0df9fc46e561355c24ac81df7fbef + destructured_ast: 74a6f7b88c8cd5b598af267c8b43751c7dfcdb285620e2ddd76d086e827d490d + inlined_ast: 74a6f7b88c8cd5b598af267c8b43751c7dfcdb285620e2ddd76d086e827d490d + dce_ast: d5d5071c574e0eeec9eff462093f04d63f81f8168fd6fbc48a148dc65bd85877 bytecode: f243717a23b7bcbf2e4656d741a9e43b8a60184892683964efb628e22e36e7f1 warnings: "" diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index 3649a45515..af6a002902 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ba25da0ee16aeea7f700fb370ea16e4fc2ba379bcf5fee6639826dcd2541bb14 initial_ast: 7f3691700ee8c03018776a983d5dce455f0352b4c7fd886847563fd6d7c66d3b unrolled_ast: 40415ce009030dc57739a0029098daa56f979c29ece35c597685baf0c86d9a79 - ssa_ast: 0397ec097ce56d79660be08a04eab67249ed1febefc248b58d8a7092301bb5fb - flattened_ast: 3d93d09234dd22f62689015cf618a700f3fa676e73d22a03ca0fad2684c0f399 - inlined_ast: 3d93d09234dd22f62689015cf618a700f3fa676e73d22a03ca0fad2684c0f399 - dce_ast: 897378a9b377a69ccbda69c9787701e488a1629d70b06c454fe3fbfac2333e47 + ssa_ast: f36615c703f82f1a19ac95ed4fdc01a785e94fa5fd65315d6094c09062ca8c4e + flattened_ast: 92ff6ec2c920bc70d0d18c6dcb23b08214b24399c4229e7e6f3d3b657dd02275 + destructured_ast: 2bca7dc05bfb4dd7770a633a58cb5cc64333ac434ec84d8e28a6d52b58fb7aeb + inlined_ast: 2bca7dc05bfb4dd7770a633a58cb5cc64333ac434ec84d8e28a6d52b58fb7aeb + dce_ast: 29a8d0eef9f0a95f847b096de901b533e8f8c73a278b9808e456588d28936d36 bytecode: 0df6e3d77f2b3503e1b948582ccf17e40ef1cc0ba784bfb0ee91dd6388003630 warnings: "" diff --git a/tests/expectations/compiler/records/nested_record.out b/tests/expectations/compiler/records/nested_record.out index 4075946e6b..388f760338 100644 --- a/tests/expectations/compiler/records/nested_record.out +++ b/tests/expectations/compiler/records/nested_record.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: af824ec7c255763bdf9c439b8c4a6b23bd9845b33413f702eca637e4a5b42a5f initial_ast: 3f79691c5a89b38894b0f1f9f29f22c9f2ac8883485cb6ee82a8627bc7b890ee unrolled_ast: 3f79691c5a89b38894b0f1f9f29f22c9f2ac8883485cb6ee82a8627bc7b890ee - ssa_ast: 02d9c0cca26bb54562b7443dadcdc5daa5095d58ebe883fec659506bed5828b5 - flattened_ast: d6949f5929a6debda5dff4703bce6fafbd505245bb7ffc329c9dd84168a3d394 - inlined_ast: d6949f5929a6debda5dff4703bce6fafbd505245bb7ffc329c9dd84168a3d394 - dce_ast: 4090b2e356212302e2b5c1e177b08b62dfd3ee804635617256d9373dc7df83d7 + ssa_ast: 7123bcac7f2b51489669d2c4c10cad5858caa7b5d2b61c9c016fa77cad60a726 + flattened_ast: 34531d43039610a147276a5a2b9f982b4448ed7973b5420b57840fe006293701 + destructured_ast: 7af130c63bb8eaa82af78939ca0c6d26d057c6d3d395664bd3e3569bb0efc644 + inlined_ast: 7af130c63bb8eaa82af78939ca0c6d26d057c6d3d395664bd3e3569bb0efc644 + dce_ast: 3574541521f2a588e9e08a9e1c6c8c201d7df6a063e9b1cd0a7fa1b14297c12d bytecode: 9477487eb30939ab953ae2b069d924cc89d50b2b1062bfad64dcb7c79d817b6f warnings: "" diff --git a/tests/expectations/compiler/records/record_declaration_out_of_order.out b/tests/expectations/compiler/records/record_declaration_out_of_order.out index 64a0fc7782..a1ea5f1c2f 100644 --- a/tests/expectations/compiler/records/record_declaration_out_of_order.out +++ b/tests/expectations/compiler/records/record_declaration_out_of_order.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 78d3b5c6288e9db5a7165141849cd03751f1026b047ca2017da1308b69d8f0c9 initial_ast: e9459d4aa31340952370536940df78d8b0cf8363949ca21d125485fa7f789953 unrolled_ast: e9459d4aa31340952370536940df78d8b0cf8363949ca21d125485fa7f789953 - ssa_ast: 1a6a54cb19b02a71714ca72da072b29659a41f06dc34774cea70528b64d4fb1f - flattened_ast: bbb8b2b4d2051b1fecb22e0a1ee36716656b03a30e6db8dd5f109ef5b43256bf - inlined_ast: bbb8b2b4d2051b1fecb22e0a1ee36716656b03a30e6db8dd5f109ef5b43256bf - dce_ast: bbb8b2b4d2051b1fecb22e0a1ee36716656b03a30e6db8dd5f109ef5b43256bf + ssa_ast: aa302f039382fdd442e272d51f5dec085dea031d40bb6f22d698667a8e583cf8 + flattened_ast: 42e3191cb0701f0a187dfbf89de125c16e12fca9e98da8e7b9e3914af3c354cf + destructured_ast: a3623f49b9cdf520f74c27ea568adf8dfae1fc6c6c65d02131ce32cbc493259d + inlined_ast: a3623f49b9cdf520f74c27ea568adf8dfae1fc6c6c65d02131ce32cbc493259d + dce_ast: a3623f49b9cdf520f74c27ea568adf8dfae1fc6c6c65d02131ce32cbc493259d bytecode: 567f936a9f498a3648860fa0c7028b9fe84c93e9843fc82865e39298bc99c525 warnings: "" diff --git a/tests/expectations/compiler/records/record_init_out_of_order.out b/tests/expectations/compiler/records/record_init_out_of_order.out index 2a368505d3..3e4d18b6b8 100644 --- a/tests/expectations/compiler/records/record_init_out_of_order.out +++ b/tests/expectations/compiler/records/record_init_out_of_order.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 6c6790dd39288815379930977d3d72470a1449cd1b1993c0808cd53534d1f826 initial_ast: 7feeb452d829e41714a8d32d786bd81ac9f2fe8789695803228fb5dbe88709a8 unrolled_ast: 0e527eff31b64a763ab80f95fc4764a1a269c36fb90607f95bb5fd6651f6af89 - ssa_ast: 3c82fc9ccb5b21a9cc8aca3b93615c001f132ea675dadccb1d0c8ef03c91e86d - flattened_ast: c4f431271c725c4191fc8d07439155acd9fca0ecbe9c43b49a8a892226483f69 - inlined_ast: c4f431271c725c4191fc8d07439155acd9fca0ecbe9c43b49a8a892226483f69 - dce_ast: c4f431271c725c4191fc8d07439155acd9fca0ecbe9c43b49a8a892226483f69 + ssa_ast: 894e6101a64f1a990d21ee148e4f9a224d9e112e8586cf96861dda1645e946f4 + flattened_ast: aba6ebd197d35314affc6aaa78493adbdebd8bbdcc5b92551019fcf7701a51bd + destructured_ast: 8ddfadbcd094960954ec73f2d3087516ec3b9af57037a2dbb577c79a0c77f3ca + inlined_ast: 8ddfadbcd094960954ec73f2d3087516ec3b9af57037a2dbb577c79a0c77f3ca + dce_ast: 8ddfadbcd094960954ec73f2d3087516ec3b9af57037a2dbb577c79a0c77f3ca bytecode: 8c8992021f4a3ff29c9d5b1ddb3a34e14878b9cd822ac6e470018a4e268b2769 warnings: "" diff --git a/tests/expectations/compiler/records/record_with_visibility.out b/tests/expectations/compiler/records/record_with_visibility.out index ec8e81e4b1..33c2540f24 100644 --- a/tests/expectations/compiler/records/record_with_visibility.out +++ b/tests/expectations/compiler/records/record_with_visibility.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3f1dc10901b99443b1cb15d6c78ae74cb335cb98e07b6c8921bf4ec02697d484 initial_ast: 38d3b7d89d9e01f21badbba257844ac8ab6e08dcd1c004c1e460b3b311a64ca8 unrolled_ast: 38d3b7d89d9e01f21badbba257844ac8ab6e08dcd1c004c1e460b3b311a64ca8 - ssa_ast: 707f9194df9dcebbf70d961a2bb79231a7e12d4d43657666458ef8032be761f9 - flattened_ast: efd006f8ff79a403003398a117c614af940708061f92591e008eb2a83184fccb - inlined_ast: efd006f8ff79a403003398a117c614af940708061f92591e008eb2a83184fccb - dce_ast: efd006f8ff79a403003398a117c614af940708061f92591e008eb2a83184fccb + ssa_ast: 8cb952668f6f1910cd87660acf9cbbcbf7485bca5aca5b9755275460e9b62c01 + flattened_ast: 154b569d94f77d09241a8ea4e9f005e63f8b175298735edda295f11cce371eb4 + destructured_ast: 9b2f4d26ef43ae3bb7e759e6fc18d8acc123bd37482e943fd5999af9334ca064 + inlined_ast: 9b2f4d26ef43ae3bb7e759e6fc18d8acc123bd37482e943fd5999af9334ca064 + dce_ast: 9b2f4d26ef43ae3bb7e759e6fc18d8acc123bd37482e943fd5999af9334ca064 bytecode: b028178300130b3ccbbce4d1d496a8feb1e4ac876572588e646c6e220105ff70 warnings: "" diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index ccf1dcd1a1..2c844dffe2 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 875c0ab2a9ac9f57d9e7c3fdbb0e840016d21f01280075cf9d3cd34c8b7ff3f7 initial_ast: 44a05d340fe31edca81baf97818ce935e3126786b90af1785fc533f49612971f unrolled_ast: 44a05d340fe31edca81baf97818ce935e3126786b90af1785fc533f49612971f - ssa_ast: ac7abd6c8b4db43b65c4f3aa5654dace37039e7629748c9fbcd91fb4dddd8921 - flattened_ast: aa662d6a51ebe5f5eea5f160decddf009e0dd4a5e6a2f7ec86fe51cb1af94f9e - inlined_ast: aa662d6a51ebe5f5eea5f160decddf009e0dd4a5e6a2f7ec86fe51cb1af94f9e - dce_ast: aa662d6a51ebe5f5eea5f160decddf009e0dd4a5e6a2f7ec86fe51cb1af94f9e + ssa_ast: db15b27d294e7c3583d792cabbe7dfa22f95ec6f0fe5df8382d6b2e4a9c301ff + flattened_ast: b5576096ea7a3b565f997f40fd48679c09be78de4d440430aeb0e73274dde8f6 + destructured_ast: 102dbd28bda285ddc5faf4e61a9d1dede7652c69b69d05589b91b70c416cdc7c + inlined_ast: 102dbd28bda285ddc5faf4e61a9d1dede7652c69b69d05589b91b70c416cdc7c + dce_ast: 102dbd28bda285ddc5faf4e61a9d1dede7652c69b69d05589b91b70c416cdc7c bytecode: bfac2c829066d9dc43d56bc1d4e4f592f42e576220f3e3cfd57b060b7bb17222 warnings: "" diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index 0abd35e942..dd3341aa06 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 19e2397da68ea2285381adab01484f01cb526831b1bfbc047ee556fa1c8b2a97 initial_ast: 3848d4b1628b0fc3e3f16344f7b85a247bf89c4c75d8a8c72e42dfc8f50b9cc2 unrolled_ast: 3848d4b1628b0fc3e3f16344f7b85a247bf89c4c75d8a8c72e42dfc8f50b9cc2 - ssa_ast: 8812dcda8f3ab7e5eac59091ba256f6e42cc4dbd9a2dd376d6ac038a8b6016f9 - flattened_ast: 36ab50c9b77db781e6f786025a8efee1a7534b09dd3e13eeb4b9f40aea7fa74d - inlined_ast: 36ab50c9b77db781e6f786025a8efee1a7534b09dd3e13eeb4b9f40aea7fa74d - dce_ast: 8388403c1aa955686d9388c15fecf712491aef273e8d7ec1bf5af8bb7152b33d + ssa_ast: aaad85a8e47625bd5ab576512870fab8ff9b44765bf6f35cbb4706a1e7d9aeb2 + flattened_ast: 4fb35bceb36c78ac436c5381db50ea04a8332edc45069e82c8ab7c6e9af41f2d + destructured_ast: 0df90d30962b83a7cc3968e9931b16197162cc419efa11235e5c70a54a3572a1 + inlined_ast: 0df90d30962b83a7cc3968e9931b16197162cc419efa11235e5c70a54a3572a1 + dce_ast: 43d696faa056ce505fb40f7fb2ff8c69e25c3b0493269ed26acd1111c9e4b146 bytecode: 09f008c4bdc1d4ba78adbf989c031779310385b96fa346f7979a810c7d7cb118 warnings: "" diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index f61cca1660..313115c8ce 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 79a1af20533a115c52080ee91ac3f0bbb37082aa33f452f3f7f29833761384ac initial_ast: 0e7c1179a11bd152b3ac3da0f9aeafc8c8ff8179427fa3703137009dff934f1f unrolled_ast: 0e7c1179a11bd152b3ac3da0f9aeafc8c8ff8179427fa3703137009dff934f1f - ssa_ast: e9ac276545db43d5bf9fff9e6437fd9b401478d31c405b4efb85d1e5273304aa - flattened_ast: e2fb507facf1f252f5701a49640216d9e22f87dbde5148eb1522e6eda62691b8 - inlined_ast: e2fb507facf1f252f5701a49640216d9e22f87dbde5148eb1522e6eda62691b8 - dce_ast: c912646a3b3a2e1201f451a97c370605b7af783836052efbe521d2ea76b0df84 + ssa_ast: 3175bf94ea52347bcea2811d9ebd1b67556eebdfd47680d29a16f8e58fbe4e93 + flattened_ast: ed2e390ce235cd30bed700b1a1099de77162a77adfdf5053961777b84b85946d + destructured_ast: 8a4811d5b92b8eddee144ce6b335563a8a0dea78c34ecb06e7b4e951d5bda726 + inlined_ast: 8a4811d5b92b8eddee144ce6b335563a8a0dea78c34ecb06e7b4e951d5bda726 + dce_ast: cb93fb781876c5e9a3c45274a807b8f1607c86d8712c4712dd4b3d318f37dde2 bytecode: 5c71b9ef5f7774188b6b5be9f6ed558b26059dc5d008d590e2f6860076bcd893 warnings: "" diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index 943199eec3..314236cf9e 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5dc90164acc3928230a9aaf79aeadf29d9ce77a40a24c5e794d74d85b5745578 initial_ast: c09a76c6a084b53b2590eed0793bcd92c42262d86a7d44dadfa4d90cbe3a97c4 unrolled_ast: c09a76c6a084b53b2590eed0793bcd92c42262d86a7d44dadfa4d90cbe3a97c4 - ssa_ast: 75356c2cb97221fb3c5a4a2d55f96270555b94d0b3511351da7f710feb7c104a - flattened_ast: e8d34b06faa26eaaba102916b71aee99a8a1d54f4a7535718039a2e8cd41b231 - inlined_ast: e8d34b06faa26eaaba102916b71aee99a8a1d54f4a7535718039a2e8cd41b231 - dce_ast: c423df44d5ddb0e48abb4be87bef52eca62262c1b9aabb851bfcd668d0c1a9bb + ssa_ast: 461bf502fece7f541f14855f12938dd2f467d8580c1ef8659b766a5ebed8bfb0 + flattened_ast: 99f4d2e15baef7691c11a5437f27bf5d3fb21dbd3677488d63c61eed4162f192 + destructured_ast: 379fbf9af7b98cb2708e51910bddbc5e459670fe342a39b9ab51ebc8b052f4e2 + inlined_ast: 379fbf9af7b98cb2708e51910bddbc5e459670fe342a39b9ab51ebc8b052f4e2 + dce_ast: f882e2ef30f7b6581a0aa9b35a1f5ff5425f04bc4c526958a2aab3f96760b643 bytecode: 36a164c1507612060ab556cee9d668118147a8f6bedb09e8eea30c9ce800f907 warnings: "" diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index 79560aae22..059ad4d4ac 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5933cf1e973b5121cfddbf49109624dde0c7655af43c8300f724f602936e9eb6 initial_ast: 04259f93a5eac8f55a87d52b4f3fea0a3088feb8349662eb79c28a518b79c07e unrolled_ast: 04259f93a5eac8f55a87d52b4f3fea0a3088feb8349662eb79c28a518b79c07e - ssa_ast: 3b9dc1d5ff1a15ba9d676a50f850f4284037a08384f3640df1acb6dc8c637e9d - flattened_ast: 92ef5ae30c6ebfea3ddbe183966f3e0ded0bed243fe50b26ea1c5f8df1376180 - inlined_ast: 92ef5ae30c6ebfea3ddbe183966f3e0ded0bed243fe50b26ea1c5f8df1376180 - dce_ast: 92ef5ae30c6ebfea3ddbe183966f3e0ded0bed243fe50b26ea1c5f8df1376180 + ssa_ast: 6082478ca0436cae7bc860a2d9a5093762f56f810bfc8ff82038914566c594fb + flattened_ast: 73b3e9858fba26b3d20d1938be8ef32c583558d0b6e102718ec0b4c8d3b0dd7d + destructured_ast: 8566a34cc206965c125bfbf2bd3759a755b684baf47e266271947a4e0c4c0085 + inlined_ast: 8566a34cc206965c125bfbf2bd3759a755b684baf47e266271947a4e0c4c0085 + dce_ast: 8566a34cc206965c125bfbf2bd3759a755b684baf47e266271947a4e0c4c0085 bytecode: 2ef042858531dce1d8583ebee5f799243cabbf2327d245957c535a35c146aef9 warnings: "" diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index 2e426fd1d5..c4dae51fdd 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 875c0ab2a9ac9f57d9e7c3fdbb0e840016d21f01280075cf9d3cd34c8b7ff3f7 initial_ast: 3c5d8409f93cc2f9d57f8fa8d0656ad02c82ae54d8f19ef71a654cde2c7e330d unrolled_ast: 3c5d8409f93cc2f9d57f8fa8d0656ad02c82ae54d8f19ef71a654cde2c7e330d - ssa_ast: f7fe13793e9ad2077fd4f4a4ff6d815be21b1b567a45aa688744410204f62896 - flattened_ast: faaa3c35d390c024b9cf60828639afa914087c4beeb45d499adceeb6050f6c04 - inlined_ast: faaa3c35d390c024b9cf60828639afa914087c4beeb45d499adceeb6050f6c04 - dce_ast: faaa3c35d390c024b9cf60828639afa914087c4beeb45d499adceeb6050f6c04 + ssa_ast: e4a286a992f7645d9f9d9ac7a01d474716ab434e941d0833a58b8a94c5bc0244 + flattened_ast: 527b307f182e28e4f568450c08d018fa96a644d73a97808023cea3c83153a5ef + destructured_ast: 56b22424dfd09bdad7f002e6e85ff92c8254079b254996c259c012a3f1f2aa27 + inlined_ast: 56b22424dfd09bdad7f002e6e85ff92c8254079b254996c259c012a3f1f2aa27 + dce_ast: 56b22424dfd09bdad7f002e6e85ff92c8254079b254996c259c012a3f1f2aa27 bytecode: 23e6cb091f2093299d0ea6100cce0c3af523c81111da120d423976348681eda9 warnings: "" diff --git a/tests/expectations/compiler/signature/signature.out b/tests/expectations/compiler/signature/signature.out index 2986d25f9e..fea9a78175 100644 --- a/tests/expectations/compiler/signature/signature.out +++ b/tests/expectations/compiler/signature/signature.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: badc647bf125be858219463ee7be65a54c641b1a351a7f0b17012263cce0ad5a initial_ast: ab0cb67645b250671bca5968fe522eb4f201775566e3e956309218a1a01eb834 unrolled_ast: ab0cb67645b250671bca5968fe522eb4f201775566e3e956309218a1a01eb834 - ssa_ast: 89375f09d78e40217ba576195030f370424468fc2b2aa7d38197a7170cbc023a - flattened_ast: d7e4bdd511532274071ea34360a138bbe7b31b3318d2142a5c26430ff10573e1 - inlined_ast: d7e4bdd511532274071ea34360a138bbe7b31b3318d2142a5c26430ff10573e1 - dce_ast: 9e740313ba0d3568fd24cd823fca8482a913cf529aa09d149bb79c779b4da79d + ssa_ast: 14090a26662d8d42617527ff1238059aa94b59be807654ed2dff6e13aafbaf8f + flattened_ast: 1307dc5a635c27b77494e874c4539afa1b76eab3baf36f90a35821331318b826 + destructured_ast: d904c2e1b462c5fdf44ddb9ebdf77eebf8b7c811a0c7c591559db500656270ae + inlined_ast: d904c2e1b462c5fdf44ddb9ebdf77eebf8b7c811a0c7c591559db500656270ae + dce_ast: f3cc6f32fcb337324135d0c2fa09ae1679e8ea339dbb22f41bbca9c3f268c724 bytecode: 9a042a6076c83bb376f10443261e56704956030b03df62da5d5f4742ac10c74d warnings: "" diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index ce65627a8c..92a0e6814a 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: ce76e7fa728b36401da5d51e53b0604855c25aab7e8811decb903eb9a65518d4 initial_ast: 70211868d56e9459f69e6053d3dc3d99cab8284c44a0fa7a5183f335d8dea7f1 unrolled_ast: 70211868d56e9459f69e6053d3dc3d99cab8284c44a0fa7a5183f335d8dea7f1 - ssa_ast: 05682daee67fd4df93a1155b26f61c4387852deec20d49bd8a5b19eb129402b5 - flattened_ast: 6bb61705e53f56a76d899bc6a1fb5e1f5a59db3ac8445c0ebcfe897d7bc3bb2c - inlined_ast: 6bb61705e53f56a76d899bc6a1fb5e1f5a59db3ac8445c0ebcfe897d7bc3bb2c - dce_ast: 6bb61705e53f56a76d899bc6a1fb5e1f5a59db3ac8445c0ebcfe897d7bc3bb2c + ssa_ast: 0237bc4d59cf97be1904c6a04c6eaf1aa6dcf5ef6aa0434c3f0685a2f8868a18 + flattened_ast: 8cd02e0ff3d1b3e6cee8f2b7a9c0340dde4f4a2648c162efc7846f35d7ecdce7 + destructured_ast: f43d4192e9bc9c07bb57f874db80e7fc9694c83f4828d0575988c9e795ada182 + inlined_ast: f43d4192e9bc9c07bb57f874db80e7fc9694c83f4828d0575988c9e795ada182 + dce_ast: f43d4192e9bc9c07bb57f874db80e7fc9694c83f4828d0575988c9e795ada182 bytecode: 5487f807b82f67172b386aaf992fed06bcb134d1749202c409a300633a37a9bf warnings: "" diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index 5a2888cdd0..e60465a244 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7cbd56e29e298c02725720a2362060a7acb796a70ad6a83181e7f88dc1d43f58 initial_ast: 7666c165f405d1f7c6ee23d62042da766cee5bb3fa43d1464af9511adb96dcb1 unrolled_ast: 7666c165f405d1f7c6ee23d62042da766cee5bb3fa43d1464af9511adb96dcb1 - ssa_ast: 11b6d62151f053ce0682efff0a43ae0e6f150896768879002afe2206081ac105 - flattened_ast: 36154217fe8fe42f37706f131681fa219be583253ec0e5f401382cfe69549262 - inlined_ast: 36154217fe8fe42f37706f131681fa219be583253ec0e5f401382cfe69549262 - dce_ast: 36154217fe8fe42f37706f131681fa219be583253ec0e5f401382cfe69549262 + ssa_ast: 6d4b0ab7570b51b821579a4af496644f6074ec40226a48d8c8c3d0144e531c7d + flattened_ast: d619e2549b4770da481ec24e3e10fcaba94ea1dbe95ad110b6ac48a785421196 + destructured_ast: ea1b1bfd997ef938035630476855de6f895337c6602bdda5f080de29b31b386e + inlined_ast: ea1b1bfd997ef938035630476855de6f895337c6602bdda5f080de29b31b386e + dce_ast: ea1b1bfd997ef938035630476855de6f895337c6602bdda5f080de29b31b386e bytecode: 9f2bbabd0f858db6e5f4e529fdd5e246023994bf27bbabe6dc1aa6bbf8bf5cfd warnings: "" diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index 930b4666dd..179350cbf2 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0cf5afb263a49151f5113eb8f2af8ff23c1f30307f3eb7b9d2405480a5546baf initial_ast: 5c5c4177e0401f5e3fad21338a0d9b9eb9bcef1120ac3aa945633be35d24ee41 unrolled_ast: 5c5c4177e0401f5e3fad21338a0d9b9eb9bcef1120ac3aa945633be35d24ee41 - ssa_ast: 7d587cb60c7352fbd63fe3ce7e49154c0a5b2d0e97c3b6496546ff458287d2b3 - flattened_ast: fbc2caa09ee02dc7d718fbd3377ee97c02823abbab9632169d6c90798f7ae2ad - inlined_ast: fbc2caa09ee02dc7d718fbd3377ee97c02823abbab9632169d6c90798f7ae2ad - dce_ast: a95bb08d80366d74fdf321a7cb3190a71fbc6ec1eeadf9ebed8a2296bbdbea99 + ssa_ast: 2d273cd949a8773b8d7cf962799c69c32abf0f1bc799702b8e0e92f9f35f0189 + flattened_ast: dc24942d2888a072fd14936c4c5ba06f2b7fee37240d8d23d21b1fdad5cc07ce + destructured_ast: 88e7b9e6fe5566377b9b6e5f5ea04f2a3852b6c1f9e1c53f29a5f9c1b6ba0f2e + inlined_ast: 88e7b9e6fe5566377b9b6e5f5ea04f2a3852b6c1f9e1c53f29a5f9c1b6ba0f2e + dce_ast: d4b91c67d81547802dc51b134e80c8671652f2e1353dfd5ca830e9703b182ee0 bytecode: f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa warnings: "" diff --git a/tests/expectations/compiler/statements/expr_statement.out b/tests/expectations/compiler/statements/expr_statement.out index 0b9325ae80..59c7fe0fd8 100644 --- a/tests/expectations/compiler/statements/expr_statement.out +++ b/tests/expectations/compiler/statements/expr_statement.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c18bc6d4e4f361b177cf17cbb6c34df9bac9d8916e3bb4605d7ca7601da6c6dc initial_ast: 390ca0534c956091498dfbd21c69e694b39ff75ac159557a68f5223c71a88f34 unrolled_ast: 390ca0534c956091498dfbd21c69e694b39ff75ac159557a68f5223c71a88f34 - ssa_ast: b5bf05bee18d5505dbdb95f834951ea4c157e5518b0e54cfc193a6032d515673 - flattened_ast: 734d819ed50d1b4b8b4f46a1b2229ef923dab5e55e5ade9d2d939bad24ebc94d - inlined_ast: 734d819ed50d1b4b8b4f46a1b2229ef923dab5e55e5ade9d2d939bad24ebc94d - dce_ast: 734d819ed50d1b4b8b4f46a1b2229ef923dab5e55e5ade9d2d939bad24ebc94d + ssa_ast: 0cfc9fa7db5b07b11661afaedc283322fc86e5f0c7527ea447e1d0fe81fc076a + flattened_ast: 13ae691e28a3b286a83ddf286871a4b96fb1abe2fceef5966ef557414651026b + destructured_ast: 8205985fcc3106562f8ad0c8eafc917e11843275914ce691f6329795dfe29295 + inlined_ast: 8205985fcc3106562f8ad0c8eafc917e11843275914ce691f6329795dfe29295 + dce_ast: 8205985fcc3106562f8ad0c8eafc917e11843275914ce691f6329795dfe29295 bytecode: 401bb4388cffbc9e0df078a93024b669f7de284cfe97f564143486a27cb070ab warnings: "" diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index 5bfc04eeb7..eb0e3b0461 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: c26c328d20ec9c739fdb28969a9d8a4cf6e77d0e531789d87b9957c1f11fd6d2 initial_ast: ff7de64c76c63fa6bfc2d7f4e24dc3420f0418804224ccd07f267c7f6c2b7f97 unrolled_ast: 12c4e7a5395da5c502a9d684d5297bb46b0d1fc2113f39b83da75c0915c454d6 - ssa_ast: 9a54f560ffde8679b3e3519cb686192acc5ab2e63e6b3470718cb2e705cfb0cc - flattened_ast: 2790720a1e103fb6e5b6fd521ebc5077fe163bee7137909fa3ffa6527b5ec492 - inlined_ast: 2790720a1e103fb6e5b6fd521ebc5077fe163bee7137909fa3ffa6527b5ec492 - dce_ast: 2790720a1e103fb6e5b6fd521ebc5077fe163bee7137909fa3ffa6527b5ec492 + ssa_ast: 3968bc9e52552508c3f592a2ab2ed5bebf4947b4afdfd42ed70bc9a6e5c0fd5f + flattened_ast: 20d715fbb17c5ab3c0371be6b98361e41df8ae0562248e5934bdce026293122a + destructured_ast: b9f019c4bd61f654c487caef198b62dc6aadec0e644c0dd3d955fff6a9ba4f9c + inlined_ast: b9f019c4bd61f654c487caef198b62dc6aadec0e644c0dd3d955fff6a9ba4f9c + dce_ast: b9f019c4bd61f654c487caef198b62dc6aadec0e644c0dd3d955fff6a9ba4f9c bytecode: 41bf59ecf2ab2485e223b6501897613108441d2d881640d2d235f79201615cd3 warnings: "" diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index abfd52fff9..eb5442c808 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7dbba533593a57fde32b265b395875684749ad0bb934af3045077fc4f89b2989 initial_ast: c571f04ea7bd57eaabdd1fd02d990d27ae1ff297f4ea1bec2db057ba87a4c82f unrolled_ast: 1a8fab15fa59b540656631af0c4da3c2254d13b90a6c8b25566e7bf8ed7236e9 - ssa_ast: a0931fb66ec04bf391bd3ae3c3bda9df02432482e8ba2851d6b4e13344ec92c7 - flattened_ast: 2fa332526d2bba945ec1d85356b2c99687049749e215cadd560c40bc4721d725 - inlined_ast: 2fa332526d2bba945ec1d85356b2c99687049749e215cadd560c40bc4721d725 - dce_ast: 2fa332526d2bba945ec1d85356b2c99687049749e215cadd560c40bc4721d725 + ssa_ast: 35601ee54087afc97408203bf9d7db16f0cee64cb17f24e20fc4d70777b7f041 + flattened_ast: 17366b19f1711fed07e360d94e77cc5d383b3c78565303b2c7c6c15bdbbaa467 + destructured_ast: 6b10aa607b93cb74d675d262b3f7f7f10c35fdaff8678547fcf540ccba18c9f0 + inlined_ast: 6b10aa607b93cb74d675d262b3f7f7f10c35fdaff8678547fcf540ccba18c9f0 + dce_ast: 6b10aa607b93cb74d675d262b3f7f7f10c35fdaff8678547fcf540ccba18c9f0 bytecode: e6fba28a70e1d844cc46f8e9dcf040658b9431f4fd49a4896dfc7ffb3ebfeb25 warnings: "" diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index 0752e7dabf..254f2a2dea 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: f50b69c8caa2bda5533422484abb2382a39df83b776e56a7603c6b50c60ccf25 initial_ast: c0687400a748b39d98398559cee6d088358d455ca553cd8f284504a4bf1e806c unrolled_ast: c0687400a748b39d98398559cee6d088358d455ca553cd8f284504a4bf1e806c - ssa_ast: 8c6d9e7dd96b1599e05bd4f037ada577f6bcb40c4dd8bfd14ca8632a54affead - flattened_ast: fc542c5fca589785157822f56e3da26f01c4d40d73db13e056d2b076ebc21ac0 - inlined_ast: fc542c5fca589785157822f56e3da26f01c4d40d73db13e056d2b076ebc21ac0 - dce_ast: fc542c5fca589785157822f56e3da26f01c4d40d73db13e056d2b076ebc21ac0 + ssa_ast: e6c66672e5649d132a72fa1685659b5b4c8f9171e26f3020cd267959d43238cb + flattened_ast: 6a9fd6b6cd057016c7cee581b012f0b6a4253081bf329baad6faac7532578986 + destructured_ast: d21b53e0e753987dbd477c2ca43acbeeab0eabc789cd1658f8b2161dde3ca235 + inlined_ast: d21b53e0e753987dbd477c2ca43acbeeab0eabc789cd1658f8b2161dde3ca235 + dce_ast: d21b53e0e753987dbd477c2ca43acbeeab0eabc789cd1658f8b2161dde3ca235 bytecode: e8fad70723ee17dc768faab9e2ee64ec338b6b1bd4ec1d9350791665c1abd697 warnings: "" diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index 048cd820ba..795bb88bcc 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 34a1afc5b8e850d3ca1fffbabcfb5ea6bacea945b20628868784f8a5b4140854 ssa_ast: bb6b1c14a80f6c148484d7e330bac0d6591163a2a98d0787f530ae5d28dcaed3 flattened_ast: 4752b34e62f67e177c91688f03fe3f1f827420b09e586d5daccfbe19beb5ab18 - inlined_ast: 4752b34e62f67e177c91688f03fe3f1f827420b09e586d5daccfbe19beb5ab18 - dce_ast: 4d25901f577f93b7a8ab66c82774d538f648eb0d7675c3d4513e558f8a19c967 + destructured_ast: c7ef95ff112cbb39ff026204326bbf9810cd2feffeadc9155d7ebd73c8f0e413 + inlined_ast: c7ef95ff112cbb39ff026204326bbf9810cd2feffeadc9155d7ebd73c8f0e413 + dce_ast: 1752043c222c1c04dc9db316f7c30dd214f08d6f62cb3b88bca41e500c8f8b94 bytecode: 4f4c5c377fed78feede8ee754c9f838f449f8d00cf771b2bb65884e876f90b7e warnings: "" diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index 0f43bd52bb..9cd874174b 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: bba4b92100b459029ddfbb216c48a6dcaf1b6c93866555d8259e6aee67a2339b unrolled_ast: bba4b92100b459029ddfbb216c48a6dcaf1b6c93866555d8259e6aee67a2339b - ssa_ast: 9188008bedc5517c71796ae99541f665bb8a9be40725027a5ba6d8ccc657ecea - flattened_ast: 9d32c2f8b89fa117efaf327dca63845e72bc078e9d5c02e959b1755be8df65bd - inlined_ast: 9d32c2f8b89fa117efaf327dca63845e72bc078e9d5c02e959b1755be8df65bd - dce_ast: 9d32c2f8b89fa117efaf327dca63845e72bc078e9d5c02e959b1755be8df65bd + ssa_ast: b00e6c0487c0225e6384025e08e6f5fc7fec68baf42d8a72b8079d9a8c5b2291 + flattened_ast: e3fcbaf570ef845b1e27eb8822873854429d0f5f7775b0e8f0dc378a56beaa3c + destructured_ast: e89d1e272fd1557ebcea4c1905763d701b79dd8e4e68112eae5c70053b05449e + inlined_ast: e89d1e272fd1557ebcea4c1905763d701b79dd8e4e68112eae5c70053b05449e + dce_ast: e89d1e272fd1557ebcea4c1905763d701b79dd8e4e68112eae5c70053b05449e bytecode: f9bb06bbdb06665d260633e11e377d5b2a428e169220f31b9ad9cd8ac8c94f6d warnings: "" diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 026dac0e0e..793885e274 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 037ce128721bb9836ae981f0d780be368d31aedc444742e912c3fd942326e99b initial_ast: 7224f6d24666fd860f7e2434dcc5dc4864d71b430924ed8bd707fd4d7cd93141 unrolled_ast: 7224f6d24666fd860f7e2434dcc5dc4864d71b430924ed8bd707fd4d7cd93141 - ssa_ast: 43a836de8528de431f38909291020a3f8ee3fca807f4c6226ad40ed469cb1db9 - flattened_ast: cd991f2762345245b11044c4a0c5a1762eed9a33fb85259fee8de9522eded4dd - inlined_ast: cd991f2762345245b11044c4a0c5a1762eed9a33fb85259fee8de9522eded4dd - dce_ast: cd991f2762345245b11044c4a0c5a1762eed9a33fb85259fee8de9522eded4dd + ssa_ast: f0bf1c9c1282198891f8368a899b962c5fd795ccb6fe7a73ea1661d7eb071f5d + flattened_ast: 7fc16fe62975a3472690a2563e50e0522c4ec181a2faa2bcbe51464ac44d1f24 + destructured_ast: 28be04af825459c76e2a7ba7bba1cea8a3bfa4e753fe3e27d9be219b11545295 + inlined_ast: 28be04af825459c76e2a7ba7bba1cea8a3bfa4e753fe3e27d9be219b11545295 + dce_ast: 28be04af825459c76e2a7ba7bba1cea8a3bfa4e753fe3e27d9be219b11545295 bytecode: 7b9e392bda5b29d56ff94dc3eaefe68313d852336209db998714308d19ea6102 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index e3704d50bb..aef02a779c 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: e3b3d93b06342a130f56401d72f8fc185f00eb46a65914b308744cdb8c70acae unrolled_ast: e3b3d93b06342a130f56401d72f8fc185f00eb46a65914b308744cdb8c70acae - ssa_ast: 26ad1674b1cf01b86afaf509853ffb100413c44fc013dcafdb17cd65336ed667 - flattened_ast: 58463c67b4e6e195ce6f323a2ad68bb3dcb5f68a24bd9e2d566512f022ccd989 - inlined_ast: 58463c67b4e6e195ce6f323a2ad68bb3dcb5f68a24bd9e2d566512f022ccd989 - dce_ast: 58463c67b4e6e195ce6f323a2ad68bb3dcb5f68a24bd9e2d566512f022ccd989 + ssa_ast: d131854fd0682c966239c69df1e8ae634eaab39626d0f36432468420d0681aa8 + flattened_ast: abf5224601bc925f8766ee470cd2801b2a05a00504d92cacf48ed157b305cb13 + destructured_ast: cc9a818d8515001c014a5fdde068b4fc0af1ecd9d10a0653e1de8f6e806394ef + inlined_ast: cc9a818d8515001c014a5fdde068b4fc0af1ecd9d10a0653e1de8f6e806394ef + dce_ast: cc9a818d8515001c014a5fdde068b4fc0af1ecd9d10a0653e1de8f6e806394ef bytecode: 6dab0d771ad5e0b95b5ded8ffb214368621dc0ee9434113549f85abd0eb6c626 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index b6345c4323..0506d86a82 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: a1ad276faeb8640f980ed10db0db063cad2259abc91b9faf29e982f841b0dd74 unrolled_ast: a1ad276faeb8640f980ed10db0db063cad2259abc91b9faf29e982f841b0dd74 - ssa_ast: ede115794e1047c23f32e197f5451ac8d26c8524a8153eead7ecf0b27a2ea8c0 - flattened_ast: 6b4dd47c348c40fe563cb49a606a70e5eff208de4e4bb4034259d46d13857100 - inlined_ast: 6b4dd47c348c40fe563cb49a606a70e5eff208de4e4bb4034259d46d13857100 - dce_ast: 6b4dd47c348c40fe563cb49a606a70e5eff208de4e4bb4034259d46d13857100 + ssa_ast: 5069218080cad1f752a66bb816b7ffd3a6d9ce827ac73d96c54f8e63f94af3a2 + flattened_ast: 395f86de3671867c3f036bde3271911abe61a2631c42384fdbc9601dd9674c19 + destructured_ast: 674a3f6533eea19bfe9897464c8267102b94cb7e1fb149a6703741f415247c78 + inlined_ast: 674a3f6533eea19bfe9897464c8267102b94cb7e1fb149a6703741f415247c78 + dce_ast: 674a3f6533eea19bfe9897464c8267102b94cb7e1fb149a6703741f415247c78 bytecode: f551499188e28449b06b9aa17ef8af4d1daedbf0ac75484b5e3f8e81836ffb63 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 95738c5efa..1a3e677c80 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: 2b6629fe65a5511b2c80dc99a284a695754c5447773100f942fd1441733a6b9f unrolled_ast: 2b6629fe65a5511b2c80dc99a284a695754c5447773100f942fd1441733a6b9f - ssa_ast: df1cb18fa97672f1836fbd0c58c9f6c752431810437bfdf2ab1b2685de6bf2ed - flattened_ast: 677f1ceac6e08a91822ba3350d6eed193a20b78c2a87341107d0039e596d4691 - inlined_ast: 677f1ceac6e08a91822ba3350d6eed193a20b78c2a87341107d0039e596d4691 - dce_ast: 677f1ceac6e08a91822ba3350d6eed193a20b78c2a87341107d0039e596d4691 + ssa_ast: abd76da376d8143080f7ae9335f311bb496e6b3d8a3c0c3a347b72e9600733be + flattened_ast: be48b697a2749c697e69d27cfde34fc7d9446026014b7da59aba2e785381091d + destructured_ast: c06aee049305f61b0c89bd4bcbfefdc11b6524784d6599542ede76c45cb8070f + inlined_ast: c06aee049305f61b0c89bd4bcbfefdc11b6524784d6599542ede76c45cb8070f + dce_ast: c06aee049305f61b0c89bd4bcbfefdc11b6524784d6599542ede76c45cb8070f bytecode: cc7cc1d77829ab20a01838d82d9d75e2f4d9b5231667aeeb7517083740d299f5 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index 8c36e5df13..3eadea3e29 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: 96703b80d02e51df7fb5e90e819924aebad788f1b0e02652591c70696101f877 unrolled_ast: 96703b80d02e51df7fb5e90e819924aebad788f1b0e02652591c70696101f877 - ssa_ast: cfc9af85712574a305540f436864faa1de71f64c742ae4a9dc97eb0e96834f41 - flattened_ast: 71db9e2b7851a260392510e9205d088a6b63277e68aec8d39354ed31dc6c0238 - inlined_ast: 71db9e2b7851a260392510e9205d088a6b63277e68aec8d39354ed31dc6c0238 - dce_ast: 71db9e2b7851a260392510e9205d088a6b63277e68aec8d39354ed31dc6c0238 + ssa_ast: 7e6b0d5645bcf9784b3566de9de2cba67f6126bf94bf8bc139677dcc999e9d1e + flattened_ast: e80c76fcf15ca4b98f8afcd62beb0b43e257bf20f47bf646d7a16f492e5abc90 + destructured_ast: 02df33fe0cdde67340746ac2368cd3f42d6f82023ddffdc84fbcf2ca38ddc45e + inlined_ast: 02df33fe0cdde67340746ac2368cd3f42d6f82023ddffdc84fbcf2ca38ddc45e + dce_ast: 02df33fe0cdde67340746ac2368cd3f42d6f82023ddffdc84fbcf2ca38ddc45e bytecode: 852a26ba7ae67c2f2cdf00814963c66786bd383cb645b9740b782cb07e747c41 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index 263d119c50..4594f5c9db 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: 25c92e52d58863f4af4e1dd708f17ce1b80580cd4049010d657f87113a8f406f unrolled_ast: 25c92e52d58863f4af4e1dd708f17ce1b80580cd4049010d657f87113a8f406f - ssa_ast: ebb7b11a37efffa0ce81c8daeed3e6fdf63b99e187cce56af6a78b84e910a9e7 - flattened_ast: 4855caef414a28898c46a986dd2ccec6d4c1272f99c5d4f52185057001421b9e - inlined_ast: 4855caef414a28898c46a986dd2ccec6d4c1272f99c5d4f52185057001421b9e - dce_ast: 4855caef414a28898c46a986dd2ccec6d4c1272f99c5d4f52185057001421b9e + ssa_ast: 0abf9c5e8cb7aa729f12279c6ba0cb7747e1c680c19e9ad5d69c73a6919b942b + flattened_ast: d3d36b1fef218fc7fda2ceace1b0dfb64b32b42321d82012fe9b03fcff3cfe36 + destructured_ast: 4b951e94b744766316c51bf90eb657abc39d2a50b3cf8a38a2d1d46bcac72be2 + inlined_ast: 4b951e94b744766316c51bf90eb657abc39d2a50b3cf8a38a2d1d46bcac72be2 + dce_ast: 4b951e94b744766316c51bf90eb657abc39d2a50b3cf8a38a2d1d46bcac72be2 bytecode: e458b602541d030c368e1e498d1dae92b0a26e9505a02ca3cd93858ca3bdb277 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index 3d5a1569bc..8fffbc95c2 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 037ce128721bb9836ae981f0d780be368d31aedc444742e912c3fd942326e99b initial_ast: e1b0914142454aabf8d4dc903af73fb8d431153ab0c5641457d4bd485bdccf74 unrolled_ast: e1b0914142454aabf8d4dc903af73fb8d431153ab0c5641457d4bd485bdccf74 - ssa_ast: 390ddb45ca75cc2bcea780cf6b01b7eb40ed59cec754ab49e243c25458d60670 - flattened_ast: ca994b944655e56ecdf569508c316a1357fb959aa874400b5ff3741701097577 - inlined_ast: ca994b944655e56ecdf569508c316a1357fb959aa874400b5ff3741701097577 - dce_ast: ca994b944655e56ecdf569508c316a1357fb959aa874400b5ff3741701097577 + ssa_ast: cf8dc3eaa897867417812b6a0e677d51c9bb6dfb417cc320242af103bebecfae + flattened_ast: b72230f593ffe3e6a219c68c0cf5dec8d084925d4f82ce96db2a1395e721ff14 + destructured_ast: 130f61abf4835863361002e7560069702c88652d072cc83d229ef24e1a4f6cf6 + inlined_ast: 130f61abf4835863361002e7560069702c88652d072cc83d229ef24e1a4f6cf6 + dce_ast: 130f61abf4835863361002e7560069702c88652d072cc83d229ef24e1a4f6cf6 bytecode: 6d6695b67fa8f1cff43f2d00c6ce7e118342fb3e0bd05008d952820bf0e6dca8 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index 8ab2022c7d..aac1d7dbd9 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5c39330d16cf8e9e254e5f398455904e3e42142a1514757cded1234048aba43d initial_ast: 271ddf3ca8503c5b1cb7c219c8275a0e6e6606641462c4f00d9cbb6572ff25e5 unrolled_ast: 271ddf3ca8503c5b1cb7c219c8275a0e6e6606641462c4f00d9cbb6572ff25e5 - ssa_ast: 1d3fd3f93e9612019f260116a4c2e8ac3ab6157b77eac487fbefc64e044e43c0 - flattened_ast: 1ccb6404154b2ff0c26df5271f3a75a934a4de9b41e2783850d8691b6393b7f8 - inlined_ast: 1ccb6404154b2ff0c26df5271f3a75a934a4de9b41e2783850d8691b6393b7f8 - dce_ast: 1ccb6404154b2ff0c26df5271f3a75a934a4de9b41e2783850d8691b6393b7f8 + ssa_ast: 40946c6fdd316c1ea53e5c35296307d18a39a5df52df0ab4ef5bdc66ca63dcde + flattened_ast: 30dc407a9d6974cb90912b680649f1cac4b8aa55692fe4f755b31d2238da9cf2 + destructured_ast: a7126326e42a1f1624253937faa7b9bd0d39e1f5a76bd7c0c637cdeb3570f894 + inlined_ast: a7126326e42a1f1624253937faa7b9bd0d39e1f5a76bd7c0c637cdeb3570f894 + dce_ast: a7126326e42a1f1624253937faa7b9bd0d39e1f5a76bd7c0c637cdeb3570f894 bytecode: 69c6644fb42c55979ce03fb2d5d6712f6eee57bafc5853fd5866a04a44e4e534 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index 7abd70ec14..aa6e0e841e 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: 9f7e5ae29ffa23a999c2048701e7bfd7c8a7c5c166276a47f7409d6ae77fc45c unrolled_ast: 9f7e5ae29ffa23a999c2048701e7bfd7c8a7c5c166276a47f7409d6ae77fc45c - ssa_ast: 1fb0da3273455290ddcf2efb7a297f057bf0341de58b8d831074cfe0a9297198 - flattened_ast: 4946a1dd3706fa2b371ff647dffbc0f14278593c43ee6c9b7cb1bbe9134b87cd - inlined_ast: 4946a1dd3706fa2b371ff647dffbc0f14278593c43ee6c9b7cb1bbe9134b87cd - dce_ast: 4946a1dd3706fa2b371ff647dffbc0f14278593c43ee6c9b7cb1bbe9134b87cd + ssa_ast: 114f77c6dc1290d8a713ecf0498e8409f54393c87e09d95b933b11b909db6a07 + flattened_ast: 93b71f822c5641e50818db5605d9a71ba115e75f483998a253b9f4355699145e + destructured_ast: 029d87781756b151b78cffb62be59558b96d6187af972fb694858f210fb8e140 + inlined_ast: 029d87781756b151b78cffb62be59558b96d6187af972fb694858f210fb8e140 + dce_ast: 029d87781756b151b78cffb62be59558b96d6187af972fb694858f210fb8e140 bytecode: f67d2ba495c6cbed24bf76003e4521182d8aaec5f8a3d42ab1929d56af65452b warnings: "" diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index 43405ef1f7..4b268fa6e8 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5c39330d16cf8e9e254e5f398455904e3e42142a1514757cded1234048aba43d initial_ast: ac05f6dc77d2a541da78ae342d85c8bd4f90049f6dc3498fe56f347408127232 unrolled_ast: ac05f6dc77d2a541da78ae342d85c8bd4f90049f6dc3498fe56f347408127232 - ssa_ast: e5d0fabcc77dcb51286c7feb65fc66c8cb0a833d267723928052790542b9538b - flattened_ast: cd5dbd478cd6a947d3ce4cc39bfed39618c765b7a9bc505f8421838325b59555 - inlined_ast: cd5dbd478cd6a947d3ce4cc39bfed39618c765b7a9bc505f8421838325b59555 - dce_ast: cd5dbd478cd6a947d3ce4cc39bfed39618c765b7a9bc505f8421838325b59555 + ssa_ast: 0fa52ef4c6119ce460378784b162f85d8502f2b11633a2150aac78927e1f5537 + flattened_ast: 8f27a3f734a008cfbf755ba75de759df0a60ef3f20239f8db188a57c36193ee5 + destructured_ast: ac305eb4df98bc85537f4e1fe6e39696b50384c5fc6ff86856ac8cfa92f13ebc + inlined_ast: ac305eb4df98bc85537f4e1fe6e39696b50384c5fc6ff86856ac8cfa92f13ebc + dce_ast: ac305eb4df98bc85537f4e1fe6e39696b50384c5fc6ff86856ac8cfa92f13ebc bytecode: c7e481877eba9b3d2f0f08797c30c5404e6da930c4fc82bf58a7bdeb46ba251e warnings: "" diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index da37d40587..d5842c2b6f 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 5c39330d16cf8e9e254e5f398455904e3e42142a1514757cded1234048aba43d initial_ast: 88bf5e8a168fd4ec9a2282c185972c8e606719f5573a2a9dcc6496760c6b69dd unrolled_ast: 88bf5e8a168fd4ec9a2282c185972c8e606719f5573a2a9dcc6496760c6b69dd - ssa_ast: 99497fba272f82052a913ec8a8108f4d051a151ec98b3752fc171dcc965b5d93 - flattened_ast: 659c724d4a542b0c92126282d5812c00bd4de1317d1c05741fcd2dd44af00dd8 - inlined_ast: 659c724d4a542b0c92126282d5812c00bd4de1317d1c05741fcd2dd44af00dd8 - dce_ast: 659c724d4a542b0c92126282d5812c00bd4de1317d1c05741fcd2dd44af00dd8 + ssa_ast: 8fd3f5a86a4ddc8b0b5dd9a08bc3b76fd6ae69b75edfddc048448469feda751b + flattened_ast: 6958d16d3a494fd0885e83b47a3da28a9df3104b9ce4b969d6c5706aa9ba4e2f + destructured_ast: 46d422ded5c5edb2c9ef28d1a24bfe72925d634054e8706c4d7d056c4babe0d5 + inlined_ast: 46d422ded5c5edb2c9ef28d1a24bfe72925d634054e8706c4d7d056c4babe0d5 + dce_ast: 46d422ded5c5edb2c9ef28d1a24bfe72925d634054e8706c4d7d056c4babe0d5 bytecode: c9b6d8b47fbe5b72e82bc81b952ba14ed281fd0bde9182bf8c6d8e165fa84001 warnings: "" diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 5f3ea2682c..d745e6af25 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 3d1f6ad1bdace3c00a97dd772c25848a85ffa06c52c94778be4400689a7b33a6 initial_ast: 3b8687b5b4baeb4181bb57e5d5a1af71aa35a5e3a313b2f02d59e76db7000b29 unrolled_ast: 3b8687b5b4baeb4181bb57e5d5a1af71aa35a5e3a313b2f02d59e76db7000b29 - ssa_ast: 23e9cccc0e91c4a42cfc1120284102dafc152172dacbc54b7e352365ffa11e04 - flattened_ast: 2cfac66206f84f06c96d8cfcceb15f94c5ad89baa73ee927bb793dac6ce8fef5 - inlined_ast: 2cfac66206f84f06c96d8cfcceb15f94c5ad89baa73ee927bb793dac6ce8fef5 - dce_ast: 2cfac66206f84f06c96d8cfcceb15f94c5ad89baa73ee927bb793dac6ce8fef5 + ssa_ast: 1bb6339377ddb5416564236850242dadeb0be74e07da8cb9cb19531f25bebaea + flattened_ast: 46761fee05a3347c7db08b5bc650b59ceaa49dd604eb00dccd742c7166cebef9 + destructured_ast: e6bb4fef51890f828e263c7ca2948a86492caf9e8b1acb43b5409285f785475c + inlined_ast: e6bb4fef51890f828e263c7ca2948a86492caf9e8b1acb43b5409285f785475c + dce_ast: e6bb4fef51890f828e263c7ca2948a86492caf9e8b1acb43b5409285f785475c bytecode: e2d11ed53799ed66404c1913fe646293953de9e3b44fca9a3add80e04e9a34fc warnings: "" diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index b9487cc3a2..01280362e0 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 7d388e9e2084be4a75147864d477a6bd02c4dea5e4d9762065a0069ed1d87270 initial_ast: 5a9a934edfbae3ff00edd037cacb462ab9d376bd627ecf1869e4d4fc6070e9f3 unrolled_ast: 5a9a934edfbae3ff00edd037cacb462ab9d376bd627ecf1869e4d4fc6070e9f3 - ssa_ast: c3a893195e5ba09d1d3e659260635680969ca3b7c23a4594ffc0d5aeda86837c - flattened_ast: d0823bb8d87549de53f012d9cd3d96ab4e85448c8c3a08e29d087e47e109b1db - inlined_ast: d0823bb8d87549de53f012d9cd3d96ab4e85448c8c3a08e29d087e47e109b1db - dce_ast: d0823bb8d87549de53f012d9cd3d96ab4e85448c8c3a08e29d087e47e109b1db + ssa_ast: 89ced272d2f5c945c94c05358b4acf78e89b6077c2d3c6c591046ff5476a4093 + flattened_ast: a0b040336dd25b5687668ff4f783691473a8c26dca6820f36477925da36c7f90 + destructured_ast: f8b3e16dec4a2b4691d7f9d6f29ffc7832a5b80d6cd7fa14299d69d9eccca664 + inlined_ast: f8b3e16dec4a2b4691d7f9d6f29ffc7832a5b80d6cd7fa14299d69d9eccca664 + dce_ast: f8b3e16dec4a2b4691d7f9d6f29ffc7832a5b80d6cd7fa14299d69d9eccca664 bytecode: f8245e78b1dfaf2eeeb6aff9629ee561cdf6bf80f029c173fd32c6c002ad6e73 warnings: "" diff --git a/tests/expectations/compiler/statements/underscore_for_loop.out b/tests/expectations/compiler/statements/underscore_for_loop.out index 15241b52a1..e9a6b1e21e 100644 --- a/tests/expectations/compiler/statements/underscore_for_loop.out +++ b/tests/expectations/compiler/statements/underscore_for_loop.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 52e8de812cfed224e205ce030881029a27299a1448ce4ecd3fdb6179f4a98274 initial_ast: 9f56348ed5aba03e52005964bd6fdebb034c8ae29875c91b2a3ce2d9c02735f9 unrolled_ast: 215fa1cd34124f2109f57b025e75ff534c7b1fbb1df35a38c3a4258a15951b6a - ssa_ast: 97e6ff06f5a58d828806c2cd3861ddab5299566c1360d6e18e0d5b9fde61c4fb - flattened_ast: 52478c3527ef3fd09669b46d21ffd0f32a4f77cfc301326d19db0ff054c3fcb0 - inlined_ast: 52478c3527ef3fd09669b46d21ffd0f32a4f77cfc301326d19db0ff054c3fcb0 - dce_ast: 06b113ca11dd566083f59d27c035573b1cf8d4a7cb157ae3f03d1d177d31080d + ssa_ast: 4079f91cfa7e2ce05bb843e3797d40699f1709348b5849746ff942c40743d305 + flattened_ast: 9267954ef3430e271d9840cd55af2c05be846acd905586ca1c354bd4b56d67fc + destructured_ast: cabbbe4a2862ffc8fdc04131cd8c107505ec31cee15b2ec5d3c1bbb586a8efb8 + inlined_ast: cabbbe4a2862ffc8fdc04131cd8c107505ec31cee15b2ec5d3c1bbb586a8efb8 + dce_ast: 4dd228964d79751a907c070225a2b3beaa4181e0a70ae32348a5e12cda7c048c bytecode: 61cc464cdc1104635ea399648d62a06b112dc3462634b3f992151c6e5572d6f7 warnings: "" diff --git a/tests/expectations/compiler/structs/cyclic_structs_four_fail.out b/tests/expectations/compiler/structs/cyclic_structs_four_fail.out new file mode 100644 index 0000000000..1c8ca985c0 --- /dev/null +++ b/tests/expectations/compiler/structs/cyclic_structs_four_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected ; -- found ','\n --> compiler-test:9:18\n |\n 9 | baz: [Baz, 2],\n | ^" diff --git a/tests/expectations/compiler/structs/inline.out b/tests/expectations/compiler/structs/inline.out index 692d1fa613..81e084cee1 100644 --- a/tests/expectations/compiler/structs/inline.out +++ b/tests/expectations/compiler/structs/inline.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 81ecb953386b31f7b10da22d4be5f34d2c537012b2ab04a9218f8697f9b6f0b2 initial_ast: 84b51120b65c7c3bcc9bfc504b0d5deea2808e389611ff1af2d10080fca264e4 unrolled_ast: 84b51120b65c7c3bcc9bfc504b0d5deea2808e389611ff1af2d10080fca264e4 - ssa_ast: 5445097d4434424471f7f3777ee929f82cee82af39439187750b523055982180 - flattened_ast: c0167bf14482858d7561011b7779e4fc08a07d0d825f03fb0dbef1a60e7c564d - inlined_ast: c0167bf14482858d7561011b7779e4fc08a07d0d825f03fb0dbef1a60e7c564d - dce_ast: c0167bf14482858d7561011b7779e4fc08a07d0d825f03fb0dbef1a60e7c564d + ssa_ast: ad270a85bb846df628409920b3c0314a8ef0346e5c407cd580f7e7f62232e3f2 + flattened_ast: bda8592a3b5207e137abbef22453207215323f51f8d19405e70af2c1ddf6cf8e + destructured_ast: b0232e72eec376deb4e5feb6f9c143668f49ee9f9a7f7586ec7b15e1ca5393c5 + inlined_ast: b0232e72eec376deb4e5feb6f9c143668f49ee9f9a7f7586ec7b15e1ca5393c5 + dce_ast: b0232e72eec376deb4e5feb6f9c143668f49ee9f9a7f7586ec7b15e1ca5393c5 bytecode: ec61be65e2947187dd58fdd1cf6f98301443d81e225b3ba2a3971b38ed950b05 warnings: "" diff --git a/tests/expectations/compiler/structs/member_variable.out b/tests/expectations/compiler/structs/member_variable.out index 800669269c..eeeb6f0f58 100644 --- a/tests/expectations/compiler/structs/member_variable.out +++ b/tests/expectations/compiler/structs/member_variable.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: b8aa26ec91094839e55b11d53f07161fe9b965d5f17c2cd0052da94f0105bdf0 initial_ast: 1941558ef47908aaec1ba8e3e7a238b90720a23e976e0a6c7090e22a956683e7 unrolled_ast: 1941558ef47908aaec1ba8e3e7a238b90720a23e976e0a6c7090e22a956683e7 - ssa_ast: fe34f310aa3130f5d62f8e6ea6872e9d152b2be1b78ab9140fcf4560fb2d6802 - flattened_ast: fab33794fd15bd738beee7baa975cc28f34f4076c49d0e2e0d1c95a28dd57c69 - inlined_ast: fab33794fd15bd738beee7baa975cc28f34f4076c49d0e2e0d1c95a28dd57c69 - dce_ast: fab33794fd15bd738beee7baa975cc28f34f4076c49d0e2e0d1c95a28dd57c69 + ssa_ast: 337893e438a1e1a376538ce6e5add10630db8864a1c0543917aadc20eb014e71 + flattened_ast: b7af39fe001afc8a8a0e5382c024d815d3a72303d79781c5194a16730f3ecb76 + destructured_ast: 2ba8f8f39d63e0f886aabe57855d50daa34b47b18511168979858b82f7f5e67e + inlined_ast: 2ba8f8f39d63e0f886aabe57855d50daa34b47b18511168979858b82f7f5e67e + dce_ast: 2ba8f8f39d63e0f886aabe57855d50daa34b47b18511168979858b82f7f5e67e bytecode: 762d4097e94ed495b4a3996bae354d8c1b9396d0620e8f794ae4356829a6e89d warnings: "" diff --git a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out index f7796d7585..f601c9b275 100644 --- a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out @@ -7,9 +7,10 @@ outputs: unrolled_symbol_table: 0ae6329098f9256de03c29009d8eb6c9c1b4f79f3c2754e34d7e74274fde773f initial_ast: 4967ede39500dc6404ccb91596fdfdc2d36d1c3fd7eab3e72040bb3a7c5b29ab unrolled_ast: 4967ede39500dc6404ccb91596fdfdc2d36d1c3fd7eab3e72040bb3a7c5b29ab - ssa_ast: 4b481800aa0d37e4b9ef6a60347c50141d831df6c28b20ba2a6ccd79bbf03f03 - flattened_ast: 03565bc90539a1f1b4ac78b12f3b30b8213a877e84790219d7c731dceca90952 - inlined_ast: 03565bc90539a1f1b4ac78b12f3b30b8213a877e84790219d7c731dceca90952 - dce_ast: 03565bc90539a1f1b4ac78b12f3b30b8213a877e84790219d7c731dceca90952 + ssa_ast: d4a4d6f9ae50205081ea7a5650ee6418f4ac863e9610394f2d2772d77ecb86a6 + flattened_ast: 1713599976a172549e2309b2f1b52e25d9a59f9959c2b46d5b4ac0e8a34430c7 + destructured_ast: 08baade72a3e3329571dd90bda49a5cade07c58c4f092c2d78fdf5d7bb8326ef + inlined_ast: 08baade72a3e3329571dd90bda49a5cade07c58c4f092c2d78fdf5d7bb8326ef + dce_ast: 08baade72a3e3329571dd90bda49a5cade07c58c4f092c2d78fdf5d7bb8326ef bytecode: 863e38ce365f290cb635173708362b07c114f9c938e377d5373d2cdbd5555098 warnings: "" diff --git a/tests/expectations/compiler/structs/struct_init_out_of_order.out b/tests/expectations/compiler/structs/struct_init_out_of_order.out index 16a234c9f5..6431d09c36 100644 --- a/tests/expectations/compiler/structs/struct_init_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_init_out_of_order.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: c756e1dd1116ce704a003a67a40f1c2b605577c41862fdd415befecc6648bd53 - type_checked_symbol_table: b73e3c8d8b5e8512423a1edfa63afe5728c5e3e8e1d4a6e1857b686b8bc7ab4c - unrolled_symbol_table: b73e3c8d8b5e8512423a1edfa63afe5728c5e3e8e1d4a6e1857b686b8bc7ab4c - initial_ast: 48038661a3608151d8adbc97406a0c82ec2a9187107c952347b1f288bac38231 - unrolled_ast: 48038661a3608151d8adbc97406a0c82ec2a9187107c952347b1f288bac38231 - ssa_ast: 0aeef23c2d4749e2032fc7bafeeb52c7494d925efae37a00746b0b9ae847469c - flattened_ast: 51b2f37976836d7d2b3229691370cbdf3a989905c4a9ec48fb489f2b57799c03 - inlined_ast: 51b2f37976836d7d2b3229691370cbdf3a989905c4a9ec48fb489f2b57799c03 - dce_ast: 51b2f37976836d7d2b3229691370cbdf3a989905c4a9ec48fb489f2b57799c03 + - - initial_symbol_table: f4bb4a52de7581e84d87475b59228eb1a118a5c112841fca2168ff69075d47f8 + type_checked_symbol_table: 5d5e1dfa1c326fea22d1d2548939038e2bea4454d37c542b76daf22e964d3c24 + unrolled_symbol_table: 5d5e1dfa1c326fea22d1d2548939038e2bea4454d37c542b76daf22e964d3c24 + initial_ast: b8ff737e8f58d32dba2bf4793050e74a81cfa7e907cc0f6f993eeac508532881 + unrolled_ast: b8ff737e8f58d32dba2bf4793050e74a81cfa7e907cc0f6f993eeac508532881 + ssa_ast: 7ce3cee6a2e0dd148fad0222f798eee9fb68adffc83b6630e60d13783ad3ced2 + flattened_ast: 444171967ffd3524a5f676efdbae367016964b99fb66f6c6c96374070ec9870b + destructured_ast: c371b630f70f6c1561432514b3315be235f843edc939b20555facb02a086229f + inlined_ast: c371b630f70f6c1561432514b3315be235f843edc939b20555facb02a086229f + dce_ast: c371b630f70f6c1561432514b3315be235f843edc939b20555facb02a086229f bytecode: e8b13087d9609aaed141be0bd8bcdcf8941faa1eff034046212c276ff58e0cf4 warnings: "" diff --git a/tests/expectations/compiler/tuple/function_call_returns_tuple.out b/tests/expectations/compiler/tuple/function_call_returns_tuple.out index 098dc5ccae..676cf591fe 100644 --- a/tests/expectations/compiler/tuple/function_call_returns_tuple.out +++ b/tests/expectations/compiler/tuple/function_call_returns_tuple.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: f2558edf1346b5fa3584ed7d1684d83b8aaa08cdd00e021062d1ed5c8ae993ed - type_checked_symbol_table: d202c359f29b0b899efce3f069c23f062d6687045d7845ffc20725323ee3efec - unrolled_symbol_table: d202c359f29b0b899efce3f069c23f062d6687045d7845ffc20725323ee3efec - initial_ast: e3ebbc2f46d2d976a34a112413863dc5b99bc4126fa83567d967f9ffdbb7ab65 - unrolled_ast: e3ebbc2f46d2d976a34a112413863dc5b99bc4126fa83567d967f9ffdbb7ab65 - ssa_ast: 5dcd5b63829ca8645403590fb2bf7750ff4668ac9210a488eaa9170277440dd2 - flattened_ast: 67722d96b6a74e73a972f52f65ead9237983a25b7353ccef2f8885544c9b74b9 - inlined_ast: 67722d96b6a74e73a972f52f65ead9237983a25b7353ccef2f8885544c9b74b9 - dce_ast: 67722d96b6a74e73a972f52f65ead9237983a25b7353ccef2f8885544c9b74b9 + - - initial_symbol_table: 6a64cd4ae243a7d68fd8d89d5a8e04a76ed03c1b05440098808261bd24b8c844 + type_checked_symbol_table: ad696035bb707e236b8370f2d0f58c3b9439a9fe884e8c9f48fb5e66b2d0f478 + unrolled_symbol_table: ad696035bb707e236b8370f2d0f58c3b9439a9fe884e8c9f48fb5e66b2d0f478 + initial_ast: a681375e9c26734f984c615a105aedb99b3391e97c819744b37c662893577a8b + unrolled_ast: a681375e9c26734f984c615a105aedb99b3391e97c819744b37c662893577a8b + ssa_ast: 98eebf79f9a263e6661775c4b355ac37ebde7b0f8ecd6c71700b80dd102c8e1b + flattened_ast: 2e03890eeac5baa7e4a0a2a906cdd0daad79515664cc6a7cc0ea0c9d67163155 + destructured_ast: 45c8f6b53ae556bad8a4267982e4f92aa80c4b99f7da19c7bd33fe03cea1f7cc + inlined_ast: 45c8f6b53ae556bad8a4267982e4f92aa80c4b99f7da19c7bd33fe03cea1f7cc + dce_ast: 45c8f6b53ae556bad8a4267982e4f92aa80c4b99f7da19c7bd33fe03cea1f7cc bytecode: f8a3d7352634db2882bc62840443ed6981ab356b6037c6bce8b2361189e82319 warnings: "" diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index 71efed5447..aad6e2663d 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 11ae7bbfdcacc7c529e337872df8eb02026325ffbb5f766ab541d7767e4b65c4 - type_checked_symbol_table: 83b7365636d45790936edb162dd941c251991d75b1c1cced59b0d4c1af254f23 - unrolled_symbol_table: 83b7365636d45790936edb162dd941c251991d75b1c1cced59b0d4c1af254f23 - initial_ast: 51456a462fc32147288cab9a77fd69f1d97d57a71a2e803bc184fcc989f8d9b3 - unrolled_ast: 51456a462fc32147288cab9a77fd69f1d97d57a71a2e803bc184fcc989f8d9b3 - ssa_ast: 66e8e377d239879a2518d4ee6fd433df49ce9eb1057b405e6382f59b02adff9d - flattened_ast: 6adb7a8681c2e5df7598bdb45e38bfcae68b4d46da3b48f9bd914dd71f1ef44d - inlined_ast: 6adb7a8681c2e5df7598bdb45e38bfcae68b4d46da3b48f9bd914dd71f1ef44d - dce_ast: 6adb7a8681c2e5df7598bdb45e38bfcae68b4d46da3b48f9bd914dd71f1ef44d + - - initial_symbol_table: 898f0a736f891c8cbdfbe20f6a9435ec7b8517c0206e77f19edfa439f1c12f6e + type_checked_symbol_table: 299c49cf52a6373c2b81aee04787fb3fe36ce568921e0e58e16fc71ca718d50d + unrolled_symbol_table: 299c49cf52a6373c2b81aee04787fb3fe36ce568921e0e58e16fc71ca718d50d + initial_ast: 687cff7514f8a420cb40a11be4397f3801498310c7d9c42dd25d1281a4bee55c + unrolled_ast: 687cff7514f8a420cb40a11be4397f3801498310c7d9c42dd25d1281a4bee55c + ssa_ast: 2bdee32529b6c8a5b5d98d3f2c16e2c0ac17bb8816ae620ad32612d54c9c1c64 + flattened_ast: 5166ef425d454d1dea65c8e29abba5e0e189064a446b6646d2c0378cece994b8 + destructured_ast: 1a358564cd85d3ab845f8179a968673c9b68637309f9eb3359c35a83a2e2f7dc + inlined_ast: 1a358564cd85d3ab845f8179a968673c9b68637309f9eb3359c35a83a2e2f7dc + dce_ast: 1a358564cd85d3ab845f8179a968673c9b68637309f9eb3359c35a83a2e2f7dc bytecode: cab2a38bed741bf7b4ae067086da9762dfce98c256155aece53158ebbfad7198 warnings: "" diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index 2a1681f00e..6218568da5 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 11ae7bbfdcacc7c529e337872df8eb02026325ffbb5f766ab541d7767e4b65c4 - type_checked_symbol_table: 03dc9a1fd4cadf47e3e3f1933582e8d50ef47877ad74a68541e0eb5f9267c2a5 - unrolled_symbol_table: 03dc9a1fd4cadf47e3e3f1933582e8d50ef47877ad74a68541e0eb5f9267c2a5 - initial_ast: e3895ddff22be1a5b737c226105e2e11de3172492fc4a36a4113aabb1af5ed76 - unrolled_ast: e3895ddff22be1a5b737c226105e2e11de3172492fc4a36a4113aabb1af5ed76 - ssa_ast: 79e2e51feee424129ed8343489fc061dbf458a4fc44e6b3f9da280e4d6704ab0 - flattened_ast: a7a73f704f80c9ae8d01bc761675585fd418d01bdd4a484bf3608512104f07e5 - inlined_ast: a7a73f704f80c9ae8d01bc761675585fd418d01bdd4a484bf3608512104f07e5 - dce_ast: a7a73f704f80c9ae8d01bc761675585fd418d01bdd4a484bf3608512104f07e5 + - - initial_symbol_table: 898f0a736f891c8cbdfbe20f6a9435ec7b8517c0206e77f19edfa439f1c12f6e + type_checked_symbol_table: 84e7e8e12e3f734c27c567857b849fc9154849e073a5509df61682c38fdfa5a5 + unrolled_symbol_table: 84e7e8e12e3f734c27c567857b849fc9154849e073a5509df61682c38fdfa5a5 + initial_ast: c53c08a6787c98ee24e414c44f0cabd416452f0633f7d037361f6026a6ffcd0f + unrolled_ast: c53c08a6787c98ee24e414c44f0cabd416452f0633f7d037361f6026a6ffcd0f + ssa_ast: b09668fecbc81045c588f5b2161623e22fc52d8a6f2a70adcbc88a74eaba807f + flattened_ast: 17349f2f8dc3dfa935cbe90983d0ccd13fcc9ac59322a8b4a401bc404e5f659e + destructured_ast: 47a1175c6fd1139183eb29e7490bf2793d921513ecc1a1a4732a103845d09518 + inlined_ast: 47a1175c6fd1139183eb29e7490bf2793d921513ecc1a1a4732a103845d09518 + dce_ast: 47a1175c6fd1139183eb29e7490bf2793d921513ecc1a1a4732a103845d09518 bytecode: 4ab0ff9007818a0bf7b45a22297f4a5bdbed8a46d1b2a70e6f6d2f347f8e8b1e warnings: "" diff --git a/tests/expectations/compiler/tuple/function_return_nothing.out b/tests/expectations/compiler/tuple/function_return_nothing.out index 2c7bbf855e..f284abeb31 100644 --- a/tests/expectations/compiler/tuple/function_return_nothing.out +++ b/tests/expectations/compiler/tuple/function_return_nothing.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 1be715032351df4a9771cc2a124b49c15b62b6ebc5b5bde8d1edeb754480ce91 ssa_ast: 1be715032351df4a9771cc2a124b49c15b62b6ebc5b5bde8d1edeb754480ce91 flattened_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e - inlined_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e - dce_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e + destructured_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 + inlined_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 + dce_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 bytecode: e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2 warnings: "" diff --git a/tests/expectations/compiler/tuple/function_return_unit.out b/tests/expectations/compiler/tuple/function_return_unit.out index 2c7bbf855e..f284abeb31 100644 --- a/tests/expectations/compiler/tuple/function_return_unit.out +++ b/tests/expectations/compiler/tuple/function_return_unit.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 1be715032351df4a9771cc2a124b49c15b62b6ebc5b5bde8d1edeb754480ce91 ssa_ast: 1be715032351df4a9771cc2a124b49c15b62b6ebc5b5bde8d1edeb754480ce91 flattened_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e - inlined_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e - dce_ast: 4c2b1e982af93bee4ab656a55c15940d503cb63c24046bbc4eeae89a85be829e + destructured_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 + inlined_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 + dce_ast: 8723abd2998425b59eabbf7ab3b0297c66c8bdd51de1d4ece15e809392083b89 bytecode: e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2 warnings: "" diff --git a/tests/expectations/compiler/tuple/function_return_varying_modes.out b/tests/expectations/compiler/tuple/function_return_varying_modes.out index b7d7cd4e2b..0ce1c3b73d 100644 --- a/tests/expectations/compiler/tuple/function_return_varying_modes.out +++ b/tests/expectations/compiler/tuple/function_return_varying_modes.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 11ae7bbfdcacc7c529e337872df8eb02026325ffbb5f766ab541d7767e4b65c4 - type_checked_symbol_table: 03dc9a1fd4cadf47e3e3f1933582e8d50ef47877ad74a68541e0eb5f9267c2a5 - unrolled_symbol_table: 03dc9a1fd4cadf47e3e3f1933582e8d50ef47877ad74a68541e0eb5f9267c2a5 - initial_ast: fbbf348b4ae8b3e4022f6f8b9e0b3746786bfdb2a9ed8b3a9509b4ebe70f4a37 - unrolled_ast: fbbf348b4ae8b3e4022f6f8b9e0b3746786bfdb2a9ed8b3a9509b4ebe70f4a37 - ssa_ast: 26d896cd6fdc7843745d8299859922fa29e77f3c7245e393e8abb50ddbf94002 - flattened_ast: 0d96a5227a94beb97029378a824780d1bb0fec00fb48793cbac24aefd570d2fe - inlined_ast: 0d96a5227a94beb97029378a824780d1bb0fec00fb48793cbac24aefd570d2fe - dce_ast: 0d96a5227a94beb97029378a824780d1bb0fec00fb48793cbac24aefd570d2fe + - - initial_symbol_table: 898f0a736f891c8cbdfbe20f6a9435ec7b8517c0206e77f19edfa439f1c12f6e + type_checked_symbol_table: 84e7e8e12e3f734c27c567857b849fc9154849e073a5509df61682c38fdfa5a5 + unrolled_symbol_table: 84e7e8e12e3f734c27c567857b849fc9154849e073a5509df61682c38fdfa5a5 + initial_ast: 7f184b668234d1cb88fbba9f7c76e4a270ce28b7af988122334dc89ef1f67875 + unrolled_ast: 7f184b668234d1cb88fbba9f7c76e4a270ce28b7af988122334dc89ef1f67875 + ssa_ast: 3e556f1226e4677fa1e592d97ef11c775120e3ac51c467967148fa85289aefcc + flattened_ast: 427d7fc093c798cf458d0626c57ef0091faab54884968f5b9c8c60f59f041194 + destructured_ast: 460c2eb40d09ac14a82184eaca1d0d0fa0378a50b8525affdabd41508c281058 + inlined_ast: 460c2eb40d09ac14a82184eaca1d0d0fa0378a50b8525affdabd41508c281058 + dce_ast: 460c2eb40d09ac14a82184eaca1d0d0fa0378a50b8525affdabd41508c281058 bytecode: 1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4 warnings: "" diff --git a/tests/expectations/compiler/tuple/return_with_different_modes.out b/tests/expectations/compiler/tuple/return_with_different_modes.out index 4ae873b47b..6d6f7a1049 100644 --- a/tests/expectations/compiler/tuple/return_with_different_modes.out +++ b/tests/expectations/compiler/tuple/return_with_different_modes.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: eee40e72e7cc33dfb6e756940ef0b1581f32ca89e354e60faf5d675139efccc2 - type_checked_symbol_table: 746779e708cdc2a4ba39c1bb2079cfb04db211bce20fa4ff0ffa99c8e81c6fd2 - unrolled_symbol_table: 746779e708cdc2a4ba39c1bb2079cfb04db211bce20fa4ff0ffa99c8e81c6fd2 - initial_ast: ad0bcb5eaeb987efd6621c9213d7ad09779f31eaf5223e37a0acdb0e6bd99aec - unrolled_ast: ad0bcb5eaeb987efd6621c9213d7ad09779f31eaf5223e37a0acdb0e6bd99aec - ssa_ast: 65b643cd03e22cfe07e67d2955a89ffd6828259725a0c4d881a637af96b907a3 - flattened_ast: 44d4e21fc6b15441885f4352748d7249d68ce507b88605970dcedf6a71000426 - inlined_ast: 44d4e21fc6b15441885f4352748d7249d68ce507b88605970dcedf6a71000426 - dce_ast: 44d4e21fc6b15441885f4352748d7249d68ce507b88605970dcedf6a71000426 + - - initial_symbol_table: e94616174c572a6d2f8955d244316e64060a996225c81b2c6fb01ace0675d877 + type_checked_symbol_table: d03ba34620be6ed5baf8ee9d76255c2e7ee074552c651994a06883a97525fd47 + unrolled_symbol_table: d03ba34620be6ed5baf8ee9d76255c2e7ee074552c651994a06883a97525fd47 + initial_ast: 7a9deafaa70c55c5a6854c5f7a9075aa9f699ea962277307b9452fba0eedda48 + unrolled_ast: 7a9deafaa70c55c5a6854c5f7a9075aa9f699ea962277307b9452fba0eedda48 + ssa_ast: 2a335a19079832ef45de6be648e41b9c7abc1627ca174eafb1bfcf2993a807ce + flattened_ast: 9fc130609acb417a406000580b24014508a0241fbf86cad38e956386df120b59 + destructured_ast: 67e25a8a70dc3977ae3926164b39bea0c4f706a5a20c31db0006745601f268ef + inlined_ast: 67e25a8a70dc3977ae3926164b39bea0c4f706a5a20c31db0006745601f268ef + dce_ast: 67e25a8a70dc3977ae3926164b39bea0c4f706a5a20c31db0006745601f268ef bytecode: 1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4 warnings: "" diff --git a/tests/expectations/compiler/tuple/tuple_access.out b/tests/expectations/compiler/tuple/tuple_access.out index 7a7f3c50e3..a0cacf0f67 100644 --- a/tests/expectations/compiler/tuple/tuple_access.out +++ b/tests/expectations/compiler/tuple/tuple_access.out @@ -3,13 +3,14 @@ namespace: Compile expectation: Pass outputs: - - initial_symbol_table: 5786aaca2eb0976ff29dd2481a1e1a0cf8447e4fa1de58ccee9e22351301d000 - type_checked_symbol_table: c8e08f15d651bf5ed56eb36cd421574d359232b0c452016a899ed18dadfd1ce6 - unrolled_symbol_table: c8e08f15d651bf5ed56eb36cd421574d359232b0c452016a899ed18dadfd1ce6 - initial_ast: d7c7ed0aee5917b4211e62cac000fe4d45da471acbb09d5ea953d88e5a0293b3 - unrolled_ast: d7c7ed0aee5917b4211e62cac000fe4d45da471acbb09d5ea953d88e5a0293b3 - ssa_ast: 80ca4545255f954295757877781b0ccda7059b73ad6fe2cfbf1fc2b04baeb615 - flattened_ast: c58142657a2352d8881f10c4973a54e9c3c85864af55802339e6016eea408067 - inlined_ast: c58142657a2352d8881f10c4973a54e9c3c85864af55802339e6016eea408067 - dce_ast: c58142657a2352d8881f10c4973a54e9c3c85864af55802339e6016eea408067 + type_checked_symbol_table: 360ce0457c74782541f0c52ed1ee5edc8b04d78fe24dd399eb2ccdaf0adcdc11 + unrolled_symbol_table: 360ce0457c74782541f0c52ed1ee5edc8b04d78fe24dd399eb2ccdaf0adcdc11 + initial_ast: 50c706d65d0dd69aec8539cbe47bdaa5ca5a097b7de0eb131388b620152de6ad + unrolled_ast: 50c706d65d0dd69aec8539cbe47bdaa5ca5a097b7de0eb131388b620152de6ad + ssa_ast: e8dc21e1c8adb0b3c9ac8a44f00e3c174051fee4d31d8a6aa2949f64577e1333 + flattened_ast: ad11fe73a8a7ae336293c6bb50ccec748d7511eeb00f16f410c43e66862bb421 + destructured_ast: fcee166f7906c6716b0181d1189a14b9deef9f83cb29446a0b9435a055176b70 + inlined_ast: fcee166f7906c6716b0181d1189a14b9deef9f83cb29446a0b9435a055176b70 + dce_ast: fcee166f7906c6716b0181d1189a14b9deef9f83cb29446a0b9435a055176b70 bytecode: 66ae5f7e0fec4de855fa451272351313df6f03b4a3799edd57ce21da859051da warnings: "" diff --git a/tests/expectations/compiler/tuple/tuple_destructure.out b/tests/expectations/compiler/tuple/tuple_destructure.out index 927c3832bf..56a94479a5 100644 --- a/tests/expectations/compiler/tuple/tuple_destructure.out +++ b/tests/expectations/compiler/tuple/tuple_destructure.out @@ -2,14 +2,15 @@ namespace: Compile expectation: Pass outputs: - - - initial_symbol_table: 175935ed6e56f7b18d219b186bd10976dac1e4419900674cb09590b3e21cb3d8 - type_checked_symbol_table: b902eefb829a351a91d256c4e5ef68b655c37a8347fd29ab2a2fc8bdd371c625 - unrolled_symbol_table: b902eefb829a351a91d256c4e5ef68b655c37a8347fd29ab2a2fc8bdd371c625 - initial_ast: 9654d92f2fcf2d4b4f2bd3f46c2849a5f7eb81bb4e6f51eccb0f1a46873d330a - unrolled_ast: 9654d92f2fcf2d4b4f2bd3f46c2849a5f7eb81bb4e6f51eccb0f1a46873d330a - ssa_ast: 3d9ba80f049f7ad8ed1765d0a78ff5b907ad483b5cde8c33ca64ea247213a505 - flattened_ast: bc8110d87a4b8f8a98752294054fd3d63f3425a1e85d1b429e9e6e03af991b75 - inlined_ast: bc8110d87a4b8f8a98752294054fd3d63f3425a1e85d1b429e9e6e03af991b75 - dce_ast: bc8110d87a4b8f8a98752294054fd3d63f3425a1e85d1b429e9e6e03af991b75 + - - initial_symbol_table: df24b35ac316a906676186c5f0bfc3a9e53385eb9ac0f7e4e5314a43472a8771 + type_checked_symbol_table: 24d01a2377bd771c9413d054d97ebd85f5c6aaf78baf4fa5edf10a3e526a3a1a + unrolled_symbol_table: 24d01a2377bd771c9413d054d97ebd85f5c6aaf78baf4fa5edf10a3e526a3a1a + initial_ast: 3fbb7200ed083311ac6e8bd4b47f69cd4ffe6e05672a45c4bd86ec5d1846f052 + unrolled_ast: 3fbb7200ed083311ac6e8bd4b47f69cd4ffe6e05672a45c4bd86ec5d1846f052 + ssa_ast: 415e371e9098a11f9d665c80d4190104f994bebd5dd2ca736d65ff34d43f1e98 + flattened_ast: d5a3a4801d439d6a043243ca0e5d22d4f6d7618ef1cf861d9c8a202d758cc81b + destructured_ast: 4fff018e6e6810661aad73db30fcb09d1a3b7511c19153ea863bababc16e8ee6 + inlined_ast: 4fff018e6e6810661aad73db30fcb09d1a3b7511c19153ea863bababc16e8ee6 + dce_ast: 4fff018e6e6810661aad73db30fcb09d1a3b7511c19153ea863bababc16e8ee6 bytecode: 404bfa1fcdb0b113686f984a5d33322565e6acbb2438db7def4dd40d20f52093 warnings: "" diff --git a/tests/expectations/compiler/tuple/tuple_in_assignment.out b/tests/expectations/compiler/tuple/tuple_in_assignment.out index 3423e03b80..e8416cde55 100644 --- a/tests/expectations/compiler/tuple/tuple_in_assignment.out +++ b/tests/expectations/compiler/tuple/tuple_in_assignment.out @@ -3,13 +3,14 @@ namespace: Compile expectation: Pass outputs: - - initial_symbol_table: 3f56c0ce57403c4c404dd46906c6045bd460eccc83de2eafd5869395aea6c95c - type_checked_symbol_table: 5329425fc027e5d687ba11f87b07ef8b0b28d710809e67a08cfc3dc173d75f30 - unrolled_symbol_table: 5329425fc027e5d687ba11f87b07ef8b0b28d710809e67a08cfc3dc173d75f30 - initial_ast: ba6d6358d81857344e06035ebdd11db84bb48c886e4a45263dded1bc642f143d - unrolled_ast: ba6d6358d81857344e06035ebdd11db84bb48c886e4a45263dded1bc642f143d - ssa_ast: eaf778dbe9ff6c576124ed61558b64569d362a9e7d9f00a257c8693a06318fb0 - flattened_ast: 4e1a19ae08562d79ec2ceab1cd07e7dea23400828d1d79e0b8410ab3bb1c97e3 - inlined_ast: 4e1a19ae08562d79ec2ceab1cd07e7dea23400828d1d79e0b8410ab3bb1c97e3 - dce_ast: 4e1a19ae08562d79ec2ceab1cd07e7dea23400828d1d79e0b8410ab3bb1c97e3 + type_checked_symbol_table: 92ad301f4c3256fcd7bc6c52240273513e2e952458b372451306ae8b6faa51e1 + unrolled_symbol_table: 92ad301f4c3256fcd7bc6c52240273513e2e952458b372451306ae8b6faa51e1 + initial_ast: ef54960a3376c30f203d00e19d45c77a550f74124e7bb3275314906a4fafd925 + unrolled_ast: ef54960a3376c30f203d00e19d45c77a550f74124e7bb3275314906a4fafd925 + ssa_ast: 147b5d6414470662a1a233351cb85fc9cbc058efa8122490ca0cfec675419b89 + flattened_ast: 062b566a14904748035e9d159077a1b76c86b085498e9b083dff858cfbb024f7 + destructured_ast: 12657a4fde2d83a31e13f77b4b0a1bb393fd517b09d36a2e1c22a4cb08ea135e + inlined_ast: 12657a4fde2d83a31e13f77b4b0a1bb393fd517b09d36a2e1c22a4cb08ea135e + dce_ast: d164710a13fc910dcd1969ad11e1b052a8264367d7e7aa065855db40294fc874 bytecode: e58af56a6497ae064f0ac928ee1f89df6f05c41482ef3619acbacd8f1dfae217 warnings: "" diff --git a/tests/expectations/compiler/tuple/tuple_in_definition.out b/tests/expectations/compiler/tuple/tuple_in_definition.out index 62566b9512..627e3cf604 100644 --- a/tests/expectations/compiler/tuple/tuple_in_definition.out +++ b/tests/expectations/compiler/tuple/tuple_in_definition.out @@ -3,13 +3,14 @@ namespace: Compile expectation: Pass outputs: - - initial_symbol_table: 4bdf8cb6fb5a7f54c6bb29f9e248136b5822ad15e78402fffc899dc29da5d786 - type_checked_symbol_table: 1221d39b3bcd17dd923900ce060845f7851f87b882a4b104657e8daea74eb2c8 - unrolled_symbol_table: 1221d39b3bcd17dd923900ce060845f7851f87b882a4b104657e8daea74eb2c8 - initial_ast: e6b5070ffbe0919f326d369bfcd3e668d23b0e9ad110939b3b3eb47b73460a91 - unrolled_ast: e6b5070ffbe0919f326d369bfcd3e668d23b0e9ad110939b3b3eb47b73460a91 - ssa_ast: 6303472b7f9b84f8c45972cd2348d061078cf587d6bde3440373bb12308e4e61 - flattened_ast: 760b84bcf1e895a74fe7398bd4880bec82371268cf3b6d602047c8c7540fa5ac - inlined_ast: 760b84bcf1e895a74fe7398bd4880bec82371268cf3b6d602047c8c7540fa5ac - dce_ast: 760b84bcf1e895a74fe7398bd4880bec82371268cf3b6d602047c8c7540fa5ac + type_checked_symbol_table: 603badd2e0f89cded965b54baa2249bf33937c4a8a8b02bf47cabd28fccea792 + unrolled_symbol_table: 603badd2e0f89cded965b54baa2249bf33937c4a8a8b02bf47cabd28fccea792 + initial_ast: 786511a114ac217777135489175c988012e6af5f9c5ccf13b8932876c3b3dc25 + unrolled_ast: 786511a114ac217777135489175c988012e6af5f9c5ccf13b8932876c3b3dc25 + ssa_ast: 9f3d3db2a61cd97ebf329e2f03e466974ce5ad9a38a68308a01727337232018f + flattened_ast: 24f23f1a4dd592d31e944fd42b0d131ed091d7074b9eff968d9f0b7bdd0d5fd8 + destructured_ast: be5a7dd3c10128f8b3a2aa4af5cb4c097f19ca24f75c52cc9a3c12c05a62509b + inlined_ast: be5a7dd3c10128f8b3a2aa4af5cb4c097f19ca24f75c52cc9a3c12c05a62509b + dce_ast: effb31b7f3469e28a4104909f3a128693391472e9b8c8ceb652a3945456b6aa8 bytecode: 26120360e31f59b6a23dae65fe61c87e9e310aa11c12d90e995485dbeef81151 warnings: "" diff --git a/tests/expectations/compiler/tuple/tuple_in_loop.out b/tests/expectations/compiler/tuple/tuple_in_loop.out index f9b1a1920b..eff69554d7 100644 --- a/tests/expectations/compiler/tuple/tuple_in_loop.out +++ b/tests/expectations/compiler/tuple/tuple_in_loop.out @@ -3,13 +3,14 @@ namespace: Compile expectation: Pass outputs: - - initial_symbol_table: 29c5ccd086818dffe7007d1e0ad0ce8cc5151c1e7861fd6c0d7d27ad7a9135fd - type_checked_symbol_table: 131c8bd26cdd51af1c33cec92e103f1670c184528e148edb01f4bf7974325e5a - unrolled_symbol_table: 805605a59e94cb46f7aacf1d5aeab71fc2c170758a02a69f9d166052d088b737 - initial_ast: 365ec91f2f895068e24fd5c9cc0184acc347aafe826a405c2ec88bb37a302cd9 - unrolled_ast: debca8ee0fa7b6feea1eeedfe4bcc0e98dd017ba99a7093b4133311b252f8630 - ssa_ast: 71c0ce8dfb588b21aae0492ad68411e536c3d8b518ac4a6522cb895b0b1248be - flattened_ast: 61662e1389d97bd7f4dcc710b9b3475949864a3c5561b3ba273ebfc3a51c53f6 - inlined_ast: 61662e1389d97bd7f4dcc710b9b3475949864a3c5561b3ba273ebfc3a51c53f6 - dce_ast: 61662e1389d97bd7f4dcc710b9b3475949864a3c5561b3ba273ebfc3a51c53f6 + type_checked_symbol_table: 2c22344194236b91a5e606072384e7af498d8327a913f6ba9189c526ab1727a4 + unrolled_symbol_table: 6724556450e0f788a42f27ae08b1bd7f9841d4a34276ec580ccdc9c3ff0d23cd + initial_ast: 10bb3c0ebaa97db683986dfa17615129f8183b838d1bafd0e1d823be545d3430 + unrolled_ast: ad3f74f8c5c0cd6562fb30c8bd50ba81c0848f89e241bd64eafee2730e0e822a + ssa_ast: 376416834f6869546daf1de62369de8afbcbfb5be80e21755c27d66980e4a77e + flattened_ast: a0c581e1407eb4f8a2891ab8b6a0bb2322bf8a1c523661aa92df47f8309a9884 + destructured_ast: f7da180e997991ec075c0bf0f8e4376c7251b30afafd5ed5427deb52750afe47 + inlined_ast: f7da180e997991ec075c0bf0f8e4376c7251b30afafd5ed5427deb52750afe47 + dce_ast: f7da180e997991ec075c0bf0f8e4376c7251b30afafd5ed5427deb52750afe47 bytecode: 9ef5de2d557b3a8119e5545ab597779492a53ca6f7097a946262eb65c1acdca7 warnings: "" diff --git a/tests/expectations/compiler/tuple/unit.out b/tests/expectations/compiler/tuple/unit.out index 9113b2edf8..1fb730c0c4 100644 --- a/tests/expectations/compiler/tuple/unit.out +++ b/tests/expectations/compiler/tuple/unit.out @@ -9,7 +9,8 @@ outputs: unrolled_ast: 61976506c1795a42c31fb9b9d30f3dcde699dd531011641608345c889ca94ba0 ssa_ast: 61976506c1795a42c31fb9b9d30f3dcde699dd531011641608345c889ca94ba0 flattened_ast: cdc3a1136330c192fc6d929c49fd3a614bda0fc573b753c50433ac9cc3185260 - inlined_ast: cdc3a1136330c192fc6d929c49fd3a614bda0fc573b753c50433ac9cc3185260 - dce_ast: cdc3a1136330c192fc6d929c49fd3a614bda0fc573b753c50433ac9cc3185260 + destructured_ast: 42d402d8bc56c317fb92a7794633867d44b70fde9aa40fc33e7c1825e2ac2cbe + inlined_ast: 42d402d8bc56c317fb92a7794633867d44b70fde9aa40fc33e7c1825e2ac2cbe + dce_ast: 42d402d8bc56c317fb92a7794633867d44b70fde9aa40fc33e7c1825e2ac2cbe bytecode: 0b868939da4554de26106307f8749db7e5c629b71ec06c0870b138bc7ffabad4 warnings: "" diff --git a/tests/expectations/execution/array_sum.out b/tests/expectations/execution/array_sum.out new file mode 100644 index 0000000000..b07f58b16a --- /dev/null +++ b/tests/expectations/execution/array_sum.out @@ -0,0 +1,23 @@ +--- +namespace: Execute +expectation: Pass +outputs: + - - initial_symbol_table: 2636d609084c5edbbc22b952f4619fe7a599d7ff8e343ac2068e0b96b7f76632 + type_checked_symbol_table: 45b59b6a193e80b647beae0fa1223d042b716e5e66595a1396daebd825e10113 + unrolled_symbol_table: 82ec549e32104983d7af9d4bccfbebb5997ecf2b22bc1823851f0a438362e293 + initial_ast: cc486e21e2196e8be55ec7ae9dbf21f2f7056029e3dc60d8b0bb7ceb7a67909a + unrolled_ast: 260f45294e0c4ec11209a68174d0ee04a1b2a68fc1a6c5a584ec8de54e04daa4 + ssa_ast: 9840379281538c36a8b6c5754052bb538456926b47c31a17fbf649eb4c7c4660 + flattened_ast: 0964c710087baaf0787b00fd3c9c1134b89a6f7ec2b7757f57baec1efed090f9 + destructured_ast: 216671ce931250967f68579064173439324e2b1f696a18891803659db5c8f201 + inlined_ast: 216671ce931250967f68579064173439324e2b1f696a18891803659db5c8f201 + dce_ast: 216671ce931250967f68579064173439324e2b1f696a18891803659db5c8f201 + bytecode: f8442f404e7a865ea2161ba7fa50f682ad3b4fe62585456913ccc47a01a6c5ef + warnings: "" + results: + sum_manually: + - input: "[[\n 1u64,\n 2u64,\n 3u64,\n 4u64\n]]" + output: "[10u64]" + sum_with_loop: + - input: "[[\n 1u64,\n 2u64,\n 3u64,\n 4u64\n]]" + output: "[10u64]" diff --git a/tests/expectations/execution/cast_coersion.out b/tests/expectations/execution/cast_coersion.out index 2fad99a2b1..eeb90ae824 100644 --- a/tests/expectations/execution/cast_coersion.out +++ b/tests/expectations/execution/cast_coersion.out @@ -2,15 +2,16 @@ namespace: Execute expectation: Pass outputs: - - - initial_symbol_table: 23fd8b146aa5609587a3002939ae4f1f6879dc75f750090d19d6caede01bf01b - type_checked_symbol_table: 2b3bbcf2f843dec655c281dbe24abdaa76bb98697eb7cdaff61a968e9ff37531 - unrolled_symbol_table: 2b3bbcf2f843dec655c281dbe24abdaa76bb98697eb7cdaff61a968e9ff37531 - initial_ast: bf5c8c0d5a3520ddf64e1d3b5108265bd4967bf83b10252c4b4c8bc9f37ffdf2 - unrolled_ast: bf5c8c0d5a3520ddf64e1d3b5108265bd4967bf83b10252c4b4c8bc9f37ffdf2 - ssa_ast: c935da403925b6a862e76b34ddff6f610cdfbe302e8d1f2db85e935a045fffed - flattened_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d - inlined_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d - dce_ast: 9564cd463e1a11014f943f6cedb7c7b5d0238584e97edec2484a0c9f9b32e06d + - - initial_symbol_table: 89d449785a0dd287784c79fd653ea04c2d2491c2a16312dcec237a0f3eec3f8f + type_checked_symbol_table: 7a8a99623648061cf40fa67292a1e702bd34495e264b4a2cd040f085f7079607 + unrolled_symbol_table: 7a8a99623648061cf40fa67292a1e702bd34495e264b4a2cd040f085f7079607 + initial_ast: 7193c99195e4612207530eafb9b2a77df043e69599f7fd2b70e4997f36f86179 + unrolled_ast: 7193c99195e4612207530eafb9b2a77df043e69599f7fd2b70e4997f36f86179 + ssa_ast: 3ee408c0145ae1c18f8dffb0c67aeda6a918b98b02653bc6ec1e6ebb561077f6 + flattened_ast: cb8264cd4b5c166aa434e64811f0b548ce235c8b19c719c881eb1d270918c1ad + destructured_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec + inlined_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec + dce_ast: 950532598116104c05e421077627941ade315f8b38305f9de5bcb8f8872ff1ec bytecode: 675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1 warnings: "" results: diff --git a/tests/expectations/execution/chain.out b/tests/expectations/execution/chain.out index 24fb79638d..b46910615d 100644 --- a/tests/expectations/execution/chain.out +++ b/tests/expectations/execution/chain.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: b5244a547358d12cd61b645f6d73aaad83fa1e3b2976e99027e66b7a200e3a7c initial_ast: 7b777468c3bb0244f51b4d0392b198db8a128fcb676b85953ec7bf1c39b084d2 unrolled_ast: 7b777468c3bb0244f51b4d0392b198db8a128fcb676b85953ec7bf1c39b084d2 - ssa_ast: 8611cb9c4143c39e8660cd516f4a3813679f47ba0a57ac2e4276baff0fc8944d - flattened_ast: fd739dd45a26705d9419a2a60467d13a6ea978e6ab8a648914a3605cd6547347 - inlined_ast: fd739dd45a26705d9419a2a60467d13a6ea978e6ab8a648914a3605cd6547347 - dce_ast: 884e69c5a72b1d013982f5723dba6e517ece7158cf7642ad0b4cc755b261e534 + ssa_ast: 338f4f19224de49f856f0286dd3ad5f4d09ba1cebbd24337f756bdfd9cb12c0f + flattened_ast: 505ba41f3f7cb515baac843220762c7cbfe629ac4f8baf4bcafeb5d170202664 + destructured_ast: 25c55785ba5a2658921792258240eddfbb46f128c686defbdac576820e563953 + inlined_ast: 25c55785ba5a2658921792258240eddfbb46f128c686defbdac576820e563953 + dce_ast: a67b9c51ef03fd87e0a7b007dd0a1ac312c91b79b5e9e82246380c0b2f1b523d bytecode: f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa warnings: "" results: diff --git a/tests/expectations/execution/counter.out b/tests/expectations/execution/counter.out index 7866b86465..36e4b23b2d 100644 --- a/tests/expectations/execution/counter.out +++ b/tests/expectations/execution/counter.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: 0b6340ef766a4154f31b5fa00d9bebe8478a8e3c81f091b8433e870ad7213b25 initial_ast: 5e6213c6449862e08e395bf930911f84cf9a4fef38817908de100336191b2f4a unrolled_ast: 46f0aa90dbb7f0e4e8dbb4c1d618eeb2c2fc65f0d95c87ef98421ab5934a8d8c - ssa_ast: 645d8ddd30de2f2c176b46e16a9ee79ea9c3e4ba5896e0b9103714baaad44794 - flattened_ast: 1b5ef82de138d94ca44cd60c27cdf8d8e035183f41bdfc9a9a7624ea036e186f - inlined_ast: 1b5ef82de138d94ca44cd60c27cdf8d8e035183f41bdfc9a9a7624ea036e186f - dce_ast: 1b5ef82de138d94ca44cd60c27cdf8d8e035183f41bdfc9a9a7624ea036e186f + ssa_ast: 7462a2507ef9c64ebff74cb35ae8f98ae51fd08fe1c7879c0df91bcaa93735ab + flattened_ast: 9f9064ef525613ceb1df4ae2fb4cc19f831b3c529cfa107a402262b7f17c1ce1 + destructured_ast: 10998e3f4aecdac5bc8bf71eacf3706476f793ae172f8114a50a5f6c5b3c48d3 + inlined_ast: 10998e3f4aecdac5bc8bf71eacf3706476f793ae172f8114a50a5f6c5b3c48d3 + dce_ast: 10998e3f4aecdac5bc8bf71eacf3706476f793ae172f8114a50a5f6c5b3c48d3 bytecode: 75252a5477a2943c07eaf114bef3dd214acbd7184b3118f14786beb8215bfb94 warnings: "" results: diff --git a/tests/expectations/execution/eq.out b/tests/expectations/execution/eq.out index ab69c20f93..bfda66c497 100644 --- a/tests/expectations/execution/eq.out +++ b/tests/expectations/execution/eq.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: 48be1f1a5410e758460ef8e4c3b770053d2ce7b438b4af6ae61480a0919451e6 initial_ast: c1396a1b57dccd21779f451120d83cf3b32c0a928fcb98d823788db10893c7da unrolled_ast: c1396a1b57dccd21779f451120d83cf3b32c0a928fcb98d823788db10893c7da - ssa_ast: 9825dd45ffc7989dae605b29479f1b46a71c1b8c407bd45d6f7b8302c1a76ad0 - flattened_ast: fd401c8ccd7761c51c347ff0f69489e6a054566f168379f3c34c3db1919ce6fe - inlined_ast: fd401c8ccd7761c51c347ff0f69489e6a054566f168379f3c34c3db1919ce6fe - dce_ast: fd401c8ccd7761c51c347ff0f69489e6a054566f168379f3c34c3db1919ce6fe + ssa_ast: f3415b722f52840d293b8e1d1bf01824e72525905490d482a5efc57ad180d57e + flattened_ast: 54830ce7948658908df1193ccd64d5b2c49a8b95d2caaba48d461e300813d500 + destructured_ast: f82f13953f5262111bf3d16bcdd56a64fe1a9354259984bc8bdde29587c85be5 + inlined_ast: f82f13953f5262111bf3d16bcdd56a64fe1a9354259984bc8bdde29587c85be5 + dce_ast: f82f13953f5262111bf3d16bcdd56a64fe1a9354259984bc8bdde29587c85be5 bytecode: 15a3a90b1837b318b43b3f3bfc5e454a8821357b4c3feb01da00a4db810bde89 warnings: "" results: diff --git a/tests/expectations/execution/flattened_function_and_inline_matches.out b/tests/expectations/execution/flattened_function_and_inline_matches.out index d6ec7a7fc3..cc6a635016 100644 --- a/tests/expectations/execution/flattened_function_and_inline_matches.out +++ b/tests/expectations/execution/flattened_function_and_inline_matches.out @@ -2,15 +2,16 @@ namespace: Execute expectation: Pass outputs: - - - initial_symbol_table: 9ee9bfe1921cee5f4de19fea4d372a2a54deb758471e5745e12164eb44c447cb - type_checked_symbol_table: 8c2546e10d7482d30a2650f0119041c8a6a20201eb47a4facfe20336976e5654 - unrolled_symbol_table: 8c2546e10d7482d30a2650f0119041c8a6a20201eb47a4facfe20336976e5654 - initial_ast: e7968540f1ec2bf7c5317c03796cb3ec192f76fdeb7d148ac263558b3a1baa8a - unrolled_ast: e7968540f1ec2bf7c5317c03796cb3ec192f76fdeb7d148ac263558b3a1baa8a - ssa_ast: ab88a4058c8339ea90a6e11a95f60c339281ab6e0f5b75138e7fb35269d6ce23 - flattened_ast: 497ac9a93f2b1b543e4430ca7514d3dfc2cc9d540a3db9d678f5e9e8c1b6c627 - inlined_ast: 4f226075159611596ffd7ea53c06ae04e8bab1c1aa50cd395268ebe51141c5d5 - dce_ast: 4f226075159611596ffd7ea53c06ae04e8bab1c1aa50cd395268ebe51141c5d5 + - - initial_symbol_table: af9a4c318196237cfbd11789b7ad0e81b41246c0a491df36cd04080212103966 + type_checked_symbol_table: b091be85279aab446ecdf953c42e793a7521075059af9bb77f0328d7c3a04ac8 + unrolled_symbol_table: b091be85279aab446ecdf953c42e793a7521075059af9bb77f0328d7c3a04ac8 + initial_ast: 12601c49e3df23f68b7b84238f4931ee768dc5071fc79347d91add085a9306bb + unrolled_ast: 12601c49e3df23f68b7b84238f4931ee768dc5071fc79347d91add085a9306bb + ssa_ast: 377fb99af855b1a81ca77f1691734574595dd629353b9a62084c258824ae6127 + flattened_ast: 356f918b063e1d628eb56e784d8c81fc5c893d1cf9bd3e98c335027f8a535190 + destructured_ast: da6e6f8db5c37aeef333a2bd06ff5a3283313369af4433f3cdffe9298c6ee8f3 + inlined_ast: 8d9af9b716a2810bcf62e87af2746dbe797107d5363a4155c7c7b070e1a0cbb8 + dce_ast: 8d9af9b716a2810bcf62e87af2746dbe797107d5363a4155c7c7b070e1a0cbb8 bytecode: a52c852c5ea5e31d35c812e4ab15e4c098022431bb58b592d797137abf015e29 warnings: "" results: diff --git a/tests/expectations/execution/group_operations.out b/tests/expectations/execution/group_operations.out index f79999d02d..a8c6285fb9 100644 --- a/tests/expectations/execution/group_operations.out +++ b/tests/expectations/execution/group_operations.out @@ -2,15 +2,16 @@ namespace: Execute expectation: Pass outputs: - - - initial_symbol_table: aba7dcb7b7ee84ba3010fc911dbae12bb652de558a868987c78bf018d27785f9 - type_checked_symbol_table: ea4017400b5a38b36af6858915416c0d4dc429d9a687824e4fb8b77e7ed50551 - unrolled_symbol_table: ea4017400b5a38b36af6858915416c0d4dc429d9a687824e4fb8b77e7ed50551 - initial_ast: 9e0c3f874ed1bf74a33091a7c0729340f6603ee9074c1d3e4cc4b28bbb45280e - unrolled_ast: 9e0c3f874ed1bf74a33091a7c0729340f6603ee9074c1d3e4cc4b28bbb45280e - ssa_ast: e79574f45eb9539b2085f330bde9c4c0ff1c1f309a75f24cbfdefc26ffe078a3 - flattened_ast: 2d2d07b13a2b594ae05a5e7fef661a1c91dbabcb70fdd776164dc1903c8a9695 - inlined_ast: 2d2d07b13a2b594ae05a5e7fef661a1c91dbabcb70fdd776164dc1903c8a9695 - dce_ast: 2d2d07b13a2b594ae05a5e7fef661a1c91dbabcb70fdd776164dc1903c8a9695 + - - initial_symbol_table: c729a139ede7cf7d654dff03986b38006bd477e775a79c7bb5de307ceedc805a + type_checked_symbol_table: e7f8fa98c64fd3b75d5f4b19fc6f55ef0175c4edb1b783bb72db70ad3366c82e + unrolled_symbol_table: e7f8fa98c64fd3b75d5f4b19fc6f55ef0175c4edb1b783bb72db70ad3366c82e + initial_ast: 795c982e586d17c111f6c14fe4c3240a862530b62c701692aefe5865fa6fff8f + unrolled_ast: 795c982e586d17c111f6c14fe4c3240a862530b62c701692aefe5865fa6fff8f + ssa_ast: 5f5c86b6fcf828c2fd04181cc05d620b3eddab3123a4c0479b7106bf4b46c6a5 + flattened_ast: cb3cdb78c4c1ac9de165f51678a59201c4eb7fd57437d8086dfd2d5ed22517f3 + destructured_ast: 09d09ec7e923ccf85be3185b5a9be63dddf3be63cc83d084c45ca4f792bdca42 + inlined_ast: 09d09ec7e923ccf85be3185b5a9be63dddf3be63cc83d084c45ca4f792bdca42 + dce_ast: 09d09ec7e923ccf85be3185b5a9be63dddf3be63cc83d084c45ca4f792bdca42 bytecode: 5c20fda21a40464a1462524cf913438776a39383a671949312f48ce8ceb2dd16 warnings: "" results: diff --git a/tests/expectations/execution/mint.out b/tests/expectations/execution/mint.out index 5d65e0ea0b..96c587f1ba 100644 --- a/tests/expectations/execution/mint.out +++ b/tests/expectations/execution/mint.out @@ -7,10 +7,11 @@ outputs: unrolled_symbol_table: 538833491862c70880a4292ef436391c2be4483e6bd4c144c53d1dbbe3d58740 initial_ast: e37f759d9be4e62c86f5ebe496ef89afdf7b693b8b75a5ce9712fe46583c05e4 unrolled_ast: ad341677d014152262b054cdb7a6353e36b67965d0b05bff4d51174644b2eb30 - ssa_ast: e2f116a7a2658f59116998616f46476406fd9b25967cf5763c9ad81782ba542b - flattened_ast: a4db069331b491cdbb6e4335f786f5f5f6fcc58e70b7ad12e76977041f664be7 - inlined_ast: a4db069331b491cdbb6e4335f786f5f5f6fcc58e70b7ad12e76977041f664be7 - dce_ast: a4db069331b491cdbb6e4335f786f5f5f6fcc58e70b7ad12e76977041f664be7 + ssa_ast: 28dfa8972609609a7636a55d5b62d14858f54fd1950cd18401e01d4d137f3a9e + flattened_ast: 569e89aaf0f7f6c225c82da199fa5a8bb73f402a653d97eaeaabf28875cbfced + destructured_ast: 70180c3a056b4498772ca45b41983ed4422a61c8f2959187eeecefd5f5e4d4c0 + inlined_ast: 70180c3a056b4498772ca45b41983ed4422a61c8f2959187eeecefd5f5e4d4c0 + dce_ast: 70180c3a056b4498772ca45b41983ed4422a61c8f2959187eeecefd5f5e4d4c0 bytecode: d47819ba59e730eb159ee9e33fef5a35aac6062e70c743a749157d54824a45d9 warnings: "" results: diff --git a/tests/expectations/execution/primitive_casts.out b/tests/expectations/execution/primitive_casts.out index 7b07191349..be28070e30 100644 --- a/tests/expectations/execution/primitive_casts.out +++ b/tests/expectations/execution/primitive_casts.out @@ -2,15 +2,16 @@ namespace: Execute expectation: Pass outputs: - - - initial_symbol_table: 14ede2e4de7f1fd89ef12b547145e5a622e0bc3fc9e8611d0b64f6d0d09ef307 - type_checked_symbol_table: 58dfa99219bbe9fe8ca60c795951fa43b3e3348dc19d80feff4776f5a039e078 - unrolled_symbol_table: 58dfa99219bbe9fe8ca60c795951fa43b3e3348dc19d80feff4776f5a039e078 - initial_ast: 5549113c4101aa88368e92bdefa4620e6ada433010e92efa64a6050c538f9ecf - unrolled_ast: 5549113c4101aa88368e92bdefa4620e6ada433010e92efa64a6050c538f9ecf - ssa_ast: 977c17621c6cca0c617c685d0a25d300576e0466b4517a27298e68b004f95e2f - flattened_ast: fa2504bf5152c6db0724b5686765c53be5e5373f6f004bdb8379d8c5bac2cc5d - inlined_ast: fa2504bf5152c6db0724b5686765c53be5e5373f6f004bdb8379d8c5bac2cc5d - dce_ast: fa2504bf5152c6db0724b5686765c53be5e5373f6f004bdb8379d8c5bac2cc5d + - - initial_symbol_table: 41812237c2e434a29988c6b1ed8871bb346ef67e642dcddb612d6cb0e029b41b + type_checked_symbol_table: 79e3a582beb557343ee95cca4e20c51c28673310796b8b4b6966f93b7574d2ad + unrolled_symbol_table: 79e3a582beb557343ee95cca4e20c51c28673310796b8b4b6966f93b7574d2ad + initial_ast: ea010f92ad04ada1ad18fb7cd7e2b5065da3af5ca989a02272dd0f8631624ba8 + unrolled_ast: ea010f92ad04ada1ad18fb7cd7e2b5065da3af5ca989a02272dd0f8631624ba8 + ssa_ast: 5bc1ce1c6376bc24d222c6fd77721d087ced592d5db473cc9a3215020dae229e + flattened_ast: 9c16351c8c95af773806233129b936dcc23c41b38a8dbf68cb15917ba0453341 + destructured_ast: 8e4d99a433d9c2432faebf7693b4f6ef7ae661ce948c38a2825ae3b2b0d77d2d + inlined_ast: 8e4d99a433d9c2432faebf7693b4f6ef7ae661ce948c38a2825ae3b2b0d77d2d + dce_ast: 8e4d99a433d9c2432faebf7693b4f6ef7ae661ce948c38a2825ae3b2b0d77d2d bytecode: 9f8baa3f1bada186c32440e4880e858bd76b54dedb2d667a2b93c2d2a98f0752 warnings: "" results: diff --git a/tests/expectations/parser/expression/array_init_fail.out b/tests/expectations/parser/expression/array_init_fail.out index 66c99b3d13..505433360a 100644 --- a/tests/expectations/parser/expression/array_init_fail.out +++ b/tests/expectations/parser/expression/array_init_fail.out @@ -2,7 +2,7 @@ namespace: ParseExpression expectation: Fail outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [...0u8; 1]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [...0; 1]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0; ()]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0; (1)]\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:2\n |\n 1 | [...0u8; 1]\n | ^^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:2\n |\n 1 | [...0; 1]\n | ^^" + - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0; ()]\n | ^" + - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0; (1)]\n | ^" diff --git a/tests/expectations/parser/expression/array_inline_fail.out b/tests/expectations/parser/expression/array_inline_fail.out index 3b19a17abe..046975162d 100644 --- a/tests/expectations/parser/expression/array_inline_fail.out +++ b/tests/expectations/parser/expression/array_inline_fail.out @@ -2,8 +2,8 @@ namespace: ParseExpression expectation: Fail outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,,]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0,,]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,0]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,0,]\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,]\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,,]\n | ^" + - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0,,]\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,0]\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,0,]\n | ^" diff --git a/tests/expectations/parser/expression/token_format.out b/tests/expectations/parser/expression/token_format.out index 67d08fc054..ebe597c2b2 100644 --- a/tests/expectations/parser/expression/token_format.out +++ b/tests/expectations/parser/expression/token_format.out @@ -32,7 +32,7 @@ outputs: - "Error [EPAR0370009]: unexpected string: expected 'expression', found '**='\n --> test:1:1\n |\n 1 | **=\n | ^^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | (\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:1\n |\n 1 | )\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | [\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ]\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found '{'\n --> test:1:1\n |\n 1 | {\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | }\n | ^" diff --git a/tests/expectations/parser/finalize/decrement_fail.out b/tests/expectations/parser/finalize/decrement_fail.out index 29066483fb..337f700eba 100644 --- a/tests/expectations/parser/finalize/decrement_fail.out +++ b/tests/expectations/parser/finalize/decrement_fail.out @@ -2,6 +2,6 @@ namespace: ParseStatement expectation: Fail outputs: - - "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:10\n |\n 1 | decrement[foo, bar, baz];\n | ^" + - "Error [EPAR0370005]: expected ] -- found ','\n --> test:1:14\n |\n 1 | decrement[foo, bar, baz];\n | ^" - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:15\n |\n 1 | decrement(floo)\n | ^Warning [WPAR0370001]: The keyword `decrement` is deprecated.\n --> test:1:1\n |\n 1 | decrement(floo)\n | ^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." - "Error [EPAR0370005]: expected ; -- found 'foo'\n --> test:1:11\n |\n 1 | decrement foo[bar] by baz;\n | ^^^" diff --git a/tests/expectations/parser/finalize/increment_fail.out b/tests/expectations/parser/finalize/increment_fail.out index 31afa5bc60..fc15efac32 100644 --- a/tests/expectations/parser/finalize/increment_fail.out +++ b/tests/expectations/parser/finalize/increment_fail.out @@ -2,6 +2,6 @@ namespace: ParseStatement expectation: Fail outputs: - - "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:10\n |\n 1 | increment[foo, bar, baz];\n | ^" + - "Error [EPAR0370005]: expected ] -- found ','\n --> test:1:14\n |\n 1 | increment[foo, bar, baz];\n | ^" - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:15\n |\n 1 | increment(floo)\n | ^Warning [WPAR0370001]: The keyword `increment` is deprecated.\n --> test:1:1\n |\n 1 | increment(floo)\n | ^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." - "Error [EPAR0370005]: expected ; -- found 'foo'\n --> test:1:11\n |\n 1 | increment foo[bar] by baz;\n | ^^^" diff --git a/tests/expectations/parser/statement/definition_fail.out b/tests/expectations/parser/statement/definition_fail.out index a8ffd543b1..74a619ca23 100644 --- a/tests/expectations/parser/statement/definition_fail.out +++ b/tests/expectations/parser/statement/definition_fail.out @@ -25,7 +25,7 @@ outputs: - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:10\n |\n 1 | let (x,y,,) = ();\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:6\n |\n 1 | let (,x,y) = ();\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:8\n |\n 1 | let (x,,y) = ();\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '['\n --> test:1:8\n |\n 1 | let x: [u8; (2,,)] = [[0,0], [0,0]];\n | ^" + - "Error [EPAR0370005]: expected integer literal -- found '('\n --> test:1:13\n |\n 1 | let x: [u8; (2,,)] = [[0,0], [0,0]];\n | ^" - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'constant'\n --> test:1:8\n |\n 1 | let x: constant = expr;\n | ^^^^^^^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant x: let = expr;\n | ^^^^^^^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | let\n | ^^^" @@ -38,9 +38,9 @@ outputs: - "Error [EPAR0370005]: expected = -- found ';'\n --> test:1:10\n |\n 1 | let x: u8;\n | ^" - "Error [EPAR0370005]: expected = -- found ''\n --> test:1:8\n |\n 1 | let x: u8\n | ^^" - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '='\n --> test:1:8\n |\n 1 | let x: = 1;\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '['\n --> test:1:8\n |\n 1 | let x: [u8] = 1;\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '['\n --> test:1:8\n |\n 1 | let x: [u8;\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '['\n --> test:1:8\n |\n 1 | let x: [u8; 1u8] = [1,\n | ^" + - "Error [EPAR0370005]: expected ; -- found ']'\n --> test:1:11\n |\n 1 | let x: [u8] = 1;\n | ^" + - "Error [EPAR0370005]: expected integer literal -- found ''\n --> test:1:11\n |\n 1 | let x: [u8;\n | ^" + - "Error [EPAR0370005]: expected ] -- found 'u8'\n --> test:1:14\n |\n 1 | let x: [u8; 1u8] = [1,\n | ^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:15\n |\n 1 | let dbg: u8 = ];\n | ^" - "Error [EPAR0370016]: Could not lex the following content: `🦀:`.\n" - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:9\n |\n 1 | let (x) = ...;\n | ^" diff --git a/tests/expectations/parser/statement/expression_fail.out b/tests/expectations/parser/statement/expression_fail.out index b8ea953893..f6de3fb18f 100644 --- a/tests/expectations/parser/statement/expression_fail.out +++ b/tests/expectations/parser/statement/expression_fail.out @@ -3,8 +3,8 @@ namespace: ParseStatement expectation: Fail outputs: - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:2\n |\n 1 | (];\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [);\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:2\n |\n 1 | [);\n | ^" - "Error [EPAR0370016]: Could not lex the following content: `\\y`.\n" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:6\n |\n 1 | (x,y|;\n | ^" - - "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:2\n |\n 1 | x[};\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:3\n |\n 1 | x[};\n | ^" - "Error [EPAR0370005]: expected ) -- found ']'\n --> test:1:6\n |\n 1 | (x, y];\n | ^" diff --git a/tests/expectations/parser/unreachable/define.out b/tests/expectations/parser/unreachable/define.out index b4ffe3f7e0..de8fb3ab40 100644 --- a/tests/expectations/parser/unreachable/define.out +++ b/tests/expectations/parser/unreachable/define.out @@ -6,7 +6,7 @@ outputs: - "Error [EPAR0370009]: unexpected string: expected 'expression', found '.'\n --> test:1:1\n |\n 1 | . x = 10u8;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'import'\n --> test:1:1\n |\n 1 | import x = 10u8;\n | ^^^^^^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:1\n |\n 1 | , x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [ x = 10u8;\n | ^" + - "Error [EPAR0370005]: expected ] -- found '='\n --> test:1:5\n |\n 1 | [ x = 10u8;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ] x = 10u8;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:11\n |\n 1 | { x = 10u8;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | } x = 10u8;\n | ^" diff --git a/tests/expectations/parser/unreachable/math_op_fail.out b/tests/expectations/parser/unreachable/math_op_fail.out index a487ea664c..0ac8b2c313 100644 --- a/tests/expectations/parser/unreachable/math_op_fail.out +++ b/tests/expectations/parser/unreachable/math_op_fail.out @@ -43,7 +43,7 @@ outputs: - "did not consume all input: '=' @ 1:3-4\n'b' @ 1:4-5\n';' @ 1:5-6\n" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '='\n --> test:1:3\n |\n 1 | x.=b;\n | ^" - "Error [EPAR0370005]: expected ; -- found ','\n --> test:1:2\n |\n 1 | x,=b; // 43\n | ^" - - "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:2\n |\n 1 | x[=b;\n | ^" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:3\n |\n 1 | x[=b;\n | ^" - "Error [EPAR0370005]: expected ; -- found ']'\n --> test:1:2\n |\n 1 | x]=b;\n | ^" - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '='\n --> test:1:3\n |\n 1 | x{=b;\n | ^" - "Error [EPAR0370005]: expected ; -- found '}'\n --> test:1:2\n |\n 1 | x}=b;\n | ^" From 59dfeb9d57d23d48a4913bb0c4708933ac573d0d Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:13:20 -0400 Subject: [PATCH 46/51] Regen expectations --- .../passes/src/code_generation/generator.rs | 1 - .../src/code_generation/visit_expressions.rs | 2 +- .../src/code_generation/visit_program.rs | 4 +-- .../passes/src/code_generation/visit_type.rs | 8 ++--- compiler/passes/src/common/type_table/mod.rs | 5 +-- .../eliminate_expression.rs | 3 -- .../destructuring/destructure_expression.rs | 18 +---------- .../src/destructuring/destructure_program.rs | 2 +- .../destructuring/destructure_statement.rs | 13 ++------ .../passes/src/destructuring/destructurer.rs | 32 ++----------------- compiler/passes/src/destructuring/mod.rs | 4 +-- .../src/flattening/flatten_expression.rs | 7 ---- .../passes/src/flattening/flatten_program.rs | 2 +- .../src/flattening/flatten_statement.rs | 11 ++----- .../static_single_assigner.rs | 2 +- compiler/passes/src/type_checking/checker.rs | 5 +-- 16 files changed, 23 insertions(+), 96 deletions(-) diff --git a/compiler/passes/src/code_generation/generator.rs b/compiler/passes/src/code_generation/generator.rs index 6754d0998b..e9e4c8619f 100644 --- a/compiler/passes/src/code_generation/generator.rs +++ b/compiler/passes/src/code_generation/generator.rs @@ -20,7 +20,6 @@ use leo_ast::{Function, Program, ProgramId}; use leo_span::Symbol; use indexmap::IndexMap; -use snarkvm_console::program::Access; pub struct CodeGenerator<'a> { /// The symbol table for the program. diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index ef32a3efb5..bccd21f1d3 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -170,7 +170,7 @@ impl<'a> CodeGenerator<'a> { Some(Type::Array(array_type)) => Type::Array(array_type), _ => unreachable!("All types should be known at this phase of compilation"), }; - let array_type: String = self.visit_type(&array_type); + let array_type: String = Self::visit_type(&array_type); let array_instruction = format!(" cast {expression_operands} into {destination_register} as {};\n", array_type); diff --git a/compiler/passes/src/code_generation/visit_program.rs b/compiler/passes/src/code_generation/visit_program.rs index 43909e52ed..ca81534e31 100644 --- a/compiler/passes/src/code_generation/visit_program.rs +++ b/compiler/passes/src/code_generation/visit_program.rs @@ -130,7 +130,7 @@ impl<'a> CodeGenerator<'a> { // Construct and append the record variables. for var in struct_.members.iter() { - writeln!(output_string, " {} as {};", var.identifier, self.visit_type(&var.type_),) + writeln!(output_string, " {} as {};", var.identifier, Self::visit_type(&var.type_),) .expect("failed to write to string"); } @@ -154,7 +154,7 @@ impl<'a> CodeGenerator<'a> { output_string, " {} as {}.{mode};", // todo: CAUTION private record variables only. var.identifier, - self.visit_type(&var.type_) + Self::visit_type(&var.type_) ) .expect("failed to write to string"); } diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index 674e065c53..d63f5d70e2 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -19,7 +19,7 @@ use crate::CodeGenerator; use leo_ast::{Mode, Type}; impl<'a> CodeGenerator<'a> { - pub(crate) fn visit_type(&mut self, input: &Type) -> String { + pub(crate) fn visit_type(input: &Type) -> String { match input { Type::Address | Type::Boolean @@ -31,7 +31,7 @@ impl<'a> CodeGenerator<'a> { | Type::Identifier(..) | Type::Integer(..) => format!("{input}"), Type::Array(array_type) => { - format!("[{}; {}u32]", self.visit_type(&array_type.element_type()), array_type.length()) + format!("[{}; {}u32]", Self::visit_type(array_type.element_type()), array_type.length()) } Type::Mapping(_) => { unreachable!("Mapping types are not supported at this phase of compilation") @@ -52,8 +52,8 @@ impl<'a> CodeGenerator<'a> { format!("{identifier}.record") } _ => match visibility { - Mode::None => self.visit_type(type_), - _ => format!("{}.{visibility}", self.visit_type(type_)), + Mode::None => Self::visit_type(type_), + _ => format!("{}.{visibility}", Self::visit_type(type_)), }, } } diff --git a/compiler/passes/src/common/type_table/mod.rs b/compiler/passes/src/common/type_table/mod.rs index fe855fc940..1e1fea894d 100644 --- a/compiler/passes/src/common/type_table/mod.rs +++ b/compiler/passes/src/common/type_table/mod.rs @@ -17,10 +17,7 @@ use leo_ast::{NodeID, Type}; use indexmap::IndexMap; -use std::{ - cell::{Ref, RefCell}, - fmt::Display, -}; +use std::cell::RefCell; /// A mapping between node IDs and their types. #[derive(Debug, Default, Clone)] diff --git a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs index df429c0bc0..31ccaf3545 100644 --- a/compiler/passes/src/dead_code_elimination/eliminate_expression.rs +++ b/compiler/passes/src/dead_code_elimination/eliminate_expression.rs @@ -18,15 +18,12 @@ use crate::DeadCodeEliminator; use leo_ast::{ AccessExpression, - ArrayAccess, AssociatedFunction, Expression, ExpressionReconstructor, Identifier, - MemberAccess, StructExpression, StructVariableInitializer, - TupleAccess, Type, }; use leo_span::sym; diff --git a/compiler/passes/src/destructuring/destructure_expression.rs b/compiler/passes/src/destructuring/destructure_expression.rs index cb40386a1d..ae25af2b21 100644 --- a/compiler/passes/src/destructuring/destructure_expression.rs +++ b/compiler/passes/src/destructuring/destructure_expression.rs @@ -15,24 +15,8 @@ // along with the Leo library. If not, see . use crate::Destructurer; -use itertools::Itertools; -use leo_ast::{ - AccessExpression, - ArrayAccess, - AssociatedFunction, - Expression, - ExpressionReconstructor, - Member, - MemberAccess, - Node, - Statement, - StructExpression, - StructVariableInitializer, - TernaryExpression, - TupleAccess, - Type, -}; +use leo_ast::{Expression, ExpressionReconstructor, Statement, TupleAccess}; impl ExpressionReconstructor for Destructurer<'_> { type AdditionalOutput = Vec; diff --git a/compiler/passes/src/destructuring/destructure_program.rs b/compiler/passes/src/destructuring/destructure_program.rs index bcb5539299..0809fc68a6 100644 --- a/compiler/passes/src/destructuring/destructure_program.rs +++ b/compiler/passes/src/destructuring/destructure_program.rs @@ -16,6 +16,6 @@ use crate::Destructurer; -use leo_ast::{Finalize, Function, ProgramReconstructor, StatementReconstructor, Type}; +use leo_ast::ProgramReconstructor; impl ProgramReconstructor for Destructurer<'_> {} diff --git a/compiler/passes/src/destructuring/destructure_statement.rs b/compiler/passes/src/destructuring/destructure_statement.rs index 165f08fcd2..8d7189ce74 100644 --- a/compiler/passes/src/destructuring/destructure_statement.rs +++ b/compiler/passes/src/destructuring/destructure_statement.rs @@ -15,17 +15,9 @@ // along with the Leo library. If not, see . use crate::Destructurer; -use itertools::Itertools; -use std::borrow::Borrow; use leo_ast::{ - AccessExpression, - AssertStatement, - AssertVariant, AssignStatement, - AssociatedFunction, - BinaryExpression, - BinaryOperation, Block, ConditionalStatement, ConsoleStatement, @@ -40,10 +32,9 @@ use leo_ast::{ StatementReconstructor, TupleExpression, Type, - UnaryExpression, - UnaryOperation, }; -use leo_span::sym; + +use itertools::Itertools; impl StatementReconstructor for Destructurer<'_> { /// Flattens an assign statement, if necessary. diff --git a/compiler/passes/src/destructuring/destructurer.rs b/compiler/passes/src/destructuring/destructurer.rs index 840bc8e64f..6d61f3ea30 100644 --- a/compiler/passes/src/destructuring/destructurer.rs +++ b/compiler/passes/src/destructuring/destructurer.rs @@ -14,37 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Assigner, SymbolTable, TypeTable}; +use crate::{Assigner, TypeTable}; -use leo_ast::{ - AccessExpression, - ArrayAccess, - ArrayExpression, - ArrayType, - BinaryExpression, - BinaryOperation, - Block, - Expression, - ExpressionReconstructor, - Identifier, - IntegerType, - Literal, - Member, - MemberAccess, - Node, - NodeBuilder, - NonNegativeNumber, - ReturnStatement, - Statement, - Struct, - StructExpression, - StructVariableInitializer, - TernaryExpression, - TupleAccess, - TupleExpression, - TupleType, - Type, -}; +use leo_ast::{Expression, Identifier, Node, NodeBuilder, Statement, TupleExpression}; use leo_span::Symbol; use indexmap::IndexMap; diff --git a/compiler/passes/src/destructuring/mod.rs b/compiler/passes/src/destructuring/mod.rs index 8c2ae20393..f516ed5165 100644 --- a/compiler/passes/src/destructuring/mod.rs +++ b/compiler/passes/src/destructuring/mod.rs @@ -16,8 +16,6 @@ //! The destructuring pass traverses the AST and destructures tuples into individual variables. //! This pass assumes that tuples have a depth of 1, which is ensured by the type checking pass. -//! -//! TODO(@d0cd) mod destructure_expression; @@ -28,7 +26,7 @@ mod destructure_statement; pub mod destructurer; pub use destructurer::*; -use crate::{Assigner, Pass, SymbolTable, TypeTable}; +use crate::{Assigner, Pass, TypeTable}; use leo_ast::{Ast, NodeBuilder, ProgramReconstructor}; use leo_errors::Result; diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index e8d800a834..3a26a3cdbc 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -15,22 +15,15 @@ // along with the Leo library. If not, see . use crate::Flattener; -use itertools::Itertools; use leo_ast::{ - AccessExpression, - ArrayAccess, - AssociatedFunction, Expression, ExpressionReconstructor, - Member, - MemberAccess, Node, Statement, StructExpression, StructVariableInitializer, TernaryExpression, - TupleAccess, Type, }; diff --git a/compiler/passes/src/flattening/flatten_program.rs b/compiler/passes/src/flattening/flatten_program.rs index 940f5cbf66..3a15822c58 100644 --- a/compiler/passes/src/flattening/flatten_program.rs +++ b/compiler/passes/src/flattening/flatten_program.rs @@ -16,7 +16,7 @@ use crate::Flattener; -use leo_ast::{Finalize, Function, ProgramReconstructor, StatementReconstructor, Type}; +use leo_ast::{Finalize, Function, ProgramReconstructor, StatementReconstructor}; impl ProgramReconstructor for Flattener<'_> { /// Flattens a function's body and finalize block, if it exists. diff --git a/compiler/passes/src/flattening/flatten_statement.rs b/compiler/passes/src/flattening/flatten_statement.rs index c498690e97..9a47421112 100644 --- a/compiler/passes/src/flattening/flatten_statement.rs +++ b/compiler/passes/src/flattening/flatten_statement.rs @@ -15,15 +15,11 @@ // along with the Leo library. If not, see . use crate::Flattener; -use itertools::Itertools; -use std::borrow::Borrow; use leo_ast::{ - AccessExpression, AssertStatement, AssertVariant, AssignStatement, - AssociatedFunction, BinaryExpression, BinaryOperation, Block, @@ -32,18 +28,17 @@ use leo_ast::{ DefinitionStatement, Expression, ExpressionReconstructor, - Identifier, IterationStatement, Node, ReturnStatement, Statement, StatementReconstructor, - TupleExpression, Type, UnaryExpression, UnaryOperation, }; -use leo_span::sym; + +use itertools::Itertools; impl StatementReconstructor for Flattener<'_> { /// Rewrites an assert statement into a flattened form. @@ -172,7 +167,7 @@ impl StatementReconstructor for Flattener<'_> { /// Otherwise, the statement is returned as is. fn reconstruct_assign(&mut self, assign: AssignStatement) -> (Statement, Self::AdditionalOutput) { // Flatten the rhs of the assignment. - let (value, mut statements) = self.reconstruct_expression(assign.value); + let (value, statements) = self.reconstruct_expression(assign.value); match (assign.place, &value) { (Expression::Identifier(identifier), _) => (self.simple_assign_statement(identifier, value), statements), (Expression::Tuple(tuple), expression) => { diff --git a/compiler/passes/src/static_single_assignment/static_single_assigner.rs b/compiler/passes/src/static_single_assignment/static_single_assigner.rs index df12a1c38a..ad4cf067d3 100644 --- a/compiler/passes/src/static_single_assignment/static_single_assigner.rs +++ b/compiler/passes/src/static_single_assignment/static_single_assigner.rs @@ -16,7 +16,7 @@ use crate::{Assigner, RenameTable, SymbolTable, TypeTable}; -use leo_ast::{AssignStatement, Expression, Identifier, Node, NodeBuilder, Statement}; +use leo_ast::{Expression, Identifier, Node, NodeBuilder, Statement}; pub struct StaticSingleAssigner<'a> { /// A counter used to generate unique node IDs. diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index ae4a04405b..403882f115 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -16,12 +16,13 @@ use crate::{CallGraph, StructGraph, SymbolTable, TypeTable}; -use leo_ast::{ArrayType, CoreConstant, CoreFunction, Identifier, IntegerType, MappingType, Node, Type, Variant}; +use leo_ast::{CoreConstant, CoreFunction, Identifier, IntegerType, MappingType, Node, Type, Variant}; use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{Span, Symbol}; -use itertools::Itertools; use snarkvm_console::network::{Network, Testnet3}; + +use itertools::Itertools; use std::cell::RefCell; pub struct TypeChecker<'a> { From 0dcd1565130b0007867035b2e8f7afbe15c3dcdb Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 13 Oct 2023 16:21:18 -0400 Subject: [PATCH 47/51] Cleanup --- compiler/passes/src/code_generation/visit_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index d63f5d70e2..8b5f9309c4 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -44,7 +44,7 @@ impl<'a> CodeGenerator<'a> { } } - pub(crate) fn visit_type_with_visibility(&mut self, type_: &'a Type, visibility: Mode) -> String { + pub(crate) fn visit_type_with_visibility(&self, type_: &'a Type, visibility: Mode) -> String { match type_ { // When the type is a record. // Note that this unwrap is safe because all composite types have been added to the mapping. From b3c1723d5cd27f8c11a337ecb5fa606d1533b711 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 17 Oct 2023 15:30:19 -0400 Subject: [PATCH 48/51] Add tests and fixes --- .../src/code_generation/visit_program.rs | 5 +-- .../src/flattening/flatten_expression.rs | 37 +++++++++---------- .../rename_expression.rs | 14 +++++++ .../src/type_checking/check_expressions.rs | 2 +- .../array/array_in_composite_data_types.out | 10 ++--- .../compiler/array/array_in_mapping.out | 16 ++++++++ .../compiler/array/array_write_fail.out | 5 +++ .../compiler/array/nested_array_sum_fail.out | 5 +++ .../compiler/expression/ternary.out | 16 ++++++++ .../compiler/function/flatten_arrays.out | 16 ++++++++ .../tests/compiler/array/array_in_mapping.leo | 16 ++++++++ .../tests/compiler/array/array_write_fail.leo | 12 ++++++ .../compiler/array/nested_array_sum_fail.leo | 16 ++++++++ tests/tests/compiler/expression/ternary.leo | 28 ++++++++++++++ .../compiler/function/flatten_arrays.leo | 37 +++++++++++++++++++ 15 files changed, 207 insertions(+), 28 deletions(-) create mode 100644 tests/expectations/compiler/array/array_in_mapping.out create mode 100644 tests/expectations/compiler/array/array_write_fail.out create mode 100644 tests/expectations/compiler/array/nested_array_sum_fail.out create mode 100644 tests/expectations/compiler/expression/ternary.out create mode 100644 tests/expectations/compiler/function/flatten_arrays.out create mode 100644 tests/tests/compiler/array/array_in_mapping.leo create mode 100644 tests/tests/compiler/array/array_write_fail.leo create mode 100644 tests/tests/compiler/array/nested_array_sum_fail.leo create mode 100644 tests/tests/compiler/expression/ternary.leo create mode 100644 tests/tests/compiler/function/flatten_arrays.leo diff --git a/compiler/passes/src/code_generation/visit_program.rs b/compiler/passes/src/code_generation/visit_program.rs index ca81534e31..26fa6ee491 100644 --- a/compiler/passes/src/code_generation/visit_program.rs +++ b/compiler/passes/src/code_generation/visit_program.rs @@ -292,13 +292,12 @@ impl<'a> CodeGenerator<'a> { // Note that this unwrap is safe since all struct and records have been added to the composite mapping. let (is_record, _) = self.composite_mapping.get(&identifier.name).unwrap(); match is_record { - // If the type is a record, then declare the type as is. // If the type is a struct, then add the public modifier. - false => format!("{identifier}.public"), + false => self.visit_type_with_visibility(type_, Mode::Public), true => unreachable!("Type checking guarantees that mappings cannot contain records."), } } - type_ => format!("{type_}.public"), + type_ => self.visit_type_with_visibility(type_, Mode::Public), } }; diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index 3a26a3cdbc..ef37593980 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -73,25 +73,26 @@ impl ExpressionReconstructor for Flattener<'_> { match (*input.if_true, *input.if_false) { // If both expressions are identifiers which are arrays, construct ternary expressions for each of the members and an array expression for the result. (Expression::Identifier(first), Expression::Identifier(second)) => { - match (self.type_table.get(&first.id()), self.type_table.get(&second.id())) { - (Some(Type::Array(first_type)), Some(Type::Array(second_type))) => { - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(first_type, second_type); - self.ternary_array(&first_type, &input.condition, &first, &second) - } - (Some(Type::Identifier(first_type)), Some(Type::Identifier(second_type))) => { + let first_type = match self.type_table.get(&first.id()) { + Some(first_type) => first_type, + _ => unreachable!("Type checking guarantees that all expressions are typed."), + }; + let second_type = match self.type_table.get(&second.id()) { + Some(second_type) => second_type, + _ => unreachable!("Type checking guarantees that all expressions are typed."), + }; + + // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. + assert!(first_type.eq_flat(&second_type)); + + match &first_type { + Type::Array(first_type) => self.ternary_array(&first_type, &input.condition, &first, &second), + Type::Identifier(first_type) => { // Get the struct definitions. let first_type = self.symbol_table.lookup_struct(first_type.name).unwrap(); - let second_type = self.symbol_table.lookup_struct(second_type.name).unwrap(); - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(first_type, second_type); - self.ternary_struct(first_type, &input.condition, &first, &second) - } - (Some(Type::Tuple(first_type)), Some(Type::Tuple(second_type))) => { - // Note that type checking guarantees that both expressions have the same same type. This is a sanity check. - assert_eq!(first_type, second_type); - self.ternary_tuple(&first_type, &input.condition, &first, &second) + self.ternary_struct(&first_type, &input.condition, &first, &second) } + Type::Tuple(first_type) => self.ternary_tuple(&first_type, &input.condition, &first, &second), _ => { // Reconstruct the true case. let (if_true, stmts) = self.reconstruct_expression(Expression::Identifier(first)); @@ -117,9 +118,7 @@ impl ExpressionReconstructor for Flattener<'_> { } } } - (expr1, expr2) => { - println!("expr1: {:?}", expr1); - println!("expr2: {:?}", expr2); + _ => { unreachable!("SSA guarantees that the subexpressions of a ternary expression are identifiers.") } } diff --git a/compiler/passes/src/static_single_assignment/rename_expression.rs b/compiler/passes/src/static_single_assignment/rename_expression.rs index 984eaf2d0f..ef0ac09492 100644 --- a/compiler/passes/src/static_single_assignment/rename_expression.rs +++ b/compiler/passes/src/static_single_assignment/rename_expression.rs @@ -18,6 +18,7 @@ use crate::StaticSingleAssigner; use leo_ast::{ AccessExpression, + ArrayAccess, ArrayExpression, AssociatedFunction, BinaryExpression, @@ -101,6 +102,19 @@ impl ExpressionConsumer for StaticSingleAssigner<'_> { statements, ) } + AccessExpression::Array(input) => { + let (array, statements) = self.consume_expression(*input.array); + + ( + AccessExpression::Array(ArrayAccess { + array: Box::new(array), + index: input.index, + span: input.span, + id: input.id, + }), + statements, + ) + } expr => (expr, Vec::new()), }; let (place, statement) = self.unique_simple_assign_statement(Expression::Access(expr)); diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 8c2bedae4a..9fbcac688f 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -555,7 +555,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { // Assert right type is a magnitude (u8, u16, u32). self.assert_magnitude_type(&t2, input.right.span()); - return_incorrect_type(t1, t2, destination) + t1 } } } diff --git a/tests/expectations/compiler/array/array_in_composite_data_types.out b/tests/expectations/compiler/array/array_in_composite_data_types.out index 095aa49b8e..322f75a8b3 100644 --- a/tests/expectations/compiler/array/array_in_composite_data_types.out +++ b/tests/expectations/compiler/array/array_in_composite_data_types.out @@ -7,10 +7,10 @@ outputs: unrolled_symbol_table: ada5f23ac25bb1d9459045c27095fce0e36e746d84ca57cd7499c322773aa334 initial_ast: efb843c1ad9ab3c9702e6a7371a6d82ee7cee6a9373cb50f6dfc2a73e7de5336 unrolled_ast: efb843c1ad9ab3c9702e6a7371a6d82ee7cee6a9373cb50f6dfc2a73e7de5336 - ssa_ast: 3ce96d3ff2764de26ca950390ed39d4ef11257f7c254ea4b9843f99f75607f6f - flattened_ast: b204db3b8936f01d4d8c157ceda34c5de887d622b5c4cce307dba772e2f9fa31 - destructured_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 - inlined_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 - dce_ast: b4f45fe4b1d71e31f8e2b6354a8c7239ecdb6129e40b81c634e1e75ac0cc70e3 + ssa_ast: 23b7fcac156b953db56e1c45fc27570a2156499fd9b7f6e77ceb04f33fc99fac + flattened_ast: 0be4a04e516edc0a6729fcd364cb393ccf181d9c21e24aa57c284ff87763686f + destructured_ast: 9df17c7ff4d181afd738c449f79119bcbb10519b07441fb45dcb6d0b93c8f80d + inlined_ast: 9df17c7ff4d181afd738c449f79119bcbb10519b07441fb45dcb6d0b93c8f80d + dce_ast: 9df17c7ff4d181afd738c449f79119bcbb10519b07441fb45dcb6d0b93c8f80d bytecode: a3539a0515c22f4ec653aa601063d7a414db833dc25273cee463985b052b72bc warnings: "" diff --git a/tests/expectations/compiler/array/array_in_mapping.out b/tests/expectations/compiler/array/array_in_mapping.out new file mode 100644 index 0000000000..cb3e67ca5b --- /dev/null +++ b/tests/expectations/compiler/array/array_in_mapping.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 002a658ff3a2db38eb21e316458d2473313bbe50f2b4a7cd4aa6e04444c2ed3c + type_checked_symbol_table: e6cbe752fa16e7a820685d02f654c97c2ccf509f7bb3287ea7060017bda0a139 + unrolled_symbol_table: e6cbe752fa16e7a820685d02f654c97c2ccf509f7bb3287ea7060017bda0a139 + initial_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 + unrolled_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 + ssa_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 + flattened_ast: 2f4a5e927ab19fb770caabe0c4a3ceda8d765d4303c59ad1a0c8350cecd8a9fd + destructured_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f + inlined_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f + dce_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f + bytecode: b39b7b375dab7194cd24f4f2dde6f8c4c13e6a25b9107af52fddb45df9e3435f + warnings: "" diff --git a/tests/expectations/compiler/array/array_write_fail.out b/tests/expectations/compiler/array/array_write_fail.out new file mode 100644 index 0000000000..3f3c803150 --- /dev/null +++ b/tests/expectations/compiler/array/array_write_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372000]: invalid assignment target\n --> compiler-test:5:9\n |\n 5 | a[0u32] = false;\n | ^^^^^^^\nError [ETYC0372000]: invalid assignment target\n --> compiler-test:6:9\n |\n 6 | a[1u32] = true;\n | ^^^^^^^\n" diff --git a/tests/expectations/compiler/array/nested_array_sum_fail.out b/tests/expectations/compiler/array/nested_array_sum_fail.out new file mode 100644 index 0000000000..88b037296d --- /dev/null +++ b/tests/expectations/compiler/array/nested_array_sum_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372007]: Expected one type from `array`, but got `u32`\n --> compiler-test:9:29\n |\n 9 | sum = sum + a[i][j];\n | ^^^^\nError [ETYC0372003]: Expected type `u32` but type `no type` was found\n --> compiler-test:9:23\n |\n 9 | sum = sum + a[i][j];\n | ^^^^^^^^^^^^^\n" diff --git a/tests/expectations/compiler/expression/ternary.out b/tests/expectations/compiler/expression/ternary.out new file mode 100644 index 0000000000..2c437ecf29 --- /dev/null +++ b/tests/expectations/compiler/expression/ternary.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: 03511070212594f877945470becbe3258d1dbc7c5673adb0d2fa56fc7b9d52ae + type_checked_symbol_table: 9a9deaa022f73e57c24c8336dffa974f8cddb35e9b81c5b383571a37d2531bf2 + unrolled_symbol_table: 9a9deaa022f73e57c24c8336dffa974f8cddb35e9b81c5b383571a37d2531bf2 + initial_ast: 12e8c9a76387f6e9b54a59010089629f2f3c0736c56da880208280e86611e3fb + unrolled_ast: 12e8c9a76387f6e9b54a59010089629f2f3c0736c56da880208280e86611e3fb + ssa_ast: eb96cfc44c8d578ec0cf3172f2e794e36c0052aab90eeef12f8ec7c8f8922758 + flattened_ast: 9f508e380ec0e1c97854f3101a18b33de757b26cb241c07995f7ad387544ea7c + destructured_ast: 621c185f09c1cffc1ac757e55ced700b67068c08837c58dc9462dcdc5605faa7 + inlined_ast: 621c185f09c1cffc1ac757e55ced700b67068c08837c58dc9462dcdc5605faa7 + dce_ast: 621c185f09c1cffc1ac757e55ced700b67068c08837c58dc9462dcdc5605faa7 + bytecode: 11706f359e35f6269b2f879e483f2e1dc1df99c710fc8476dfb1e3c6115d8268 + warnings: "" diff --git a/tests/expectations/compiler/function/flatten_arrays.out b/tests/expectations/compiler/function/flatten_arrays.out new file mode 100644 index 0000000000..87587aef81 --- /dev/null +++ b/tests/expectations/compiler/function/flatten_arrays.out @@ -0,0 +1,16 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - - initial_symbol_table: db965bbea0fe710347e590189a11c632e67356d6eb3dcff1ee3746f59abada67 + type_checked_symbol_table: 7388f185d6d4bf6f50baf94b543d24759c53a72ebe46a730911eb7c13b429970 + unrolled_symbol_table: 7388f185d6d4bf6f50baf94b543d24759c53a72ebe46a730911eb7c13b429970 + initial_ast: 89e5ca97a429005c3b5c6fdd40756114ed302961d90fc8109c25218613dbe305 + unrolled_ast: 89e5ca97a429005c3b5c6fdd40756114ed302961d90fc8109c25218613dbe305 + ssa_ast: daa92399cb5b70a35693c15d2f3a59ae0f75a9203c7be55ddb12a083adeeb2c4 + flattened_ast: cf3dd007fa44453a99893d32369678eaa8bdce11ebe676fd5383fe726f5b2f39 + destructured_ast: 12970e30a633c72202544f4d9fcdd174a63d0cd52595a7cb499b92baf1da028f + inlined_ast: 12970e30a633c72202544f4d9fcdd174a63d0cd52595a7cb499b92baf1da028f + dce_ast: 12970e30a633c72202544f4d9fcdd174a63d0cd52595a7cb499b92baf1da028f + bytecode: 789b22bc0c6e954ae7fed24a064342bf0729393fab7e8d8206b0923f53240dd1 + warnings: "" diff --git a/tests/tests/compiler/array/array_in_mapping.leo b/tests/tests/compiler/array/array_in_mapping.leo new file mode 100644 index 0000000000..43fce814e2 --- /dev/null +++ b/tests/tests/compiler/array/array_in_mapping.leo @@ -0,0 +1,16 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + mapping data: address => [bool; 8]; + + transition foo(a: [bool; 8]) { + return then finalize(self.caller, a); + } + + finalize foo(caller: address, a: [bool; 8]) { + data.set(caller, a); + } +} diff --git a/tests/tests/compiler/array/array_write_fail.leo b/tests/tests/compiler/array/array_write_fail.leo new file mode 100644 index 0000000000..bdef62b730 --- /dev/null +++ b/tests/tests/compiler/array/array_write_fail.leo @@ -0,0 +1,12 @@ +/* +namespace: Compile +expectation: Fail +*/ + +program test.aleo { + transition foo(a: [bool; 8]) -> [bool; 8] { + a[0u32] = false; + a[1u32] = true; + return a; + } +} diff --git a/tests/tests/compiler/array/nested_array_sum_fail.leo b/tests/tests/compiler/array/nested_array_sum_fail.leo new file mode 100644 index 0000000000..b476326602 --- /dev/null +++ b/tests/tests/compiler/array/nested_array_sum_fail.leo @@ -0,0 +1,16 @@ +/* +namespace: Compile +expectation: Fail +*/ + + +program test.aleo { + transition foo(a: [u32; 4]) { + let sum: u32 = 0u32; + for i: u32 in 0u32..4u32 { + for j: u32 in 0u32..4u32 { + sum = sum + a[i][j]; + } + } + } +} diff --git a/tests/tests/compiler/expression/ternary.leo b/tests/tests/compiler/expression/ternary.leo new file mode 100644 index 0000000000..bb3e73e425 --- /dev/null +++ b/tests/tests/compiler/expression/ternary.leo @@ -0,0 +1,28 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + transition main( + a: address, b: bool, c: field, d: i8, e: i16, f: i64, g: i128, h: u8, i: u16, j: u32, k: u64, l: u128, m: scalar, n: i32 + ) -> ( + address, bool, field, i8, i16, i64, i128, u8, u16, u32, u64, u128, scalar, i32 + ) { + let one: address = b ? a : a; + let two: bool = b ? b : b; + let three: field = b ? c : c; + let four: i8 = b ? d : d; + let five: i16 = b ? e : e; + let six: i64 = b ? f : f; + let seven: i128 = b ? g : g; + let eight: u8 = b ? h : h; + let nine: u16 = b ? i : i; + let ten: u32 = b ? j : j; + let eleven: u64 = b ? k : k; + let twelve: u128 = b ? l : l; + let thirteen: scalar = b ? m : m; + let fourteen: i32 = b ? n : n; + return (one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve, thirteen, fourteen); + } +} diff --git a/tests/tests/compiler/function/flatten_arrays.leo b/tests/tests/compiler/function/flatten_arrays.leo new file mode 100644 index 0000000000..f7f3361567 --- /dev/null +++ b/tests/tests/compiler/function/flatten_arrays.leo @@ -0,0 +1,37 @@ +/* +namespace: Compile +expectation: Pass +*/ + +program test.aleo { + + struct Data { + data: [u8; 2], + } + + function foo(a: u8, b: u8) -> [Data; 2] { + let data_1: Data = Data { data: [a, b] }; + let data_2: Data = Data { data: [b, a] }; + if (a == b) { + return [data_1, data_2]; + } + + let data_3: Data = Data { data: [2u8 * data_1.data[0u8], 4u8 * data_2.data[1u8]] }; + + return [data_2, data_3]; + } + + transition bar(flag1: bool, flag2: bool, a: u8, b: u8) -> [Data; 2] { + let start: [Data; 2] = foo(a, b); + if flag1 { + start = foo(start[0u8].data[0u8], start[1u8].data[1u8]); + } else { + if flag2 { + start = foo(start[1u8].data[0u8], start[0u8].data[1u8]); + } else { + start = foo(start[0u8].data[1u8], start[1u8].data[0u8]); + } + } + return start; + } +} From 34f2dd6f62837cb9444bb0b3a84a7df0ea650389 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 17 Oct 2023 15:38:35 -0400 Subject: [PATCH 49/51] Clippy --- compiler/passes/src/flattening/flatten_expression.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/passes/src/flattening/flatten_expression.rs b/compiler/passes/src/flattening/flatten_expression.rs index ef37593980..b5ea08b7f4 100644 --- a/compiler/passes/src/flattening/flatten_expression.rs +++ b/compiler/passes/src/flattening/flatten_expression.rs @@ -86,13 +86,13 @@ impl ExpressionReconstructor for Flattener<'_> { assert!(first_type.eq_flat(&second_type)); match &first_type { - Type::Array(first_type) => self.ternary_array(&first_type, &input.condition, &first, &second), + Type::Array(first_type) => self.ternary_array(first_type, &input.condition, &first, &second), Type::Identifier(first_type) => { // Get the struct definitions. let first_type = self.symbol_table.lookup_struct(first_type.name).unwrap(); - self.ternary_struct(&first_type, &input.condition, &first, &second) + self.ternary_struct(first_type, &input.condition, &first, &second) } - Type::Tuple(first_type) => self.ternary_tuple(&first_type, &input.condition, &first, &second), + Type::Tuple(first_type) => self.ternary_tuple(first_type, &input.condition, &first, &second), _ => { // Reconstruct the true case. let (if_true, stmts) = self.reconstruct_expression(Expression::Identifier(first)); From bdd0f781e40298b0bf20c5e8a207a93dbf97ccfc Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Fri, 20 Oct 2023 15:44:57 -0400 Subject: [PATCH 50/51] Regen expectations --- tests/expectations/compiler/array/array_in_mapping.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/expectations/compiler/array/array_in_mapping.out b/tests/expectations/compiler/array/array_in_mapping.out index cb3e67ca5b..6d2a84b611 100644 --- a/tests/expectations/compiler/array/array_in_mapping.out +++ b/tests/expectations/compiler/array/array_in_mapping.out @@ -12,5 +12,5 @@ outputs: destructured_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f inlined_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f dce_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f - bytecode: b39b7b375dab7194cd24f4f2dde6f8c4c13e6a25b9107af52fddb45df9e3435f + bytecode: bbabb76319d2c69ed28a19090796ad7f974be74a1ef138d0cc58507cc4787632 warnings: "" From 54566c04c26d820c77600ba1e71a30835dd7fdfd Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu <23022326+d0cd@users.noreply.github.com> Date: Fri, 27 Oct 2023 19:05:12 -0400 Subject: [PATCH 51/51] Regen expectations --- tests/expectations/compiler/array/array_in_mapping.out | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/expectations/compiler/array/array_in_mapping.out b/tests/expectations/compiler/array/array_in_mapping.out index 6d2a84b611..de14f3131c 100644 --- a/tests/expectations/compiler/array/array_in_mapping.out +++ b/tests/expectations/compiler/array/array_in_mapping.out @@ -8,9 +8,9 @@ outputs: initial_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 unrolled_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 ssa_ast: 6eefbb8a62e5c5b798129574876dee19ee0e3b75de9337f539a3a005b18ea1f7 - flattened_ast: 2f4a5e927ab19fb770caabe0c4a3ceda8d765d4303c59ad1a0c8350cecd8a9fd - destructured_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f - inlined_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f - dce_ast: 1dc62a6fcfea66fe2a10e3a5584057ab22f8b737252efb2902778b1c651fcd8f + flattened_ast: e712b9617ecc2f0c27f6fdcab464459819842a79b0966463401cdcd6a1005758 + destructured_ast: 7e5a62483f56bc1b419c99aecbd9a0b613b422208c784461e1279c9fb3ba0fac + inlined_ast: 7e5a62483f56bc1b419c99aecbd9a0b613b422208c784461e1279c9fb3ba0fac + dce_ast: 7e5a62483f56bc1b419c99aecbd9a0b613b422208c784461e1279c9fb3ba0fac bytecode: bbabb76319d2c69ed28a19090796ad7f974be74a1ef138d0cc58507cc4787632 warnings: ""