diff --git a/compiler/ast/README.md b/compiler/ast/README.md index 1b391cdb07..85615b9c8b 100644 --- a/compiler/ast/README.md +++ b/compiler/ast/README.md @@ -33,13 +33,13 @@ Contains the Circuit's name, as well as its members. The members are a function, or a variable, or a constant. For all of them the Circuit preserves their names. -#### [Decorators](./src/annotation.rs) +#### [Annotations](./src/functions/annotation.rs) An annotation node is a decorator that can be applied to a function. Stored on the function themselves despite being a top-level node. The node stores the name of the annotation, as well as any args passed to it. -#### [Functions](./src/functions/function.rs) +#### [Functions](./src/functions/mod.rs) A function node represents a defined function in a Leo Program. An order-preserving map of these are stored on the Program. diff --git a/compiler/ast/src/functions/input/mod.rs b/compiler/ast/src/functions/annotation.rs similarity index 53% rename from compiler/ast/src/functions/input/mod.rs rename to compiler/ast/src/functions/annotation.rs index 9c9eb5f979..acba817384 100644 --- a/compiler/ast/src/functions/input/mod.rs +++ b/compiler/ast/src/functions/annotation.rs @@ -14,8 +14,27 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -pub mod function_input; -pub use function_input::*; +use crate::{simple_node_impl, Identifier, Node}; -pub mod input_variable; -pub use input_variable::*; +use leo_span::Span; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// An annotation, e.g. @program. +#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)] +pub struct Annotation { + // TODO: Consider using a symbol instead of an identifier. + /// The name of the annotation. + pub identifier: Identifier, + /// A span locating where the annotation occurred in the source. + pub span: Span, +} + +simple_node_impl!(Annotation); + +impl fmt::Display for Annotation { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "@{}", self.identifier) + } +} diff --git a/compiler/ast/src/functions/function.rs b/compiler/ast/src/functions/function.rs deleted file mode 100644 index 4fb1c19606..0000000000 --- a/compiler/ast/src/functions/function.rs +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (C) 2019-2022 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::{Block, FunctionInput, Identifier, Node, Type}; -use leo_span::{sym, Span, Symbol}; - -use serde::{Deserialize, Serialize}; -use std::cell::Cell; -use std::fmt; - -/// A function definition. -#[derive(Clone, Serialize, Deserialize)] -pub struct Function { - /// The function identifier, e.g., `foo` in `function foo(...) { ... }`. - pub identifier: Identifier, - /// The function's parameters. - pub input: Vec, - /// The function's required return type. - pub output: Type, - /// Any mapping to the core library. - /// Always `None` when initially parsed. - pub core_mapping: Cell>, - /// The body of the function. - pub block: Block, - /// The entire span of the function definition. - pub span: Span, -} - -impl PartialEq for Function { - fn eq(&self, other: &Self) -> bool { - self.identifier == other.identifier - } -} - -impl Eq for Function {} - -impl Function { - /// Returns function name. - pub fn name(&self) -> Symbol { - self.identifier.name - } - - /// Returns `true` if the function name is `main`. - pub fn is_main(&self) -> bool { - self.name() == sym::main - } - - /// - /// Private formatting method used for optimizing [fmt::Debug] and [fmt::Display] implementations. - /// - fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "function {}", self.identifier)?; - - let parameters = self.input.iter().map(|x| x.to_string()).collect::>().join(","); - let returns = self.output.to_string(); - write!(f, "({}) -> {} {}", parameters, returns, self.block) - } -} - -impl fmt::Debug for Function { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -impl fmt::Display for Function { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -crate::simple_node_impl!(Function); diff --git a/compiler/ast/src/functions/input/function_input.rs b/compiler/ast/src/functions/function_input.rs similarity index 90% rename from compiler/ast/src/functions/input/function_input.rs rename to compiler/ast/src/functions/function_input.rs index d2f65eaa87..461082b41f 100644 --- a/compiler/ast/src/functions/input/function_input.rs +++ b/compiler/ast/src/functions/function_input.rs @@ -22,6 +22,7 @@ use std::fmt; #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] pub enum ParamMode { + None, Const, Private, Public, @@ -32,6 +33,7 @@ impl fmt::Display for ParamMode { use ParamMode::*; match self { + None => write!(f, ""), Const => write!(f, "const"), Private => write!(f, "private"), Public => write!(f, "public"), @@ -41,7 +43,7 @@ impl fmt::Display for ParamMode { /// A function parameter. #[derive(Clone, PartialEq, Eq, Serialize, Deserialize)] -pub struct FunctionInputVariable { +pub struct FunctionInput { /// The name the parameter is accessible as in the function's body. pub identifier: Identifier, /// The mode of the function parameter. @@ -52,7 +54,7 @@ pub struct FunctionInputVariable { pub span: Span, } -impl FunctionInputVariable { +impl FunctionInput { pub fn new(identifier: Identifier, mode: ParamMode, type_: Type, span: Span) -> Self { Self { identifier, @@ -67,7 +69,7 @@ impl FunctionInputVariable { } } -impl FunctionInputVariable { +impl FunctionInput { fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{} ", self.mode)?; write!(f, "{}: ", self.identifier)?; @@ -75,16 +77,16 @@ impl FunctionInputVariable { } } -impl fmt::Display for FunctionInputVariable { +impl fmt::Display for FunctionInput { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.format(f) } } -impl fmt::Debug for FunctionInputVariable { +impl fmt::Debug for FunctionInput { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.format(f) } } -crate::simple_node_impl!(FunctionInputVariable); +crate::simple_node_impl!(FunctionInput); diff --git a/compiler/ast/src/functions/input/input_variable.rs b/compiler/ast/src/functions/input/input_variable.rs deleted file mode 100644 index 9a924f44e1..0000000000 --- a/compiler/ast/src/functions/input/input_variable.rs +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (C) 2019-2022 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::{FunctionInputVariable, Node}; -use leo_span::Span; - -use serde::{Deserialize, Serialize}; -use std::fmt; - -/// Enumerates the possible inputs to a function. -#[derive(Clone, Serialize, Deserialize)] -pub enum FunctionInput { - /// A normal function parameter. - Variable(FunctionInputVariable), -} - -impl FunctionInput { - /// - /// Returns Option with FunctionInputVariable if the input is a variable. - /// Returns None otherwise. - /// - pub fn get_variable(&self) -> &FunctionInputVariable { - match self { - Self::Variable(var) => var, - } - } - - /// Formats the parameter to `f`. - fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { - match self { - FunctionInput::Variable(function_input) => write!(f, "{}", function_input), - } - } -} - -impl fmt::Display for FunctionInput { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -impl fmt::Debug for FunctionInput { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - self.format(f) - } -} - -impl PartialEq for FunctionInput { - /// Returns true if `self == other`. Does not compare spans. - fn eq(&self, other: &Self) -> bool { - match (self, other) { - (FunctionInput::Variable(left), FunctionInput::Variable(right)) => left.eq(right), - } - } -} - -impl Eq for FunctionInput {} - -impl Node for FunctionInput { - fn span(&self) -> Span { - use FunctionInput::*; - match self { - Variable(variable) => variable.span, - } - } - - fn set_span(&mut self, span: Span) { - use FunctionInput::*; - match self { - Variable(variable) => variable.span = span, - } - } -} diff --git a/compiler/ast/src/functions/mod.rs b/compiler/ast/src/functions/mod.rs index 5fbb029d59..652505ac70 100644 --- a/compiler/ast/src/functions/mod.rs +++ b/compiler/ast/src/functions/mod.rs @@ -14,8 +14,80 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -pub mod function; -pub use function::*; +pub mod annotation; +pub use annotation::*; -pub mod input; -pub use input::*; +pub mod function_input; +pub use function_input::*; + +use crate::{Block, Identifier, Node, Type}; +use leo_span::{sym, Span, Symbol}; + +use serde::{Deserialize, Serialize}; +use std::cell::Cell; +use std::fmt; + +/// A function definition. +#[derive(Clone, Serialize, Deserialize)] +pub struct Function { + /// Annotations on the function. + pub annotations: Vec, + /// The function identifier, e.g., `foo` in `function foo(...) { ... }`. + pub identifier: Identifier, + /// The function's parameters. + pub input: Vec, + /// The function's required return type. + pub output: Type, + /// Any mapping to the core library. + /// Always `None` when initially parsed. + pub core_mapping: Cell>, + /// The body of the function. + pub block: Block, + /// The entire span of the function definition. + pub span: Span, +} + +impl PartialEq for Function { + fn eq(&self, other: &Self) -> bool { + self.identifier == other.identifier + } +} + +impl Eq for Function {} + +impl Function { + /// Returns function name. + pub fn name(&self) -> Symbol { + self.identifier.name + } + + /// Returns `true` if the function name is `main`. + pub fn is_main(&self) -> bool { + self.name() == sym::main + } + + /// + /// Private formatting method used for optimizing [fmt::Debug] and [fmt::Display] implementations. + /// + fn format(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "function {}", self.identifier)?; + + let parameters = self.input.iter().map(|x| x.to_string()).collect::>().join(","); + let returns = self.output.to_string(); + write!(f, "({}) -> {} {}", parameters, returns, self.block) + } +} + +impl fmt::Debug for Function { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + self.format(f) + } +} + +impl fmt::Display for Function { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + self.format(f) + } +} + +crate::simple_node_impl!(Function); diff --git a/compiler/ast/src/passes/reconstructor.rs b/compiler/ast/src/passes/reconstructor.rs index 0791096ba8..bba4bc0423 100644 --- a/compiler/ast/src/passes/reconstructor.rs +++ b/compiler/ast/src/passes/reconstructor.rs @@ -280,6 +280,7 @@ pub trait ProgramReconstructor: StatementReconstructor { fn reconstruct_function(&mut self, input: Function) -> Function { Function { + annotations: input.annotations, identifier: input.identifier, input: input.input, output: input.output, diff --git a/compiler/parser/src/parser/file.rs b/compiler/parser/src/parser/file.rs index 6463f54d57..ce60d4fd1f 100644 --- a/compiler/parser/src/parser/file.rs +++ b/compiler/parser/src/parser/file.rs @@ -30,6 +30,7 @@ impl ParserContext<'_> { let mut functions = IndexMap::new(); let mut circuits = IndexMap::new(); + // TODO: Condense logic while self.has_next() { match &self.token.token { Token::Import => { @@ -40,6 +41,10 @@ impl ParserContext<'_> { let (id, circuit) = self.parse_circuit()?; circuits.insert(id, circuit); } + Token::At => { + let (id, function) = self.parse_function()?; + functions.insert(id, function); + } Token::Const if self.peek_is_function() => { let (id, function) = self.parse_function()?; functions.insert(id, function); @@ -230,6 +235,7 @@ impl ParserContext<'_> { /// Returns a [`ParamMode`] AST node if the next tokens represent a function parameter mode. pub(super) fn parse_function_parameter_mode(&mut self) -> Result { + // TODO: Allow explicit "private" mode. let public = self.eat(&Token::Public).then(|| self.prev_token.span); let constant = self.eat(&Token::Constant).then(|| self.prev_token.span); let const_ = self.eat(&Token::Const).then(|| self.prev_token.span); @@ -241,7 +247,7 @@ impl ParserContext<'_> { match (public, constant, const_) { (None, Some(_), None) => Ok(ParamMode::Const), (None, None, Some(_)) => Ok(ParamMode::Const), - (None, None, None) => Ok(ParamMode::Private), + (None, None, None) => Ok(ParamMode::None), (Some(_), None, None) => Ok(ParamMode::Public), (Some(m1), Some(m2), None) | (Some(m1), None, Some(m2)) | (None, Some(m1), Some(m2)) => { Err(ParserError::inputs_multiple_variable_types_specified(m1 + m2).into()) @@ -256,9 +262,7 @@ impl ParserContext<'_> { fn parse_function_parameter(&mut self) -> Result { let mode = self.parse_function_parameter_mode()?; let (name, type_) = self.parse_typed_ident()?; - Ok(FunctionInput::Variable(FunctionInputVariable::new( - name, mode, type_, name.span, - ))) + Ok(FunctionInput::new(name, mode, type_, name.span)) } /// Returns `true` if the next token is Function or if it is a Const followed by Function. @@ -270,9 +274,31 @@ impl ParserContext<'_> { ) } + /// Returns an [`Annotation`] AST node if the next tokens represent an annotation. + fn parse_annotation(&mut self) -> Result { + // Parse the `@` symbol and identifier. + let start = self.expect(&Token::At)?; + let identifier = self.expect_identifier()?; + let span = start + identifier.span; + + // TODO: Verify that this check is sound. + // Check that there is no whitespace in between the `@` symbol and identifier. + match identifier.span.hi.0 - start.lo.0 > 1 + identifier.name.to_string().len() as u32 { + true => Err(ParserError::space_in_annotation(span).into()), + false => Ok(Annotation { identifier, span }), + } + } + /// Returns an [`(Identifier, Function)`] AST node if the next tokens represent a function name /// and function definition. fn parse_function(&mut self) -> Result<(Identifier, Function)> { + // TODO: Handle dangling annotations. + // TODO: Handle duplicate annotations. + // Parse annotations, if they exist. + let mut annotations = Vec::new(); + while self.look_ahead(0, |t| &t.token) == &Token::At { + annotations.push(self.parse_annotation()?) + } // Parse `function IDENT`. let start = self.expect(&Token::Function)?; let name = self.expect_identifier()?; @@ -292,6 +318,7 @@ impl ParserContext<'_> { Ok(( name, Function { + annotations, identifier: name, input: inputs, output, diff --git a/compiler/parser/src/tokenizer/lexer.rs b/compiler/parser/src/tokenizer/lexer.rs index f527cdbc70..663bdbb7f4 100644 --- a/compiler/parser/src/tokenizer/lexer.rs +++ b/compiler/parser/src/tokenizer/lexer.rs @@ -384,6 +384,7 @@ impl Token { ) } '^' => return match_two(&mut input, Token::BitXor, '=', Token::BitXorAssign), + '@' => return Ok((1, Token::At)), _ => (), } if let Some(identifier) = eat_identifier(&mut input) { diff --git a/compiler/parser/src/tokenizer/mod.rs b/compiler/parser/src/tokenizer/mod.rs index c0b6259107..e39381fd52 100644 --- a/compiler/parser/src/tokenizer/mod.rs +++ b/compiler/parser/src/tokenizer/mod.rs @@ -141,6 +141,7 @@ mod tests { }} || ? + @ // test /* test */ //"#; @@ -153,7 +154,7 @@ mod tests { assert_eq!( output, - r#""test" "test{}test" "test{}" "{}test" "test{" "test}" "test{test" "test}test" "te{{}}" test_ident 12345 address bool const else false field for function group i128 i64 i32 i16 i8 if in input let mut return scalar string test true u128 u64 u32 u16 u8 console ! != && ( ) * ** + , - -> _ . .. / : ; < <= = == > >= [ ] { { } } || ? // test + r#""test" "test{}test" "test{}" "{}test" "test{" "test}" "test{test" "test}test" "te{{}}" test_ident 12345 address bool const else false field for function group i128 i64 i32 i16 i8 if in input let mut return scalar string test true u128 u64 u32 u16 u8 console ! != && ( ) * ** + , - -> _ . .. / : ; < <= = == > >= [ ] { { } } || ? @ // test /* test */ // "# ); }); diff --git a/compiler/parser/src/tokenizer/token.rs b/compiler/parser/src/tokenizer/token.rs index 7eca779686..46e46d3edc 100644 --- a/compiler/parser/src/tokenizer/token.rs +++ b/compiler/parser/src/tokenizer/token.rs @@ -84,6 +84,7 @@ pub enum Token { Underscore, BitXor, BitXorAssign, + At, // Syntactic Grammar // Types @@ -281,6 +282,7 @@ impl fmt::Display for Token { Underscore => write!(f, "_"), BitXor => write!(f, "^"), BitXorAssign => write!(f, "^="), + At => write!(f, "@"), Address => write!(f, "address"), Bool => write!(f, "bool"), diff --git a/compiler/passes/src/code_generation/generator.rs b/compiler/passes/src/code_generation/generator.rs index 2e62aef650..cd5b99765d 100644 --- a/compiler/passes/src/code_generation/generator.rs +++ b/compiler/passes/src/code_generation/generator.rs @@ -32,6 +32,9 @@ pub struct CodeGenerator<'a> { /// The first element of the tuple indicate whether the composite is a record or not. /// The second element of the tuple is a string modifier used for code generation. pub(crate) composite_mapping: IndexMap<&'a Symbol, (bool, String)>, + /// Are we traversing a program function? + /// A "program function" is a function that can be invoked by a user or another program. + pub(crate) is_program_function: bool, } impl<'a> CodeGenerator<'a> { @@ -43,6 +46,7 @@ impl<'a> CodeGenerator<'a> { current_function: None, variable_mapping: IndexMap::new(), composite_mapping: IndexMap::new(), + is_program_function: false, } } } diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index 296d2fc7b0..b48b1a9f85 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -273,7 +273,7 @@ impl<'a> CodeGenerator<'a> { } fn visit_call(&mut self, input: &'a CallExpression) -> (String, String) { - let mut call_instruction = format!(" {} ", input.function); + let mut call_instruction = format!(" call {} ", input.function); let mut instructions = String::new(); for argument in input.arguments.iter() { diff --git a/compiler/passes/src/code_generation/visit_program.rs b/compiler/passes/src/code_generation/visit_program.rs index ae1d1fba48..88d2d7d462 100644 --- a/compiler/passes/src/code_generation/visit_program.rs +++ b/compiler/passes/src/code_generation/visit_program.rs @@ -20,6 +20,7 @@ use leo_ast::{Circuit, CircuitMember, Function, Identifier, Program}; use indexmap::IndexMap; use itertools::Itertools; +use leo_span::sym; use std::fmt::Write as _; impl<'a> CodeGenerator<'a> { @@ -60,14 +61,37 @@ impl<'a> CodeGenerator<'a> { // Newline separator. program_string.push('\n'); - // Visit each `Function` in the Leo AST and produce a Aleo function instruction. - program_string.push_str( - &input - .functions - .values() - .map(|function| self.visit_function(function)) - .join("\n"), - ); + // Store closures and functions in separate strings. + let mut closures = String::new(); + let mut functions = String::new(); + + // Visit each `Function` in the Leo AST and produce Aleo instructions. + input.functions.values().for_each(|function| { + // If the function is annotated with `@program`, then it is a program function. + for annotation in function.annotations.iter() { + if annotation.identifier.name == sym::program { + self.is_program_function = true; + } + } + + let function_string = self.visit_function(function); + + if self.is_program_function { + functions.push_str(&function_string); + functions.push('\n'); + } else { + closures.push_str(&function_string); + closures.push('\n'); + } + + // Unset the `is_program_function` flag. + self.is_program_function = false; + }); + + // Closures must precede functions in the Aleo program. + program_string.push_str(&closures); + program_string.push('\n'); + program_string.push_str(&functions); program_string } @@ -140,7 +164,11 @@ impl<'a> CodeGenerator<'a> { self.current_function = Some(function); // Construct the header of the function. - let mut function_string = format!("function {}:\n", function.identifier); + // If a function is a program function, generate an Aleo `function`, otherwise generate an Aleo `closure`. + let mut function_string = match self.is_program_function { + true => format!("function {}:\n", function.identifier), + false => format!("closure {}:\n", function.identifier), + }; // Construct and append the input declarations of the function. for input in function.input.iter() { @@ -148,10 +176,9 @@ impl<'a> CodeGenerator<'a> { self.next_register += 1; self.variable_mapping - .insert(&input.get_variable().identifier.name, register_string.clone()); + .insert(&input.identifier.name, register_string.clone()); - let type_string = - self.visit_type_with_visibility(&input.get_variable().type_, Some(input.get_variable().mode())); + let type_string = self.visit_type_with_visibility(&input.type_, input.mode()); writeln!(function_string, " input {} as {};", register_string, type_string,) .expect("failed to write to string"); } diff --git a/compiler/passes/src/code_generation/visit_statements.rs b/compiler/passes/src/code_generation/visit_statements.rs index 281a1c6ace..bcf6347319 100644 --- a/compiler/passes/src/code_generation/visit_statements.rs +++ b/compiler/passes/src/code_generation/visit_statements.rs @@ -18,7 +18,7 @@ use crate::CodeGenerator; use leo_ast::{ AssignStatement, Block, ConditionalStatement, ConsoleStatement, DefinitionStatement, Expression, - IterationStatement, ReturnStatement, Statement, + IterationStatement, ParamMode, ReturnStatement, Statement, }; use itertools::Itertools; @@ -38,8 +38,8 @@ impl<'a> CodeGenerator<'a> { fn visit_return(&mut self, input: &'a ReturnStatement) -> String { let (operand, mut expression_instructions) = self.visit_expression(&input.expression); - let types = self.visit_return_type(&self.current_function.unwrap().output, None); // TODO: Bytecode functions have an associated output mode. Currently defaulting to private since we do not yet support this at the Leo level. + let types = self.visit_return_type(&self.current_function.unwrap().output, ParamMode::Private); let mut instructions = operand .split('\n') .into_iter() diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index 58943a6579..63b21e575f 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -52,22 +52,29 @@ impl<'a> CodeGenerator<'a> { } } - pub(crate) fn visit_type_with_visibility(&mut self, input: &'a Type, visibility: Option) -> String { + pub(crate) fn visit_type_with_visibility(&mut self, input: &'a Type, visibility: ParamMode) -> String { let mut type_string = self.visit_type(input); if let Type::Identifier(_) = input { // Do not append anything for record and circuit types. } else { - // Append `.private` to return type. // todo: CAUTION private by default. - write!(type_string, ".{}", visibility.unwrap_or(ParamMode::Private)).expect("failed to write to string"); + // Only program functions need a visibility associated with the input type. + if self.is_program_function { + // If a visibility is not provided in a program function, then it is private by default. + let visibility = match visibility { + ParamMode::None => ParamMode::Private, + _ => visibility, + }; + write!(type_string, ".{}", visibility).expect("failed to write to string"); + } } type_string } /// Returns one or more types equal to the number of return tuple members. - pub(crate) fn visit_return_type(&mut self, input: &'a Type, visibility: Option) -> Vec { + pub(crate) fn visit_return_type(&mut self, input: &'a Type, visibility: ParamMode) -> Vec { // Handle return tuples. if let Type::Tuple(types) = input { types diff --git a/compiler/passes/src/loop_unrolling/unroll_program.rs b/compiler/passes/src/loop_unrolling/unroll_program.rs index 1bcc57af00..3330b94ac1 100644 --- a/compiler/passes/src/loop_unrolling/unroll_program.rs +++ b/compiler/passes/src/loop_unrolling/unroll_program.rs @@ -34,6 +34,7 @@ impl ProgramReconstructor for Unroller<'_> { // Reconstruct the function block. let reconstructed_function = Function { + annotations: function.annotations, identifier: function.identifier, input: function.input, output: function.output, diff --git a/compiler/passes/src/static_single_assignment/rename_program.rs b/compiler/passes/src/static_single_assignment/rename_program.rs index 773d015209..ffc1cb3cd6 100644 --- a/compiler/passes/src/static_single_assignment/rename_program.rs +++ b/compiler/passes/src/static_single_assignment/rename_program.rs @@ -18,8 +18,8 @@ use crate::StaticSingleAssigner; use itertools::Itertools; use leo_ast::{ - Expression, Function, FunctionInput, ProgramReconstructor, ReturnStatement, Statement, StatementReconstructor, - TernaryExpression, TupleExpression, + Expression, Function, ProgramReconstructor, ReturnStatement, Statement, StatementReconstructor, TernaryExpression, + TupleExpression, }; impl ProgramReconstructor for StaticSingleAssigner<'_> { @@ -30,15 +30,9 @@ impl ProgramReconstructor 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 in function.input.iter() { - match input { - FunctionInput::Variable(function_input_variable) => { - self.rename_table.update( - function_input_variable.identifier.name, - function_input_variable.identifier.name, - ); - } - } + for input_variable in function.input.iter() { + self.rename_table + .update(input_variable.identifier.name, input_variable.identifier.name); } let mut block = self.reconstruct_block(function.block); @@ -98,6 +92,7 @@ impl ProgramReconstructor for StaticSingleAssigner<'_> { self.pop(); Function { + annotations: function.annotations, identifier: function.identifier, input: function.input, output: function.output, diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 9bf02ab290..b7442c1c3a 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -552,7 +552,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { .iter() .zip(input.arguments.iter()) .for_each(|(expected, argument)| { - self.visit_expression(argument, &Some(expected.get_variable().type_.clone())); + self.visit_expression(argument, &Some(expected.type_.clone())); }); Some(ret) diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index 8bfd433ad9..342da11195 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -26,6 +26,15 @@ use std::collections::HashSet; impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { fn visit_function(&mut self, input: &'a Function) { + // Check that the function's annotations are valid. + for annotation in input.annotations.iter() { + match annotation.identifier.name { + // Set `is_program_function` to true if the corresponding annotation is found. + sym::program => self.is_program_function = true, + _ => self.emit_err(TypeCheckerError::unknown_annotation(annotation, annotation.span)), + } + } + let prev_st = std::mem::take(&mut self.symbol_table); self.symbol_table .swap(prev_st.borrow().lookup_fn_scope(input.name()).unwrap()); @@ -33,10 +42,16 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { self.has_return = false; self.parent = Some(input.name()); - input.input.iter().for_each(|i| { - let input_var = i.get_variable(); + input.input.iter().for_each(|input_var| { self.assert_not_tuple(input_var.span, &input_var.type_); + // If the function is not a program function, then check that the parameters do not have an associated mode. + if !self.is_program_function && input_var.mode() != ParamMode::None { + self.emit_err(TypeCheckerError::helper_function_inputs_cannot_have_modes( + input_var.span, + )); + } + // Check for conflicting variable names. if let Err(err) = self.symbol_table.borrow_mut().insert_variable( input_var.identifier.name, @@ -65,6 +80,9 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { let prev_st = *self.symbol_table.borrow_mut().parent.take().unwrap(); self.symbol_table.swap(prev_st.lookup_fn_scope(input.name()).unwrap()); self.symbol_table = RefCell::new(prev_st); + + // Unset `is_program_function` flag. + self.is_program_function = false; } fn visit_circuit(&mut self, input: &'a Circuit) { diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 5f3539faa6..ae9b71be6e 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -30,6 +30,9 @@ pub struct TypeChecker<'a> { pub(crate) parent: Option, pub(crate) has_return: bool, pub(crate) negate: bool, + /// Are we traversing a program function? + /// A "program function" is a function that can be invoked by a user or another program. + pub(crate) is_program_function: bool, } const BOOLEAN_TYPE: Type = Type::Boolean; @@ -63,6 +66,7 @@ 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 { Self { + is_program_function: false, symbol_table: RefCell::new(symbol_table), handler, parent: None, diff --git a/compiler/span/src/symbol.rs b/compiler/span/src/symbol.rs index a1605dc9d9..0c6a85f0c2 100644 --- a/compiler/span/src/symbol.rs +++ b/compiler/span/src/symbol.rs @@ -216,6 +216,7 @@ symbols! { owner, gates, _nonce, + program, // input file registers, diff --git a/errors/src/errors/parser/parser_errors.rs b/errors/src/errors/parser/parser_errors.rs index ddf303f5be..309368fe02 100644 --- a/errors/src/errors/parser/parser_errors.rs +++ b/errors/src/errors/parser/parser_errors.rs @@ -253,4 +253,11 @@ create_messages!( msg: format!("Invalid import call to non-leo file `{name}`."), help: Some("Only imports of Leo `.leo` files are currently supported.".to_string()), } + + @formatted + space_in_annotation { + args: (), + msg: "Illegal spacing in the annotation declaration.", + help: Some("Remove whitespace between the `@` symbol and the identifier.".to_string()), + } ); diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index 1189e8b6af..0e93e66c4b 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -273,4 +273,19 @@ create_messages!( msg: format!("Loop body contains a return statement or always returns."), help: Some("Remove the code in the loop body that always returns.".to_string()), } + + // TODO: Consider emitting a warning instead of an error. + @formatted + unknown_annotation { + args: (annotation: impl Display), + msg: format!("Unknown annotation: `{annotation}`."), + help: Some("Use a valid annotation. The Leo compiler supports: `@program`".to_string()), + } + + @formatted + helper_function_inputs_cannot_have_modes { + args: (), + msg: format!("Helper functions cannot have modes associated with their inputs."), + help: Some("Consider removing the mode or adding a `@program` annotation to the function.".to_string()), + } ); diff --git a/examples/bubblesort/src/main.leo b/examples/bubblesort/src/main.leo index c04a4ffc38..cea3b988aa 100644 --- a/examples/bubblesort/src/main.leo +++ b/examples/bubblesort/src/main.leo @@ -16,6 +16,7 @@ // Note that the implementation below uses tuples instead of arrays. // The implementation also manually unrolls the loop. +@program function bubble_sort( arr0: u32, arr1: u32, diff --git a/examples/core/src/main.leo b/examples/core/src/main.leo index 5c8f69ed01..41dda2c694 100644 --- a/examples/core/src/main.leo +++ b/examples/core/src/main.leo @@ -2,6 +2,7 @@ // Core circuit functions are built-in to the Leo language and call handwritten, optimized circuits in the AVM. // To call a core circuit function, use the correct capitalized circuit identifier followed by two colons // and then the function. Example: `Pedersen64::hash()`. +@program function main(a: field) -> field { let b: field = BHP256::hash(a); let c: field = Poseidon2::hash(b); diff --git a/examples/groups/src/main.leo b/examples/groups/src/main.leo index 0ae3755555..6de733fecb 100644 --- a/examples/groups/src/main.leo +++ b/examples/groups/src/main.leo @@ -1,5 +1,7 @@ // This function takes a group coordinate as input `a` and performs several operations which should output the `0group`. // Note that the operations can be called as associated functions on the `a` variable. + +@program function main(a: group) -> group { // unary let e: group = a.double(); // 2a diff --git a/examples/helloworld/imports/foo.leo b/examples/helloworld/imports/foo.leo deleted file mode 100644 index 319eed328e..0000000000 --- a/examples/helloworld/imports/foo.leo +++ /dev/null @@ -1,8 +0,0 @@ -circuit Foo { - x: u64, - y: u64, -} - -function bar(x: u64, y: u64) -> Foo { - return Foo {x, y}; -} \ No newline at end of file diff --git a/examples/helloworld/inputs/helloworld.in b/examples/helloworld/inputs/helloworld.in index 5b350a9a64..89e24a5ea8 100644 --- a/examples/helloworld/inputs/helloworld.in +++ b/examples/helloworld/inputs/helloworld.in @@ -1,7 +1,4 @@ // The program input for helloworld/src/main.leo [main] public a: u32 = 1u32; -b: u32 = 2u32; // Input variable `b` is private by default. - -[foo] -x: u64 = 5u64; \ No newline at end of file +b: u32 = 2u32; // Input variable `b` is private by default. \ No newline at end of file diff --git a/examples/helloworld/src/main.leo b/examples/helloworld/src/main.leo index a1f61ec20c..530d4941b3 100644 --- a/examples/helloworld/src/main.leo +++ b/examples/helloworld/src/main.leo @@ -1,7 +1,5 @@ -import foo.leo; - // The 'helloworld' main function. - +@program function main(public a: u32, b: u32) -> u32 { return a + b; } diff --git a/examples/import_point/src/main.leo b/examples/import_point/src/main.leo index 6196b6a09a..f3e306e86e 100644 --- a/examples/import_point/src/main.leo +++ b/examples/import_point/src/main.leo @@ -3,6 +3,7 @@ import point.leo; // The main function. +@program function main(public a: u32, b: u32) -> u32 { return a + b; } diff --git a/examples/message/src/main.leo b/examples/message/src/main.leo index 38d698af17..b4b522091b 100644 --- a/examples/message/src/main.leo +++ b/examples/message/src/main.leo @@ -11,6 +11,7 @@ circuit Message { // The "main" function of this Leo program takes a "Message" circuit type as input. // To see how to input variable "m" is passed in open up `inputs/message.in`. +@program function main(m: Message) -> field { // 1. Define the "Message" type. diff --git a/examples/token/src/main.leo b/examples/token/src/main.leo index a641e0e510..c0f1c1f24b 100644 --- a/examples/token/src/main.leo +++ b/examples/token/src/main.leo @@ -1,3 +1,6 @@ +// This example demonstrates an example of a minting and transferring a token in Leo. + +// The `Token` record datatype. record Token { // The token owner. owner: address, @@ -9,6 +12,7 @@ record Token { // The `mint` function initializes a new record with the // to the receiver of tokens in `r1` for the receiver in `r0`. +@program function mint(owner: address, amount: u64) -> Token { return Token { owner: owner, @@ -19,6 +23,7 @@ function mint(owner: address, amount: u64) -> Token { // The `transfer` function sends the specified number of tokens // to the receiver from the provided token record. +@program function transfer(token: Token, to: address, amount: u64) -> (Token, Token) { // Checks the given token record has sufficient balance. diff --git a/leo/package/src/source/main.rs b/leo/package/src/source/main.rs index 19baf2f3be..d6aa753463 100644 --- a/leo/package/src/source/main.rs +++ b/leo/package/src/source/main.rs @@ -69,6 +69,7 @@ impl MainFile { fn template(&self) -> String { format!( r#"// The '{}' main function. +@program function main(public a: u32, b: u32) -> u32 {{ let c: u32 = a + b; return c; diff --git a/tests/compiler/additional_benches/big.leo b/tests/compiler/additional_benches/big.leo index c41d0145a3..881e2d620a 100644 --- a/tests/compiler/additional_benches/big.leo +++ b/tests/compiler/additional_benches/big.leo @@ -3,6 +3,7 @@ namespace: Bench expectation: Pass */ +@program function hAgrPJzARlhWKDGNpe () -> i128 { const NtoD9dCOP8: bool = false; if 60367u16 < 59376u16 && 291621465261548374864687596926221274642u128 <= 158647603833518715931164380862541000072u128 - 92087114510286551502623665863269979099u128 - 6505284705764791705801152244952567434u128 + 141283471013642106073249086828215491558u128 / 178739495978647499334333189200118397544u128 * 0u128 / 69358574294733597814948265413698301968u128 || 32532971286371518024146524900992744351u128 / 73930302096579937058701857000560614114u128 * 0u128 + 219449183973603283961254860147322285177u128 > 72259425234692696526333349807208361947u128 || 94519913150306783765596349821018468848i128 == -145523637561949662187440225436346186585i128 { @@ -158,6 +159,7 @@ function hAgrPJzARlhWKDGNpe () -> i128 { return ILtBGr5IWbok66cGZo; } +@program function kIebmldut ( constant dS71uQ: i64, constant Dj87fM: i8, @@ -181,6 +183,7 @@ function kIebmldut ( return dS71uQ; } +@program function zfUb (n1uGb8qYUbxVeMc: u8) -> field { const KGVaawVj_y8MuU: u32 = 3924454878u32; let Rdg5wrR4uJy2GqrYJL: u64 = 11167188615068932487u64; @@ -228,6 +231,7 @@ function zfUb (n1uGb8qYUbxVeMc: u8) -> field { return WIRhzmLSHlgn; } +@program function ey1Y83xwKF4m ( constant WQQo: i64, constant JzJ3bWUp5V5umYC8mLb: u16 @@ -9118,6 +9122,7 @@ function ey1Y83xwKF4m ( } } +@program function WNIRQ5XU ( Sao22ploN2: u16, UAiLILX: u16, @@ -13276,6 +13281,7 @@ function WNIRQ5XU ( } } +@program function yKAI11uAlhAC0MKuVaQH ( constant m3q_thgJckCDtZw5: bool, constant dtIzYvZXAHLLq10L: u16, @@ -13310,6 +13316,7 @@ function yKAI11uAlhAC0MKuVaQH ( return mO8ojODfy3e; } +@program function EFXa_yV ( constant lKpXyYB: i16, vekEtDz_FKl4w: field, @@ -15001,6 +15008,7 @@ function EFXa_yV ( } } +@program function nxMY18LG ( constant rv4FX2AtXtt: i128, constant MyEqz3: u128, @@ -29496,6 +29504,7 @@ function nxMY18LG ( } } +@program function ujkWfQ5r_1Yi ( XcnTSn5: bool, UIgsv89hNR83neLpzYD: i128, @@ -29530,6 +29539,7 @@ function ujkWfQ5r_1Yi ( return iVzW; } +@program function mRhFZzGYWFW3 () -> u16 { let It967SlNwbUzoY3v4iTL: u8 = 217u8; It967SlNwbUzoY3v4iTL = It967SlNwbUzoY3v4iTL; @@ -29603,6 +29613,7 @@ function mRhFZzGYWFW3 () -> u16 { return ooC9znSzVmwewD2KL; } +@program function ys4SGkFTY8T8t ( constant VdZ1o3oai2nDE8: field, constant fCskhvo4Zl155ClaZ: u64, @@ -29623,6 +29634,7 @@ function ys4SGkFTY8T8t ( return fCskhvo4Zl155ClaZ; } +@program function h0Eadw ( constant IkNFf7x4G3: u32, sygZ: u128, @@ -34176,6 +34188,7 @@ function h0Eadw ( return sygZ; } +@program function dz88xZBpyG7y9Q9yZS ( constant QDWdZ1P6Uxy: u8, TxLtm4JHFtIxvMQqdXp: i64, @@ -35481,6 +35494,7 @@ function dz88xZBpyG7y9Q9yZS ( } } +@program function WAqDjVpXCNT8mVu () -> u64 { const g96iIWKOcZyNfysxQae: u16 = 45302u16; let uayEuyji0EjFEjvUSFY: i128 = hAgrPJzARlhWKDGNpe(); @@ -35622,6 +35636,7 @@ function WAqDjVpXCNT8mVu () -> u64 { return IbtV5ITueWPb6mx9PG; } +@program function ed_5yepk9ZH7ESz4EfU ( c7iEW8nfI4pcpTUIkmn: field, m9g1DEE853bNFWWvV: u32, @@ -44516,6 +44531,7 @@ function ed_5yepk9ZH7ESz4EfU ( } } +@program function main (constant QZe9: i128) -> i64 { if 18788u16 != 61211u16 && 33352u16 >= ujkWfQ5r_1Yi(false, QZe9, 14152i16, QZe9) { let MYnKyRAZnaEo0Ngls7: u128 = 196095035652207868244240086789795221266u128; diff --git a/tests/compiler/additional_benches/long_expr.leo b/tests/compiler/additional_benches/long_expr.leo index 5ab240158c..88a6c9f981 100644 --- a/tests/compiler/additional_benches/long_expr.leo +++ b/tests/compiler/additional_benches/long_expr.leo @@ -3,6 +3,7 @@ namespace: Bench expectation: Pass */ +@program function main() -> u32 { const a = 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32; const b = 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32; diff --git a/tests/compiler/additional_benches/many_foos.leo b/tests/compiler/additional_benches/many_foos.leo index ad176ffd09..6d9aacb392 100644 --- a/tests/compiler/additional_benches/many_foos.leo +++ b/tests/compiler/additional_benches/many_foos.leo @@ -3,199 +3,392 @@ namespace: Bench expectation: Pass */ +@program function main() -> u8 { return x191(0u32); } +@program function x0(val: u8) -> u8 { return val; } +@program function x1(val: u8) -> u8 { return x0(val); } +@program function x2(val: u8) -> u8 { return x1(val); } +@program function x3(val: u8) -> u8 { return x2(val); } +@program function x4(val: u8) -> u8 { return x3(val); } +@program function x5(val: u8) -> u8 { return x4(val); } +@program function x6(val: u8) -> u8 { return x5(val); } +@program function x7(val: u8) -> u8 { return x6(val); } +@program function x8(val: u8) -> u8 { return x7(val); } +@program function x9(val: u8) -> u8 { return x8(val); } +@program function x10(val: u8) -> u8 { return x9(val); } +@program function x11(val: u8) -> u8 { return x10(val); } +@program function x12(val: u8) -> u8 { return x11(val); } +@program function x13(val: u8) -> u8 { return x12(val); } +@program function x14(val: u8) -> u8 { return x13(val); } +@program function x15(val: u8) -> u8 { return x14(val); } +@program function x16(val: u8) -> u8 { return x15(val); } +@program function x17(val: u8) -> u8 { return x16(val); } +@program function x18(val: u8) -> u8 { return x17(val); } +@program function x19(val: u8) -> u8 { return x18(val); } +@program function x20(val: u8) -> u8 { return x19(val); } +@program function x21(val: u8) -> u8 { return x20(val); } +@program function x22(val: u8) -> u8 { return x21(val); } +@program function x23(val: u8) -> u8 { return x22(val); } +@program function x24(val: u8) -> u8 { return x23(val); } +@program function x25(val: u8) -> u8 { return x24(val); } +@program function x26(val: u8) -> u8 { return x25(val); } +@program function x27(val: u8) -> u8 { return x26(val); } +@program function x28(val: u8) -> u8 { return x27(val); } +@program function x29(val: u8) -> u8 { return x28(val); } +@program function x30(val: u8) -> u8 { return x29(val); } +@program function x31(val: u8) -> u8 { return x30(val); } +@program function x32(val: u8) -> u8 { return x31(val); } +@program function x33(val: u8) -> u8 { return x32(val); } +@program function x34(val: u8) -> u8 { return x33(val); } +@program function x35(val: u8) -> u8 { return x34(val); } +@program function x36(val: u8) -> u8 { return x35(val); } +@program function x37(val: u8) -> u8 { return x36(val); } +@program function x38(val: u8) -> u8 { return x37(val); } +@program function x39(val: u8) -> u8 { return x38(val); } +@program function x40(val: u8) -> u8 { return x39(val); } +@program function x41(val: u8) -> u8 { return x40(val); } +@program function x42(val: u8) -> u8 { return x41(val); } +@program function x43(val: u8) -> u8 { return x42(val); } +@program function x44(val: u8) -> u8 { return x43(val); } +@program function x45(val: u8) -> u8 { return x44(val); } +@program function x46(val: u8) -> u8 { return x45(val); } +@program function x47(val: u8) -> u8 { return x46(val); } +@program function x48(val: u8) -> u8 { return x47(val); } +@program function x49(val: u8) -> u8 { return x48(val); } +@program function x50(val: u8) -> u8 { return x49(val); } +@program function x51(val: u8) -> u8 { return x50(val); } +@program function x52(val: u8) -> u8 { return x51(val); } +@program function x53(val: u8) -> u8 { return x52(val); } +@program function x54(val: u8) -> u8 { return x53(val); } +@program function x55(val: u8) -> u8 { return x54(val); } +@program function x56(val: u8) -> u8 { return x55(val); } +@program function x57(val: u8) -> u8 { return x56(val); } +@program function x58(val: u8) -> u8 { return x57(val); } +@program function x59(val: u8) -> u8 { return x58(val); } +@program function x60(val: u8) -> u8 { return x59(val); } +@program function x61(val: u8) -> u8 { return x60(val); } +@program function x62(val: u8) -> u8 { return x61(val); } +@program function x63(val: u8) -> u8 { return x62(val); } +@program function x64(val: u8) -> u8 { return x63(val); } +@program function x65(val: u8) -> u8 { return x64(val); } +@program function x66(val: u8) -> u8 { return x65(val); } +@program function x67(val: u8) -> u8 { return x66(val); } +@program function x68(val: u8) -> u8 { return x67(val); } +@program function x69(val: u8) -> u8 { return x68(val); } +@program function x70(val: u8) -> u8 { return x69(val); } +@program function x71(val: u8) -> u8 { return x70(val); } +@program function x72(val: u8) -> u8 { return x71(val); } +@program function x73(val: u8) -> u8 { return x72(val); } +@program function x74(val: u8) -> u8 { return x73(val); } +@program function x75(val: u8) -> u8 { return x74(val); } +@program function x76(val: u8) -> u8 { return x75(val); } +@program function x77(val: u8) -> u8 { return x76(val); } +@program function x78(val: u8) -> u8 { return x77(val); } +@program function x79(val: u8) -> u8 { return x78(val); } +@program function x80(val: u8) -> u8 { return x79(val); } +@program function x81(val: u8) -> u8 { return x80(val); } +@program function x82(val: u8) -> u8 { return x81(val); } +@program function x83(val: u8) -> u8 { return x82(val); } +@program function x84(val: u8) -> u8 { return x83(val); } +@program function x85(val: u8) -> u8 { return x84(val); } +@program function x86(val: u8) -> u8 { return x85(val); } +@program function x87(val: u8) -> u8 { return x86(val); } +@program function x88(val: u8) -> u8 { return x87(val); } +@program function x89(val: u8) -> u8 { return x88(val); } +@program function x90(val: u8) -> u8 { return x89(val); } +@program function x91(val: u8) -> u8 { return x90(val); } +@program function x92(val: u8) -> u8 { return x91(val); } +@program function x93(val: u8) -> u8 { return x92(val); } +@program function x94(val: u8) -> u8 { return x93(val); } +@program function x95(val: u8) -> u8 { return x94(val); } +@program function x96(val: u8) -> u8 { return x95(val); } +@program function x97(val: u8) -> u8 { return x96(val); } +@program function x98(val: u8) -> u8 { return x97(val); } +@program function x99(val: u8) -> u8 { return x98(val); } +@program function x100(val: u8) -> u8 { return x99(val); } +@program function x101(val: u8) -> u8 { return x100(val); } +@program function x102(val: u8) -> u8 { return x101(val); } +@program function x103(val: u8) -> u8 { return x102(val); } +@program function x104(val: u8) -> u8 { return x103(val); } +@program function x105(val: u8) -> u8 { return x104(val); } +@program function x106(val: u8) -> u8 { return x105(val); } +@program function x107(val: u8) -> u8 { return x106(val); } +@program function x108(val: u8) -> u8 { return x107(val); } +@program function x109(val: u8) -> u8 { return x108(val); } +@program function x110(val: u8) -> u8 { return x109(val); } +@program function x111(val: u8) -> u8 { return x110(val); } +@program function x112(val: u8) -> u8 { return x111(val); } +@program function x113(val: u8) -> u8 { return x112(val); } +@program function x114(val: u8) -> u8 { return x113(val); } +@program function x115(val: u8) -> u8 { return x114(val); } +@program function x116(val: u8) -> u8 { return x115(val); } +@program function x117(val: u8) -> u8 { return x116(val); } +@program function x118(val: u8) -> u8 { return x117(val); } +@program function x119(val: u8) -> u8 { return x118(val); } +@program function x120(val: u8) -> u8 { return x119(val); } +@program function x121(val: u8) -> u8 { return x120(val); } +@program function x122(val: u8) -> u8 { return x121(val); } +@program function x123(val: u8) -> u8 { return x122(val); } +@program function x124(val: u8) -> u8 { return x123(val); } +@program function x125(val: u8) -> u8 { return x124(val); } +@program function x126(val: u8) -> u8 { return x125(val); } +@program function x127(val: u8) -> u8 { return x126(val); } +@program function x128(val: u8) -> u8 { return x127(val); } +@program function x129(val: u8) -> u8 { return x128(val); } +@program function x130(val: u8) -> u8 { return x129(val); } +@program function x131(val: u8) -> u8 { return x130(val); } +@program function x132(val: u8) -> u8 { return x131(val); } +@program function x133(val: u8) -> u8 { return x132(val); } +@program function x134(val: u8) -> u8 { return x133(val); } +@program function x135(val: u8) -> u8 { return x134(val); } +@program function x136(val: u8) -> u8 { return x135(val); } +@program function x137(val: u8) -> u8 { return x136(val); } +@program function x138(val: u8) -> u8 { return x137(val); } +@program function x139(val: u8) -> u8 { return x138(val); } +@program function x140(val: u8) -> u8 { return x139(val); } +@program function x141(val: u8) -> u8 { return x140(val); } +@program function x142(val: u8) -> u8 { return x141(val); } +@program function x143(val: u8) -> u8 { return x142(val); } +@program function x144(val: u8) -> u8 { return x143(val); } +@program function x145(val: u8) -> u8 { return x144(val); } +@program function x146(val: u8) -> u8 { return x145(val); } +@program function x147(val: u8) -> u8 { return x146(val); } +@program function x148(val: u8) -> u8 { return x147(val); } +@program function x149(val: u8) -> u8 { return x148(val); } +@program function x150(val: u8) -> u8 { return x149(val); } +@program function x151(val: u8) -> u8 { return x150(val); } +@program function x152(val: u8) -> u8 { return x151(val); } +@program function x153(val: u8) -> u8 { return x152(val); } +@program function x154(val: u8) -> u8 { return x153(val); } +@program function x155(val: u8) -> u8 { return x154(val); } +@program function x156(val: u8) -> u8 { return x155(val); } +@program function x157(val: u8) -> u8 { return x156(val); } +@program function x158(val: u8) -> u8 { return x157(val); } +@program function x159(val: u8) -> u8 { return x158(val); } +@program function x160(val: u8) -> u8 { return x159(val); } +@program function x161(val: u8) -> u8 { return x160(val); } +@program function x162(val: u8) -> u8 { return x161(val); } +@program function x163(val: u8) -> u8 { return x162(val); } +@program function x164(val: u8) -> u8 { return x163(val); } +@program function x165(val: u8) -> u8 { return x164(val); } +@program function x166(val: u8) -> u8 { return x165(val); } +@program function x167(val: u8) -> u8 { return x166(val); } +@program function x168(val: u8) -> u8 { return x167(val); } +@program function x169(val: u8) -> u8 { return x168(val); } +@program function x170(val: u8) -> u8 { return x169(val); } +@program function x171(val: u8) -> u8 { return x170(val); } +@program function x172(val: u8) -> u8 { return x171(val); } +@program function x173(val: u8) -> u8 { return x172(val); } +@program function x174(val: u8) -> u8 { return x173(val); } +@program function x175(val: u8) -> u8 { return x174(val); } +@program function x176(val: u8) -> u8 { return x175(val); } +@program function x177(val: u8) -> u8 { return x176(val); } +@program function x178(val: u8) -> u8 { return x177(val); } +@program function x179(val: u8) -> u8 { return x178(val); } +@program function x180(val: u8) -> u8 { return x179(val); } +@program function x181(val: u8) -> u8 { return x180(val); } +@program function x182(val: u8) -> u8 { return x181(val); } +@program function x183(val: u8) -> u8 { return x182(val); } +@program function x184(val: u8) -> u8 { return x183(val); } +@program function x185(val: u8) -> u8 { return x184(val); } +@program function x186(val: u8) -> u8 { return x185(val); } +@program function x187(val: u8) -> u8 { return x186(val); } +@program function x188(val: u8) -> u8 { return x187(val); } +@program function x189(val: u8) -> u8 { return x188(val); } +@program function x190(val: u8) -> u8 { return x189(val); } +@program function x191(val: u8) -> u8 { return x190(val); } diff --git a/tests/compiler/address/binary.leo b/tests/compiler/address/binary.leo index afecd9fdb1..97fbd75c9c 100644 --- a/tests/compiler/address/binary.leo +++ b/tests/compiler/address/binary.leo @@ -5,6 +5,7 @@ input_file: inputs/address1.in */ +@program function main (x: address) -> bool { let a: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx; let b: bool = x.eq(a); diff --git a/tests/compiler/address/branch.leo b/tests/compiler/address/branch.leo index 888b594550..2d78fba401 100644 --- a/tests/compiler/address/branch.leo +++ b/tests/compiler/address/branch.leo @@ -5,6 +5,7 @@ input_file: inputs/branch.in */ +@program function main (x: address, y: bool) -> bool { let z: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx; if y { diff --git a/tests/compiler/address/equal.leo b/tests/compiler/address/equal.leo index 540222ac69..b4a3f9eb84 100644 --- a/tests/compiler/address/equal.leo +++ b/tests/compiler/address/equal.leo @@ -5,6 +5,7 @@ input_file: - inputs/address1.in */ +@program function main(x: address) -> bool { const sender: address = aleo10qerras5799u6k7rjtc9y3hcwxuykr45qra7x7dp6jgnc0923czqm0lgta; diff --git a/tests/compiler/address/ternary.leo b/tests/compiler/address/ternary.leo index 3d61e7b533..0f23fbb004 100644 --- a/tests/compiler/address/ternary.leo +++ b/tests/compiler/address/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/address2.in */ +@program function main(x: address) -> bool { const sender: address = aleo1l7ytv5jqjzpxtjqttl5z9mle8ujcpac9t6tkge5f4haah4pxas8sagzecd; const receiver: address = aleo1dtpkpg3d653mdlzh6g028937qdgujecn5gw5tzh7ftcvyz7jxvfqw6t8p6; diff --git a/tests/compiler/boolean/and.leo b/tests/compiler/boolean/and.leo index b109ac8781..528c11e84f 100644 --- a/tests/compiler/boolean/and.leo +++ b/tests/compiler/boolean/and.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { return a && b; } \ No newline at end of file diff --git a/tests/compiler/boolean/conditional.leo b/tests/compiler/boolean/conditional.leo index a5bd201b74..0e579fa002 100644 --- a/tests/compiler/boolean/conditional.leo +++ b/tests/compiler/boolean/conditional.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { return a ? b : false; } \ No newline at end of file diff --git a/tests/compiler/boolean/equal.leo b/tests/compiler/boolean/equal.leo index 39531dd5d6..68bc659adf 100644 --- a/tests/compiler/boolean/equal.leo +++ b/tests/compiler/boolean/equal.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { return a == b; } \ No newline at end of file diff --git a/tests/compiler/boolean/not_equal.leo b/tests/compiler/boolean/not_equal.leo index c0c970fa10..8dc183f8a4 100644 --- a/tests/compiler/boolean/not_equal.leo +++ b/tests/compiler/boolean/not_equal.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { return a != b; } \ No newline at end of file diff --git a/tests/compiler/boolean/operator_methods.leo b/tests/compiler/boolean/operator_methods.leo index e562a2cdf6..3e6444a8f1 100644 --- a/tests/compiler/boolean/operator_methods.leo +++ b/tests/compiler/boolean/operator_methods.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { // unary let h: bool = a.not(); diff --git a/tests/compiler/boolean/or.leo b/tests/compiler/boolean/or.leo index 05dd9325aa..97dda3f0d4 100644 --- a/tests/compiler/boolean/or.leo +++ b/tests/compiler/boolean/or.leo @@ -8,6 +8,7 @@ input_file: - inputs/true_true.in */ +@program function main(a: bool, b: bool) -> bool { return a || b; } \ No newline at end of file diff --git a/tests/compiler/circuits/inline.leo b/tests/compiler/circuits/inline.leo index 199a8031ab..6a38731690 100644 --- a/tests/compiler/circuits/inline.leo +++ b/tests/compiler/circuits/inline.leo @@ -14,6 +14,7 @@ circuit Foo { x: u32 } +@program function main(x: u32) -> u32 { let a: Foo = Foo { x: x }; return a.x; diff --git a/tests/compiler/circuits/member_variable.leo b/tests/compiler/circuits/member_variable.leo index 635da3da30..bd678f030e 100644 --- a/tests/compiler/circuits/member_variable.leo +++ b/tests/compiler/circuits/member_variable.leo @@ -8,6 +8,7 @@ circuit Foo { x: u32, } +@program function main(y: bool) -> bool { const a: Foo = Foo { x: 1u32 }; diff --git a/tests/compiler/console/assert.leo b/tests/compiler/console/assert.leo index 39d478c8b8..77d575f0b9 100644 --- a/tests/compiler/console/assert.leo +++ b/tests/compiler/console/assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/true.in */ +@program function main(a: bool) -> bool { console.assert(a == true); return a == true; diff --git a/tests/compiler/console/error.leo b/tests/compiler/console/error.leo index 5725b6d16e..aa58127236 100644 --- a/tests/compiler/console/error.leo +++ b/tests/compiler/console/error.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(y: bool) -> bool { console.error("hello error"); return y == true; diff --git a/tests/compiler/console/log.leo b/tests/compiler/console/log.leo index 1264df33cd..62c50c22eb 100644 --- a/tests/compiler/console/log.leo +++ b/tests/compiler/console/log.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(y: bool) -> bool { console.log("hello world"); return y == true; diff --git a/tests/compiler/console/log_conditional.leo b/tests/compiler/console/log_conditional.leo index c7d8903deb..0768f793d6 100644 --- a/tests/compiler/console/log_conditional.leo +++ b/tests/compiler/console/log_conditional.leo @@ -7,6 +7,7 @@ input_file: */ // Conditionally add two u32 integers and log the result to the console. +@program function main(a: u32, b: u32) -> bool { if a == b { console.log("{}=={}", a, b); // This line should not fail. diff --git a/tests/compiler/console/log_input.leo b/tests/compiler/console/log_input.leo index 285ab6eae1..e3a90267e0 100644 --- a/tests/compiler/console/log_input.leo +++ b/tests/compiler/console/log_input.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(y: bool) -> bool { console.log("a = {}", y); return y == true; diff --git a/tests/compiler/console/log_parameter.leo b/tests/compiler/console/log_parameter.leo index 75536f7b58..2d59c3413d 100644 --- a/tests/compiler/console/log_parameter.leo +++ b/tests/compiler/console/log_parameter.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(y: bool) -> bool { console.log("{}", 1u32); return y == true; diff --git a/tests/compiler/console/log_parameter_many.leo b/tests/compiler/console/log_parameter_many.leo index ed1e769b82..2370d3deef 100644 --- a/tests/compiler/console/log_parameter_many.leo +++ b/tests/compiler/console/log_parameter_many.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(y: bool) -> bool { console.log("{} {}", 1u32, true); return y == true; diff --git a/tests/compiler/core/algorithms/bhp1024_commit.leo b/tests/compiler/core/algorithms/bhp1024_commit.leo index 41ca180718..e58480d03d 100644 --- a/tests/compiler/core/algorithms/bhp1024_commit.leo +++ b/tests/compiler/core/algorithms/bhp1024_commit.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp1024_hash.leo b/tests/compiler/core/algorithms/bhp1024_hash.leo index 6fe59de6df..b9d0e9f6cb 100644 --- a/tests/compiler/core/algorithms/bhp1024_hash.leo +++ b/tests/compiler/core/algorithms/bhp1024_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp256_commit.leo b/tests/compiler/core/algorithms/bhp256_commit.leo index e38555f95b..ceed756895 100644 --- a/tests/compiler/core/algorithms/bhp256_commit.leo +++ b/tests/compiler/core/algorithms/bhp256_commit.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp256_hash.leo b/tests/compiler/core/algorithms/bhp256_hash.leo index 3057085bf0..7fbaadecb9 100644 --- a/tests/compiler/core/algorithms/bhp256_hash.leo +++ b/tests/compiler/core/algorithms/bhp256_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp512_commit.leo b/tests/compiler/core/algorithms/bhp512_commit.leo index d79ced41b2..65f303eada 100644 --- a/tests/compiler/core/algorithms/bhp512_commit.leo +++ b/tests/compiler/core/algorithms/bhp512_commit.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp512_hash.leo b/tests/compiler/core/algorithms/bhp512_hash.leo index b7127c6d8c..7c2e091347 100644 --- a/tests/compiler/core/algorithms/bhp512_hash.leo +++ b/tests/compiler/core/algorithms/bhp512_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp768_commit.leo b/tests/compiler/core/algorithms/bhp768_commit.leo index 41d40b50b6..6dbacd8243 100644 --- a/tests/compiler/core/algorithms/bhp768_commit.leo +++ b/tests/compiler/core/algorithms/bhp768_commit.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/bhp768_hash.leo b/tests/compiler/core/algorithms/bhp768_hash.leo index 4e52e0c503..45fa499db6 100644 --- a/tests/compiler/core/algorithms/bhp768_hash.leo +++ b/tests/compiler/core/algorithms/bhp768_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/pedersen128_hash.leo b/tests/compiler/core/algorithms/pedersen128_hash.leo index 0ae65971c4..29ac5dbadf 100644 --- a/tests/compiler/core/algorithms/pedersen128_hash.leo +++ b/tests/compiler/core/algorithms/pedersen128_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/pedersen64_hash.leo b/tests/compiler/core/algorithms/pedersen64_hash.leo index dc713d9c03..7063a4176b 100644 --- a/tests/compiler/core/algorithms/pedersen64_hash.leo +++ b/tests/compiler/core/algorithms/pedersen64_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/poseidon2_hash.leo b/tests/compiler/core/algorithms/poseidon2_hash.leo index bcb61965c0..68ab58abfa 100644 --- a/tests/compiler/core/algorithms/poseidon2_hash.leo +++ b/tests/compiler/core/algorithms/poseidon2_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/poseidon4_hash.leo b/tests/compiler/core/algorithms/poseidon4_hash.leo index 3d7331e03d..5a24c60444 100644 --- a/tests/compiler/core/algorithms/poseidon4_hash.leo +++ b/tests/compiler/core/algorithms/poseidon4_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/core/algorithms/poseidon8_hash.leo b/tests/compiler/core/algorithms/poseidon8_hash.leo index c28fdc71b1..ef349d4cf8 100644 --- a/tests/compiler/core/algorithms/poseidon8_hash.leo +++ b/tests/compiler/core/algorithms/poseidon8_hash.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/int64.in */ +@program function main( i8_value: i8, i16_value: i16, diff --git a/tests/compiler/definition/out_of_order.leo b/tests/compiler/definition/out_of_order.leo index 77de4f3547..bed6821d67 100644 --- a/tests/compiler/definition/out_of_order.leo +++ b/tests/compiler/definition/out_of_order.leo @@ -7,6 +7,7 @@ input_file: inputs/dummy.in // @test // function fake_test() {} +@program function main(y: bool) -> bool { return y == true; } diff --git a/tests/compiler/field/add.leo b/tests/compiler/field/add.leo index 72633674a0..dfeea09f85 100644 --- a/tests/compiler/field/add.leo +++ b/tests/compiler/field/add.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field, c: field) -> bool { return a + b == c; } \ No newline at end of file diff --git a/tests/compiler/field/div.leo b/tests/compiler/field/div.leo index 4121623d52..eddc13a195 100644 --- a/tests/compiler/field/div.leo +++ b/tests/compiler/field/div.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field, c: field) -> bool { return a / b != c; } \ No newline at end of file diff --git a/tests/compiler/field/eq.leo b/tests/compiler/field/eq.leo index eed7a98757..0d7148773c 100644 --- a/tests/compiler/field/eq.leo +++ b/tests/compiler/field/eq.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field) -> bool { return a == b; } \ No newline at end of file diff --git a/tests/compiler/field/field.leo b/tests/compiler/field/field.leo index 89f6d7f84b..7eeed03cda 100644 --- a/tests/compiler/field/field.leo +++ b/tests/compiler/field/field.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field) -> bool { const negOneField: field = -1field; return negOneField + a == 0field; diff --git a/tests/compiler/field/mul.leo b/tests/compiler/field/mul.leo index 26dcaf37f4..3f2feb1a98 100644 --- a/tests/compiler/field/mul.leo +++ b/tests/compiler/field/mul.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field, c: field) -> bool { return a * b == c; } \ No newline at end of file diff --git a/tests/compiler/field/negate.leo b/tests/compiler/field/negate.leo index badf9c3da6..8072485a97 100644 --- a/tests/compiler/field/negate.leo +++ b/tests/compiler/field/negate.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field) -> bool { return -a == -b; } \ No newline at end of file diff --git a/tests/compiler/field/operator_methods.leo b/tests/compiler/field/operator_methods.leo index c8401c5141..7a42919a71 100644 --- a/tests/compiler/field/operator_methods.leo +++ b/tests/compiler/field/operator_methods.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field) -> bool { // unary let f: field = a.inv(); diff --git a/tests/compiler/field/pow.leo b/tests/compiler/field/pow.leo index a7df20d039..436999f5df 100644 --- a/tests/compiler/field/pow.leo +++ b/tests/compiler/field/pow.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field) -> bool { const negOneField: field = -1field; return negOneField ** 2field == 1field; diff --git a/tests/compiler/field/sub.leo b/tests/compiler/field/sub.leo index 5b45636ce6..39f827903a 100644 --- a/tests/compiler/field/sub.leo +++ b/tests/compiler/field/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field, c: field) -> bool { return a - b == c; } \ No newline at end of file diff --git a/tests/compiler/field/ternary.leo b/tests/compiler/field/ternary.leo index ad8fcfeec0..5a523feb1c 100644 --- a/tests/compiler/field/ternary.leo +++ b/tests/compiler/field/ternary.leo @@ -5,6 +5,7 @@ input_file: - inputs/fields.in */ +@program function main(a: field, b: field, c: field) -> bool { return b == 1field ? a == 1field : c == 2field; } \ No newline at end of file diff --git a/tests/compiler/function/conditional_return.leo b/tests/compiler/function/conditional_return.leo index 2532c1ef0a..2aa7ded8e5 100644 --- a/tests/compiler/function/conditional_return.leo +++ b/tests/compiler/function/conditional_return.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/integers.in */ +@program function main(a: u32) -> u32 { if a == 2u32 { return 3u32; diff --git a/tests/compiler/function/function_call.leo b/tests/compiler/function/function_call.leo new file mode 100644 index 0000000000..aaa99c398f --- /dev/null +++ b/tests/compiler/function/function_call.leo @@ -0,0 +1,22 @@ +/* +namespace: Compile +expectation: Pass +input_file: inputs/dummy.in +*/ + +@program +function main(a: u32, b: u32, y: bool) -> u32 { + if y { + return adder(a, b); + } else { + return subber(a, b); + } +} + +function adder(a: u32, b: u32) -> u32 { + return a + b; +} + +function subber(a: u32, b: u32) -> u32 { + return a - b; +} \ No newline at end of file diff --git a/tests/compiler/group/add.leo b/tests/compiler/group/add.leo index ef133231cc..405513ef21 100644 --- a/tests/compiler/group/add.leo +++ b/tests/compiler/group/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/three.in */ +@program function main(a: group, b: group, c: group) -> bool { console.assert(a + b == c); diff --git a/tests/compiler/group/assert_eq.leo b/tests/compiler/group/assert_eq.leo index 40d09c087e..cf40e833ea 100644 --- a/tests/compiler/group/assert_eq.leo +++ b/tests/compiler/group/assert_eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: group, b: group) -> bool { console.assert(a == b); return a == b; diff --git a/tests/compiler/group/eq.leo b/tests/compiler/group/eq.leo index 40d09c087e..cf40e833ea 100644 --- a/tests/compiler/group/eq.leo +++ b/tests/compiler/group/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: group, b: group) -> bool { console.assert(a == b); return a == b; diff --git a/tests/compiler/group/group_mul.leo b/tests/compiler/group/group_mul.leo index acbf381dd7..9348e83c05 100644 --- a/tests/compiler/group/group_mul.leo +++ b/tests/compiler/group/group_mul.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalar_group.in */ +@program function main(a: scalar, b: group, c: scalar) -> bool { let d: group = 1817767092074430972953743941103352519057913259183777531581123188265134806220group * a; let e: group = a * 1817767092074430972953743941103352519057913259183777531581123188265134806220group; diff --git a/tests/compiler/group/input.leo b/tests/compiler/group/input.leo index 35a99f9ce9..cf975ab838 100644 --- a/tests/compiler/group/input.leo +++ b/tests/compiler/group/input.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/dummy.in */ +@program function main(a: group, b: group) -> bool { console.assert(a == b); return a == b; diff --git a/tests/compiler/group/mul.leo b/tests/compiler/group/mul.leo index bb3f9d5325..b0734480f4 100644 --- a/tests/compiler/group/mul.leo +++ b/tests/compiler/group/mul.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalar_group.in */ +@program function main(a: scalar, b: group) -> group { return a * b; } \ No newline at end of file diff --git a/tests/compiler/group/mult_by_scalar.leo b/tests/compiler/group/mult_by_scalar.leo index 913c2481eb..819d6561ed 100644 --- a/tests/compiler/group/mult_by_scalar.leo +++ b/tests/compiler/group/mult_by_scalar.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/point.in */ +@program function main(a: group) -> group { return 1scalar * a; } \ No newline at end of file diff --git a/tests/compiler/group/negate.leo b/tests/compiler/group/negate.leo index 4b4d3d6b8c..c9d2c05e0d 100644 --- a/tests/compiler/group/negate.leo +++ b/tests/compiler/group/negate.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: group, b: group) -> bool { console.assert(-a == b); diff --git a/tests/compiler/group/operator_methods.leo b/tests/compiler/group/operator_methods.leo index 3567d3bf5e..9ed9175b59 100644 --- a/tests/compiler/group/operator_methods.leo +++ b/tests/compiler/group/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/three.in */ +@program function main(a: group, b: group) -> bool { // unary let e: group = a.double(); diff --git a/tests/compiler/group/point_input.leo b/tests/compiler/group/point_input.leo index 6e0b405e75..6aee3f6c21 100644 --- a/tests/compiler/group/point_input.leo +++ b/tests/compiler/group/point_input.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/point.in */ +@program function main(a: group) -> bool { return a == (0, 1)group; } \ No newline at end of file diff --git a/tests/compiler/group/sub.leo b/tests/compiler/group/sub.leo index e80ea0061f..71fb77f60a 100644 --- a/tests/compiler/group/sub.leo +++ b/tests/compiler/group/sub.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/three.in */ +@program function main(a: group, b: group, c: group) -> bool { console.assert(a - b == c); diff --git a/tests/compiler/group/ternary.leo b/tests/compiler/group/ternary.leo index 72312ac337..638fcc5acd 100644 --- a/tests/compiler/group/ternary.leo +++ b/tests/compiler/group/ternary.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/point.in */ +@program function main(a: group, b: group, c: group) -> bool { const r: group = true ? a : b; diff --git a/tests/compiler/group/x_and_y.leo b/tests/compiler/group/x_and_y.leo index 5f4180d629..0af5129fb7 100644 --- a/tests/compiler/group/x_and_y.leo +++ b/tests/compiler/group/x_and_y.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/scalar_group.in */ +@program function main(a: scalar) -> group { let b: group = (0, 1)group; diff --git a/tests/compiler/group/x_sign_high.leo b/tests/compiler/group/x_sign_high.leo index 2a4c47d7d3..746231aadc 100644 --- a/tests/compiler/group/x_sign_high.leo +++ b/tests/compiler/group/x_sign_high.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/scalar_group.in */ +@program function main(a: scalar) -> group { let b: group = (0, +)group; diff --git a/tests/compiler/group/x_sign_inferred.leo b/tests/compiler/group/x_sign_inferred.leo index 762bbdf086..fa6e079d96 100644 --- a/tests/compiler/group/x_sign_inferred.leo +++ b/tests/compiler/group/x_sign_inferred.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/scalar_group.in */ +@program function main(a: scalar) -> group { let b: group = (0, _)group; diff --git a/tests/compiler/group/x_sign_low.leo b/tests/compiler/group/x_sign_low.leo index 10a86e02a4..e92911fc85 100644 --- a/tests/compiler/group/x_sign_low.leo +++ b/tests/compiler/group/x_sign_low.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/scalar_group.in */ +@program function main(a: scalar) -> group { let b: group = (0, -)group; diff --git a/tests/compiler/group/zero.leo b/tests/compiler/group/zero.leo index 87318dac56..b6005ec411 100644 --- a/tests/compiler/group/zero.leo +++ b/tests/compiler/group/zero.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/scalar_group.in */ +@program function main(a: scalar) -> group { let element: group = 0group; diff --git a/tests/compiler/input/main.leo b/tests/compiler/input/main.leo index 4ecc0cc8d2..9e7ccda0ec 100644 --- a/tests/compiler/input/main.leo +++ b/tests/compiler/input/main.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/main.in */ +@program function main(a: bool) -> bool { return a == true; } diff --git a/tests/compiler/input/main_field.leo b/tests/compiler/input/main_field.leo index cdcc88b79e..5e830bd9e0 100644 --- a/tests/compiler/input/main_field.leo +++ b/tests/compiler/input/main_field.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/main_field.in */ +@program function main(a: field, b: field, y: bool) -> bool { return y == true && a == b; } diff --git a/tests/compiler/integers/i128/add.leo b/tests/compiler/integers/i128/add.leo index b851405a65..00cb77c572 100644 --- a/tests/compiler/integers/i128/add.leo +++ b/tests/compiler/integers/i128/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/i128/and.leo b/tests/compiler/integers/i128/and.leo index 64c552f202..2b85b105f1 100644 --- a/tests/compiler/integers/i128/and.leo +++ b/tests/compiler/integers/i128/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/i128/console_assert.leo b/tests/compiler/integers/i128/console_assert.leo index d4ff8be862..e092c927ad 100644 --- a/tests/compiler/integers/i128/console_assert.leo +++ b/tests/compiler/integers/i128/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i128, b: i128) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/i128/div.leo b/tests/compiler/integers/i128/div.leo index beb98b14d5..8899950994 100644 --- a/tests/compiler/integers/i128/div.leo +++ b/tests/compiler/integers/i128/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/i128/eq.leo b/tests/compiler/integers/i128/eq.leo index 476eee9391..766be79cec 100644 --- a/tests/compiler/integers/i128/eq.leo +++ b/tests/compiler/integers/i128/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i128, b: i128, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/i128/ge.leo b/tests/compiler/integers/i128/ge.leo index 4ca888e060..a4cbee51df 100644 --- a/tests/compiler/integers/i128/ge.leo +++ b/tests/compiler/integers/i128/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: i128, b: i128, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/i128/gt.leo b/tests/compiler/integers/i128/gt.leo index 27e5f97f34..b09056bd25 100644 --- a/tests/compiler/integers/i128/gt.leo +++ b/tests/compiler/integers/i128/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: i128, b: i128, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/i128/le.leo b/tests/compiler/integers/i128/le.leo index 78213537b6..078c2f827c 100644 --- a/tests/compiler/integers/i128/le.leo +++ b/tests/compiler/integers/i128/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: i128, b: i128, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/i128/lt.leo b/tests/compiler/integers/i128/lt.leo index 655bc448f6..bdbd545dff 100644 --- a/tests/compiler/integers/i128/lt.leo +++ b/tests/compiler/integers/i128/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: i128, b: i128, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/i128/max.leo b/tests/compiler/integers/i128/max.leo index 45b552b63d..5273a8391d 100644 --- a/tests/compiler/integers/i128/max.leo +++ b/tests/compiler/integers/i128/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128) -> i128 { let b: i128 = 170141183460469231731687303715884105727i128; return b - a; diff --git a/tests/compiler/integers/i128/min.leo b/tests/compiler/integers/i128/min.leo index 491cf16bd8..6851e46bd4 100644 --- a/tests/compiler/integers/i128/min.leo +++ b/tests/compiler/integers/i128/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128) -> i128 { let b: i128 = -170141183460469231731687303715884105727i128; return b - a; // -170141183460469231731687303715884105728i128 diff --git a/tests/compiler/integers/i128/mul.leo b/tests/compiler/integers/i128/mul.leo index 4727a76304..e80dbfbc36 100644 --- a/tests/compiler/integers/i128/mul.leo +++ b/tests/compiler/integers/i128/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/i128/ne.leo b/tests/compiler/integers/i128/ne.leo index d5a07672a9..9db7b262c1 100644 --- a/tests/compiler/integers/i128/ne.leo +++ b/tests/compiler/integers/i128/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: i128, b: i128, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/i128/negate.leo b/tests/compiler/integers/i128/negate.leo index b7691a900d..0da5ec5eae 100644 --- a/tests/compiler/integers/i128/negate.leo +++ b/tests/compiler/integers/i128/negate.leo @@ -6,6 +6,7 @@ input_file: - inputs/neg_rev.in */ +@program function main(a: i128, b: i128) -> bool { return -a == b; } diff --git a/tests/compiler/integers/i128/negate_zero.leo b/tests/compiler/integers/i128/negate_zero.leo index 6ba1c2bfe6..40f9f73edf 100644 --- a/tests/compiler/integers/i128/negate_zero.leo +++ b/tests/compiler/integers/i128/negate_zero.leo @@ -5,6 +5,7 @@ input_file: - ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: i128 = 0i128; diff --git a/tests/compiler/integers/i128/operator_methods.leo b/tests/compiler/integers/i128/operator_methods.leo index f13fcb1bf2..25012121b1 100644 --- a/tests/compiler/integers/i128/operator_methods.leo +++ b/tests/compiler/integers/i128/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128) -> bool { // unary let c: i128 = a.abs(); diff --git a/tests/compiler/integers/i128/or.leo b/tests/compiler/integers/i128/or.leo index 73a4d949d6..3f3f9b04d6 100644 --- a/tests/compiler/integers/i128/or.leo +++ b/tests/compiler/integers/i128/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/i128/pow.leo b/tests/compiler/integers/i128/pow.leo index 4b09bf3e37..e5abfb834e 100644 --- a/tests/compiler/integers/i128/pow.leo +++ b/tests/compiler/integers/i128/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/i128/rem.leo b/tests/compiler/integers/i128/rem.leo index 1c167b82a9..f133ed9249 100644 --- a/tests/compiler/integers/i128/rem.leo +++ b/tests/compiler/integers/i128/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/i128/shl.leo b/tests/compiler/integers/i128/shl.leo index 5548d48f74..43bce26b25 100644 --- a/tests/compiler/integers/i128/shl.leo +++ b/tests/compiler/integers/i128/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/i128/shr.leo b/tests/compiler/integers/i128/shr.leo index 31d2f1b1b7..54b63e5699 100644 --- a/tests/compiler/integers/i128/shr.leo +++ b/tests/compiler/integers/i128/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/i128/sub.leo b/tests/compiler/integers/i128/sub.leo index e11db1e927..7319e1cfdb 100644 --- a/tests/compiler/integers/i128/sub.leo +++ b/tests/compiler/integers/i128/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: i128, b: i128, c: i128) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/i128/ternary.leo b/tests/compiler/integers/i128/ternary.leo index 859c665f4d..e85c8ecbc7 100644 --- a/tests/compiler/integers/i128/ternary.leo +++ b/tests/compiler/integers/i128/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: i128, b: i128, c: i128) -> bool { let r: i128 = s ? a : b; diff --git a/tests/compiler/integers/i128/xor.leo b/tests/compiler/integers/i128/xor.leo index e4ef09f9be..c18e1c73d6 100644 --- a/tests/compiler/integers/i128/xor.leo +++ b/tests/compiler/integers/i128/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i128, b: i128) -> i128 { return a ^ b; } diff --git a/tests/compiler/integers/i16/add.leo b/tests/compiler/integers/i16/add.leo index f7a9800b13..694c9c6791 100644 --- a/tests/compiler/integers/i16/add.leo +++ b/tests/compiler/integers/i16/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/i16/and.leo b/tests/compiler/integers/i16/and.leo index ada82d3d9b..58edc9df1c 100644 --- a/tests/compiler/integers/i16/and.leo +++ b/tests/compiler/integers/i16/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/i16/console_assert.leo b/tests/compiler/integers/i16/console_assert.leo index a5d407d88f..6fba004aa2 100644 --- a/tests/compiler/integers/i16/console_assert.leo +++ b/tests/compiler/integers/i16/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i16, b: i16) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/i16/div.leo b/tests/compiler/integers/i16/div.leo index 73bfdb362f..bc779c62ec 100644 --- a/tests/compiler/integers/i16/div.leo +++ b/tests/compiler/integers/i16/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/i16/eq.leo b/tests/compiler/integers/i16/eq.leo index 34666793ef..01166b6b3c 100644 --- a/tests/compiler/integers/i16/eq.leo +++ b/tests/compiler/integers/i16/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i16, b: i16, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/i16/ge.leo b/tests/compiler/integers/i16/ge.leo index af397e4ae4..d57562453b 100644 --- a/tests/compiler/integers/i16/ge.leo +++ b/tests/compiler/integers/i16/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: i16, b: i16, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/i16/gt.leo b/tests/compiler/integers/i16/gt.leo index 04828fa68c..95893386dd 100644 --- a/tests/compiler/integers/i16/gt.leo +++ b/tests/compiler/integers/i16/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: i16, b: i16, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/i16/le.leo b/tests/compiler/integers/i16/le.leo index 1112aa898c..df808e0774 100644 --- a/tests/compiler/integers/i16/le.leo +++ b/tests/compiler/integers/i16/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: i16, b: i16, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/i16/lt.leo b/tests/compiler/integers/i16/lt.leo index 6173828a9b..79553061b9 100644 --- a/tests/compiler/integers/i16/lt.leo +++ b/tests/compiler/integers/i16/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: i16, b: i16, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/i16/max.leo b/tests/compiler/integers/i16/max.leo index 2d6aa4aea5..be15a4c02d 100644 --- a/tests/compiler/integers/i16/max.leo +++ b/tests/compiler/integers/i16/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16) -> i16 { let b: i16 = 32767i16; return b - a; diff --git a/tests/compiler/integers/i16/min.leo b/tests/compiler/integers/i16/min.leo index 5c733b6654..37696547d4 100644 --- a/tests/compiler/integers/i16/min.leo +++ b/tests/compiler/integers/i16/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16) -> i16 { let b: i16 = -32767i16; return b - a; // -32768i16 diff --git a/tests/compiler/integers/i16/mul.leo b/tests/compiler/integers/i16/mul.leo index 0659e685d5..704578bfbe 100644 --- a/tests/compiler/integers/i16/mul.leo +++ b/tests/compiler/integers/i16/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/i16/ne.leo b/tests/compiler/integers/i16/ne.leo index f3807e3c41..f5fa1acea9 100644 --- a/tests/compiler/integers/i16/ne.leo +++ b/tests/compiler/integers/i16/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: i16, b: i16, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/i16/negate.leo b/tests/compiler/integers/i16/negate.leo index 0eb30b9ae7..34f53f948b 100644 --- a/tests/compiler/integers/i16/negate.leo +++ b/tests/compiler/integers/i16/negate.leo @@ -6,6 +6,7 @@ input_file: - inputs/neg_rev.in */ +@program function main(a: i16, b: i16) -> bool { return -a == b; } diff --git a/tests/compiler/integers/i16/negate_zero.leo b/tests/compiler/integers/i16/negate_zero.leo index bf3eceab02..09bff29019 100644 --- a/tests/compiler/integers/i16/negate_zero.leo +++ b/tests/compiler/integers/i16/negate_zero.leo @@ -5,6 +5,7 @@ input_file: - ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: i16 = 0i16; diff --git a/tests/compiler/integers/i16/operator_methods.leo b/tests/compiler/integers/i16/operator_methods.leo index df179683b0..522f38c674 100644 --- a/tests/compiler/integers/i16/operator_methods.leo +++ b/tests/compiler/integers/i16/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16) -> bool { // unary let c: i16 = a.abs(); diff --git a/tests/compiler/integers/i16/or.leo b/tests/compiler/integers/i16/or.leo index b36860ee3a..e71be87fbd 100644 --- a/tests/compiler/integers/i16/or.leo +++ b/tests/compiler/integers/i16/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/i16/pow.leo b/tests/compiler/integers/i16/pow.leo index 6bf65e690c..48c53d938a 100644 --- a/tests/compiler/integers/i16/pow.leo +++ b/tests/compiler/integers/i16/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/i16/rem.leo b/tests/compiler/integers/i16/rem.leo index 6d925bb6ec..cef348f3d5 100644 --- a/tests/compiler/integers/i16/rem.leo +++ b/tests/compiler/integers/i16/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/i16/shl.leo b/tests/compiler/integers/i16/shl.leo index b1122a1c39..0cbd282e7d 100644 --- a/tests/compiler/integers/i16/shl.leo +++ b/tests/compiler/integers/i16/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/i16/shr.leo b/tests/compiler/integers/i16/shr.leo index a4373d4e80..ec083da71f 100644 --- a/tests/compiler/integers/i16/shr.leo +++ b/tests/compiler/integers/i16/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/i16/sub.leo b/tests/compiler/integers/i16/sub.leo index 963df05ddb..96abb6212c 100644 --- a/tests/compiler/integers/i16/sub.leo +++ b/tests/compiler/integers/i16/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: i16, b: i16, c: i16) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/i16/ternary.leo b/tests/compiler/integers/i16/ternary.leo index 5ba2cabf35..85c98a7694 100644 --- a/tests/compiler/integers/i16/ternary.leo +++ b/tests/compiler/integers/i16/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: i16, b: i16, c: i16) -> bool { let r: i16 = s ? a : b; diff --git a/tests/compiler/integers/i16/xor.leo b/tests/compiler/integers/i16/xor.leo index 85721bd3c1..2f106b5e77 100644 --- a/tests/compiler/integers/i16/xor.leo +++ b/tests/compiler/integers/i16/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i16, b: i16) -> i16 { return a ^ b; } diff --git a/tests/compiler/integers/i32/add.leo b/tests/compiler/integers/i32/add.leo index 4368f2e64a..ac7203f5c0 100644 --- a/tests/compiler/integers/i32/add.leo +++ b/tests/compiler/integers/i32/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/i32/and.leo b/tests/compiler/integers/i32/and.leo index 3d91ea229d..bd06736cd1 100644 --- a/tests/compiler/integers/i32/and.leo +++ b/tests/compiler/integers/i32/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/i32/console_assert.leo b/tests/compiler/integers/i32/console_assert.leo index 46ff9acd94..ace9f7f6f9 100644 --- a/tests/compiler/integers/i32/console_assert.leo +++ b/tests/compiler/integers/i32/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i32, b: i32) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/i32/div.leo b/tests/compiler/integers/i32/div.leo index a9876eaa5c..e2f330afdd 100644 --- a/tests/compiler/integers/i32/div.leo +++ b/tests/compiler/integers/i32/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/i32/eq.leo b/tests/compiler/integers/i32/eq.leo index 0e88dd635d..6133944417 100644 --- a/tests/compiler/integers/i32/eq.leo +++ b/tests/compiler/integers/i32/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i32, b: i32, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/i32/ge.leo b/tests/compiler/integers/i32/ge.leo index 5763dcf6f5..7430e5a54d 100644 --- a/tests/compiler/integers/i32/ge.leo +++ b/tests/compiler/integers/i32/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: i32, b: i32, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/i32/gt.leo b/tests/compiler/integers/i32/gt.leo index a2142b04bd..9482b89d72 100644 --- a/tests/compiler/integers/i32/gt.leo +++ b/tests/compiler/integers/i32/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: i32, b: i32, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/i32/le.leo b/tests/compiler/integers/i32/le.leo index 094e183d4c..aa6580f349 100644 --- a/tests/compiler/integers/i32/le.leo +++ b/tests/compiler/integers/i32/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: i32, b: i32, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/i32/lt.leo b/tests/compiler/integers/i32/lt.leo index 2a6aac3e1f..6a48aecffc 100644 --- a/tests/compiler/integers/i32/lt.leo +++ b/tests/compiler/integers/i32/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: i32, b: i32, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/i32/max.leo b/tests/compiler/integers/i32/max.leo index 8cde1f484d..6218f9e866 100644 --- a/tests/compiler/integers/i32/max.leo +++ b/tests/compiler/integers/i32/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32) -> i32 { let b: i32 = 2147483647i32; return b - a; diff --git a/tests/compiler/integers/i32/min.leo b/tests/compiler/integers/i32/min.leo index 579aa5a165..2a4db01c81 100644 --- a/tests/compiler/integers/i32/min.leo +++ b/tests/compiler/integers/i32/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32) -> i32 { let b: i32 = -2147483647i32; return b - a; // -2147483648i32 diff --git a/tests/compiler/integers/i32/mul.leo b/tests/compiler/integers/i32/mul.leo index aef850eb45..303917cbf8 100644 --- a/tests/compiler/integers/i32/mul.leo +++ b/tests/compiler/integers/i32/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/i32/ne.leo b/tests/compiler/integers/i32/ne.leo index d2cb170af7..a458fb0aa1 100644 --- a/tests/compiler/integers/i32/ne.leo +++ b/tests/compiler/integers/i32/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: i32, b: i32, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/i32/negate.leo b/tests/compiler/integers/i32/negate.leo index 783777d3c5..7497d03622 100644 --- a/tests/compiler/integers/i32/negate.leo +++ b/tests/compiler/integers/i32/negate.leo @@ -6,6 +6,7 @@ input_file: - inputs/neg_rev.in */ +@program function main(a: i32, b: i32) -> bool { return -a == b; } diff --git a/tests/compiler/integers/i32/negate_zero.leo b/tests/compiler/integers/i32/negate_zero.leo index 23539e51e3..2b813f4764 100644 --- a/tests/compiler/integers/i32/negate_zero.leo +++ b/tests/compiler/integers/i32/negate_zero.leo @@ -5,6 +5,7 @@ input_file: - ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: i32 = 0i32; diff --git a/tests/compiler/integers/i32/operator_methods.leo b/tests/compiler/integers/i32/operator_methods.leo index 2126a529ad..be27d7cff0 100644 --- a/tests/compiler/integers/i32/operator_methods.leo +++ b/tests/compiler/integers/i32/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32) -> bool { // unary let c: i32 = a.abs(); diff --git a/tests/compiler/integers/i32/or.leo b/tests/compiler/integers/i32/or.leo index 1eb01be891..9c071d2185 100644 --- a/tests/compiler/integers/i32/or.leo +++ b/tests/compiler/integers/i32/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/i32/pow.leo b/tests/compiler/integers/i32/pow.leo index f0ef3237c5..0fd8881b26 100644 --- a/tests/compiler/integers/i32/pow.leo +++ b/tests/compiler/integers/i32/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/i32/rem.leo b/tests/compiler/integers/i32/rem.leo index 61e5c5b892..613c3aa99e 100644 --- a/tests/compiler/integers/i32/rem.leo +++ b/tests/compiler/integers/i32/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/i32/shl.leo b/tests/compiler/integers/i32/shl.leo index 244af4ffed..01f9f8701e 100644 --- a/tests/compiler/integers/i32/shl.leo +++ b/tests/compiler/integers/i32/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/i32/shr.leo b/tests/compiler/integers/i32/shr.leo index 8118366c96..fa508aaccd 100644 --- a/tests/compiler/integers/i32/shr.leo +++ b/tests/compiler/integers/i32/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/i32/sub.leo b/tests/compiler/integers/i32/sub.leo index f3ba6e1d20..cee9f99dce 100644 --- a/tests/compiler/integers/i32/sub.leo +++ b/tests/compiler/integers/i32/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: i32, b: i32, c: i32) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/i32/ternary.leo b/tests/compiler/integers/i32/ternary.leo index ef3a93e2d3..32629cf0bd 100644 --- a/tests/compiler/integers/i32/ternary.leo +++ b/tests/compiler/integers/i32/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: i32, b: i32, c: i32) -> bool { let r: i32 = s ? a : b; diff --git a/tests/compiler/integers/i32/xor.leo b/tests/compiler/integers/i32/xor.leo index 2885c7e9b6..05f3a4c18e 100644 --- a/tests/compiler/integers/i32/xor.leo +++ b/tests/compiler/integers/i32/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i32, b: i32) -> i32 { return a ^ b; } diff --git a/tests/compiler/integers/i64/add.leo b/tests/compiler/integers/i64/add.leo index c418a1a544..3d305c4f26 100644 --- a/tests/compiler/integers/i64/add.leo +++ b/tests/compiler/integers/i64/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/i64/and.leo b/tests/compiler/integers/i64/and.leo index beaeb6262e..9845b7cb88 100644 --- a/tests/compiler/integers/i64/and.leo +++ b/tests/compiler/integers/i64/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/i64/console_assert.leo b/tests/compiler/integers/i64/console_assert.leo index 1aa2cb7a7e..e2b3dfb380 100644 --- a/tests/compiler/integers/i64/console_assert.leo +++ b/tests/compiler/integers/i64/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i64, b: i64) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/i64/div.leo b/tests/compiler/integers/i64/div.leo index 6995cdc9a0..7e57e1d99b 100644 --- a/tests/compiler/integers/i64/div.leo +++ b/tests/compiler/integers/i64/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/i64/eq.leo b/tests/compiler/integers/i64/eq.leo index 2b93006693..5cc19b6b0e 100644 --- a/tests/compiler/integers/i64/eq.leo +++ b/tests/compiler/integers/i64/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i64, b: i64, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/i64/ge.leo b/tests/compiler/integers/i64/ge.leo index 66f8d487eb..a8e80b3438 100644 --- a/tests/compiler/integers/i64/ge.leo +++ b/tests/compiler/integers/i64/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: i64, b: i64, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/i64/gt.leo b/tests/compiler/integers/i64/gt.leo index 8729e97d8c..85f7e36bb9 100644 --- a/tests/compiler/integers/i64/gt.leo +++ b/tests/compiler/integers/i64/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: i64, b: i64, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/i64/le.leo b/tests/compiler/integers/i64/le.leo index f41459258b..619abe2cac 100644 --- a/tests/compiler/integers/i64/le.leo +++ b/tests/compiler/integers/i64/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: i64, b: i64, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/i64/lt.leo b/tests/compiler/integers/i64/lt.leo index c2ae1c45c0..e7018f810f 100644 --- a/tests/compiler/integers/i64/lt.leo +++ b/tests/compiler/integers/i64/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: i64, b: i64, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/i64/max.leo b/tests/compiler/integers/i64/max.leo index 22f9c81b38..7f844e6a71 100644 --- a/tests/compiler/integers/i64/max.leo +++ b/tests/compiler/integers/i64/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64) -> i64 { let b: i64 = 9223372036854775807i64; return b - a; diff --git a/tests/compiler/integers/i64/min.leo b/tests/compiler/integers/i64/min.leo index 95b27ec07f..b890f0613d 100644 --- a/tests/compiler/integers/i64/min.leo +++ b/tests/compiler/integers/i64/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64) -> i64 { let b: i64 = -9223372036854775807i64; return b - a; // -9223372036854775808i64 diff --git a/tests/compiler/integers/i64/mul.leo b/tests/compiler/integers/i64/mul.leo index bf4573712c..d27c9a96c4 100644 --- a/tests/compiler/integers/i64/mul.leo +++ b/tests/compiler/integers/i64/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/i64/ne.leo b/tests/compiler/integers/i64/ne.leo index 794dad8cc0..3ee1403e6a 100644 --- a/tests/compiler/integers/i64/ne.leo +++ b/tests/compiler/integers/i64/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: i64, b: i64, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/i64/negate.leo b/tests/compiler/integers/i64/negate.leo index ae2dea584e..f675012db0 100644 --- a/tests/compiler/integers/i64/negate.leo +++ b/tests/compiler/integers/i64/negate.leo @@ -6,6 +6,7 @@ input_file: - inputs/neg_rev.in */ +@program function main(a: i64, b: i64) -> bool { return -a == b; } diff --git a/tests/compiler/integers/i64/negate_zero.leo b/tests/compiler/integers/i64/negate_zero.leo index 2a048c2af6..f9d18347aa 100644 --- a/tests/compiler/integers/i64/negate_zero.leo +++ b/tests/compiler/integers/i64/negate_zero.leo @@ -5,6 +5,7 @@ input_file: - ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: i64 = 0i64; diff --git a/tests/compiler/integers/i64/operator_methods.leo b/tests/compiler/integers/i64/operator_methods.leo index 958f4026be..1872420b4b 100644 --- a/tests/compiler/integers/i64/operator_methods.leo +++ b/tests/compiler/integers/i64/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64) -> bool { // unary let c: i64 = a.abs(); diff --git a/tests/compiler/integers/i64/or.leo b/tests/compiler/integers/i64/or.leo index fed735f8ee..0d245ae401 100644 --- a/tests/compiler/integers/i64/or.leo +++ b/tests/compiler/integers/i64/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/i64/pow.leo b/tests/compiler/integers/i64/pow.leo index f328c8c9ea..f0aa74fd3f 100644 --- a/tests/compiler/integers/i64/pow.leo +++ b/tests/compiler/integers/i64/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/i64/rem.leo b/tests/compiler/integers/i64/rem.leo index 22d0539fd9..d68a3d14c9 100644 --- a/tests/compiler/integers/i64/rem.leo +++ b/tests/compiler/integers/i64/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/i64/shl.leo b/tests/compiler/integers/i64/shl.leo index ec5a5d2e96..dd45dc54b6 100644 --- a/tests/compiler/integers/i64/shl.leo +++ b/tests/compiler/integers/i64/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/i64/shr.leo b/tests/compiler/integers/i64/shr.leo index f5dcd8a119..08a5ca7345 100644 --- a/tests/compiler/integers/i64/shr.leo +++ b/tests/compiler/integers/i64/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/i64/sub.leo b/tests/compiler/integers/i64/sub.leo index 6623a8220c..6f1c18cd39 100644 --- a/tests/compiler/integers/i64/sub.leo +++ b/tests/compiler/integers/i64/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: i64, b: i64, c: i64) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/i64/ternary.leo b/tests/compiler/integers/i64/ternary.leo index 1bc3f8e359..0b781e5796 100644 --- a/tests/compiler/integers/i64/ternary.leo +++ b/tests/compiler/integers/i64/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: i64, b: i64, c: i64) -> bool { let r: i64 = s ? a : b; diff --git a/tests/compiler/integers/i64/xor.leo b/tests/compiler/integers/i64/xor.leo index 3debd0fd73..12e5cf006e 100644 --- a/tests/compiler/integers/i64/xor.leo +++ b/tests/compiler/integers/i64/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i64, b: i64) -> i64 { return a ^ b; } diff --git a/tests/compiler/integers/i8/add.leo b/tests/compiler/integers/i8/add.leo index 3e09005012..3ac7bc1ac4 100644 --- a/tests/compiler/integers/i8/add.leo +++ b/tests/compiler/integers/i8/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/i8/and.leo b/tests/compiler/integers/i8/and.leo index 6be6c0a92d..31f45ac9cd 100644 --- a/tests/compiler/integers/i8/and.leo +++ b/tests/compiler/integers/i8/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/i8/console_assert.leo b/tests/compiler/integers/i8/console_assert.leo index afcdea734e..301628c2c6 100644 --- a/tests/compiler/integers/i8/console_assert.leo +++ b/tests/compiler/integers/i8/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i8, b: i8) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/i8/div.leo b/tests/compiler/integers/i8/div.leo index f91ad25d8d..45b4350df7 100644 --- a/tests/compiler/integers/i8/div.leo +++ b/tests/compiler/integers/i8/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/i8/eq.leo b/tests/compiler/integers/i8/eq.leo index 54879baabd..8b56fdb5bf 100644 --- a/tests/compiler/integers/i8/eq.leo +++ b/tests/compiler/integers/i8/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: i8, b: i8, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/i8/ge.leo b/tests/compiler/integers/i8/ge.leo index 880400d11f..037fc6328b 100644 --- a/tests/compiler/integers/i8/ge.leo +++ b/tests/compiler/integers/i8/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: i8, b: i8, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/i8/gt.leo b/tests/compiler/integers/i8/gt.leo index ef68a78274..ecf5dd625e 100644 --- a/tests/compiler/integers/i8/gt.leo +++ b/tests/compiler/integers/i8/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: i8, b: i8, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/i8/le.leo b/tests/compiler/integers/i8/le.leo index 2599345a7d..499e27a00e 100644 --- a/tests/compiler/integers/i8/le.leo +++ b/tests/compiler/integers/i8/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: i8, b: i8, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/i8/lt.leo b/tests/compiler/integers/i8/lt.leo index 36ee077d7f..fec0669ff0 100644 --- a/tests/compiler/integers/i8/lt.leo +++ b/tests/compiler/integers/i8/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: i8, b: i8, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/i8/max.leo b/tests/compiler/integers/i8/max.leo index 84b07560e0..e7740f0e43 100644 --- a/tests/compiler/integers/i8/max.leo +++ b/tests/compiler/integers/i8/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8) -> i8 { let b: i8 = 127i8; return b - a; diff --git a/tests/compiler/integers/i8/min.leo b/tests/compiler/integers/i8/min.leo index 2bbdc481e7..64bbbad477 100644 --- a/tests/compiler/integers/i8/min.leo +++ b/tests/compiler/integers/i8/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8) -> i8 { let b: i8 = -127i8; diff --git a/tests/compiler/integers/i8/mul.leo b/tests/compiler/integers/i8/mul.leo index 1eb7ec547e..4b97d6f1fd 100644 --- a/tests/compiler/integers/i8/mul.leo +++ b/tests/compiler/integers/i8/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/i8/ne.leo b/tests/compiler/integers/i8/ne.leo index 042e03d9ac..7048e241ff 100644 --- a/tests/compiler/integers/i8/ne.leo +++ b/tests/compiler/integers/i8/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: i8, b: i8, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/i8/negate.leo b/tests/compiler/integers/i8/negate.leo index fc71467ac1..0f7e11b885 100644 --- a/tests/compiler/integers/i8/negate.leo +++ b/tests/compiler/integers/i8/negate.leo @@ -6,6 +6,7 @@ input_file: - inputs/neg_rev.in */ +@program function main(a: i8, b: i8) -> bool { return -a == b; } diff --git a/tests/compiler/integers/i8/negate_zero.leo b/tests/compiler/integers/i8/negate_zero.leo index 2688c5fe56..a8552101fa 100644 --- a/tests/compiler/integers/i8/negate_zero.leo +++ b/tests/compiler/integers/i8/negate_zero.leo @@ -5,6 +5,7 @@ input_file: - ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: i8 = 0i8; diff --git a/tests/compiler/integers/i8/operator_methods.leo b/tests/compiler/integers/i8/operator_methods.leo index 372851e3a6..be2b4b682e 100644 --- a/tests/compiler/integers/i8/operator_methods.leo +++ b/tests/compiler/integers/i8/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8) -> bool { // unary let c: i8 = a.abs(); diff --git a/tests/compiler/integers/i8/or.leo b/tests/compiler/integers/i8/or.leo index cd640c8218..17a8fea043 100644 --- a/tests/compiler/integers/i8/or.leo +++ b/tests/compiler/integers/i8/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/i8/pow.leo b/tests/compiler/integers/i8/pow.leo index b3bb8b65f4..8de8f9cd72 100644 --- a/tests/compiler/integers/i8/pow.leo +++ b/tests/compiler/integers/i8/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/i8/rem.leo b/tests/compiler/integers/i8/rem.leo index 42ec6d1fac..27ec6d6ef1 100644 --- a/tests/compiler/integers/i8/rem.leo +++ b/tests/compiler/integers/i8/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/i8/shl.leo b/tests/compiler/integers/i8/shl.leo index 8cb700bf36..6cdbc06580 100644 --- a/tests/compiler/integers/i8/shl.leo +++ b/tests/compiler/integers/i8/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/i8/shr.leo b/tests/compiler/integers/i8/shr.leo index 89aec1f726..d7e27099f8 100644 --- a/tests/compiler/integers/i8/shr.leo +++ b/tests/compiler/integers/i8/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/i8/sub.leo b/tests/compiler/integers/i8/sub.leo index 4d7d0ae412..cd827c87a2 100644 --- a/tests/compiler/integers/i8/sub.leo +++ b/tests/compiler/integers/i8/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: i8, b: i8, c: i8) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/i8/ternary.leo b/tests/compiler/integers/i8/ternary.leo index 1228239bf4..778180fa96 100644 --- a/tests/compiler/integers/i8/ternary.leo +++ b/tests/compiler/integers/i8/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: i8, b: i8, c: i8) -> bool { let r: i8 = s ? a : b; diff --git a/tests/compiler/integers/i8/xor.leo b/tests/compiler/integers/i8/xor.leo index 63d80d99b0..b9713320aa 100644 --- a/tests/compiler/integers/i8/xor.leo +++ b/tests/compiler/integers/i8/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: i8, b: i8) -> i8 { return a ^ b; } diff --git a/tests/compiler/integers/u128/add.leo b/tests/compiler/integers/u128/add.leo index 4c6a1f1b4b..9f23c4b946 100644 --- a/tests/compiler/integers/u128/add.leo +++ b/tests/compiler/integers/u128/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/u128/and.leo b/tests/compiler/integers/u128/and.leo index ce59956a52..6e011d8b65 100644 --- a/tests/compiler/integers/u128/and.leo +++ b/tests/compiler/integers/u128/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/u128/console_assert.leo b/tests/compiler/integers/u128/console_assert.leo index f8e15a0f65..ba914d6289 100644 --- a/tests/compiler/integers/u128/console_assert.leo +++ b/tests/compiler/integers/u128/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u128, b: u128) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/u128/div.leo b/tests/compiler/integers/u128/div.leo index 616fa0e771..0877b1a428 100644 --- a/tests/compiler/integers/u128/div.leo +++ b/tests/compiler/integers/u128/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/u128/eq.leo b/tests/compiler/integers/u128/eq.leo index dc1b24c359..ec0b15bb41 100644 --- a/tests/compiler/integers/u128/eq.leo +++ b/tests/compiler/integers/u128/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u128, b: u128, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/u128/ge.leo b/tests/compiler/integers/u128/ge.leo index 362c7462d7..b1ec3a389a 100644 --- a/tests/compiler/integers/u128/ge.leo +++ b/tests/compiler/integers/u128/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: u128, b: u128, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/u128/gt.leo b/tests/compiler/integers/u128/gt.leo index 8a2ac735c5..f198bd9d5a 100644 --- a/tests/compiler/integers/u128/gt.leo +++ b/tests/compiler/integers/u128/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: u128, b: u128, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/u128/le.leo b/tests/compiler/integers/u128/le.leo index 62024276b7..c94d518662 100644 --- a/tests/compiler/integers/u128/le.leo +++ b/tests/compiler/integers/u128/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: u128, b: u128, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/u128/lt.leo b/tests/compiler/integers/u128/lt.leo index 03f35b6914..5f979a30fa 100644 --- a/tests/compiler/integers/u128/lt.leo +++ b/tests/compiler/integers/u128/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: u128, b: u128, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/u128/max.leo b/tests/compiler/integers/u128/max.leo index 425d31b082..709d93f676 100644 --- a/tests/compiler/integers/u128/max.leo +++ b/tests/compiler/integers/u128/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u128 = 340282366920938463463374607431768211455u128; return y == true; diff --git a/tests/compiler/integers/u128/min.leo b/tests/compiler/integers/u128/min.leo index abb130957b..e30f610154 100644 --- a/tests/compiler/integers/u128/min.leo +++ b/tests/compiler/integers/u128/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool{ const a: u128 = 0u128; return y == true; diff --git a/tests/compiler/integers/u128/mul.leo b/tests/compiler/integers/u128/mul.leo index 32caffe569..fef44178ad 100644 --- a/tests/compiler/integers/u128/mul.leo +++ b/tests/compiler/integers/u128/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/u128/ne.leo b/tests/compiler/integers/u128/ne.leo index f84247e900..acd37f1bde 100644 --- a/tests/compiler/integers/u128/ne.leo +++ b/tests/compiler/integers/u128/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: u128, b: u128, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/u128/operator_methods.leo b/tests/compiler/integers/u128/operator_methods.leo index 5124040b7f..8c8921bdc0 100644 --- a/tests/compiler/integers/u128/operator_methods.leo +++ b/tests/compiler/integers/u128/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128) -> bool { // unary let h: u128 = a.not(); diff --git a/tests/compiler/integers/u128/or.leo b/tests/compiler/integers/u128/or.leo index a8cdad36fc..255bbad894 100644 --- a/tests/compiler/integers/u128/or.leo +++ b/tests/compiler/integers/u128/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/u128/pow.leo b/tests/compiler/integers/u128/pow.leo index e309762440..87f3e5843a 100644 --- a/tests/compiler/integers/u128/pow.leo +++ b/tests/compiler/integers/u128/pow.leo @@ -5,6 +5,7 @@ expectation: Pass # The exponent must be u8, u16, or u32 */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/u128/rem.leo b/tests/compiler/integers/u128/rem.leo index a9a1838245..e7cbf06bf9 100644 --- a/tests/compiler/integers/u128/rem.leo +++ b/tests/compiler/integers/u128/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/u128/shl.leo b/tests/compiler/integers/u128/shl.leo index cb7a758c7b..cda7106b8f 100644 --- a/tests/compiler/integers/u128/shl.leo +++ b/tests/compiler/integers/u128/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/u128/shr.leo b/tests/compiler/integers/u128/shr.leo index 334dc5c997..9397600447 100644 --- a/tests/compiler/integers/u128/shr.leo +++ b/tests/compiler/integers/u128/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/u128/sub.leo b/tests/compiler/integers/u128/sub.leo index 1c399300fa..fb3fcd1c09 100644 --- a/tests/compiler/integers/u128/sub.leo +++ b/tests/compiler/integers/u128/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: u128, b: u128, c: u128) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/u128/ternary.leo b/tests/compiler/integers/u128/ternary.leo index 1c9465edf4..671e449b2b 100644 --- a/tests/compiler/integers/u128/ternary.leo +++ b/tests/compiler/integers/u128/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: u128, b: u128, c: u128) -> bool { let r: u128 = s ? a : b; diff --git a/tests/compiler/integers/u128/xor.leo b/tests/compiler/integers/u128/xor.leo index 68433e98c4..bcc3197ae1 100644 --- a/tests/compiler/integers/u128/xor.leo +++ b/tests/compiler/integers/u128/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u128, b: u128) -> u128 { return a ^ b; } \ No newline at end of file diff --git a/tests/compiler/integers/u16/add.leo b/tests/compiler/integers/u16/add.leo index 09419ecbe0..169e45c014 100644 --- a/tests/compiler/integers/u16/add.leo +++ b/tests/compiler/integers/u16/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/u16/and.leo b/tests/compiler/integers/u16/and.leo index 700dfa2b20..545bc3544c 100644 --- a/tests/compiler/integers/u16/and.leo +++ b/tests/compiler/integers/u16/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/u16/console_assert.leo b/tests/compiler/integers/u16/console_assert.leo index 4a4849ba3d..acfa2648fc 100644 --- a/tests/compiler/integers/u16/console_assert.leo +++ b/tests/compiler/integers/u16/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u16, b: u16) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/u16/div.leo b/tests/compiler/integers/u16/div.leo index 9b029dd423..b0fbdc2454 100644 --- a/tests/compiler/integers/u16/div.leo +++ b/tests/compiler/integers/u16/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/u16/eq.leo b/tests/compiler/integers/u16/eq.leo index 4ba5421c6e..feaf224ffe 100644 --- a/tests/compiler/integers/u16/eq.leo +++ b/tests/compiler/integers/u16/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u16, b: u16, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/u16/ge.leo b/tests/compiler/integers/u16/ge.leo index f81e067c82..e70c516837 100644 --- a/tests/compiler/integers/u16/ge.leo +++ b/tests/compiler/integers/u16/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: u16, b: u16, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/u16/gt.leo b/tests/compiler/integers/u16/gt.leo index 9dd1cd2d79..9a6b2c33dd 100644 --- a/tests/compiler/integers/u16/gt.leo +++ b/tests/compiler/integers/u16/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: u16, b: u16, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/u16/le.leo b/tests/compiler/integers/u16/le.leo index c0344f743f..1339dac581 100644 --- a/tests/compiler/integers/u16/le.leo +++ b/tests/compiler/integers/u16/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: u16, b: u16, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/u16/lt.leo b/tests/compiler/integers/u16/lt.leo index 4651414e2b..f62eae8fa2 100644 --- a/tests/compiler/integers/u16/lt.leo +++ b/tests/compiler/integers/u16/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: u16, b: u16, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/u16/max.leo b/tests/compiler/integers/u16/max.leo index 8d66563b89..427b945794 100644 --- a/tests/compiler/integers/u16/max.leo +++ b/tests/compiler/integers/u16/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u16 = 65535u16; return y == true; diff --git a/tests/compiler/integers/u16/min.leo b/tests/compiler/integers/u16/min.leo index 7ea7ddfda1..9a224d7603 100644 --- a/tests/compiler/integers/u16/min.leo +++ b/tests/compiler/integers/u16/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u16 = 0u16; return y == true; diff --git a/tests/compiler/integers/u16/mul.leo b/tests/compiler/integers/u16/mul.leo index 7971007f8b..430c5b79cd 100644 --- a/tests/compiler/integers/u16/mul.leo +++ b/tests/compiler/integers/u16/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/u16/ne.leo b/tests/compiler/integers/u16/ne.leo index ad75d0db1e..a35d1f02e1 100644 --- a/tests/compiler/integers/u16/ne.leo +++ b/tests/compiler/integers/u16/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: u16, b: u16, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/u16/operator_methods.leo b/tests/compiler/integers/u16/operator_methods.leo index dea8269479..642ccb9403 100644 --- a/tests/compiler/integers/u16/operator_methods.leo +++ b/tests/compiler/integers/u16/operator_methods.leo @@ -10,6 +10,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16) -> bool { // unary let h: u16 = a.not(); diff --git a/tests/compiler/integers/u16/or.leo b/tests/compiler/integers/u16/or.leo index 68f3d1a1ce..ae4ff38580 100644 --- a/tests/compiler/integers/u16/or.leo +++ b/tests/compiler/integers/u16/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/u16/pow.leo b/tests/compiler/integers/u16/pow.leo index 9df044714b..12a1d0854d 100644 --- a/tests/compiler/integers/u16/pow.leo +++ b/tests/compiler/integers/u16/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a ** 2u8 == a ** b && a ** 2u32 == c; } diff --git a/tests/compiler/integers/u16/rem.leo b/tests/compiler/integers/u16/rem.leo index 8d217e139f..1baae25626 100644 --- a/tests/compiler/integers/u16/rem.leo +++ b/tests/compiler/integers/u16/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/u16/shl.leo b/tests/compiler/integers/u16/shl.leo index 01182113cd..db704dfed6 100644 --- a/tests/compiler/integers/u16/shl.leo +++ b/tests/compiler/integers/u16/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a << 2u8 == a << b && a << 2u32 == c; } diff --git a/tests/compiler/integers/u16/shr.leo b/tests/compiler/integers/u16/shr.leo index e1a3612c8f..fd71a39649 100644 --- a/tests/compiler/integers/u16/shr.leo +++ b/tests/compiler/integers/u16/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a >> 2u8 == a >> b && a >> 2u32 == c; } diff --git a/tests/compiler/integers/u16/sub.leo b/tests/compiler/integers/u16/sub.leo index aab87a217c..6b481d35f1 100644 --- a/tests/compiler/integers/u16/sub.leo +++ b/tests/compiler/integers/u16/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: u16, b: u16, c: u16) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/u16/ternary.leo b/tests/compiler/integers/u16/ternary.leo index ea63b3daea..12a570d3c0 100644 --- a/tests/compiler/integers/u16/ternary.leo +++ b/tests/compiler/integers/u16/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: u16, b: u16, c: u16) -> bool { let r: u16 = s ? a : b; diff --git a/tests/compiler/integers/u16/xor.leo b/tests/compiler/integers/u16/xor.leo index f6b71165e8..51a0c483b5 100644 --- a/tests/compiler/integers/u16/xor.leo +++ b/tests/compiler/integers/u16/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u16, b: u16) -> u16 { return a ^ b; } diff --git a/tests/compiler/integers/u32/add.leo b/tests/compiler/integers/u32/add.leo index 0be1f7c2cb..e71d6338f6 100644 --- a/tests/compiler/integers/u32/add.leo +++ b/tests/compiler/integers/u32/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/u32/and.leo b/tests/compiler/integers/u32/and.leo index dbc1bd81ff..23f06b3856 100644 --- a/tests/compiler/integers/u32/and.leo +++ b/tests/compiler/integers/u32/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/u32/console_assert.leo b/tests/compiler/integers/u32/console_assert.leo index a4f22e620e..90dcd85a6b 100644 --- a/tests/compiler/integers/u32/console_assert.leo +++ b/tests/compiler/integers/u32/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u32, b: u32) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/u32/div.leo b/tests/compiler/integers/u32/div.leo index 761c4f22e9..5b794da664 100644 --- a/tests/compiler/integers/u32/div.leo +++ b/tests/compiler/integers/u32/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/u32/eq.leo b/tests/compiler/integers/u32/eq.leo index fb55b6cc4f..7bf6fa4652 100644 --- a/tests/compiler/integers/u32/eq.leo +++ b/tests/compiler/integers/u32/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u32, b: u32, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/u32/ge.leo b/tests/compiler/integers/u32/ge.leo index 80dffba71c..e3292e4636 100644 --- a/tests/compiler/integers/u32/ge.leo +++ b/tests/compiler/integers/u32/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: u32, b: u32, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/u32/gt.leo b/tests/compiler/integers/u32/gt.leo index 876f546ec9..ed451f8937 100644 --- a/tests/compiler/integers/u32/gt.leo +++ b/tests/compiler/integers/u32/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: u32, b: u32, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/u32/le.leo b/tests/compiler/integers/u32/le.leo index 6ea09abd6d..685df09202 100644 --- a/tests/compiler/integers/u32/le.leo +++ b/tests/compiler/integers/u32/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: u32, b: u32, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/u32/lt.leo b/tests/compiler/integers/u32/lt.leo index 24be6fea36..c075929f14 100644 --- a/tests/compiler/integers/u32/lt.leo +++ b/tests/compiler/integers/u32/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: u32, b: u32, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/u32/max.leo b/tests/compiler/integers/u32/max.leo index 1c6690022f..b2bfd5f01a 100644 --- a/tests/compiler/integers/u32/max.leo +++ b/tests/compiler/integers/u32/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u32 = 4294967295u32; return y == true; diff --git a/tests/compiler/integers/u32/min.leo b/tests/compiler/integers/u32/min.leo index b579e3c3bf..1307d32b64 100644 --- a/tests/compiler/integers/u32/min.leo +++ b/tests/compiler/integers/u32/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u32 = 0u32; return y == true; diff --git a/tests/compiler/integers/u32/mul.leo b/tests/compiler/integers/u32/mul.leo index 3d2bc23acf..045d3efc1e 100644 --- a/tests/compiler/integers/u32/mul.leo +++ b/tests/compiler/integers/u32/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/u32/ne.leo b/tests/compiler/integers/u32/ne.leo index e83f27b8cc..b03780a668 100644 --- a/tests/compiler/integers/u32/ne.leo +++ b/tests/compiler/integers/u32/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: u32, b: u32, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/u32/operator_methods.leo b/tests/compiler/integers/u32/operator_methods.leo index 41346009a6..8c8d36af25 100644 --- a/tests/compiler/integers/u32/operator_methods.leo +++ b/tests/compiler/integers/u32/operator_methods.leo @@ -10,6 +10,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32) -> bool { // unary let h: u32 = a.not(); diff --git a/tests/compiler/integers/u32/or.leo b/tests/compiler/integers/u32/or.leo index 61000fb572..2d1faf95f6 100644 --- a/tests/compiler/integers/u32/or.leo +++ b/tests/compiler/integers/u32/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/u32/pow.leo b/tests/compiler/integers/u32/pow.leo index b5e7e63a7d..e51603e43f 100644 --- a/tests/compiler/integers/u32/pow.leo +++ b/tests/compiler/integers/u32/pow.leo @@ -7,6 +7,7 @@ input_file: inputs/pow.in # If necessary we could move it to disabled_tests. */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a ** 2u8 == a ** 2u16 && a ** b == c; } diff --git a/tests/compiler/integers/u32/rem.leo b/tests/compiler/integers/u32/rem.leo index 5fd1591695..4007b5fe7e 100644 --- a/tests/compiler/integers/u32/rem.leo +++ b/tests/compiler/integers/u32/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/u32/shl.leo b/tests/compiler/integers/u32/shl.leo index be8d53a340..c5de388b87 100644 --- a/tests/compiler/integers/u32/shl.leo +++ b/tests/compiler/integers/u32/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a << 2u8 == a << 2u16 && a << b == c; } diff --git a/tests/compiler/integers/u32/shr.leo b/tests/compiler/integers/u32/shr.leo index 4d71c793a1..eb66ec845e 100644 --- a/tests/compiler/integers/u32/shr.leo +++ b/tests/compiler/integers/u32/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a >> 2u8 == a >> 2u16 && a >> b == c; } diff --git a/tests/compiler/integers/u32/sub.leo b/tests/compiler/integers/u32/sub.leo index a9397e79df..9a356fe0fb 100644 --- a/tests/compiler/integers/u32/sub.leo +++ b/tests/compiler/integers/u32/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: u32, b: u32, c: u32) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/u32/ternary.leo b/tests/compiler/integers/u32/ternary.leo index 78afca0e16..064d1ec765 100644 --- a/tests/compiler/integers/u32/ternary.leo +++ b/tests/compiler/integers/u32/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: u32, b: u32, c: u32) -> bool { let r: u32 = s ? a : b; diff --git a/tests/compiler/integers/u32/xor.leo b/tests/compiler/integers/u32/xor.leo index 40d16f5fa5..6f134ceae4 100644 --- a/tests/compiler/integers/u32/xor.leo +++ b/tests/compiler/integers/u32/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u32, b: u32) -> u32 { return a ^ b; } \ No newline at end of file diff --git a/tests/compiler/integers/u64/add.leo b/tests/compiler/integers/u64/add.leo index 48466dec2c..02446875b9 100644 --- a/tests/compiler/integers/u64/add.leo +++ b/tests/compiler/integers/u64/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/u64/and.leo b/tests/compiler/integers/u64/and.leo index 6949dbd2fb..402956b5a9 100644 --- a/tests/compiler/integers/u64/and.leo +++ b/tests/compiler/integers/u64/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/u64/console_assert.leo b/tests/compiler/integers/u64/console_assert.leo index b44d87c06a..3f67d867c3 100644 --- a/tests/compiler/integers/u64/console_assert.leo +++ b/tests/compiler/integers/u64/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u64, b: u64) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/u64/div.leo b/tests/compiler/integers/u64/div.leo index 4c3c4a5db1..799cfa4700 100644 --- a/tests/compiler/integers/u64/div.leo +++ b/tests/compiler/integers/u64/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/u64/eq.leo b/tests/compiler/integers/u64/eq.leo index 20ed07a90e..50acf35722 100644 --- a/tests/compiler/integers/u64/eq.leo +++ b/tests/compiler/integers/u64/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u64, b: u64, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/u64/ge.leo b/tests/compiler/integers/u64/ge.leo index 846cd6faa3..e562ece597 100644 --- a/tests/compiler/integers/u64/ge.leo +++ b/tests/compiler/integers/u64/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: u64, b: u64, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/u64/gt.leo b/tests/compiler/integers/u64/gt.leo index cb634e5e91..47773b5ba7 100644 --- a/tests/compiler/integers/u64/gt.leo +++ b/tests/compiler/integers/u64/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: u64, b: u64, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/u64/le.leo b/tests/compiler/integers/u64/le.leo index b753c46ba6..1907234704 100644 --- a/tests/compiler/integers/u64/le.leo +++ b/tests/compiler/integers/u64/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: u64, b: u64, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/u64/lt.leo b/tests/compiler/integers/u64/lt.leo index db91c9aac6..14dd0a6894 100644 --- a/tests/compiler/integers/u64/lt.leo +++ b/tests/compiler/integers/u64/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: u64, b: u64, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/u64/max.leo b/tests/compiler/integers/u64/max.leo index bbffbb1ec7..a68b408e93 100644 --- a/tests/compiler/integers/u64/max.leo +++ b/tests/compiler/integers/u64/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u64 = 18446744073709551615u64; return y == true; diff --git a/tests/compiler/integers/u64/min.leo b/tests/compiler/integers/u64/min.leo index d6812ad0bf..5091f862e9 100644 --- a/tests/compiler/integers/u64/min.leo +++ b/tests/compiler/integers/u64/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u64 = 0u64; return y == true; diff --git a/tests/compiler/integers/u64/mul.leo b/tests/compiler/integers/u64/mul.leo index 01cd775f4f..3a778b16e5 100644 --- a/tests/compiler/integers/u64/mul.leo +++ b/tests/compiler/integers/u64/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/u64/ne.leo b/tests/compiler/integers/u64/ne.leo index b8ddfe6f60..c346e34566 100644 --- a/tests/compiler/integers/u64/ne.leo +++ b/tests/compiler/integers/u64/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: u64, b: u64, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/u64/operator_methods.leo b/tests/compiler/integers/u64/operator_methods.leo index e159081960..3f006226f9 100644 --- a/tests/compiler/integers/u64/operator_methods.leo +++ b/tests/compiler/integers/u64/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64) -> bool { // unary let h: u64 = a.not(); diff --git a/tests/compiler/integers/u64/or.leo b/tests/compiler/integers/u64/or.leo index e4ac79e056..01fa549a82 100644 --- a/tests/compiler/integers/u64/or.leo +++ b/tests/compiler/integers/u64/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/u64/pow.leo b/tests/compiler/integers/u64/pow.leo index b31d582540..0aa625cead 100644 --- a/tests/compiler/integers/u64/pow.leo +++ b/tests/compiler/integers/u64/pow.leo @@ -6,6 +6,7 @@ input_file: inputs/pow.in # The exponent must be u8, u16, or u32 */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a ** 2u8 == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/u64/rem.leo b/tests/compiler/integers/u64/rem.leo index 031c104fa9..6d1fb3ec59 100644 --- a/tests/compiler/integers/u64/rem.leo +++ b/tests/compiler/integers/u64/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/u64/shl.leo b/tests/compiler/integers/u64/shl.leo index d1b7cdc08d..1cefe40dcf 100644 --- a/tests/compiler/integers/u64/shl.leo +++ b/tests/compiler/integers/u64/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a << 2u8 == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/u64/shr.leo b/tests/compiler/integers/u64/shr.leo index e24b0b8e38..c4ae942f8f 100644 --- a/tests/compiler/integers/u64/shr.leo +++ b/tests/compiler/integers/u64/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a >> 2u8 == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/u64/sub.leo b/tests/compiler/integers/u64/sub.leo index c00e63daa5..18995e0747 100644 --- a/tests/compiler/integers/u64/sub.leo +++ b/tests/compiler/integers/u64/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: u64, b: u64, c: u64) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/u64/ternary.leo b/tests/compiler/integers/u64/ternary.leo index d70691a558..4fe18e88dd 100644 --- a/tests/compiler/integers/u64/ternary.leo +++ b/tests/compiler/integers/u64/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: u64, b: u64, c: u64) -> bool { let r: u64 = s ? a : b; diff --git a/tests/compiler/integers/u64/xor.leo b/tests/compiler/integers/u64/xor.leo index 3ddda9ace7..af91d70871 100644 --- a/tests/compiler/integers/u64/xor.leo +++ b/tests/compiler/integers/u64/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u64, b: u64) -> u64 { return a ^ b; } \ No newline at end of file diff --git a/tests/compiler/integers/u8/add.leo b/tests/compiler/integers/u8/add.leo index 864aa73907..848f7abd3b 100644 --- a/tests/compiler/integers/u8/add.leo +++ b/tests/compiler/integers/u8/add.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a + b == c; } diff --git a/tests/compiler/integers/u8/and.leo b/tests/compiler/integers/u8/and.leo index 87ccc56348..12ab081529 100644 --- a/tests/compiler/integers/u8/and.leo +++ b/tests/compiler/integers/u8/and.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a & b == c; } diff --git a/tests/compiler/integers/u8/console_assert.leo b/tests/compiler/integers/u8/console_assert.leo index bdcb469c13..5a56e273ae 100644 --- a/tests/compiler/integers/u8/console_assert.leo +++ b/tests/compiler/integers/u8/console_assert.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u8, b: u8) -> bool { let ret: bool = a == b; console.assert(ret); diff --git a/tests/compiler/integers/u8/div.leo b/tests/compiler/integers/u8/div.leo index e61d8e9cb7..781cc0a485 100644 --- a/tests/compiler/integers/u8/div.leo +++ b/tests/compiler/integers/u8/div.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a / b == c; } diff --git a/tests/compiler/integers/u8/eq.leo b/tests/compiler/integers/u8/eq.leo index fbeb033efd..bb246b2577 100644 --- a/tests/compiler/integers/u8/eq.leo +++ b/tests/compiler/integers/u8/eq.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/eq.in */ +@program function main(a: u8, b: u8, c: bool) -> bool { return (a == b) == c; } diff --git a/tests/compiler/integers/u8/ge.leo b/tests/compiler/integers/u8/ge.leo index 4a76db6b1e..8ade78ac43 100644 --- a/tests/compiler/integers/u8/ge.leo +++ b/tests/compiler/integers/u8/ge.leo @@ -6,6 +6,7 @@ input_file: - inputs/ge.in */ +@program function main(a: u8, b: u8, c: bool) -> bool { return a >= b == c; } diff --git a/tests/compiler/integers/u8/gt.leo b/tests/compiler/integers/u8/gt.leo index 4b49214e14..f0bc4de81d 100644 --- a/tests/compiler/integers/u8/gt.leo +++ b/tests/compiler/integers/u8/gt.leo @@ -6,6 +6,7 @@ input_file: - inputs/gt.in */ +@program function main(a: u8, b: u8, c: bool) -> bool { return a > b == c; } diff --git a/tests/compiler/integers/u8/le.leo b/tests/compiler/integers/u8/le.leo index 94675a5a78..7c251f8f30 100644 --- a/tests/compiler/integers/u8/le.leo +++ b/tests/compiler/integers/u8/le.leo @@ -6,6 +6,7 @@ input_file: - inputs/le.in */ +@program function main(a: u8, b: u8, c: bool) -> bool { return a <= b == c; } diff --git a/tests/compiler/integers/u8/lt.leo b/tests/compiler/integers/u8/lt.leo index 4b655045da..51891a931b 100644 --- a/tests/compiler/integers/u8/lt.leo +++ b/tests/compiler/integers/u8/lt.leo @@ -6,6 +6,7 @@ input_file: - inputs/lt.in */ +@program function main(a: u8, b: u8, c: bool) -> bool{ return a < b == c; } diff --git a/tests/compiler/integers/u8/max.leo b/tests/compiler/integers/u8/max.leo index c44f0c562e..3e29098686 100644 --- a/tests/compiler/integers/u8/max.leo +++ b/tests/compiler/integers/u8/max.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u8 = 255u8; return y == true; diff --git a/tests/compiler/integers/u8/min.leo b/tests/compiler/integers/u8/min.leo index cd74114fad..3b3f3dd0e4 100644 --- a/tests/compiler/integers/u8/min.leo +++ b/tests/compiler/integers/u8/min.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: ../inputs/dummy.in */ +@program function main(y: bool) -> bool { const a: u8 = 0u8; return y == true; diff --git a/tests/compiler/integers/u8/mul.leo b/tests/compiler/integers/u8/mul.leo index 116e07834f..7d687541f1 100644 --- a/tests/compiler/integers/u8/mul.leo +++ b/tests/compiler/integers/u8/mul.leo @@ -6,6 +6,7 @@ input_file: */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a * b == c; } diff --git a/tests/compiler/integers/u8/ne.leo b/tests/compiler/integers/u8/ne.leo index ba6b1fbfa9..4ba87b7fb8 100644 --- a/tests/compiler/integers/u8/ne.leo +++ b/tests/compiler/integers/u8/ne.leo @@ -6,6 +6,7 @@ input_file: - inputs/ne.in */ +@program function main(a: u8, b: u8, c: bool) -> bool{ return (a != b) == c; } diff --git a/tests/compiler/integers/u8/operator_methods.leo b/tests/compiler/integers/u8/operator_methods.leo index 5132afdbbe..cf459ef7bd 100644 --- a/tests/compiler/integers/u8/operator_methods.leo +++ b/tests/compiler/integers/u8/operator_methods.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8) -> bool { // unary let h: u8 = a.not(); diff --git a/tests/compiler/integers/u8/or.leo b/tests/compiler/integers/u8/or.leo index 0b39175af6..25d0e67031 100644 --- a/tests/compiler/integers/u8/or.leo +++ b/tests/compiler/integers/u8/or.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a | b == c; } diff --git a/tests/compiler/integers/u8/pow.leo b/tests/compiler/integers/u8/pow.leo index dcdd9d19d8..00b4eb0242 100644 --- a/tests/compiler/integers/u8/pow.leo +++ b/tests/compiler/integers/u8/pow.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/pow.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a ** b == a ** 2u16 && a ** 2u32 == c; } diff --git a/tests/compiler/integers/u8/rem.leo b/tests/compiler/integers/u8/rem.leo index dcedabd1e9..3dda8534d7 100644 --- a/tests/compiler/integers/u8/rem.leo +++ b/tests/compiler/integers/u8/rem.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/div.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a % b == c; } diff --git a/tests/compiler/integers/u8/shl.leo b/tests/compiler/integers/u8/shl.leo index 48803f2953..9aa92674ee 100644 --- a/tests/compiler/integers/u8/shl.leo +++ b/tests/compiler/integers/u8/shl.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a << b == a << 2u16 && a << 2u32 == c; } diff --git a/tests/compiler/integers/u8/shr.leo b/tests/compiler/integers/u8/shr.leo index d1071dea17..7677b865e3 100644 --- a/tests/compiler/integers/u8/shr.leo +++ b/tests/compiler/integers/u8/shr.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a >> b == a >> 2u16 && a >> 2u32 == c; } diff --git a/tests/compiler/integers/u8/sub.leo b/tests/compiler/integers/u8/sub.leo index 121510fe81..985abe6506 100644 --- a/tests/compiler/integers/u8/sub.leo +++ b/tests/compiler/integers/u8/sub.leo @@ -5,6 +5,7 @@ input_file: - inputs/sub.in */ +@program function main(a: u8, b: u8, c: u8) -> bool { return a - b == c; } diff --git a/tests/compiler/integers/u8/ternary.leo b/tests/compiler/integers/u8/ternary.leo index f296b0bae2..bfd3e8954c 100644 --- a/tests/compiler/integers/u8/ternary.leo +++ b/tests/compiler/integers/u8/ternary.leo @@ -6,6 +6,7 @@ input_file: - inputs/tern_rev.in */ +@program function main(s: bool, a: u8, b: u8, c: u8) -> bool { let r: u8 = s ? a : b; diff --git a/tests/compiler/integers/u8/xor.leo b/tests/compiler/integers/u8/xor.leo index bd1227d6c5..07fde962e9 100644 --- a/tests/compiler/integers/u8/xor.leo +++ b/tests/compiler/integers/u8/xor.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/add.in */ +@program function main(a: u8, b: u8) -> u8 { return a ^ b; } diff --git a/tests/compiler/records/declaration.leo b/tests/compiler/records/declaration.leo index fa26b713bb..75aeadf542 100644 --- a/tests/compiler/records/declaration.leo +++ b/tests/compiler/records/declaration.leo @@ -13,6 +13,7 @@ record Token { amount: u64, } +@program function main(a: u8, b:u8) -> u8 { return a + b; } \ No newline at end of file diff --git a/tests/compiler/records/init_expression.leo b/tests/compiler/records/init_expression.leo index d012fb5705..a37bd54b10 100644 --- a/tests/compiler/records/init_expression.leo +++ b/tests/compiler/records/init_expression.leo @@ -12,6 +12,7 @@ record Token { amount: u64, } +@program function mint(r0: address, r1: u64) -> Token { return Token { owner: r0, @@ -20,6 +21,7 @@ function mint(r0: address, r1: u64) -> Token { }; } +@program function main(x: address) -> u64 { const c: u64 = 1u64; let t: Token = Token { owner: x, gates: 0u64, amount: c}; diff --git a/tests/compiler/records/init_expression_shorthand.leo b/tests/compiler/records/init_expression_shorthand.leo index c777ba46e8..17b10c8c2f 100644 --- a/tests/compiler/records/init_expression_shorthand.leo +++ b/tests/compiler/records/init_expression_shorthand.leo @@ -12,6 +12,7 @@ record Token { amount: u64, } +@program function mint(owner: address, amount: u64) -> Token { return Token { owner, @@ -20,6 +21,7 @@ function mint(owner: address, amount: u64) -> Token { }; } +@program function main(x: address) -> u64 { const c: u64 = 1u64; let t: Token = Token { owner: x, gates: 0u64, amount: c}; diff --git a/tests/compiler/scalar/add.leo b/tests/compiler/scalar/add.leo index 2fca0c0f53..7ae98aa88a 100644 --- a/tests/compiler/scalar/add.leo +++ b/tests/compiler/scalar/add.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar, b: scalar, c: scalar) -> bool { return a + b == c; } \ No newline at end of file diff --git a/tests/compiler/scalar/cmp.leo b/tests/compiler/scalar/cmp.leo index 8037b65178..3617385173 100644 --- a/tests/compiler/scalar/cmp.leo +++ b/tests/compiler/scalar/cmp.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar, b: scalar) -> bool { let c: bool = a > b; let d: bool = a < b; diff --git a/tests/compiler/scalar/eq.leo b/tests/compiler/scalar/eq.leo index 5b5ea2d294..b762467696 100644 --- a/tests/compiler/scalar/eq.leo +++ b/tests/compiler/scalar/eq.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar, b: scalar) -> bool { let c: bool = a == b; let d: bool = a != b; diff --git a/tests/compiler/scalar/operator_methods.leo b/tests/compiler/scalar/operator_methods.leo index 08a3884f0c..4283a8e081 100644 --- a/tests/compiler/scalar/operator_methods.leo +++ b/tests/compiler/scalar/operator_methods.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar, b: scalar) -> bool { // binary let j: scalar = a.add(b); diff --git a/tests/compiler/scalar/scalar.leo b/tests/compiler/scalar/scalar.leo index 0c4bd5d386..5e913587d7 100644 --- a/tests/compiler/scalar/scalar.leo +++ b/tests/compiler/scalar/scalar.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar) -> bool { const s: scalar = 1scalar; return s + a == 0scalar; diff --git a/tests/compiler/scalar/ternary.leo b/tests/compiler/scalar/ternary.leo index 91f3c2cf89..19ddb5afa0 100644 --- a/tests/compiler/scalar/ternary.leo +++ b/tests/compiler/scalar/ternary.leo @@ -5,6 +5,7 @@ input_file: - inputs/scalars.in */ +@program function main(a: scalar, b: scalar, c: scalar) -> bool { return b == 1scalar ? a == 1scalar : c == 2scalar; } \ No newline at end of file diff --git a/tests/compiler/statements/assign.leo b/tests/compiler/statements/assign.leo index 17b320deb7..db38c5557f 100644 --- a/tests/compiler/statements/assign.leo +++ b/tests/compiler/statements/assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/flag.in */ +@program function main(flag: u8, value: u8) -> u8 { if (flag == 0u8) { value += 1u8; diff --git a/tests/compiler/statements/block.leo b/tests/compiler/statements/block.leo index b6cf61d421..4a4ed7b8b9 100644 --- a/tests/compiler/statements/block.leo +++ b/tests/compiler/statements/block.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/u32_3.in */ +@program function main(x: u32) -> bool { let y: u32 = x; diff --git a/tests/compiler/statements/chain.leo b/tests/compiler/statements/chain.leo index 8ea3ddaec9..5c30a42ef1 100644 --- a/tests/compiler/statements/chain.leo +++ b/tests/compiler/statements/chain.leo @@ -7,6 +7,7 @@ input_file: - inputs/u32_6.in */ +@program function main(x: u32) -> bool { let c: u32 = 0u32; diff --git a/tests/compiler/statements/iteration_basic.leo b/tests/compiler/statements/iteration_basic.leo index c41d94b946..28fad37e48 100644 --- a/tests/compiler/statements/iteration_basic.leo +++ b/tests/compiler/statements/iteration_basic.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/u32_3.in */ +@program function main(x: u32) -> bool { let y: u32 = x; diff --git a/tests/compiler/statements/iteration_nested.leo b/tests/compiler/statements/iteration_nested.leo index 0491808f9b..305c15aca4 100644 --- a/tests/compiler/statements/iteration_nested.leo +++ b/tests/compiler/statements/iteration_nested.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/u32_3.in */ +@program function main(x: u32) -> u32 { let y: u32 = x; diff --git a/tests/compiler/statements/multiple_returns.leo b/tests/compiler/statements/multiple_returns.leo index 2c6e5b051e..3561b3e47b 100644 --- a/tests/compiler/statements/multiple_returns.leo +++ b/tests/compiler/statements/multiple_returns.leo @@ -6,6 +6,7 @@ input_file: - inputs/u32_5.in */ +@program function main(x: u32) -> bool { if x == 3u32 { return true; diff --git a/tests/compiler/statements/mutate.leo b/tests/compiler/statements/mutate.leo index 5bf49e978e..845279ddb3 100644 --- a/tests/compiler/statements/mutate.leo +++ b/tests/compiler/statements/mutate.leo @@ -6,6 +6,7 @@ input_file: - inputs/u32_5.in */ +@program function main(x: u32) -> bool { let b: u32 = 5u32; diff --git a/tests/compiler/statements/operations/add_assign.leo b/tests/compiler/statements/operations/add_assign.leo index f4d1c98bcc..ea297d2452 100644 --- a/tests/compiler/statements/operations/add_assign.leo +++ b/tests/compiler/statements/operations/add_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b += a; diff --git a/tests/compiler/statements/operations/and_assign.leo b/tests/compiler/statements/operations/and_assign.leo index 23288e21cd..0ce876fc4f 100644 --- a/tests/compiler/statements/operations/and_assign.leo +++ b/tests/compiler/statements/operations/and_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/dummy.in */ +@program function main(k: bool) -> bool { let b: bool = true; b &&= k; diff --git a/tests/compiler/statements/operations/bitand_assign.leo b/tests/compiler/statements/operations/bitand_assign.leo index 968c8e9f79..4df4c0428c 100644 --- a/tests/compiler/statements/operations/bitand_assign.leo +++ b/tests/compiler/statements/operations/bitand_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b &= a; diff --git a/tests/compiler/statements/operations/bitor_assign.leo b/tests/compiler/statements/operations/bitor_assign.leo index 87508a8f59..82984fd41b 100644 --- a/tests/compiler/statements/operations/bitor_assign.leo +++ b/tests/compiler/statements/operations/bitor_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b |= a; diff --git a/tests/compiler/statements/operations/bitxor_assign.leo b/tests/compiler/statements/operations/bitxor_assign.leo index 0d806a2784..7f07bbbebd 100644 --- a/tests/compiler/statements/operations/bitxor_assign.leo +++ b/tests/compiler/statements/operations/bitxor_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b ^= a; diff --git a/tests/compiler/statements/operations/div_assign.leo b/tests/compiler/statements/operations/div_assign.leo index fcde4b01b6..92571ebd7d 100644 --- a/tests/compiler/statements/operations/div_assign.leo +++ b/tests/compiler/statements/operations/div_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b /= a; diff --git a/tests/compiler/statements/operations/mul_assign.leo b/tests/compiler/statements/operations/mul_assign.leo index 19fe52d7dd..124dbeb24a 100644 --- a/tests/compiler/statements/operations/mul_assign.leo +++ b/tests/compiler/statements/operations/mul_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b *= a; diff --git a/tests/compiler/statements/operations/or_assign.leo b/tests/compiler/statements/operations/or_assign.leo index 3c238c7c5b..7077691640 100644 --- a/tests/compiler/statements/operations/or_assign.leo +++ b/tests/compiler/statements/operations/or_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/dummy.in */ +@program function main(k: bool) -> bool { let b: bool = true; b ||= k; diff --git a/tests/compiler/statements/operations/pow_assign.leo b/tests/compiler/statements/operations/pow_assign.leo index 5618c5bede..0ea39ac758 100644 --- a/tests/compiler/statements/operations/pow_assign.leo +++ b/tests/compiler/statements/operations/pow_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b **= a; diff --git a/tests/compiler/statements/operations/rem_assign.leo b/tests/compiler/statements/operations/rem_assign.leo index d31a515f8b..cebefc584f 100644 --- a/tests/compiler/statements/operations/rem_assign.leo +++ b/tests/compiler/statements/operations/rem_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b %= a; diff --git a/tests/compiler/statements/operations/shl_assign.leo b/tests/compiler/statements/operations/shl_assign.leo index 2f0301cc12..a67b96ec74 100644 --- a/tests/compiler/statements/operations/shl_assign.leo +++ b/tests/compiler/statements/operations/shl_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b <<= a; diff --git a/tests/compiler/statements/operations/shr_assign.leo b/tests/compiler/statements/operations/shr_assign.leo index 8a10e5f4c4..8f0879c628 100644 --- a/tests/compiler/statements/operations/shr_assign.leo +++ b/tests/compiler/statements/operations/shr_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b >>= a; diff --git a/tests/compiler/statements/operations/sub_assign.leo b/tests/compiler/statements/operations/sub_assign.leo index 4a3213ab69..05363c28c0 100644 --- a/tests/compiler/statements/operations/sub_assign.leo +++ b/tests/compiler/statements/operations/sub_assign.leo @@ -4,6 +4,7 @@ expectation: Pass input_files: ../inputs/u8.in */ +@program function main(a: u8) -> u8 { let b: u8 = 1u8; b -= a; diff --git a/tests/compiler/statements/ternary_explicit_and_implicit.leo b/tests/compiler/statements/ternary_explicit_and_implicit.leo index fa46446a13..32545af18c 100644 --- a/tests/compiler/statements/ternary_explicit_and_implicit.leo +++ b/tests/compiler/statements/ternary_explicit_and_implicit.leo @@ -4,6 +4,7 @@ expectation: Pass input_file: inputs/ternary_explicit_and_implicit.in */ +@program function main(x: u8, y: bool) -> u8 { return y ? x : 2u8; } diff --git a/tests/compiler/tuple/function_early_return.leo b/tests/compiler/tuple/function_early_return.leo index 5b115d8e51..8915c86668 100644 --- a/tests/compiler/tuple/function_early_return.leo +++ b/tests/compiler/tuple/function_early_return.leo @@ -5,6 +5,7 @@ input_file: - inputs/u8_u8.in */ +@program function main(a: u8, b: u8) -> (u8, u8) { if (a == b) { return (a, b); diff --git a/tests/compiler/tuple/function_return.leo b/tests/compiler/tuple/function_return.leo index 3618450c6a..f996ae80f3 100644 --- a/tests/compiler/tuple/function_return.leo +++ b/tests/compiler/tuple/function_return.leo @@ -5,6 +5,7 @@ input_file: - inputs/u8_u8.in */ +@program function main(a: u8, b: u8) -> (u8, u8) { return (a + b, b + a); } \ No newline at end of file diff --git a/tests/expectations/compiler/address/binary.out b/tests/expectations/compiler/address/binary.out index 2e0f6540ab..f9c5ed47c1 100644 --- a/tests/expectations/compiler/address/binary.out +++ b/tests/expectations/compiler/address/binary.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fe880c907d0257c9fc8314b8b98cabd8a8282b587d2d618408cc3cd8e528fda5 - initial_ast: c177fab4c6cc5eed0d032d8e8cd7524696c9e25b926e1201bf387f1d45eedd77 - unrolled_ast: c177fab4c6cc5eed0d032d8e8cd7524696c9e25b926e1201bf387f1d45eedd77 - ssa_ast: 1ea2097e5df9ce1db67a1b3e7c4f374e48b73e392fbf74f1c688048a89745284 + - initial_input_ast: ef995e1b03c6e17ab0a2f908f4cd7957ea281fdc38834cbaed1dac75086b6eef + initial_ast: e03d13cbc587a6d151c78e5de0671e5c4a210626fa1f4c2a648a78656541795a + unrolled_ast: e03d13cbc587a6d151c78e5de0671e5c4a210626fa1f4c2a648a78656541795a + ssa_ast: 4cce2da78e4b7f3bc1ab0c1594507b793269c28221900f4c8c3bd2ebe3b4c3e9 diff --git a/tests/expectations/compiler/address/branch.out b/tests/expectations/compiler/address/branch.out index 59829b8c97..bb2554693e 100644 --- a/tests/expectations/compiler/address/branch.out +++ b/tests/expectations/compiler/address/branch.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 00f5aba05e4efae5a125eb52f02f16400132085b8a34919d910aa40c6c405a22 - initial_ast: 6bb20402ba03af83e6df6d5f98c7ff2fdde0035089f88f8d07d3c876e42931c8 - unrolled_ast: 6bb20402ba03af83e6df6d5f98c7ff2fdde0035089f88f8d07d3c876e42931c8 - ssa_ast: de4e1d10096599b1ed3ace0c165dac3b76902031430529517b4bf7d362b6ac6d + - initial_input_ast: 8a386677fc570d7f57e8e5259334608ddef2d04d55e1aea9aa591c1d95bc84b7 + initial_ast: 1b6b8afa3080f9aee466769758439b34678b3ee108e76e90820434ec29a46061 + unrolled_ast: 1b6b8afa3080f9aee466769758439b34678b3ee108e76e90820434ec29a46061 + ssa_ast: 1033d3e32ddc1e836c9818a97b96ad806950f630e04cc6999346ce017a3f470b diff --git a/tests/expectations/compiler/address/equal.out b/tests/expectations/compiler/address/equal.out index 417f1aca9c..d77b7060a3 100644 --- a/tests/expectations/compiler/address/equal.out +++ b/tests/expectations/compiler/address/equal.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 03e9df3bd1409f4af9e2a7f55130bc52f27d41f32a624ffa27f0ab114bf6fbf4 - initial_ast: f982c042353b69179f192a11adca20cb7b43121af83a3f2711246f49e639d486 - unrolled_ast: f982c042353b69179f192a11adca20cb7b43121af83a3f2711246f49e639d486 - ssa_ast: d0fdb050ec47260e464f537a550f5d3aef18dc98cd12329054d1e83b280db3a2 + - initial_input_ast: 7223f540c91cd639cc122936a41fc896f821e2d57c9f6f086eb4d555dc9c9217 + initial_ast: 4c089e5cf54b0e179bd9ad45c61b42eaa7e2b3e01731e7687751bc7028f560db + unrolled_ast: 4c089e5cf54b0e179bd9ad45c61b42eaa7e2b3e01731e7687751bc7028f560db + ssa_ast: 44dc04b1e2e31566989e2e486b753e3cb76ffbfaa1cc4cbe0c4bbc8d616596d7 diff --git a/tests/expectations/compiler/address/ternary.out b/tests/expectations/compiler/address/ternary.out index 5caf4294a1..0ecb8cac82 100644 --- a/tests/expectations/compiler/address/ternary.out +++ b/tests/expectations/compiler/address/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ec3cfeb93ea66a530150a5c5e2bd396688b3ef9b9fb0bcb961c62dac4daa064e - - initial_input_ast: cb1d48114c10b2b732ad47a46fc8d05bf7a3e783da89e7f00065244bfc8d15c8 - initial_ast: 34fa13578b50765e2d6e3ccd007bf8d92a036c93269a135001862b00c25191fb - unrolled_ast: 34fa13578b50765e2d6e3ccd007bf8d92a036c93269a135001862b00c25191fb - ssa_ast: fc6836035cde0aa2e602cbbd9c2f624c228d06f33101923f746a8ec7e3c51846 + - initial_input_ast: 5cb9782988c5736339747224b8ed4a38ee869231d131a55515cfa1f98de065cc + - initial_input_ast: 079946da42e7c73ef17f4385e8ca310259a5e0f1e6471abee30b6175f413e480 + initial_ast: c1fae7787725582a0a1023c4d9d8ade74df9c1bf763afd9ae55db25991e40a0d + unrolled_ast: c1fae7787725582a0a1023c4d9d8ade74df9c1bf763afd9ae55db25991e40a0d + ssa_ast: 40cb4f4eddc22bcd08b0069e330a6066cedbe09bbd54da29b974a90b67354207 diff --git a/tests/expectations/compiler/boolean/and.out b/tests/expectations/compiler/boolean/and.out index 43a03779ee..88d7ec55e8 100644 --- a/tests/expectations/compiler/boolean/and.out +++ b/tests/expectations/compiler/boolean/and.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da1d028d28792f9625d528ebee6f3abd09b21a7bfa6bb3be5d8c3ad01d974558 - - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 55d744a3c33451d66b14c795dc447e41de0cf5639b0ebef7b69edf54c5d89093 - unrolled_ast: 55d744a3c33451d66b14c795dc447e41de0cf5639b0ebef7b69edf54c5d89093 - ssa_ast: 8117061d2f75838e1dfbbf7d10804909b9837d2aa8e0c9f9d14313de0cba0617 + - initial_input_ast: d967db9b28561003af3cfc19a9ce782b55cd0bcdb555af6a2158b347a548aaa4 + - initial_input_ast: f049b2866e2ec8e876ccaa3221109137b3d895d7ebfa0917506009861c15c687 + - initial_input_ast: e047d07a8d39dbab50f3b02256ff7a58f9ba2a8b9128ef7f79867add3fd4416e + - initial_input_ast: 5dd6a99b2d55a543947f75934bbbc7f32ab8478a5b1a567e6c917aaa1800d4ec + initial_ast: 1c3fcb6078c9520fdd9fe52380493b58221c539dd0dc3a6433730c8234686c5c + unrolled_ast: 1c3fcb6078c9520fdd9fe52380493b58221c539dd0dc3a6433730c8234686c5c + ssa_ast: 8ece12d9780b15de46b08ac7c8d86445efc220a77afb09749f6c31e66a10089c diff --git a/tests/expectations/compiler/boolean/conditional.out b/tests/expectations/compiler/boolean/conditional.out index 5d3b842a13..1501a173e1 100644 --- a/tests/expectations/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/boolean/conditional.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 194c39c41573171b5ba154f70577279b4c535465fe4475c889ea693a81b316c7 - - initial_input_ast: 9af3ce639269ea18073cb3b1a19520ba98f0484a04b20526584131d18c54712c - - initial_input_ast: 7a1c39dec2388ab801496ceb17ca85665d2f515269929925b7cc9018e14297ea - - initial_input_ast: 650984ca5077d11a815889421656b7735b4c6bd320bdf68b4deb87dfc0f49388 - initial_ast: 83c406dac8e86b59a28af6e4ea4b26682e27d54d2f4388e5a07241b5c65cb3fb - unrolled_ast: 83c406dac8e86b59a28af6e4ea4b26682e27d54d2f4388e5a07241b5c65cb3fb - ssa_ast: dd673871e280755e417c35f866af9fd1922a8439183eeab6ad6c459410266592 + - initial_input_ast: dbab19d861e3e4ff0e42de2d7ad4438f8ebb7d2ec1b93da0fdc2506269ecab7e + - initial_input_ast: 7a6c45e7cac800efe7f8d73af2fb9e926f49c62073a5cb13c463670ca0234ff7 + - initial_input_ast: 0ac5a86e326e8f5f561e1030162ee1a307bdf56425abe3cafe38b8bda4aad86b + - initial_input_ast: 9eebe7b8b91000400e94d9513f5be1c50c51207e0e5105248f68789e74aa82c5 + initial_ast: 7af388b42cd4af92573562d82497a93b086732e0df06c4886737e731c4c31535 + unrolled_ast: 7af388b42cd4af92573562d82497a93b086732e0df06c4886737e731c4c31535 + ssa_ast: 61be8d36c7b3c1a53ed7c58c07aaf518c71978f3b1fca70c785796cc1bb7e3d2 diff --git a/tests/expectations/compiler/boolean/equal.out b/tests/expectations/compiler/boolean/equal.out index 69e21f7558..bc024334cf 100644 --- a/tests/expectations/compiler/boolean/equal.out +++ b/tests/expectations/compiler/boolean/equal.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da1d028d28792f9625d528ebee6f3abd09b21a7bfa6bb3be5d8c3ad01d974558 - - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: cebfbbe734699586c7aecb5658acb031a5575b451bfa73d0705c1760eaff4794 - unrolled_ast: cebfbbe734699586c7aecb5658acb031a5575b451bfa73d0705c1760eaff4794 - ssa_ast: b847375110fedf5b98a23d6802dd09eba61fb1ad267b32ba445324c8fadf1fdc + - initial_input_ast: d967db9b28561003af3cfc19a9ce782b55cd0bcdb555af6a2158b347a548aaa4 + - initial_input_ast: f049b2866e2ec8e876ccaa3221109137b3d895d7ebfa0917506009861c15c687 + - initial_input_ast: e047d07a8d39dbab50f3b02256ff7a58f9ba2a8b9128ef7f79867add3fd4416e + - initial_input_ast: 5dd6a99b2d55a543947f75934bbbc7f32ab8478a5b1a567e6c917aaa1800d4ec + initial_ast: 98128655ad2fedb1ed7ae02e1953ca8f5ba31c7794d629a02da96842a091b478 + unrolled_ast: 98128655ad2fedb1ed7ae02e1953ca8f5ba31c7794d629a02da96842a091b478 + ssa_ast: c0f2326beceb4711b15e78c8ac1ff28f811f33d5722b25331088fdf988ed62a8 diff --git a/tests/expectations/compiler/boolean/not_equal.out b/tests/expectations/compiler/boolean/not_equal.out index 7b75353cda..4b3365f228 100644 --- a/tests/expectations/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/boolean/not_equal.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da1d028d28792f9625d528ebee6f3abd09b21a7bfa6bb3be5d8c3ad01d974558 - - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 799b12d7d00d994098c55ad350d9e6dcecc8ac5c094005a121c5a0b2fd97d14d - unrolled_ast: 799b12d7d00d994098c55ad350d9e6dcecc8ac5c094005a121c5a0b2fd97d14d - ssa_ast: b3c5e38a1b2046646e6c2b70817d0bc3339a7aab9b66774f4f359d68efc98714 + - initial_input_ast: d967db9b28561003af3cfc19a9ce782b55cd0bcdb555af6a2158b347a548aaa4 + - initial_input_ast: f049b2866e2ec8e876ccaa3221109137b3d895d7ebfa0917506009861c15c687 + - initial_input_ast: e047d07a8d39dbab50f3b02256ff7a58f9ba2a8b9128ef7f79867add3fd4416e + - initial_input_ast: 5dd6a99b2d55a543947f75934bbbc7f32ab8478a5b1a567e6c917aaa1800d4ec + initial_ast: 6dc254652dce0273d52940fcf943cfba5612b89762ff24720d0c21175ac7649c + unrolled_ast: 6dc254652dce0273d52940fcf943cfba5612b89762ff24720d0c21175ac7649c + ssa_ast: a70af7fb82926020d9c09b17283b36f796c651953be64c3a70b3284ab181d592 diff --git a/tests/expectations/compiler/boolean/operator_methods.out b/tests/expectations/compiler/boolean/operator_methods.out index ce0c11ed8d..89e1937be3 100644 --- a/tests/expectations/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/boolean/operator_methods.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e0fdf4f304b80e670735af85014968ae21f78d309ab9ad55bdc5e02167dcbb54 - - initial_input_ast: 3254bbbc78ad3eec1c6667ade0b3d3da5ee17c7e569118cc1c771ba607e79ab0 - - initial_input_ast: 19f1be52a19445695f23724e1979b362dd3fcf31aace997c829e2206dc1cccbe - - initial_input_ast: d2fc1992beaf062678bbf6c3e862820dbbea39926589afcdc46c19c8669f0e37 - initial_ast: 183ddb57bc8f209613ad3d93465ec5ca782268d62748ef090312b90c378e50ce - unrolled_ast: 183ddb57bc8f209613ad3d93465ec5ca782268d62748ef090312b90c378e50ce - ssa_ast: 7365bd1f363214b09ade91049f9b0ce8b2a3bc44eb6d7db1809fa203856cb223 + - initial_input_ast: 4b1b1ca67c4f6ec184f38721f631866b3963844ada5d49ec8f6b9c08a1d89abe + - initial_input_ast: 6da90d928d023c26a92106b9ef3bbf3d6e1ee2fcf67b16aa9c8477477cb4b064 + - initial_input_ast: d82ff0fb53ab27ed095ea5bbb4e118fbde50d4508caed65cb8029ad7441ef0fd + - initial_input_ast: 07a295a1403e9020a1fb03ddcaf92b18a3237d1d4ad70b1549db77f1e2d1e6b0 + initial_ast: fc62a609a2356f831632ee3cb4988d5caabd9a1fb94947978a66de3f27dcc79a + unrolled_ast: fc62a609a2356f831632ee3cb4988d5caabd9a1fb94947978a66de3f27dcc79a + ssa_ast: 11d4c55e50e8838e9710a17ef0e0ebdf78a1705b78b09d8e5aff294641c3357b diff --git a/tests/expectations/compiler/boolean/or.out b/tests/expectations/compiler/boolean/or.out index b2bb2642fa..a6e6d494ec 100644 --- a/tests/expectations/compiler/boolean/or.out +++ b/tests/expectations/compiler/boolean/or.out @@ -3,10 +3,10 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da1d028d28792f9625d528ebee6f3abd09b21a7bfa6bb3be5d8c3ad01d974558 - - initial_input_ast: 5f19f0086b0509628dc64db0f69000d599bc761cb8e3125144de44367081126a - - initial_input_ast: 4c5eeffd0306b20c8deece509782b81ea8583245f650e40a4a300d517f6ed5f4 - - initial_input_ast: a56b3f9908dec2acaed302691d4fe0c2cf046f0deb8f188f617e042e75502f71 - initial_ast: 05f3b4b5be5b81f6ba33041f135a04caeea5733c41ed1c8d9890ca2ae9807b80 - unrolled_ast: 05f3b4b5be5b81f6ba33041f135a04caeea5733c41ed1c8d9890ca2ae9807b80 - ssa_ast: 35c12a5a63d8e48e075b65aeab5e63a57da66620c3a3305138bfa1be03b7e9c8 + - initial_input_ast: d967db9b28561003af3cfc19a9ce782b55cd0bcdb555af6a2158b347a548aaa4 + - initial_input_ast: f049b2866e2ec8e876ccaa3221109137b3d895d7ebfa0917506009861c15c687 + - initial_input_ast: e047d07a8d39dbab50f3b02256ff7a58f9ba2a8b9128ef7f79867add3fd4416e + - initial_input_ast: 5dd6a99b2d55a543947f75934bbbc7f32ab8478a5b1a567e6c917aaa1800d4ec + initial_ast: 513061d13b357fe0987d5f659b991937bc694c00b7964580a54fc9e9278799e7 + unrolled_ast: 513061d13b357fe0987d5f659b991937bc694c00b7964580a54fc9e9278799e7 + ssa_ast: 42d9c8d461f1f4f4e086646d13297309cd51990df03948f521a729565d8e92d7 diff --git a/tests/expectations/compiler/circuits/inline.out b/tests/expectations/compiler/circuits/inline.out index 87bbade042..6b4694485f 100644 --- a/tests/expectations/compiler/circuits/inline.out +++ b/tests/expectations/compiler/circuits/inline.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: ab13abfe19f1ce1a3bdc6e632f34bba90b1534dae5b3354d22b0c659ecfa5fde - unrolled_ast: ab13abfe19f1ce1a3bdc6e632f34bba90b1534dae5b3354d22b0c659ecfa5fde - ssa_ast: bcf0aba53fb3470cb415c30095050af3aa73c07d62890364339a7565e6a70f62 + initial_ast: 42b05cc1bf023a01dd8f8e2ae9269ebea9d33d9e33f2817700947882de3a68d6 + unrolled_ast: 42b05cc1bf023a01dd8f8e2ae9269ebea9d33d9e33f2817700947882de3a68d6 + ssa_ast: dac2eb52093dfee38c65602b289cccee18e5e73784968eadb2ba99415121bb29 diff --git a/tests/expectations/compiler/circuits/inline_member_pass.out b/tests/expectations/compiler/circuits/inline_member_pass.out index 64a8608844..6b25e3d89b 100644 --- a/tests/expectations/compiler/circuits/inline_member_pass.out +++ b/tests/expectations/compiler/circuits/inline_member_pass.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372005]: Unknown variable `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372004]: Could not determine the type of `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372003]: Expected type `u8` but type `no type` was found\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^^^^^^^^\n" + - "Error [ETYC0372029]: Helper functions cannot have modes associated with their inputs.\n --> compiler-test:7:21\n |\n 7 | function main(const x: u8, y: bool) -> bool {\n | ^\n |\n = Consider removing the mode or adding a `@program` annotation to the function.\nError [ETYC0372005]: Unknown variable `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372004]: Could not determine the type of `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372003]: Expected type `u8` but type `no type` was found\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^^^^^^^^\n" diff --git a/tests/expectations/compiler/circuits/member_variable.out b/tests/expectations/compiler/circuits/member_variable.out index 8df3c3b6df..94e8a4753c 100644 --- a/tests/expectations/compiler/circuits/member_variable.out +++ b/tests/expectations/compiler/circuits/member_variable.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 29f6139d908d390f890f04d8ee620757d29b7f71cd48c46ff65bc1e70aae840c - initial_ast: d99ea689ff68e085c40b86f1a018b05bf96cdfa82e9828d1df08c3294edc900e - unrolled_ast: d99ea689ff68e085c40b86f1a018b05bf96cdfa82e9828d1df08c3294edc900e - ssa_ast: 757fbd60629fb8af54fb8a6f13fbb942d12d571c71432873471b71ad18cf73de + - initial_input_ast: 3ad7f9e1a4aa5edb8ab4cc1eb0d4baa189f8d388eb90565a269098cee9b06d3c + initial_ast: dbf04a84f2365baaba791dc1e55efdbbaff17159e04506a0cb4678a6ea5e6c5f + unrolled_ast: dbf04a84f2365baaba791dc1e55efdbbaff17159e04506a0cb4678a6ea5e6c5f + ssa_ast: 77c8d4f65f46d58a54696ffc5e6802d9b06e3d031cbabbf7d8cb8e882ed5b460 diff --git a/tests/expectations/compiler/console/assert.out b/tests/expectations/compiler/console/assert.out index 5858ac2f88..6e2ba8379e 100644 --- a/tests/expectations/compiler/console/assert.out +++ b/tests/expectations/compiler/console/assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 15a1f00a6c0ca8141202e45e534b7afd196e9391c184a4efd94f0d0ccf04a59d - initial_ast: 517671a3a7da0848144f535dde8d28aefcabefa62d9938bccac16c786b15c8d2 - unrolled_ast: 517671a3a7da0848144f535dde8d28aefcabefa62d9938bccac16c786b15c8d2 - ssa_ast: feab45bc290d89cd6fd5e55f8fc664ad103d959d5633d82b9a201de962b3d761 + - initial_input_ast: 222defe193f82972f049ae44ae527ea3c1404b7eb75fca2d1eea23b28e792a8d + initial_ast: 6c65fcbd8d4c78b14b44e6c5a8a5aa207ddaaec906b6dbe4f3767bb268fcd244 + unrolled_ast: 6c65fcbd8d4c78b14b44e6c5a8a5aa207ddaaec906b6dbe4f3767bb268fcd244 + ssa_ast: c346c03c0dbd339428c528740ed1e8b9ed8592e9abe59c995c83089fffb9c707 diff --git a/tests/expectations/compiler/console/error.out b/tests/expectations/compiler/console/error.out index 521391c6aa..5dbb182838 100644 --- a/tests/expectations/compiler/console/error.out +++ b/tests/expectations/compiler/console/error.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 14cd2c781b154a9037de84e945cfb348e9c587cef94d3e1f3be83e4306f92a0e - initial_ast: 4c992083d0b9bc51d1600eb3841c838936cf9669cdd46ea65bfb5bd22e07b591 - unrolled_ast: 4c992083d0b9bc51d1600eb3841c838936cf9669cdd46ea65bfb5bd22e07b591 - ssa_ast: 749520edea07cb3037c5861d7d9908ac225f983b9a4b94cebb88b8aab7708fab + - initial_input_ast: 6f105b81caca7b2268ee9ac70dcb674b02e48d8a29b026aa94c2cb12c46789cc + initial_ast: b9f8e6b1ae0f57caff61df33ff2ed4b01a5fc0d63b8b2665fb5b1a51ad328c20 + unrolled_ast: b9f8e6b1ae0f57caff61df33ff2ed4b01a5fc0d63b8b2665fb5b1a51ad328c20 + ssa_ast: 983d1caebcda860345ac4b12fe1d6e3c7b3d05fc0b6d541fd7316e3636ebb6bd diff --git a/tests/expectations/compiler/console/log.out b/tests/expectations/compiler/console/log.out index b467926fe8..35f271dd93 100644 --- a/tests/expectations/compiler/console/log.out +++ b/tests/expectations/compiler/console/log.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fd19d82c3aba921f01b37174e3eb7fb603438506fe511657e21235b9fb3647d2 - initial_ast: 7c157486b4b4de54001520eaad505a8a4d7d33bd43cfc239fc6136df2e11db6e - unrolled_ast: 7c157486b4b4de54001520eaad505a8a4d7d33bd43cfc239fc6136df2e11db6e - ssa_ast: 797dcdbac6946e9301be381fddc8286c85499f094ecd1372163d9148afdfbc1e + - initial_input_ast: 8d27a137e4677982055885ce77e8982228972abc6ed4ca1638d04c3183d19e07 + initial_ast: 0794be1b37a9427e23aa22110bbaa681591db003a82261c5e061627b67325093 + unrolled_ast: 0794be1b37a9427e23aa22110bbaa681591db003a82261c5e061627b67325093 + ssa_ast: 2d6e62b737f02e4808e29141d7e530e7114458e4c102a35fe6e4b2602e24391c diff --git a/tests/expectations/compiler/console/log_conditional.out b/tests/expectations/compiler/console/log_conditional.out index 256e772b03..b8cd5f0414 100644 --- a/tests/expectations/compiler/console/log_conditional.out +++ b/tests/expectations/compiler/console/log_conditional.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 12a0efa27e9b65c045088e471e6c254bb71c60cca4eb369f41e83a29301130cf - - initial_input_ast: 5622eb396c2aea656e3bfa6b1ad0d39fce6bc221978a13c9be4d750da46cfc48 - initial_ast: bed59c01a4008b6d778a8d0712db49e6649249d3e56f23705689ed477e70b188 - unrolled_ast: bed59c01a4008b6d778a8d0712db49e6649249d3e56f23705689ed477e70b188 - ssa_ast: f5f867377910a23fed284dba2bf311f2c1deb060bcc60d35d0187cd413bc4800 + - initial_input_ast: b87ab1284b31d3833752609e052fca4ab8897966498304a704da44c2e2e40646 + - initial_input_ast: 518590e47d3c1eefd56a4b20dee801e1149974bbec280afed58a8c1960b74485 + initial_ast: 5a8395f339c4e2c3614c478fb3bd1841f4fb711aa60c39b94c6576c2788a7354 + unrolled_ast: 5a8395f339c4e2c3614c478fb3bd1841f4fb711aa60c39b94c6576c2788a7354 + ssa_ast: 8419ecf2a7b726168125ef25694c4a6ebd0d6a2571d76e86f1f47ac9ad43ebfb diff --git a/tests/expectations/compiler/console/log_input.out b/tests/expectations/compiler/console/log_input.out index 250c18da6f..ee04578ef1 100644 --- a/tests/expectations/compiler/console/log_input.out +++ b/tests/expectations/compiler/console/log_input.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0961f603812e241567b6e3ef5adb458309f1829eb2c08a216efccb17bea89faf - initial_ast: 3b65cb5a74cdc704921cc74196298d9eeb4c6aad4e583bf68cf97967fdb10c8d - unrolled_ast: 3b65cb5a74cdc704921cc74196298d9eeb4c6aad4e583bf68cf97967fdb10c8d - ssa_ast: 717cd479d5630d957517d0dea7e6ef3b0982e6cb4c2a8829074de21ea03050e8 + - initial_input_ast: fea9fe8b6d89ea2018cac145aeebb2240a195f9cf3586ee60558e81791e9ebd0 + initial_ast: c622fa0ba9993d1fd88da65aae2d2c6ec68f529a136dafc989a1da601e994a18 + unrolled_ast: c622fa0ba9993d1fd88da65aae2d2c6ec68f529a136dafc989a1da601e994a18 + ssa_ast: 397549a02a9188bbcd5f1e24036260a7bfeb4b19ed409d6d6f37ada4f8b7498a diff --git a/tests/expectations/compiler/console/log_parameter.out b/tests/expectations/compiler/console/log_parameter.out index 1c38607aa4..a136d7bbb6 100644 --- a/tests/expectations/compiler/console/log_parameter.out +++ b/tests/expectations/compiler/console/log_parameter.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f18a0e019ca4719c4c4ef5b7313f562c3bc9581819d161d84566e706f3765249 - initial_ast: 0948ec0eab95b6e7505d1dc57171d331d4761a5862aba39a824d8eae4fc7ca0f - unrolled_ast: 0948ec0eab95b6e7505d1dc57171d331d4761a5862aba39a824d8eae4fc7ca0f - ssa_ast: 5d84cca4d129a1fd3d583a03df259c9dcec452ab7e29cdf124dc939330f5124c + - initial_input_ast: 987814f874125b118371952a4d882da2c78ee2c441d8fb228372ec0c8f2c5aad + initial_ast: ee164e9e7399f1f2de3d10d04648c33c5ed334bdd80b60e71bff4598614434f4 + unrolled_ast: ee164e9e7399f1f2de3d10d04648c33c5ed334bdd80b60e71bff4598614434f4 + ssa_ast: a711efa647428b754f482a984895680893bc65b3e22ef55b7feb7033bcab2edf diff --git a/tests/expectations/compiler/console/log_parameter_many.out b/tests/expectations/compiler/console/log_parameter_many.out index 238256476c..15c1a9e68c 100644 --- a/tests/expectations/compiler/console/log_parameter_many.out +++ b/tests/expectations/compiler/console/log_parameter_many.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 16910a94cf1f803ae6425ae6bee9422b01651c2c243b5e46807dc3191d169e64 - initial_ast: 67374111d3b6104af14a6a9246b1c5151171512d98c904e62183d29ed0b1e62f - unrolled_ast: 67374111d3b6104af14a6a9246b1c5151171512d98c904e62183d29ed0b1e62f - ssa_ast: effef85d7dc6dcc0c066d438b0dc764d57631503ec1fbd7c2d89ddacc8b0dfc8 + - initial_input_ast: 7f94df9586954921fa1d2a86514669de35d102d4544fde34645d042810684363 + initial_ast: 6ad2d0250ad3b4f09759024662225ef696a11dc28106c947b009073d23458800 + unrolled_ast: 6ad2d0250ad3b4f09759024662225ef696a11dc28106c947b009073d23458800 + ssa_ast: 6f67d640a8558cf6edd31bfbf722d7e3a83515b79c0aa2fd5ff64e2e39fdea6f diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out index bd7b1a9d99..d898796e39 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 27bbdd2fe5dc1a75a4bd2aa543e12b7c284ab950028657fc0087dfef631664b9 - initial_ast: 679d4f1ad4a54d3821e5f85c64e5e253dbf8ee07aaac7fc7ec2e086f2cbaa909 - unrolled_ast: 679d4f1ad4a54d3821e5f85c64e5e253dbf8ee07aaac7fc7ec2e086f2cbaa909 - ssa_ast: 5ba5550701329074057e2ef24588ac5668d00bda02918d2527670f6091fd3cab + - initial_input_ast: 43992721d507407a33d10f3afff1a090bb2ec0471e95e575f24cefc1fc7bf2ff + initial_ast: cd6f620d1b50c366e79eaa9b4a80bd9ce6060239cb2ae5c2eb241b8206e52f01 + unrolled_ast: cd6f620d1b50c366e79eaa9b4a80bd9ce6060239cb2ae5c2eb241b8206e52f01 + ssa_ast: adc36eeb066e9f93098d6f7a46a0a7746d927e4b53df15b76326d1e027a365d8 diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out index 67c4a043a1..5aef087977 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4a84cbe8cc7ea360153e9da6f2d475dcbb4921c329fe8dd3b4cdca617b6d38a6 - initial_ast: 8a961f82417010275495fdcc212292b809a71969396604e49e745fef94b3086f - unrolled_ast: 8a961f82417010275495fdcc212292b809a71969396604e49e745fef94b3086f - ssa_ast: 15cc357feafaae26a7547cbec9e9c9d2377f12c9551b591736f6759dd6959b7f + - initial_input_ast: 4e49ec4d638b46ab5f86cdc3a490f0a9074ed71065bfe39e4c3400fa7e7d729b + initial_ast: af858f851dfec04c4d206755aa91b0ab701a13cbffa77a88c93a7a6a4483ebf3 + unrolled_ast: af858f851dfec04c4d206755aa91b0ab701a13cbffa77a88c93a7a6a4483ebf3 + ssa_ast: bcd928bfa64b5df16d952fe857584ca05c9da3cbb598d0252ef312e35f2b6e1e diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit.out b/tests/expectations/compiler/core/algorithms/bhp256_commit.out index 21a972471f..2020c1189b 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 71055ce4ed5911b2afac14a8719573d4ffb9a72959e060f284122350dbda53df - initial_ast: 46df628c79eeda6fe31fdee9cd1dccb921b45efc9bc203d5d9ce6bda069f6be2 - unrolled_ast: 46df628c79eeda6fe31fdee9cd1dccb921b45efc9bc203d5d9ce6bda069f6be2 - ssa_ast: 5c3fdffe0e202ca049219b7f2612b60c55ab81c380429f74a9b78b605e54455d + - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 + initial_ast: 0f356614fca7d35440b1c677d973a166009b0b2e8c09ec6445f542dd5baaddd9 + unrolled_ast: 0f356614fca7d35440b1c677d973a166009b0b2e8c09ec6445f542dd5baaddd9 + ssa_ast: fa2ff20c3103ea3ee5af433e82764c54b38a4eaf87f978c19fba55a519559715 diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash.out b/tests/expectations/compiler/core/algorithms/bhp256_hash.out index e660a87451..3643fc8da6 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5fa4b39f9cd209357769110ef49f609e2acce0c38f9def3f2ed7fcb4ce1b2240 - initial_ast: 78c14952814d10190e26fa2fa4470e6af854fd6cff96e8c3c768662daa2aa005 - unrolled_ast: 78c14952814d10190e26fa2fa4470e6af854fd6cff96e8c3c768662daa2aa005 - ssa_ast: 1ce4297804a3875018e7222bac16911edc1911d001428f462c871f48f717575a + - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b + initial_ast: d62b24b6e20445b7a669320bc023d2f8f74ae3dfeaf4cba935760e11b5b98ff1 + unrolled_ast: d62b24b6e20445b7a669320bc023d2f8f74ae3dfeaf4cba935760e11b5b98ff1 + ssa_ast: 30f29dd214135e6a1c31c6b89b359e865549075bb3653a35ab7cac1e74eb33f0 diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit.out b/tests/expectations/compiler/core/algorithms/bhp512_commit.out index 96547a9f33..7eab8ffc5a 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 71055ce4ed5911b2afac14a8719573d4ffb9a72959e060f284122350dbda53df - initial_ast: 505d1cdcee0dac47f49fea5f7af40c20a2262677aa7d8caf3b7051f4b5c70a6e - unrolled_ast: 505d1cdcee0dac47f49fea5f7af40c20a2262677aa7d8caf3b7051f4b5c70a6e - ssa_ast: 7e06adbb4bd30e0d709795ee30e462310ccc512b025d8867f5a8bbb3ab7f5b3d + - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 + initial_ast: 2bd84fb0d42145c35bd237786c3bc551047c7e07d93007adc5c660c3cc81e00b + unrolled_ast: 2bd84fb0d42145c35bd237786c3bc551047c7e07d93007adc5c660c3cc81e00b + ssa_ast: b4b4c3bf9df004da6fc410bd547b38c78593845bfecab82e46ba804d769ea6c6 diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash.out b/tests/expectations/compiler/core/algorithms/bhp512_hash.out index 2129aac53b..a461a0e368 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5fa4b39f9cd209357769110ef49f609e2acce0c38f9def3f2ed7fcb4ce1b2240 - initial_ast: 0f72dc8f0fe5a8bf44067f5928a1835d0fc58551cda0280400060ff3519e02e2 - unrolled_ast: 0f72dc8f0fe5a8bf44067f5928a1835d0fc58551cda0280400060ff3519e02e2 - ssa_ast: 382303be365d69fbe73f2918d368ed763bc5bd8ebdc22dfa2d8f30eeed738ad2 + - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b + initial_ast: ebf8a008fb067b77d7483defca92ecfddd245f73f62470d99b06c4f82c7ef4fd + unrolled_ast: ebf8a008fb067b77d7483defca92ecfddd245f73f62470d99b06c4f82c7ef4fd + ssa_ast: ab0ce952330504480743ae648e1f75265cc590735a6305cadeb9e87e891328f1 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit.out b/tests/expectations/compiler/core/algorithms/bhp768_commit.out index 22964ff3b9..77e9a84285 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 71055ce4ed5911b2afac14a8719573d4ffb9a72959e060f284122350dbda53df - initial_ast: 1697ade1991b3fe9489d04a4b1c9d2f85defceea27455664a8dd6aad9d67c363 - unrolled_ast: 1697ade1991b3fe9489d04a4b1c9d2f85defceea27455664a8dd6aad9d67c363 - ssa_ast: 5f0f83d62754615cce3d0a47bff7c631304afbfec1d9a8f8197d32f946684f4a + - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 + initial_ast: c6609dd05a455d442e77e74d9674fe0b78f058ea7d39bd613cd0a3ed1fa8b737 + unrolled_ast: c6609dd05a455d442e77e74d9674fe0b78f058ea7d39bd613cd0a3ed1fa8b737 + ssa_ast: 07a8ef2b38088733016dfad26fbe7dde7db59b0c705595ff3f317aa65342c2e3 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash.out b/tests/expectations/compiler/core/algorithms/bhp768_hash.out index 7527fc604f..7344770505 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5fa4b39f9cd209357769110ef49f609e2acce0c38f9def3f2ed7fcb4ce1b2240 - initial_ast: af795006736c973728c5d91f2ce6a4771dca2b71249e7d2c7d189326918a168f - unrolled_ast: af795006736c973728c5d91f2ce6a4771dca2b71249e7d2c7d189326918a168f - ssa_ast: 956cdd4463b5edb22ea3d6446de0dddd0d33da0f2cde6d7319f8ade2ad96d22a + - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b + initial_ast: 253c0b07c4c4dbe54760158ff1d49636694e544805c492182bdea4868c8fbc10 + unrolled_ast: 253c0b07c4c4dbe54760158ff1d49636694e544805c492182bdea4868c8fbc10 + ssa_ast: 7c0c4ee59f073c6a8cd66ff1c169c28afa55d8b12dbd3f200f4db7235766a5f8 diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out index c7bfe1fa3b..4f80fbf147 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 356dd963e90ec1d3b56f169372c9e9bb2b70d053df96359cfd150679919c758a - initial_ast: 96d1ffc3060c89b3441c0fc5bc8e8b7d9a6982117c6634b0c7c26b1fe0be587a - unrolled_ast: 96d1ffc3060c89b3441c0fc5bc8e8b7d9a6982117c6634b0c7c26b1fe0be587a - ssa_ast: c984983d740e24b368b948729565b34b65d8449b7901a937cf52585e747edd15 + - initial_input_ast: 2b3b80f8bbbc37a19b90063fc5aef3ede42acae5cd7c283e112de1f9379cb3ff + initial_ast: 205bd154440ab96e5dece07a2502163fa5af0c71fdd77de5a63701c5f1253321 + unrolled_ast: 205bd154440ab96e5dece07a2502163fa5af0c71fdd77de5a63701c5f1253321 + ssa_ast: ab7e3c6d95dec88c9c98dc3632dee793473b45bbc3c6983385ff6507545f4051 diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out index 66c4269959..90fd527c57 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5395306a6ab6901b3c5df094b3b49dbe5f29fb5886c5f0718097fbe5acd7602e - initial_ast: cf4a7dbbf0e7f4d0518c62104d6e89f4eff178bab8df5417286d9214a2704401 - unrolled_ast: cf4a7dbbf0e7f4d0518c62104d6e89f4eff178bab8df5417286d9214a2704401 - ssa_ast: 95e6f5e6989cf0e2dd835600934268b2da2c8e3fc37ab993695100c0f5e791fa + - initial_input_ast: f037dfade413579955a2e52e6e96b71427af03d7defe97d47df88b0c73ca3690 + initial_ast: ca217c6f3aea50ceb8950ca5800e024aed65541460d32e4525b786297a35badf + unrolled_ast: ca217c6f3aea50ceb8950ca5800e024aed65541460d32e4525b786297a35badf + ssa_ast: ab62f40e95b4688b42c64827d93fd2042a51a1eca42e60043aee68ce450b7d28 diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out index cb3a799da0..7b4618d24e 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 67384917f58c90880ca198b9a636e84c55d97b1068a3c88c1c4734577c798577 - initial_ast: 58d78478c0f85a019221ebdc21e79083d80f70774210934a18eee5fce7d588d1 - unrolled_ast: 58d78478c0f85a019221ebdc21e79083d80f70774210934a18eee5fce7d588d1 - ssa_ast: c98816ddd10d1af3bdfe773da44462fda38bc6d54657cfbcb0e86f490ad1948e + - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 + initial_ast: 1861d68bda8e64e4407e6da2418d6133bd032cbe454b400403ac1541ef5a38b2 + unrolled_ast: 1861d68bda8e64e4407e6da2418d6133bd032cbe454b400403ac1541ef5a38b2 + ssa_ast: cebf47e8504b465efe0955fc9f13c0f491c4b9356e3ab4eab01bd19ea1bce4f0 diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out index 182a0642fa..e465b52589 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 67384917f58c90880ca198b9a636e84c55d97b1068a3c88c1c4734577c798577 - initial_ast: 086408c110059f1af409ca0dfbfadf85b8c3ed55f28bc76e133bc57cf832ed21 - unrolled_ast: 086408c110059f1af409ca0dfbfadf85b8c3ed55f28bc76e133bc57cf832ed21 - ssa_ast: e1284d2961d96feea0df93f8949750579ac663363bb8192a2e182e68f176fed2 + - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 + initial_ast: 6dbc7a6ea98ab36210dbe32f1d1e1634491d9c04ac5865ac1e3f486447f5f329 + unrolled_ast: 6dbc7a6ea98ab36210dbe32f1d1e1634491d9c04ac5865ac1e3f486447f5f329 + ssa_ast: 3a75ccf6bf75807625b109b6d355c1e174e535423fc459a1f3e40c4a21bac69c diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out index 06daa9875b..fad3f76dac 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 67384917f58c90880ca198b9a636e84c55d97b1068a3c88c1c4734577c798577 - initial_ast: 632a5144ec2fe401dc832a98bb6c8244272fd08799af229fc6fea179a8788ca3 - unrolled_ast: 632a5144ec2fe401dc832a98bb6c8244272fd08799af229fc6fea179a8788ca3 - ssa_ast: 2b33dfc6357c5cc7d130819e8a2cb4fe21aa3c798dcdd221ca100155ebbf78ee + - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 + initial_ast: 1ad15ca1e28d97305f3c1bdf0ee7fdd32ab3623b08c4934545adeb56463fd0ef + unrolled_ast: 1ad15ca1e28d97305f3c1bdf0ee7fdd32ab3623b08c4934545adeb56463fd0ef + ssa_ast: e45655b1366216d7e988246ff7ba08f937754f074b491d91cc5d81be5708f084 diff --git a/tests/expectations/compiler/definition/out_of_order.out b/tests/expectations/compiler/definition/out_of_order.out index a6fdc3765e..ab1f705e24 100644 --- a/tests/expectations/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/definition/out_of_order.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b649852fa2fd7eda05bd0ba261f01dcee93b6b825d5d30fddb8dd5c5710081ca - initial_ast: 840776885448094e9749c6b182ea5c1c37012df4d16366b69d703f742f8c1d70 - unrolled_ast: 840776885448094e9749c6b182ea5c1c37012df4d16366b69d703f742f8c1d70 - ssa_ast: 204d0707bc9e74cc24faf261b3eaa91534d0af153eaadc16835b224f02ee871a + - initial_input_ast: 19bd7efeaa5dee077b8d47a087ceadc2ba287507268fd8586f4e6f5881b71c39 + initial_ast: 2f3581ee4811bb5cbda8cc578b7c5c4078f55c384207918670784a2cba4082bb + unrolled_ast: 2f3581ee4811bb5cbda8cc578b7c5c4078f55c384207918670784a2cba4082bb + ssa_ast: da7a5f32f96766eaac5f0ac3cca79ea217219b0d3ae238544b12a01f9d509e8f diff --git a/tests/expectations/compiler/field/add.out b/tests/expectations/compiler/field/add.out index f16e3beb61..b52dc098c3 100644 --- a/tests/expectations/compiler/field/add.out +++ b/tests/expectations/compiler/field/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: a642bb5c7cfb36da9119944a050704e70165ace5a19bff542fe99746c4661caa - unrolled_ast: a642bb5c7cfb36da9119944a050704e70165ace5a19bff542fe99746c4661caa - ssa_ast: 975b0723b88bd5e938f68d4d317b5571b837b1207c880b43d1a991defac2f69c + - initial_input_ast: 38e152ef2d3449f93d8c1858a916854228a76dd18885b01cb4a88c14d84308bf + initial_ast: 08ebac9a3e55f5e77b80fc37063e4514431c9cd2d918df782313c7043c3492ca + unrolled_ast: 08ebac9a3e55f5e77b80fc37063e4514431c9cd2d918df782313c7043c3492ca + ssa_ast: a1728bef2a4caf844e734b82469b3366a145ebd7ef6996464da3ef6688738c47 diff --git a/tests/expectations/compiler/field/div.out b/tests/expectations/compiler/field/div.out index 8540e299e9..ef13748a62 100644 --- a/tests/expectations/compiler/field/div.out +++ b/tests/expectations/compiler/field/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: a8b947e11bb42d6cec1f00bc4fdeb9a56f0706366b4a01d41939628d5516e29c - unrolled_ast: a8b947e11bb42d6cec1f00bc4fdeb9a56f0706366b4a01d41939628d5516e29c - ssa_ast: 2e8b453f4f414d89d0d535365e0185eaaef44400141c908aa182b01142f57ee0 + - initial_input_ast: 413788ce5f6dc8aa19af5360bedfca93c33a2a6464ede476e59b75e84a8a4e4a + initial_ast: 0c7ff18ffe67ea826f9ef9f2fcda9fdcca9719033246fc35fea68d6f87605798 + unrolled_ast: 0c7ff18ffe67ea826f9ef9f2fcda9fdcca9719033246fc35fea68d6f87605798 + ssa_ast: 3d5c3c986640faf19f16292ce3a080186c4e2b704ed8a232af1da0aaea2af134 diff --git a/tests/expectations/compiler/field/eq.out b/tests/expectations/compiler/field/eq.out index e782fc1c68..b0f5580c6e 100644 --- a/tests/expectations/compiler/field/eq.out +++ b/tests/expectations/compiler/field/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: eeba130bda3ee24f2a4bf92f67fb555ab849173910a647096e28729c2ebd71c2 - initial_ast: 85979e9e3e049b13ee7c03e9d7b109427bb5fdf6a5e333dba3f755de817b13f0 - unrolled_ast: 85979e9e3e049b13ee7c03e9d7b109427bb5fdf6a5e333dba3f755de817b13f0 - ssa_ast: 1a99130f0effdde381a7c9607705c36758cc996c4a747c5654dee8fe352f94b5 + - initial_input_ast: d88a843c0a3851c805f7eeae282a16b12eba4febde134aa0ea86415f6561565d + initial_ast: 7ae81e6926a2222f109277b34782741032028e4f2c76a1b25234b569b7e697ee + unrolled_ast: 7ae81e6926a2222f109277b34782741032028e4f2c76a1b25234b569b7e697ee + ssa_ast: f7c1b508398959342d15bb2148ca4f4dc1514d42ac8fae7add5b30532825218e diff --git a/tests/expectations/compiler/field/field.out b/tests/expectations/compiler/field/field.out index 58b54c411b..0068510cbb 100644 --- a/tests/expectations/compiler/field/field.out +++ b/tests/expectations/compiler/field/field.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3a510480221eb323713b4b10cc374ba357f130e8ac2b07bf1c69ad5d8c936f12 - initial_ast: 1bc7e68d6898615de5f7142601fd40112a8604fc4f5bcab01ec058a6763bd9c3 - unrolled_ast: 1bc7e68d6898615de5f7142601fd40112a8604fc4f5bcab01ec058a6763bd9c3 - ssa_ast: e4a73494ad187a3cf5080a2299d128d171e82749f119a4c38fa92b552ddef01a + - initial_input_ast: 1bd243c2ca8a51ee50f45823a283d506ee506e168e5332af8c271ef6b52468a4 + initial_ast: 8f3291c9f247ef9d6d7a216facefa57f7656f81c66dd54ca5596ca4c2b790c3f + unrolled_ast: 8f3291c9f247ef9d6d7a216facefa57f7656f81c66dd54ca5596ca4c2b790c3f + ssa_ast: 5c6c001e4d5e121e95a9604b7b5c8530035534df02b02e4a7b2327c936241135 diff --git a/tests/expectations/compiler/field/mul.out b/tests/expectations/compiler/field/mul.out index d26c1e0d89..a98eda952a 100644 --- a/tests/expectations/compiler/field/mul.out +++ b/tests/expectations/compiler/field/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3f35e74d282a1e5281e7f283d1e572a3dc75dea1a5ef1a0f8c7f46412ef946a7 - initial_ast: 7305c64e6febf09dee173facbadaf96a5eeaa441cc52c2218efb62d97884481c - unrolled_ast: 7305c64e6febf09dee173facbadaf96a5eeaa441cc52c2218efb62d97884481c - ssa_ast: 6c4c5644493c3ba29ce3a29e88ca9368bd735a57d21d424db59791a6c30327e3 + - initial_input_ast: 38e152ef2d3449f93d8c1858a916854228a76dd18885b01cb4a88c14d84308bf + initial_ast: 6ee4b9d785eb34b768ba45a04f684af782ed5b605016b89a12f9bf188673f4ff + unrolled_ast: 6ee4b9d785eb34b768ba45a04f684af782ed5b605016b89a12f9bf188673f4ff + ssa_ast: d13dc00d33a6c0b146304b316b9fb168e5a54e5442f71eba73a15f6fdd86296d diff --git a/tests/expectations/compiler/field/negate.out b/tests/expectations/compiler/field/negate.out index 7d416617ae..218dcd9ca9 100644 --- a/tests/expectations/compiler/field/negate.out +++ b/tests/expectations/compiler/field/negate.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9206742d7f18345efbd4d9077cd1aca0855d43a2436be0697ec22954650e3737 - initial_ast: 075cd5aba0c52ac0a30ad4f593e2dfbb573655e59f3d8bc858d7aa459585700d - unrolled_ast: 075cd5aba0c52ac0a30ad4f593e2dfbb573655e59f3d8bc858d7aa459585700d - ssa_ast: cefda8da4dbfbbb2bd9a62d2c61a4d1847233e2f01e4043d0f8f5bb426d795c5 + - initial_input_ast: c0c942faa92a5c747fab2d776e6dd0067de317c69003493147610a09878843c4 + initial_ast: 33886bb538bbb11ba9c71a7278f4f5149ec62aeee1518a6f6a833083394462ba + unrolled_ast: 33886bb538bbb11ba9c71a7278f4f5149ec62aeee1518a6f6a833083394462ba + ssa_ast: 57b456740ee1aa807974ed2ba97338dd973e02ed4c392c49f0156a3acd06d7e9 diff --git a/tests/expectations/compiler/field/operator_methods.out b/tests/expectations/compiler/field/operator_methods.out index f7adb4f9fd..a6cf6fb9cb 100644 --- a/tests/expectations/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/field/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 047866515f4dc74cd9966242734984b53e72f87afc21f7171b118e6defa1f166 - initial_ast: d1abbcdea418813712a552d60cfe56bfcdfa25ec3e8d20579e3ccfb190d69090 - unrolled_ast: d1abbcdea418813712a552d60cfe56bfcdfa25ec3e8d20579e3ccfb190d69090 - ssa_ast: d7eaf9fd189122643662c5bfbb8f987b00c49fec9c1ee89259acb54b89ba3160 + - initial_input_ast: ea8e9817122af3fa825b175438a1af4943d31c5c893a3af31b96964f80ec5850 + initial_ast: 94ddaffb90130b95f8b0657c2453564172fcdd78e5a4857bbf443ad01edfcc82 + unrolled_ast: 94ddaffb90130b95f8b0657c2453564172fcdd78e5a4857bbf443ad01edfcc82 + ssa_ast: 6ba671bd7c56772b4188aa649be9d73f622135f19b6c90226f4adee9dc2783a6 diff --git a/tests/expectations/compiler/field/pow.out b/tests/expectations/compiler/field/pow.out index f8dcafe55b..b67f1a2c03 100644 --- a/tests/expectations/compiler/field/pow.out +++ b/tests/expectations/compiler/field/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5e0a61d909d2e94dfbc95775e4c5c356adb61375ceef2d583a5ab927b3b6342e - initial_ast: 6e70939b64b3db3b19754ab75adc3854eccef6a0e0d17923993c5bad0712d6db - unrolled_ast: 6e70939b64b3db3b19754ab75adc3854eccef6a0e0d17923993c5bad0712d6db - ssa_ast: 65b2824641eadc4aef8c28ea36dda969fab4ecbd9093e9c76fe43ed0ed5e399f + - initial_input_ast: 30267abd65849fc218532e602d0e60eefb1dd235972106400258e3d9e54c2c10 + initial_ast: 22a2f4609c5fa53703714db784cf6028eb8a197e2ee9ccfaf5cf21de45bc64c8 + unrolled_ast: 22a2f4609c5fa53703714db784cf6028eb8a197e2ee9ccfaf5cf21de45bc64c8 + ssa_ast: a35c482fca577563f7cfc5f55c81e0262b4ec83384f555b624f50ff31ddb0967 diff --git a/tests/expectations/compiler/field/sub.out b/tests/expectations/compiler/field/sub.out index debf17dde3..315de0c2c7 100644 --- a/tests/expectations/compiler/field/sub.out +++ b/tests/expectations/compiler/field/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4e3882d83c8044e40258f8414966b09c715b00e08bc3383030cecf2c4a825c60 - initial_ast: b683bf0a120ac9d6ca333a9f5eba572be5c76d8e50df43496f3a95cf4684ad37 - unrolled_ast: b683bf0a120ac9d6ca333a9f5eba572be5c76d8e50df43496f3a95cf4684ad37 - ssa_ast: 9397ca0803ce8b1812a7614a291154baceaf59d1966b7b384ac7a0db26da550e + - initial_input_ast: 413788ce5f6dc8aa19af5360bedfca93c33a2a6464ede476e59b75e84a8a4e4a + initial_ast: c68c3b634d8714b92ecce9015926d4fb431a8ed7cf314286944cb22ae6ac298f + unrolled_ast: c68c3b634d8714b92ecce9015926d4fb431a8ed7cf314286944cb22ae6ac298f + ssa_ast: 98d2ab9d293e1fcf3d791caedefa90491e7d17c14d136984dd1cd36d8e0f00e7 diff --git a/tests/expectations/compiler/field/ternary.out b/tests/expectations/compiler/field/ternary.out index 966f538f8c..be222d6dea 100644 --- a/tests/expectations/compiler/field/ternary.out +++ b/tests/expectations/compiler/field/ternary.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e19dcac0064fed4ec8293b9b40ec70cb94b5fdb05f1081fc29f46a023bf79b09 - initial_ast: 90e4661bfe4be03914931788bdaa89b6057d0299019cf4d72c8f59ba80872201 - unrolled_ast: 90e4661bfe4be03914931788bdaa89b6057d0299019cf4d72c8f59ba80872201 - ssa_ast: 77d44c77d247acf95b284cee5a378a7207fc7f96e1bd23918f97eab1553a43e2 + - initial_input_ast: e0d887adc24d86b1ddd1b6b7fee99e39c4def4850dc6afa7765a2d45089d39cd + initial_ast: c543841cf916cfe8ba46b457e5ad21c7ee05199843b98ababfc98348d9b6e025 + unrolled_ast: c543841cf916cfe8ba46b457e5ad21c7ee05199843b98ababfc98348d9b6e025 + ssa_ast: cc704b702da74a91be3acae518beb7721da72d01adfdd74625e466ddd228de5e diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index 3ed267e322..f776408d3d 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ae0703890dbea144e675f85228e958d6903df0d1ebd88f16a531624270205cc2 - initial_ast: 3dac7cf725df154640f7ea5979ac102b14916dc88215a69f555752f1e8051eec - unrolled_ast: 3dac7cf725df154640f7ea5979ac102b14916dc88215a69f555752f1e8051eec - ssa_ast: b92c41b537132f3b09078850939b343fb275836ce8f4890b74f3a4390b9a6c41 + - initial_input_ast: fd4851f6581155b1e1f63488d141006413b52e2df042673193e838813134c8f8 + initial_ast: 3b2b884072048267d8433cb3d0d720823fe591c776066d13b4f433468808eef1 + unrolled_ast: 3b2b884072048267d8433cb3d0d720823fe591c776066d13b4f433468808eef1 + ssa_ast: 162f47220db7211933cea796a0161f7805bd01829d3050da42ccd3cfc3dfccfe diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out new file mode 100644 index 0000000000..96b8f021f8 --- /dev/null +++ b/tests/expectations/compiler/function/function_call.out @@ -0,0 +1,9 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - output: + - initial_input_ast: 7771059685b08997e10c889f701cab07503de86515a498e7e3b332eb0499bd80 + initial_ast: e4d2863962de0163515a775493ed831b2f06bb58bdbb7906de9e9a9f3c08db7c + unrolled_ast: e4d2863962de0163515a775493ed831b2f06bb58bdbb7906de9e9a9f3c08db7c + ssa_ast: 01a32cc3f75c557bed46fd3634337ed890a2e32bdc2ea24bbbdb2d3cae3bc5cf diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 6822fa14c7..5ce910ad23 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b5deb6fe058cfd48245b762ae48484205ae3912fd912d877315b93700d6278a8 - initial_ast: 82fb59b4d1b0f14e58551155fe37565c9ea89d1a4a368b6018f235ec47420039 - unrolled_ast: 82fb59b4d1b0f14e58551155fe37565c9ea89d1a4a368b6018f235ec47420039 - ssa_ast: c5d91e81ff0d3d16bff5757564f1477d2c2853a92f55b76dc36cf985c0c819f3 + - initial_input_ast: b6634f935bedb2e2c2a3c2786c76903e2b1b726a43b08fa4bfb8fcac2c812cc8 + initial_ast: 3f4f6d95e53af93399b925594563177cd81127da9da3ff47d57f7a4a3671485d + unrolled_ast: 3f4f6d95e53af93399b925594563177cd81127da9da3ff47d57f7a4a3671485d + ssa_ast: c6163673ee84122199393f758831465eec7e18e1b0df393d53d0cab8aa0024ef diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 6c73fa7e7b..90e859d007 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 05dd4d307ee7545a894ea5eea710b1271ee80550b02be767c626032132edb1d0 - initial_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - unrolled_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - ssa_ast: 43f1ec4d046459ffc39d824cfe3a60c8e1f91180392bfad527c3f9af778bc8ea + - initial_input_ast: ff9d503fc3496fd0c7f2b8c6eaeb66fdd0a0085f501068ccc30d2b00d4b02b27 + initial_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + unrolled_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + ssa_ast: 497e7bc4b8e23c7bf0a62bfdf91f25d2cf6745c737727f63b451717fdacc92b0 diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 6c73fa7e7b..90e859d007 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 05dd4d307ee7545a894ea5eea710b1271ee80550b02be767c626032132edb1d0 - initial_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - unrolled_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - ssa_ast: 43f1ec4d046459ffc39d824cfe3a60c8e1f91180392bfad527c3f9af778bc8ea + - initial_input_ast: ff9d503fc3496fd0c7f2b8c6eaeb66fdd0a0085f501068ccc30d2b00d4b02b27 + initial_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + unrolled_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + ssa_ast: 497e7bc4b8e23c7bf0a62bfdf91f25d2cf6745c737727f63b451717fdacc92b0 diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index 95da146651..0a69383467 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: eb3189d9f0067604b0469eb04d438a85be64e3e4565635a1851584bcd3ba4b6d - initial_ast: a60613f5def981f4df8f49c965754e5eeaa77d6e87f99f1bb6cdb17b364cb517 - unrolled_ast: a60613f5def981f4df8f49c965754e5eeaa77d6e87f99f1bb6cdb17b364cb517 - ssa_ast: 89879a562827e46fa17905ec2ea7e26ef2f2535b08ba15eb202e235fb4a2e188 + - initial_input_ast: 66b7c5856db24994113cd4b094c52c941630f0f4923eb13891a40f9bf9f49d53 + initial_ast: dd176e31e863225989c42e10f34e3a26b192cc955f1f16c3acefa5f3caefcfcd + unrolled_ast: dd176e31e863225989c42e10f34e3a26b192cc955f1f16c3acefa5f3caefcfcd + ssa_ast: ca3add384b6ef6d6fdc02be39c43233ba4fdc11a27446d834dba9f4ad70d6426 diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 0c98dafd01..e8422032c8 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 27f7ed55718c2a07aa6f84e974b1358426a4e618563d07c514df7c88d7188ca8 - initial_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - unrolled_ast: 976950a13a43fd24986284453099b3c760d494bfe6707a47c05e61c410da3394 - ssa_ast: 43f1ec4d046459ffc39d824cfe3a60c8e1f91180392bfad527c3f9af778bc8ea + - initial_input_ast: a572009d5f41a3f8e45fa4dd4bed89f86df99a536caa13fe8527c3fa2302998a + initial_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + unrolled_ast: 5bcc674c0aa31d9084ba463297fb97b0a349855df9a163254ed4bcf2475e7314 + ssa_ast: 497e7bc4b8e23c7bf0a62bfdf91f25d2cf6745c737727f63b451717fdacc92b0 diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index 0bed580e5a..e8cf829e23 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: aa9f032e49947f1f8e9fa3d594c2564d1635966fde117565dc19677bc2ee4882 - initial_ast: b80807e39da4b5a4c3e5a4311f3f003c4990c9815ba30c461dfcb3e84c5e6c32 - unrolled_ast: b80807e39da4b5a4c3e5a4311f3f003c4990c9815ba30c461dfcb3e84c5e6c32 - ssa_ast: 9483c670bcf1329b879f74c5603856ce321b3855afef6f25a5cd97bfc92c2ae1 + - initial_input_ast: c4cd9adb78c217713c55b0c703a5feb71bcf57bf4f08a7bc8f194ac04f2ccb2d + initial_ast: 28f3b19599d9c3195d11fde6ef94932f562e8260e32448ef65fa24bb352fdd1f + unrolled_ast: 28f3b19599d9c3195d11fde6ef94932f562e8260e32448ef65fa24bb352fdd1f + ssa_ast: bd4e4983897c279fa4882e4dc8a15ac77b3ee3f87728a4d3e04c3144caaaa802 diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index 407cc6d043..99aebac537 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3d94a5b90d4b4178d7e3278e134a55145bffd9c296ecba5282f24d995c0fe04a - initial_ast: da67531b49522acb0f87d7cf0786683f4d2608efbf5fa4da89827e36652b7ff4 - unrolled_ast: da67531b49522acb0f87d7cf0786683f4d2608efbf5fa4da89827e36652b7ff4 - ssa_ast: 7fb63783a4897b5d584c590549f3cb56f632b3afeb62146bb24a95b0daaba120 + - initial_input_ast: fdd1fd7e4382e3349e14966ee065723e881a88906b9008fb05f2281cf07a3f6a + initial_ast: a7cd40cda430b8859d625f7135eb9b20c537074837e618e125cc130cdc839939 + unrolled_ast: a7cd40cda430b8859d625f7135eb9b20c537074837e618e125cc130cdc839939 + ssa_ast: 9fb9f6db29c11539606dc34142cf2c9e4ad59447cb52eb730d7a9ad295999b7e diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index f7f254e111..0838fd013a 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c8df42c50c421f9032ead784e7860f118d7b9e0f495c1107ddfcebd5fcfdd9d9 - initial_ast: 79d9474ece6029ed3b0b5a5fd7657c932914d1867572dd6e5478330a8127f249 - unrolled_ast: 79d9474ece6029ed3b0b5a5fd7657c932914d1867572dd6e5478330a8127f249 - ssa_ast: 6f681bb2ec65cb1ee7d55fc490c1e9682c26c0c89a77fd8e05243097318d84c9 + - initial_input_ast: b77a849a5acf27cbcf1b1b638e3ea3dc8a0cbad74af16af4277adf3de16c4f6b + initial_ast: b5417c0d9fa18bc4a0a21920c33af6e4715fbb92f3245529d47d292f46b31e10 + unrolled_ast: b5417c0d9fa18bc4a0a21920c33af6e4715fbb92f3245529d47d292f46b31e10 + ssa_ast: dfaaf5a1c84e11f5cd9ac0698af85817c27d315331252bc41d4d25dc64064038 diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index a98e84c833..12f9ff3975 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d745c513c959ce3abed861d77d87a662248f8417b7521258835e9ace56b0b6da - initial_ast: fe43ed8f6727cf763c6d22db1818916cdd5c74fc30b7a2f9879966b2949391e9 - unrolled_ast: fe43ed8f6727cf763c6d22db1818916cdd5c74fc30b7a2f9879966b2949391e9 - ssa_ast: 7bbd93011fa4d3b8b8b92951e7826a3e73167c36951c9c6eaf7fe834d64f370a + - initial_input_ast: 42e1554b8e61a0b38abc274aa0948ce145779aa163012954b2577081fd9b6310 + initial_ast: 0649008eaf4726ea03ca077a89d425015fb4f8f58c7b7323c67258cd94498597 + unrolled_ast: 0649008eaf4726ea03ca077a89d425015fb4f8f58c7b7323c67258cd94498597 + ssa_ast: 36ebab5195b17819aab330c0bc300add306509a0803990213eb12c437d06c113 diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index e66af4029f..a3744e7cd1 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1eef8447118efa7352e198dc76a0f41882c1f90bdc3aa29fd45bd7c17b547816 - initial_ast: ed9d5db3d1ff005b6dc820e3d57dd7b20e8bb78ef376948eb386fe6f6b27854b - unrolled_ast: ed9d5db3d1ff005b6dc820e3d57dd7b20e8bb78ef376948eb386fe6f6b27854b - ssa_ast: 65c4c8ef4666f0b1c3f013dcc9e7bc9f5bdf2ad90c9ee809fbbf944981b1118e + - initial_input_ast: 21450ea2d3ba27a57383c5547860e5cd9d9624d4315f5232e8200ae725f20cd1 + initial_ast: 3653e9a5dfd8fe40481a43e67de9f967bf7d55399d18d651cd0e59e6a56fcd9f + unrolled_ast: 3653e9a5dfd8fe40481a43e67de9f967bf7d55399d18d651cd0e59e6a56fcd9f + ssa_ast: 74d9229b9f51006907ae6e9ecee063da024219fb88c5092433186222e6a28526 diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index 54c44c3a87..a32442c327 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b5deb6fe058cfd48245b762ae48484205ae3912fd912d877315b93700d6278a8 - initial_ast: 65be9ce3a9bfb68c6e008b95bf6809c26f6717e778632f0a49aca92be9d0e043 - unrolled_ast: 65be9ce3a9bfb68c6e008b95bf6809c26f6717e778632f0a49aca92be9d0e043 - ssa_ast: 40ffb3e4053f20230c43360eda91060d686fa3b2ce7e3d3614d65465dfb1c0d7 + - initial_input_ast: b6634f935bedb2e2c2a3c2786c76903e2b1b726a43b08fa4bfb8fcac2c812cc8 + initial_ast: bb107250d454d4d9fbd4be871f1e54f1212f13b684fe0d0cdc2b90d0b509ad0b + unrolled_ast: bb107250d454d4d9fbd4be871f1e54f1212f13b684fe0d0cdc2b90d0b509ad0b + ssa_ast: 6cdf3c7749480795b0e25248ad93a2e229a70065884eb78cf979a9f282a73528 diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index d4c7cd684f..15b07229c4 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7d33564ae09ce3409cb75346a4776c7284007ec68c9f4716617433cafcfa1b13 - initial_ast: 6802e3731f48ab83fa0a38b43249ebd7a73cb99b6ca536834013330063d9a0ba - unrolled_ast: 6802e3731f48ab83fa0a38b43249ebd7a73cb99b6ca536834013330063d9a0ba - ssa_ast: 785f937c6381d96ef08a6f31dccdfbc3275fb40b4754daa1abd418fb7ccb40af + - initial_input_ast: 336580f3b1cd3da7ee881c492da25d869813eeaf9391a97b828ebdc259dca85d + initial_ast: 052a82045ab5471f2f5bd6e1d881de7072a37c220b305e4f5a997b1a20945faa + unrolled_ast: 052a82045ab5471f2f5bd6e1d881de7072a37c220b305e4f5a997b1a20945faa + ssa_ast: 7c6d94d75277ba1b0259bd3d700e59657e1984f14b74f9df48a62a42219692ab diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index bba604803e..e62fe417f6 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9abdfd027f3d9911431dc87b745b184540eb4dfed735db8ab507c94752307ded - initial_ast: 481d919557c8feaab1d37018bbb51972dcc27dd370f8aad370880110ab572e2a - unrolled_ast: 481d919557c8feaab1d37018bbb51972dcc27dd370f8aad370880110ab572e2a - ssa_ast: 0a23f26309860be43840c4bf7135fa4b642f5c8181a736a14cde9ff5703bc964 + - initial_input_ast: 6d52d239556a3f5040f33f7d915a1936af5c2517f075bcfdff81310bbe111e2d + initial_ast: 0cc5f7329d6d91dea48eb7f1a574d3b95288a66918658b71221a376dc5c7fce6 + unrolled_ast: 0cc5f7329d6d91dea48eb7f1a574d3b95288a66918658b71221a376dc5c7fce6 + ssa_ast: a638729744a22712136684d8e12ff7e69ff6d4fc895ff666ec91406d5ddfa1a1 diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index 3357768de4..074a50a5de 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3da70d17ef476250c442a591d7a99347d3fbf616b16456f975a9c655f04e742a - initial_ast: adb753c202153a4e7df0440001e01a79cbb35c6cc6882a1b68c9023d70e58fa2 - unrolled_ast: adb753c202153a4e7df0440001e01a79cbb35c6cc6882a1b68c9023d70e58fa2 - ssa_ast: 36da744bb8e3613d7a56380e16c611324704af8ef6729b8606c802c9e795bfc9 + - initial_input_ast: cab4ec0e19e08134d51cd4c8546d13a6a0848c3d783e376473512ae558155443 + initial_ast: 12178b4e76a9a011b5bf629c48135cc1857a219d539dfccf4c279a9301b5ee42 + unrolled_ast: 12178b4e76a9a011b5bf629c48135cc1857a219d539dfccf4c279a9301b5ee42 + ssa_ast: 50cbfd63b2acd43e88b7181c6ad0c2c65a84d13c05c2689de1acf9f14f64e69b diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index e9f6286ff5..068aee7928 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3da70d17ef476250c442a591d7a99347d3fbf616b16456f975a9c655f04e742a - initial_ast: 1abc09643eb8b4ad261f0e80a684c84b6508b210afcbfedaeb51434e584fd8a0 - unrolled_ast: 1abc09643eb8b4ad261f0e80a684c84b6508b210afcbfedaeb51434e584fd8a0 - ssa_ast: c884b0c112bb49026b38e2ee7cb57de26a79c21831f101aba7f30cadc59a24c9 + - initial_input_ast: cab4ec0e19e08134d51cd4c8546d13a6a0848c3d783e376473512ae558155443 + initial_ast: c0c8b02c47e6a9a1d0202fa7eb929caac208d8cd89c8ad44aa2277543d5525c7 + unrolled_ast: c0c8b02c47e6a9a1d0202fa7eb929caac208d8cd89c8ad44aa2277543d5525c7 + ssa_ast: 1300592eea1098693efc5d4bc3de424ebe027c77346f26ede651da564562aa76 diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 1ab6f4d1e6..2d402bf03c 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3da70d17ef476250c442a591d7a99347d3fbf616b16456f975a9c655f04e742a - initial_ast: 1a33ac6b583f12e02a2eca908003d69abb7632e11b49510fbfa1fd94adeb56d8 - unrolled_ast: 1a33ac6b583f12e02a2eca908003d69abb7632e11b49510fbfa1fd94adeb56d8 - ssa_ast: 33b1a76a25f54becb7c79fd99c21dcb0d1541f65d86627f0add8a45daf37147d + - initial_input_ast: cab4ec0e19e08134d51cd4c8546d13a6a0848c3d783e376473512ae558155443 + initial_ast: e0ab1f81d67b0ca8e64cf9089ef2ff69e80bfbd9864f6b4bdaa8933336b4a4fa + unrolled_ast: e0ab1f81d67b0ca8e64cf9089ef2ff69e80bfbd9864f6b4bdaa8933336b4a4fa + ssa_ast: 23465cb3a5f6f924ef018896f02462077409daec192e002e49f6594a7fe8ba16 diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index 1b39a94e7d..593fe35d3c 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2468852fc74f6cfa36cbbde47c14b72cb3f12907e86a7bb3aa7ca09a9c67d6c2 - initial_ast: 618754f367dcd51d5f4bd8b9b7cbf5c78fd0a8f2f6b49620425350e87735997b - unrolled_ast: 618754f367dcd51d5f4bd8b9b7cbf5c78fd0a8f2f6b49620425350e87735997b - ssa_ast: 3fa27d172c17dc6ffaa8db621d6cb1383770a31048cd970ef9c6f84a710428a7 + - initial_input_ast: a220b4ebad69e490bf4a2471e4c4ecde9207f9806df90c3ba99f7f77d99eb97f + initial_ast: 36b6abeb380c011b7d80985183c34b265d0438c2f2696d81db169d4d48fd3af3 + unrolled_ast: 36b6abeb380c011b7d80985183c34b265d0438c2f2696d81db169d4d48fd3af3 + ssa_ast: 67b3f7e0b88b14317da58a0fc20562f47ac9991c681f16c862f70924cf395270 diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index 254cb1bf9a..8375de27b2 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 23e62412d2a9377334d90aaeb6629b73c77e045ce87f23bd6ae2e2cd242e70f0 - initial_ast: a8d64dc385c9f76c3e5658c4172474f711464a35c8000ea2b6b5f602b2985f96 - unrolled_ast: a8d64dc385c9f76c3e5658c4172474f711464a35c8000ea2b6b5f602b2985f96 - ssa_ast: cbd7adc6715319e2d73d9111da8ca8621f28ccf1489368698c314f7baa8cd33b + - initial_input_ast: ec0d9b73b85bd860413bd3311ab45dd458e2750376357bd5c684b9e74d04c8fe + initial_ast: 5b42d7e48149b28cc4c833b770ff5a11cfafbcaba1f5ea7ba56aa0622e742e61 + unrolled_ast: 5b42d7e48149b28cc4c833b770ff5a11cfafbcaba1f5ea7ba56aa0622e742e61 + ssa_ast: 2aac28bcecd5598ac749eac94ea02e8400fd79fa31d51f08d0cf3afa3f3f5dca diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index 613ea4b7b9..5228acb8d9 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2b6bc4ade2305a65746066befacf6a0a18382f754d4d7911d0c6e0abef682114 - initial_ast: 2b94692e105c10f66d99826d59ffae22416bd05e01d7222851f6b4e7bb00f716 - unrolled_ast: 2b94692e105c10f66d99826d59ffae22416bd05e01d7222851f6b4e7bb00f716 - ssa_ast: 3ec70d86c3182802d00a7919eb8e02c9d6ec678c52635bb6f5519e2e2ae8d4eb + - initial_input_ast: 7fb6654aa7bd306bf6cad4947c013f389be8b4ae0b6f85780c9cb3ecaf2e3363 + initial_ast: 560a5baa258547617438387aba97c72eb739e957897f341ded5967b8580adac9 + unrolled_ast: 560a5baa258547617438387aba97c72eb739e957897f341ded5967b8580adac9 + ssa_ast: 2265049baf1874f4d285ca7758fade5d6597f4f8d3a1dd7864aee910af4a6123 diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index 5fe6638bfe..d03e5e6df2 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b7a1796fa4abcee565ee7dea475310c15b5881c60a2acc7a2b65cea9a84acf56 - initial_ast: cef0fc4b173acf9ee0dd39e711039e011329d0a63f5834b626e64560ec3005e0 - unrolled_ast: cef0fc4b173acf9ee0dd39e711039e011329d0a63f5834b626e64560ec3005e0 - ssa_ast: 195d8b2d069fbaedf123760165fc45d446a670772ee8e0c21eb305f14574082f + - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 + initial_ast: 04e5363d319a4962436425cce40b8f5b47952f311b1141a60a71650089a2aeca + unrolled_ast: 04e5363d319a4962436425cce40b8f5b47952f311b1141a60a71650089a2aeca + ssa_ast: 2dc0a99f6fdc25ab1377c1ae6c8ce4d437310c749fc0bbba81faac88619aaca4 diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index d93933024f..d338c1a9c0 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b7a1796fa4abcee565ee7dea475310c15b5881c60a2acc7a2b65cea9a84acf56 - initial_ast: 83d74d809376055965eca730b2f36ab8863d9c59d5934eb3932d709974020ea6 - unrolled_ast: 83d74d809376055965eca730b2f36ab8863d9c59d5934eb3932d709974020ea6 - ssa_ast: 106564789d2e878d0f6db09e1aaa1fd446a63844c93ed8053077a940c23f3cb8 + - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 + initial_ast: e4810ac737afe750f188d08413eaf347c3ccfb2003d5649af5801bc76c341c81 + unrolled_ast: e4810ac737afe750f188d08413eaf347c3ccfb2003d5649af5801bc76c341c81 + ssa_ast: 8fa77b1ba6e516d45dca5d73b76d7aa9eba7e070699bd858f3a6eeec98ad8c7e diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index 63d519d99c..6e3b4b9a93 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 809c4e4298aa9ee1320cb7b491bc3dc81deb71a691cdc7add970e2c2bf5f47b5 - initial_ast: b17ee11c736f9f897ec37ddb8d79b3656bd0304f1be7818a30f9963b4c600c14 - unrolled_ast: b17ee11c736f9f897ec37ddb8d79b3656bd0304f1be7818a30f9963b4c600c14 - ssa_ast: 6595fcdc117dee6ec1f6220c83ed494c2b0e38048132bdb181ace2ea7ad7cc07 + - initial_input_ast: a9d656cd719217c9df4fe73c1f6293aa89575e8c2f7d5e89a48c2c292a3e5e06 + initial_ast: 5ab8123c554f609d580bdfe6594f1d21d4a8cea0c5acbd31b019a2502c0187c4 + unrolled_ast: 5ab8123c554f609d580bdfe6594f1d21d4a8cea0c5acbd31b019a2502c0187c4 + ssa_ast: 13bb66b23646ef1fb357e487ab609f33519405d09d5619095f4d397ba8cb80bf diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index e020183a6d..ae29cd4054 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7034fae8c2db1f78f9f42400f5a6b28d498a7d31f7e35923584622420bfa0ef6 - initial_ast: 0f70909e44b0a9462e0a3e8520804398b979f79d9f3332c8e86b2d8fb73a6a32 - unrolled_ast: 0f70909e44b0a9462e0a3e8520804398b979f79d9f3332c8e86b2d8fb73a6a32 - ssa_ast: 91237671f3a873a8af6be8e578342a41cfb4c560315bbc8fa0e530b70449fbe1 + - initial_input_ast: 040a06927355054fb98cc4471807f0daceba0c3f7376346478ed5909f762d544 + initial_ast: eda442d3334351c3758ad67dbf74bc90a7fd5b2ead0d71cd35f44c7124b0e2f7 + unrolled_ast: eda442d3334351c3758ad67dbf74bc90a7fd5b2ead0d71cd35f44c7124b0e2f7 + ssa_ast: 7901ffc309a3384411543d9da0644b12935304562e9c9f57f760b689563ff760 diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index 0dd242d932..b296d8073b 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 91219f5a1516834f9c60220a65cece763ae40c916f636fed729b1fd91e25310a - initial_ast: 5ab348dff1246161f290c5ae5544ee97708604639c403f7d11e16e19da67f1c6 - unrolled_ast: 5ab348dff1246161f290c5ae5544ee97708604639c403f7d11e16e19da67f1c6 - ssa_ast: 93603c0833fdfc005ea57af526638e5dd6d5f633602e79648b2fbc19195fd626 + - initial_input_ast: 2d7031d44a212721505ffd13e275b705a910e6f803acb7fe2ff44a91b85dcd09 + initial_ast: 4b4f649b12d3c262c39f44346808961daa870d488a56affdeedce5b71f3a6251 + unrolled_ast: 4b4f649b12d3c262c39f44346808961daa870d488a56affdeedce5b71f3a6251 + ssa_ast: e7f219c4567593af2f0d60731e1149ed0f807ba9dddae2c0b6e79e07bb30a642 diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index 9918e6487d..2d8f6270fb 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4c374f44b16a3c60d9140164aca01d9e70cee27cf3adfce8ded7a8abc5fc6ac7 - - initial_input_ast: 9036921d0594f2bc8402c7364492ca47d57d34e8588b0bef6491ae6978454e31 - initial_ast: 11471f4252e19626c40e410d9e378f4da5559485c2b259c8d8d0aca243a54262 - unrolled_ast: 11471f4252e19626c40e410d9e378f4da5559485c2b259c8d8d0aca243a54262 - ssa_ast: 1e95acc16d09353ded49928513f2e8084de542e47c0679826913018fc109d2bc + - initial_input_ast: 0073bbe6842eb1f47d4bd0d9a69f2cef9ceab14f7c6fee9cb64de09db43504dc + - initial_input_ast: f71ddbed9223717e966b06bf8f763bbff72630ca1d3cc111aab9d0d3e1e5c939 + initial_ast: 9a0e14d58fde3dd3891729dcd524c230883326853cb855d25613bf8c94e3b0f5 + unrolled_ast: 9a0e14d58fde3dd3891729dcd524c230883326853cb855d25613bf8c94e3b0f5 + ssa_ast: 6229f23d969ccd869065a04d250fd115eed56e412025a4f0be1fa3db39b94432 diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index f40de4f625..0411f55c7a 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c6365539642a404ce31b3c71f191f6b05a80aabb82727bf6fbcffb87eddba3f0 - - initial_input_ast: 73d7d29dee3c0c90538069b0a1684281d0cd2f338f1594768727ea83fae404ee - initial_ast: 926f9e67f93aed810b9492fbf85be6c82f0a5e3348ac83b6671935a0770d543e - unrolled_ast: 926f9e67f93aed810b9492fbf85be6c82f0a5e3348ac83b6671935a0770d543e - ssa_ast: b07c22d3672c3c22c66991bce9b79fc3984a7744e208bc900098c8ad57e98937 + - initial_input_ast: 9c8c671f61b95462337ca91e8f834c10a6ef9396c194311735617e6a89433d5e + - initial_input_ast: f1fd221ab17b979c2f0d93dde9cba7ec1321a4c50ff2dc2692b562b96bd947e4 + initial_ast: 1d79f9cbad0a1a9a3af89388783ea7768ebb3ed4805465a3e7f13ce891a4eeb8 + unrolled_ast: 1d79f9cbad0a1a9a3af89388783ea7768ebb3ed4805465a3e7f13ce891a4eeb8 + ssa_ast: efe219dc01c0e8d852d938b07b1b0dd61eff0365ef3bc601b5630db4c4a4e9fe diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 707ff1ab63..2df3e3cdfb 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4c374f44b16a3c60d9140164aca01d9e70cee27cf3adfce8ded7a8abc5fc6ac7 - - initial_input_ast: 3a80a61b2cc37b77014d08a9648e9e572ae99460a993862404fc3a7ce4051097 - initial_ast: ccd5c4d472a24cfd177f87cb1c696690f4769b43dd7f70d7eda7065d0d512c0d - unrolled_ast: ccd5c4d472a24cfd177f87cb1c696690f4769b43dd7f70d7eda7065d0d512c0d - ssa_ast: 540b7ab28ad6f20478c374ae0f5be8667b52522ab20c16690f70eb43943900b4 + - initial_input_ast: 0073bbe6842eb1f47d4bd0d9a69f2cef9ceab14f7c6fee9cb64de09db43504dc + - initial_input_ast: 2dc9355aaf9107b66bf59810782af1964d420417e65fa74b7930c04991c6333c + initial_ast: dbd2129ee38a1ddc39eee3aa4d75143a9758b6d336b0b7e91d30cca609ba8f23 + unrolled_ast: dbd2129ee38a1ddc39eee3aa4d75143a9758b6d336b0b7e91d30cca609ba8f23 + ssa_ast: 17828ce1eb4f3ec1b9178962a7b2bc3ed2a472dc661adf4e20d2545c28ed13ee diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index a59ca672cf..3ef970c975 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2e33c1206abe4dd7b81062773aa064b5214ac8c021efe6cb1f308b46703b015b - - initial_input_ast: 27663c1ae0936e46593e6f1cd159d804beb8f3c7071af6699ed78b79add761d0 - initial_ast: 8ba6968cc3b50770a19674da3915727796013e5c7ac4390f56782897b3f47472 - unrolled_ast: 8ba6968cc3b50770a19674da3915727796013e5c7ac4390f56782897b3f47472 - ssa_ast: e5486da33ff80da30033a4333b3b7cb4d7d445440cd5c02dd51a45220e033706 + - initial_input_ast: 839e61ab19309760f1b478b897e337bb8cf6e4bb218e926883ed9444d51d8a28 + - initial_input_ast: 58cecb481ced6587e9ee954f76df79d810747054149b30e21c94d1cb45f9bac9 + initial_ast: 8357a13fe26f60ed22001d2d861bf0043f12d804be36e41f4265d80df3e0ed18 + unrolled_ast: 8357a13fe26f60ed22001d2d861bf0043f12d804be36e41f4265d80df3e0ed18 + ssa_ast: f5ab6db08078729bfd119493c68b9caf3751b28528deb5dba0f2a1e188a7bcf6 diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index 7c9749b0b6..515e569965 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f4a9a735aed4062962098cb8670bcbdb02326fd3eceec9eb7c6b44607372c96e - initial_ast: 1596986e096a7215bfe3aa8813f2e08269c805924a65cd519a29a43acec87bd9 - unrolled_ast: 1596986e096a7215bfe3aa8813f2e08269c805924a65cd519a29a43acec87bd9 - ssa_ast: deeff76cf4aefbb3bedfe369ef1b0e915ad330a925a768fd47085349150e7ede + - initial_input_ast: 0c988849087349f8f3fc79a2992efbb2d085c528c76f92f323efb856d678170c + initial_ast: 127bd2f2dfc26310382ac2a45b3001e9f8a79f3fd9c6fcaaf03083fd59acf947 + unrolled_ast: 127bd2f2dfc26310382ac2a45b3001e9f8a79f3fd9c6fcaaf03083fd59acf947 + ssa_ast: 8f0d226670b43779021da5374969779677bcf30c9896246a00daa26ed7b029a8 diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index 1d7bdb5da7..abfed9ba85 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7d096c5b8581c0b59bf0e34ff5d13735371a4b1fe3df9a6425fff3e4e04c44a6 - initial_ast: 1c8f8d27c303fc6c89b5b7e6deafa8ace25e0fc7423ff8da81998329f757a525 - unrolled_ast: 1c8f8d27c303fc6c89b5b7e6deafa8ace25e0fc7423ff8da81998329f757a525 - ssa_ast: 9120ed84de27a6c588d254dcd5f79448e828f75d9dad9044859ea0f2900649d7 + - initial_input_ast: 42d3d2a95ecf42808533fc38c7765957dd86f6d84679e6db05141f14078d1723 + initial_ast: a835c5cdf987d342c5fe92633a62939a513b7135acb8b0a7caafd369b3f197ff + unrolled_ast: a835c5cdf987d342c5fe92633a62939a513b7135acb8b0a7caafd369b3f197ff + ssa_ast: 5e5565e081a7e1034289402b0436e3d05b9e644490fdbd7cb42eb20e112269fa diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index 6f66c9c92a..c2513046ff 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128.private;\\n\", Nom(Tag)), (\"\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128.private;\\n\", Nom(Many1)), (\"function main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128.private;\\n\", Nom(Alt)), (\"function main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index f5e6e427b2..c41beca2f2 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0a3d0e75cabf9109c310875de99ef0185236ade5661ec59843a4d3ade564cc87 - initial_ast: 79bbe6b59c0346d5bdf7d3029ae719646236195fe187b07fbe89f6891dd0c165 - unrolled_ast: 79bbe6b59c0346d5bdf7d3029ae719646236195fe187b07fbe89f6891dd0c165 - ssa_ast: 62eb09187c57e9a06b7c698a6652d863ff2be019455cd75527a3f2814052fdf0 + - initial_input_ast: e598def825099f6b2617d39059b877cf49137140ce1e095415a9875b8e0e637d + initial_ast: 0da749b9b44d40858426f14431bf864d457dcfd2a394fa8e5d89bfef3412a9bc + unrolled_ast: 0da749b9b44d40858426f14431bf864d457dcfd2a394fa8e5d89bfef3412a9bc + ssa_ast: bd167e08296a7c4962cac68e653c9c2cd382915c7d7a2f8292eb65cde6c9e1be diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index 8041864ea3..0f5fe33fc1 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3f1ceecb6aee150c506548e59fdb0c3dfd893df3e560dd3f23eb79d1395b453f - - initial_input_ast: c4acc91b534d1069d54ef3a6fa44ba2e574f6afe217f7ed8786d76faca728ab7 - initial_ast: 7909a607383e2009b43be61ceee175701aa38ff919f832ce8d9ac46653a9ba20 - unrolled_ast: 7909a607383e2009b43be61ceee175701aa38ff919f832ce8d9ac46653a9ba20 - ssa_ast: b99d3b92fc002100a761cf48aa600a4901dfe4a07096f2cc21d64502654a2518 + - initial_input_ast: a20467288639231bd180d7ff942a339170dbefb26440a24c8907efa8ba941f7f + - initial_input_ast: afa4aa7f9a7280ec3553bc674b4a00d473978805198e715b726b43e17d142af3 + initial_ast: 7295cf0eb725e557e0fba2b60786dc1fbdea6c46f13ede2c57ea2398a4c4d90f + unrolled_ast: 7295cf0eb725e557e0fba2b60786dc1fbdea6c46f13ede2c57ea2398a4c4d90f + ssa_ast: 6540798d78cbcf495205233e8139f00bdf8ee2f34b522cd9fd1dcec236046a44 diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 1d3ccb1b82..6a833d1bc7 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: edb9d7d1001c01bfbfdac5e82195c6e34c22597244d0b4f1e6290b2adf25f731 - - initial_input_ast: 4d43aa69ae8a201ba01257a0b308c7132493807dd9986c388972a63af07f6982 - initial_ast: 4dbc9ea3f7b9be4c0377169581a00ae00f0867842263ee35e53c4aeabe622f6e - unrolled_ast: 4dbc9ea3f7b9be4c0377169581a00ae00f0867842263ee35e53c4aeabe622f6e - ssa_ast: 24b8800c337c2d38f23dbd8707bdc898b63e599b7aeac2f26e3e7be79e39f021 + - initial_input_ast: b8ec17eea6039a34b9e77c74f445c43a4c0802f9cfe8ff86e84c5954c247e49f + - initial_input_ast: 6c116007a92625c046449f00e89d6ed09d20f8806cf7139946800cca5b18e688 + initial_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 + unrolled_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 + ssa_ast: dce6ca6d8021939acb48603e42157edf3ca09c703ebc8b899c859ff1c70477a9 diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index 547646d183..f7660a69f3 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128.private;\\n\", Nom(Tag)), (\"\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128.private;\\n\", Nom(Many1)), (\"function main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128.private;\\n\", Nom(Alt)), (\"function main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index 22bc15430e..21d8e27015 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 34fcde78f661247ade77dd607c349139ab960d39b6a5e10efb7102e0f52aa9de - initial_ast: 6df01ef07ab0b2d02c4f92057a10cb7f397274fd7210eac79e71cd298f9cfa2a - unrolled_ast: 6df01ef07ab0b2d02c4f92057a10cb7f397274fd7210eac79e71cd298f9cfa2a - ssa_ast: 64f57241c80ea8f31d9e61494efc06b26fb3e4125bcf68af57f9f5b5b2fa3335 + - initial_input_ast: 5b85c589bd5729444d6aad8fa52e8f17f93b026a8e3991766fa304ed7a57aa78 + initial_ast: 09bcefee1e16874bfc4b1ff8722756e23d67135e2fd56014ed1905ba33936ed6 + unrolled_ast: 09bcefee1e16874bfc4b1ff8722756e23d67135e2fd56014ed1905ba33936ed6 + ssa_ast: a3b33f2114db7b95ce2f73a064de9e42b5661ec7e238c7f216e9f1fafe65f47d diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index 7a58302cf3..e829e47dc6 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2cdec89946ee5d754b1c20f14588f495b768d43e753f0f7070e81931bfad7325 - initial_ast: 7f0b27bc6312e701cbde5401d6cfa0e53408dcbab2ca4c0388893095acead078 - unrolled_ast: 7f0b27bc6312e701cbde5401d6cfa0e53408dcbab2ca4c0388893095acead078 - ssa_ast: 751dd2a7c6576c5be7f9d248af5d3d9882cbc0c6cb3a311f89c635da4c01dc54 + - initial_input_ast: 61eac183bae63ae8192f044c59a37feaea409f56b8c3c93bdeb00b8fb2e7dfb1 + initial_ast: 72b63e1fa3e176c6171fc99a7745cca6499f1282f53818e02d5397848e8a7ee2 + unrolled_ast: 72b63e1fa3e176c6171fc99a7745cca6499f1282f53818e02d5397848e8a7ee2 + ssa_ast: 3cc3053847bb3d0d89651e6bc21311a035b053c003d3bd5a9a74d854d0f68491 diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index 85793ec0be..ab5de9b058 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b7a1796fa4abcee565ee7dea475310c15b5881c60a2acc7a2b65cea9a84acf56 - initial_ast: 7d48465f0f9d49f833daa877dc178177815c66fb67759f297bcd53d7c97f7b2b - unrolled_ast: 7d48465f0f9d49f833daa877dc178177815c66fb67759f297bcd53d7c97f7b2b - ssa_ast: d913072199132a6cba57980186ee8a7cfe26861618635703113bfe08366b7ff3 + - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 + initial_ast: 517119de93baf717228127edf46ac737e3945649892a70e661d9979ec962b21a + unrolled_ast: 517119de93baf717228127edf46ac737e3945649892a70e661d9979ec962b21a + ssa_ast: 49f6fa2d491d88cfb4307f784c48e43a6002e873b545733220029413b78a201f diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index 123b4c5c1c..9085bef74a 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5b2a4c4f581321b440a00dc3d0e6731b0990b3316681bf74f0e3b9b7aa1d5857 - initial_ast: ead09b6edb131cb1ebe5ff0f457466848d4308c30641a9b3f731733860640da6 - unrolled_ast: ead09b6edb131cb1ebe5ff0f457466848d4308c30641a9b3f731733860640da6 - ssa_ast: de6e04975af419386a5d07fd5d889e28f27b0588ccdba0fc1f3e9e12f959ac96 + - initial_input_ast: 965a2a9889ffac2b94872375270953221ad1785aed55c8bc139b4bc70a7230cb + initial_ast: 998c59a5e826dab3e73d8d16f596773c19026b63d6f6baf093cf696951a2639f + unrolled_ast: 998c59a5e826dab3e73d8d16f596773c19026b63d6f6baf093cf696951a2639f + ssa_ast: f9e04dc07cd87aab28d4b4afc03032eaf69f86973d677fbf3d7f23a9ea15ca8d diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index e73af247d4..7dc5053ed9 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7034fae8c2db1f78f9f42400f5a6b28d498a7d31f7e35923584622420bfa0ef6 - initial_ast: ab1b9a36f37ef52f5211c5da9eaac5f50a54efb39c3ab9fce386e5868c30c944 - unrolled_ast: ab1b9a36f37ef52f5211c5da9eaac5f50a54efb39c3ab9fce386e5868c30c944 - ssa_ast: 4f20c71f9846f99cb2ff9be801d162a68bdf6bbe27cce6dd4334dc1742ef8910 + - initial_input_ast: 040a06927355054fb98cc4471807f0daceba0c3f7376346478ed5909f762d544 + initial_ast: 2109e52172d6b88e9d2b2218e37ed1e0cb9e9b7ef277dd3c58a01a4086c477c4 + unrolled_ast: 2109e52172d6b88e9d2b2218e37ed1e0cb9e9b7ef277dd3c58a01a4086c477c4 + ssa_ast: 865fd700a395677730123776b94f9a0647441e559f2adebf7e61f437803d3e30 diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 89d046ced3..b88af7fdc5 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3bb40d51d0fc627b1a310c49481404fe8fbd7a46140b0540605108582dcfc060 - initial_ast: 3472233e4386ea23488fae14fad0d622bffabc8f09d5f54c13885dc7251147b5 - unrolled_ast: 3472233e4386ea23488fae14fad0d622bffabc8f09d5f54c13885dc7251147b5 - ssa_ast: 19b0999ba23d794571ae2c7989b5887c1045d9189b0c632aea793d072fec0d15 + - initial_input_ast: 049cd06c422de7247df7f0e2a1ad98429c613a941f5ece0a791e149434612580 + initial_ast: af6e287228b8cb6f6755b8eeea019c3f9a9da648f1da6451c4ef31c7301e39d1 + unrolled_ast: af6e287228b8cb6f6755b8eeea019c3f9a9da648f1da6451c4ef31c7301e39d1 + ssa_ast: b52e4a0ba681f19d4769ff88863c870f1c89fc6071dd17ebac0308087d5496be diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index 70cd49847c..1ec6769374 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3bb40d51d0fc627b1a310c49481404fe8fbd7a46140b0540605108582dcfc060 - initial_ast: 82145bc51e53bb9b1db741b9514215b79c3dfdcb5dfca3b9359deaa5f2d8ae6e - unrolled_ast: 82145bc51e53bb9b1db741b9514215b79c3dfdcb5dfca3b9359deaa5f2d8ae6e - ssa_ast: 45862e50634517b2d5705e7aca96ba7c3e87ee243e36d7bc094f6069801795cf + - initial_input_ast: 049cd06c422de7247df7f0e2a1ad98429c613a941f5ece0a791e149434612580 + initial_ast: f7e13d9f0d4c80aa93a32c30bf4a6503b21f0dc4e51d204f50f9afe952f4d89f + unrolled_ast: f7e13d9f0d4c80aa93a32c30bf4a6503b21f0dc4e51d204f50f9afe952f4d89f + ssa_ast: 857780dbeb54b3f88f6ea68fa7cd7f78641e4293ab4ecd757cac27c73b7e43c5 diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 2c9261f5c7..9415f6baa0 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ecf34ea664106ec74de1673761e384ad672b16363124f7082e6bf6d9956516dd - initial_ast: 02204f15979c7679e688313373c79e25a4f83fd256487cd5f680ea58df71fb24 - unrolled_ast: 02204f15979c7679e688313373c79e25a4f83fd256487cd5f680ea58df71fb24 - ssa_ast: b00ad449914b2e7e6e607ca07cdba5631716f6ab18e118d87f8c3b48e16fda69 + - initial_input_ast: 3400af7ad9d967ebee212ba94102763b1e3d78c40cfcfb21e1496544111a842b + initial_ast: a825840684e68553816c9c56419356888517c81d3111590d17c228fc9ad5fcba + unrolled_ast: a825840684e68553816c9c56419356888517c81d3111590d17c228fc9ad5fcba + ssa_ast: 7cfa241ad77363631a30871d2dc3f485ec8b9e55da008deb397915ec7f7d8d10 diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index d81a94a88d..139524b83c 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 138ca535c4fd8ce9f1da98e1c1faa03eb5ebd2b1ca026e36c55e78a5da92b97b - - initial_input_ast: 920e39624bf39cb7915596796f56d41f21fdac239f7d059d65a35a50d88547cc - initial_ast: 95cac05f793bdc703b02a17ea7310e27714c842eef63c089aa84d0e99baf5a3d - unrolled_ast: 95cac05f793bdc703b02a17ea7310e27714c842eef63c089aa84d0e99baf5a3d - ssa_ast: cb805d1a99c50cb0524d14b69c2485ae53083f0921240d7e88e36764993fd903 + - initial_input_ast: 513958b9ca8c081b703e39f4c99751d60bf8e8a8b2c198b57b50dab7c5af3327 + - initial_input_ast: 7be5155718612a25f8eadba1a6e8cde45c7806ce99f4ede89a7a5acdfc5966ca + initial_ast: 9146d98fbb82e6e0321a9a630b940993910aa29648c153be7a2330b95ae01e4e + unrolled_ast: 9146d98fbb82e6e0321a9a630b940993910aa29648c153be7a2330b95ae01e4e + ssa_ast: 349d2c572807cd5623cf32765366ec3c8f2a61ae8498197a067af869b13217a3 diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index 47ef4c934e..b90c960292 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8405502a06368847e27067f0ed7c44986422383e2608b7ada1a7e10dfda6fd83 - initial_ast: a345394370a7be4a24f29a7f13d1359aced159d84a8c60dc9c95e2d16ee1e653 - unrolled_ast: a345394370a7be4a24f29a7f13d1359aced159d84a8c60dc9c95e2d16ee1e653 - ssa_ast: fc6d4a49e1e2fc2c2bae46c8e6d4518b48030b3b66a16b2ad8e191d1d5870490 + - initial_input_ast: f686fc3d84ba39af944ba435926d6ed9dee6b6bcb7548a72d3da169b80b6fdd8 + initial_ast: cb92e2927b3f4f81e7e893ff99614304243ac40637dce6b15fab5356a7ce212c + unrolled_ast: cb92e2927b3f4f81e7e893ff99614304243ac40637dce6b15fab5356a7ce212c + ssa_ast: eb4a86210215fde28b85389e063317dfd55cebdff078fc4a05b2d9feeb578224 diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index 59da39ce40..c93c19b994 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2c7911ddb339c2fcdee25cf21fec17727233c194b135902d29f247cc7c20c446 - initial_ast: 49e6fdaa246d010eff70b43b87e6db365cfcd34fe168cd98297b0482f6716c41 - unrolled_ast: 49e6fdaa246d010eff70b43b87e6db365cfcd34fe168cd98297b0482f6716c41 - ssa_ast: ed81a4dcb512e1ccb1a3335adbcbee22b22099a4232418671e99dfb73f837a66 + - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 + initial_ast: e1aed63fee648b767384037e8aeeb1eac7bf05874c3ac16a98bd58ae3fa54495 + unrolled_ast: e1aed63fee648b767384037e8aeeb1eac7bf05874c3ac16a98bd58ae3fa54495 + ssa_ast: 3e2666c11cb7a3287e4ac2d2632b3fc288a0332879ba6f5b377752da44f89b9a diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 034ab6c0e5..3ef250a4e9 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2c7911ddb339c2fcdee25cf21fec17727233c194b135902d29f247cc7c20c446 - initial_ast: 5945d7053ce292bb3d594e228a83538b51756c6b423d6cd2244cf146719d22f4 - unrolled_ast: 5945d7053ce292bb3d594e228a83538b51756c6b423d6cd2244cf146719d22f4 - ssa_ast: 500542e443c67251d3f1c50cf18393deb32cf8d8fd43b8a8ff841a15674c6093 + - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 + initial_ast: 604433a3de4dedc6a8a8ef418e0a616b3a66ea1f3f2bfbff767726b9d971681f + unrolled_ast: 604433a3de4dedc6a8a8ef418e0a616b3a66ea1f3f2bfbff767726b9d971681f + ssa_ast: 9e1e6b894fbcc1979f0f96de658477cc5e1313de19c47feb14963f0638fc9ac2 diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index 8a4a7afd05..47589bbd79 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1fc4c14c2b4a2f91035315a0cb5fce983e1c75edea3c21e33abfc3a088cff990 - initial_ast: c2387281e1bb8c23c610696c723b380065f00d9d6d636cfa17a598d0f85018cf - unrolled_ast: c2387281e1bb8c23c610696c723b380065f00d9d6d636cfa17a598d0f85018cf - ssa_ast: e0b5ccc17f458ca534b190df0e4f3a6b427d0cb62e1c53f46231ff1fe94989c3 + - initial_input_ast: 9986979e83203ebe5400f735d48cbeb65142f8b858a3b604c99b6e5d6bfeb167 + initial_ast: 0cff7268ed011d4658fe162cd2c788c79411970f36654341a486ddcae583d78f + unrolled_ast: 0cff7268ed011d4658fe162cd2c788c79411970f36654341a486ddcae583d78f + ssa_ast: 06e13822a8a8b3b88373bd84244e92452861921e281b96b57028219b2c1c6fad diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index e72e6ccffd..01b8878394 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 452b7c31531e8687d2bd8dd4036e0916485f052e946807e3cb3e23143f2eeaf3 - initial_ast: fcb0c1f1a13c49bb15ac0ac570860e1eba1b5d257bf91baa490a8f07876171df - unrolled_ast: fcb0c1f1a13c49bb15ac0ac570860e1eba1b5d257bf91baa490a8f07876171df - ssa_ast: 429b8dbc47b5e48a5f70f7588bd5102dd09e683ef7a4c02828b0c9cd859aee5e + - initial_input_ast: 284cc306edf57a02339ef2560f21ce29808d1bce42ab36402091e814e39c9fb6 + initial_ast: 402b3835d4a638d4bf1c62f92038184012dd89390cdccff0b2fef49996323096 + unrolled_ast: 402b3835d4a638d4bf1c62f92038184012dd89390cdccff0b2fef49996323096 + ssa_ast: f26955234e3e713f2d1c64de779522f751b758f04e35006af728d108457525c8 diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index f52da16aaf..1517e14c9d 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9a6fd528e0edefba421380e21519daac2b6422f3954ce74ee02bd78722f091c0 - initial_ast: 2fec6d4b8b764b96e271ab6a31107bd2aadafb3b68bb47df93b749311c8828e0 - unrolled_ast: 2fec6d4b8b764b96e271ab6a31107bd2aadafb3b68bb47df93b749311c8828e0 - ssa_ast: 07858456ca5f152aee6d34d3e8d0025304608eb328ec21e2bf414a9ebd4a615d + - initial_input_ast: 31328c147e6bd03afc7ae3611332b408f605b56416363b73f603c8035c601395 + initial_ast: 7f0fef0753723a803a47c275be57fdf960bbf6e5d3683f86ab593ed4b1ef6349 + unrolled_ast: 7f0fef0753723a803a47c275be57fdf960bbf6e5d3683f86ab593ed4b1ef6349 + ssa_ast: 81573fbb9b726887f7b09d2c09ed5f55919b5d611d6474c2c558e633da14656f diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index f685614570..918a6c1d71 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 93c771afc86ce441611aad9549031ec5119a00f13909808d874d2bee48fab760 - - initial_input_ast: 4f6e6ce3438c3b0e079e393d48dbe34f4161668307e41fb27c15f2effa3a23ab - initial_ast: bb9517ec8f446205ecd55e21ea9d93b2b0460f6e22d25f84880c816bdcd524d0 - unrolled_ast: bb9517ec8f446205ecd55e21ea9d93b2b0460f6e22d25f84880c816bdcd524d0 - ssa_ast: fdceb68b20c6528f5197de6b4853a46aa56b33d0cba5abf90a7faace0c517cd3 + - initial_input_ast: 84737613983ce8d5980d79c278d0df7581a2b67253b1e8e5f5e78187592cb736 + - initial_input_ast: 24dc5feb0a4a2c1c380b49392fb1a05f8ddcc6754b6b5561a334ad264a8e2904 + initial_ast: 987f064325cfd98f260555625ed121eaf030fb890f23a1094f831edbd368b40a + unrolled_ast: 987f064325cfd98f260555625ed121eaf030fb890f23a1094f831edbd368b40a + ssa_ast: 161265e76c7ccebbbc053353cb5244d903dd896a674a4110d083e8caa131680b diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index 0db31ed2c6..961df4339e 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6debec87347a0e02f0650cfef5f9796a5b24dfdccecc8ac0c4e8fd8ecbb2fa89 - - initial_input_ast: e1a19bbf471806a4b88240d098a78cd28a84e8fdc61f81c28242e7419a2ea1f7 - initial_ast: 296fe3a3669f387be6b4638882363df2e0393d86019ad43940f36b1c01807b75 - unrolled_ast: 296fe3a3669f387be6b4638882363df2e0393d86019ad43940f36b1c01807b75 - ssa_ast: 4034eb363f09c285cd844c645f8861555d0462d7f65a15f8ae802fb496512bee + - initial_input_ast: ce03fd3769c534ade9d6db8593ddfbb5bffedc449a0c12ec4ef4ee0847a1d63c + - initial_input_ast: fdd90f054b5d5bfc4126eb950c18a4465d6940e618e373b8b6aa6b79c5df43ed + initial_ast: f787e2e4c1e71549bd6feeb7693dbc7c7551328046627a682c4017f51134d6a9 + unrolled_ast: f787e2e4c1e71549bd6feeb7693dbc7c7551328046627a682c4017f51134d6a9 + ssa_ast: b3380eefb97d14a6cd022155ef247ce852bb1d0d4ee9464c1535fdf791c60f62 diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index 5e6dfe4cab..e57ac32af6 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 93c771afc86ce441611aad9549031ec5119a00f13909808d874d2bee48fab760 - - initial_input_ast: 6a8852e028a48406012818fc30637c8892bb322e1e43b97b3c87b8b1f6d37b4b - initial_ast: 81c75e50f7d9f8f17fc27789df30c7e2c26d6e10c2dbc12098ff510acddbdeef - unrolled_ast: 81c75e50f7d9f8f17fc27789df30c7e2c26d6e10c2dbc12098ff510acddbdeef - ssa_ast: 3223b19e8abe425d58136a2b4eb4b92b17456603736347b8b336f6a6539f1c1e + - initial_input_ast: 84737613983ce8d5980d79c278d0df7581a2b67253b1e8e5f5e78187592cb736 + - initial_input_ast: a18db69adb3a3cf6e975d3631367199901f74e2c2dcf47dad59c196d75e84296 + initial_ast: 187f5722d547f273209af43573eea2eeb2122d17f3e4c605524e376d7ad3ed34 + unrolled_ast: 187f5722d547f273209af43573eea2eeb2122d17f3e4c605524e376d7ad3ed34 + ssa_ast: 382adac57e7d57c423ab97ea3359c0dd07bbd9490a9a28ba071425960c2cefcc diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index 7191127146..8d8fc5c908 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6bc83c2aa19b57d081b9676bcc8cd9e8f00d03fa97e862b104a36f38700538de - - initial_input_ast: 54ff3d57fd6d6a459da0529f1082adf684abe5f57693b861dc7e2af2fb497cdb - initial_ast: 58204fe9684f7b768c9168d3bb295bcc26bf17fc9e5f31212acf98dda971e32d - unrolled_ast: 58204fe9684f7b768c9168d3bb295bcc26bf17fc9e5f31212acf98dda971e32d - ssa_ast: 5069189daee8a1d08439e30da0af4f21a8fbb164c91a81ce9ec9b5777e465f6a + - initial_input_ast: 6acc632daaf5f0c552f4d80973d19881cf097ff377fab16d5156c11aeb7930ca + - initial_input_ast: 723023394750964e78349b54a39fb569c861b33205b2b332cc6be525f01d07bd + initial_ast: 6603f57d41a1ce41b0fa57de7b0351e51b42cb551597f27fc4d9e0e5f64f89a7 + unrolled_ast: 6603f57d41a1ce41b0fa57de7b0351e51b42cb551597f27fc4d9e0e5f64f89a7 + ssa_ast: ba3ec9b1d28143155c5fe0ab682706263dfdcf0f7a09b8fc4567a43f2ce4e21b diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index 442c673c48..cb0a82533c 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 57b0b52cb2b0c6908e058a5c5e21e416aa4c1f15f91ba992a71d3c26f7c60dda - initial_ast: 74a6b05734ea4d6db6b285086ab0252e6d36fe8741bdcf12d59a1748f20099d2 - unrolled_ast: 74a6b05734ea4d6db6b285086ab0252e6d36fe8741bdcf12d59a1748f20099d2 - ssa_ast: af61cf9c20d43b29246ddd7ba9bed3a6c30f4a2b7e2e3bfb83dff7896f0539af + - initial_input_ast: 804fee09bda9b498b193d0fbc9654f078fa9fb09fd02f6ffe94d05d71ade52af + initial_ast: 38f1802cc79a6fba93c5ffb3d6361e68cbdb5dd66f7f01e9d6166ba4894e5d29 + unrolled_ast: 38f1802cc79a6fba93c5ffb3d6361e68cbdb5dd66f7f01e9d6166ba4894e5d29 + ssa_ast: 0b711d531cbec89a31177b2f92a63aee9c5db1112f088fbcf7b0007df73fd761 diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 3b143c34ea..d5a564af1e 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8670b2a8edf5d9fecca99251656174a22b8dde340ebcae4a6281b578c8d5bc56 - initial_ast: 632cb26e1f4fa42650b74b6d4233add1130d52d0852b78c16a6c79704e0c3ecc - unrolled_ast: 632cb26e1f4fa42650b74b6d4233add1130d52d0852b78c16a6c79704e0c3ecc - ssa_ast: 852e7f4ad7c7d890d57028991ca14800078f9282dc45ff39e84a1635377485ea + - initial_input_ast: 41447babe412945bcb82a83876bfbf13a49da1bd175909bd66def5f983abc0fa + initial_ast: ac2f6713a2372926514109f4800b95a371cb90f374c033872b5f3a72e065cd35 + unrolled_ast: ac2f6713a2372926514109f4800b95a371cb90f374c033872b5f3a72e065cd35 + ssa_ast: c000e709f7f5b1c23767e9754e1842bdffbcfb07012de214fd4d9add08a94bcb diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index 220c99c584..0d84cf58e3 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16.private;\\n\", Nom(Tag)), (\"\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16.private;\\n\", Nom(Many1)), (\"function main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16.private;\\n\", Nom(Alt)), (\"function main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index af154c2c96..62bd957104 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6dd8e3b3f5b57e5369f8162ac07b6f0cc7bbe9512508eb33c8f3dd599e111b85 - initial_ast: eb870b1233098d1d83737d7fd8166a6275111fb0b3ecc0bd7d953c114af01dd2 - unrolled_ast: eb870b1233098d1d83737d7fd8166a6275111fb0b3ecc0bd7d953c114af01dd2 - ssa_ast: 85b687244fb834619df9d025d2aa9480a1456a1666a936a8dc2417b4e342f543 + - initial_input_ast: f28c5410b5041b6e21629d81f363e7fd74270126f079c800fbd58fb11f293da3 + initial_ast: e9d57d899affad9edff799b290339f0283bca2b4a0d400951b23a779a620e005 + unrolled_ast: e9d57d899affad9edff799b290339f0283bca2b4a0d400951b23a779a620e005 + ssa_ast: 0afc03de290f248b1c26c1ab9e191b448c2614a8dda40b69bc37f6862455d36e diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index e974544b18..f282cc4dcd 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: db63d1be0d393774920a8fbbff5cb96f7f74998691cd87e8a35eee3787a2ef6f - - initial_input_ast: 5845e0b27c33dddb59ec39d7424da9981b2e27d79934fde39d50c38b323cf1b6 - initial_ast: 1ed49d02c80f8cd7bef6e93c693c6f840af526f9d315b2796f6fdb4b25894a2a - unrolled_ast: 1ed49d02c80f8cd7bef6e93c693c6f840af526f9d315b2796f6fdb4b25894a2a - ssa_ast: d4b7270e35fc18ca2013fb524768d8e9a87f7674ed28701eb6c60b4152079572 + - initial_input_ast: 42dd06ef7efc360932a547493c392d952bdb69ed5c400ca4efe013f837221c73 + - initial_input_ast: d80612f02541273bd3f2808b80208653a6802501f28db23f267fcf9d139599c4 + initial_ast: c90a0e1f1f3a53d90d3d3f31a4d5fbd52e9b6149e3940965061561c63536f65e + unrolled_ast: c90a0e1f1f3a53d90d3d3f31a4d5fbd52e9b6149e3940965061561c63536f65e + ssa_ast: 2c2da6a314c59ae52ee8275b740f6ed823c9438153448fac72aba48e6d01c6e6 diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index 2fa2e15752..413a0470be 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 406fa60cf680ec03454dcf053818ca3ee34ba94126f6f8078281d33d63a34c2e - - initial_input_ast: 5ba8e6fff792d26fb76663df5f3f4f732d3592841e5d4d33190ec72b870a6dc9 - initial_ast: 18e67f0234c32caebae9a010a4da2cf3ea545efa27fa8c65d9043c185cac6b54 - unrolled_ast: 18e67f0234c32caebae9a010a4da2cf3ea545efa27fa8c65d9043c185cac6b54 - ssa_ast: 4401cd9748490a53b4756a3a5b28e414c2fa6a1f11305a5c77e14a905e89c364 + - initial_input_ast: e3a67432f9c9f0672adc30127fcc2e31f9a0ab239c22ba8d663254f0efbb5458 + - initial_input_ast: 505c16cb20bfee80be7082a17afad679fab76f6e6401597cb9ea6844eb00531a + initial_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 + unrolled_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 + ssa_ast: 920cdbde9274e3fa395a3036e59bbf798ff72216869c61f4d90c467c6a9dcee6 diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index 67e43c7a81..d12c306f26 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16.private;\\n\", Nom(Tag)), (\"\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16.private;\\n\", Nom(Many1)), (\"function main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16.private;\\n\", Nom(Alt)), (\"function main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index 2941a561b7..19e50ed94c 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: b70fb2e84c0c1888ca7f72b5777d9a30d13ce0918305e0897f1210b2547f42bf - unrolled_ast: b70fb2e84c0c1888ca7f72b5777d9a30d13ce0918305e0897f1210b2547f42bf - ssa_ast: ad3e1ced50c47c003ec0b77cfc13c32198f9be02451cead43f32bf33214319e1 + - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 + initial_ast: 3c4c8b83883cb5eddce9517ff14019f6c6cc6febc6665c68f9c81c9f0b258b3c + unrolled_ast: 3c4c8b83883cb5eddce9517ff14019f6c6cc6febc6665c68f9c81c9f0b258b3c + ssa_ast: 1612ce434b4e5e53d4af0cb2efb0a735bf35825d861014b4c44ffe30b454f441 diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index a91ec6b364..7b3b27dead 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7c6b3e32cd105e1721fbc2ec3b24d9cdafec2c8ffc85c86124ceb79b9d6944b3 - initial_ast: 78f864048cf11fab25d246761081cf090f9e5c329246635a584b5d9b7681603e - unrolled_ast: 78f864048cf11fab25d246761081cf090f9e5c329246635a584b5d9b7681603e - ssa_ast: 0eec7d492c0f3c02e30e0552c6044b813a3e7821177238c59dcfc14593056627 + - initial_input_ast: ecb03a6467deb3712193feffc2b7d3af04442b075671ecfaf36e932162a86e2a + initial_ast: 72ee05afa4686d5a470bbadb0c4e08fb3133926b3139ec0df55399c605dd5044 + unrolled_ast: 72ee05afa4686d5a470bbadb0c4e08fb3133926b3139ec0df55399c605dd5044 + ssa_ast: 5bb05e5360f0a4a3a114054c0ea7c11802d8a4540c8547ef066aec559ded2b15 diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index ddc3ede4ab..e6c951dc8f 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2c7911ddb339c2fcdee25cf21fec17727233c194b135902d29f247cc7c20c446 - initial_ast: f4a4b36fe49563990b1935a3652f269c486e3ff1e4f2703bd9ba27bea448441d - unrolled_ast: f4a4b36fe49563990b1935a3652f269c486e3ff1e4f2703bd9ba27bea448441d - ssa_ast: 3dbebfe7a00fa1628a278ac7a5e68df24316b2e8dbfa7c3d3a6564cb0e9a63a8 + - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 + initial_ast: 8b3ab65110ccfe89dcea5cf731f5b31747090296bb2860e37ae4b55b3e251fca + unrolled_ast: 8b3ab65110ccfe89dcea5cf731f5b31747090296bb2860e37ae4b55b3e251fca + ssa_ast: a2a54e0b22a26557983402e5b4f614d23bca1288e38a9b139fcb58ec3cb6ea9b diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index be75b82740..bc7b32bed6 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 935da16d7df054c00286faa15dd10d61e07092638bad897f4fbd2de59a55d4af - initial_ast: 56c388701b0fb054284c35b2a8667a593c51c8232d3a3a379ee71edfc9fc8890 - unrolled_ast: 56c388701b0fb054284c35b2a8667a593c51c8232d3a3a379ee71edfc9fc8890 - ssa_ast: e76adbddc33457e03f4d04bb9377dc7483d6ccf98218c5d4efae3ab9dd5ce04a + - initial_input_ast: 905ff3d2b160b47b3067a8db8dc39d97d7d561bd539b7aea9eb2e62fd3858614 + initial_ast: afa23273b45590c06f2e18981be59833dff23a2d4c39e5445ad138abef7a1abe + unrolled_ast: afa23273b45590c06f2e18981be59833dff23a2d4c39e5445ad138abef7a1abe + ssa_ast: 9b6327d9277607015c6894a87d3a69242547c432773c44f6b27a220428adeb94 diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index 68098e57ea..55a3deae75 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 452b7c31531e8687d2bd8dd4036e0916485f052e946807e3cb3e23143f2eeaf3 - initial_ast: 2867f7d56ace218e75060901c326d67c0c525c56ce27bb314ef8d7ae3ae1a76d - unrolled_ast: 2867f7d56ace218e75060901c326d67c0c525c56ce27bb314ef8d7ae3ae1a76d - ssa_ast: d6011175507672a6e14ac9229d2c623d6748c22687378d9e65d01edafc219783 + - initial_input_ast: 284cc306edf57a02339ef2560f21ce29808d1bce42ab36402091e814e39c9fb6 + initial_ast: 0f6e2f6f6b246e81038c5b081c9f5369226faa6dca4783496de4f5e8c466b27b + unrolled_ast: 0f6e2f6f6b246e81038c5b081c9f5369226faa6dca4783496de4f5e8c466b27b + ssa_ast: 14bc8091a06552d40af76123d9b7156c616bf1c459f7916943b44871d8508765 diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 710f756366..8847a74aab 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b3abe04a59183a7c3eb40617edc44dec991ff67a3b71bb9cafdd8f20ccdd03f7 - initial_ast: 14769071e8f996b3ff20a2dd730b84d4f43bdd5cee2267f3437f494db29f858a - unrolled_ast: 14769071e8f996b3ff20a2dd730b84d4f43bdd5cee2267f3437f494db29f858a - ssa_ast: 0977c427de2a05ef56a2d7b15c1cde4c475ee8d59cee40eb23ade1402bc037a5 + - initial_input_ast: d80ff983ad30c7caaccb75dc86099ad956649b9f9a0bb5c6363665e495ce3a36 + initial_ast: 0e1027b3605e2882a78c501fef307559ba076714ccc99b35b9de19926aa4fc4d + unrolled_ast: 0e1027b3605e2882a78c501fef307559ba076714ccc99b35b9de19926aa4fc4d + ssa_ast: 9a44421052b76d6827eacf52262764239b3a60a0bb046258bbaae015751378d3 diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 3a7312fcd2..35b5fc3ba6 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b3abe04a59183a7c3eb40617edc44dec991ff67a3b71bb9cafdd8f20ccdd03f7 - initial_ast: aef75576f734d6edd60f3c4f0bc7bb186b8109fa80a80f1c92267e127ea1d59e - unrolled_ast: aef75576f734d6edd60f3c4f0bc7bb186b8109fa80a80f1c92267e127ea1d59e - ssa_ast: 62dc2f3d5a3cd52d40a1f932a89f740c8b47df9d1980250af6717086bbdc0e34 + - initial_input_ast: d80ff983ad30c7caaccb75dc86099ad956649b9f9a0bb5c6363665e495ce3a36 + initial_ast: dc90701696eeafd03f2ea5d03a9f05f23b5f47002350e7348a66beb3c7d8b121 + unrolled_ast: dc90701696eeafd03f2ea5d03a9f05f23b5f47002350e7348a66beb3c7d8b121 + ssa_ast: d80c4a16a282b4981f60119037769fefcd38a70b78a4c0f999e5208d6245c062 diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index 01605b52d2..da0d6c801a 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 943916e0ea110fb1aefe6999a3f26173e62f3717d66e88455526446567036c22 - initial_ast: 01b59879a5c724b150a97c4dde5f943c2f20efe3f15d4d395a3fe91005be2127 - unrolled_ast: 01b59879a5c724b150a97c4dde5f943c2f20efe3f15d4d395a3fe91005be2127 - ssa_ast: 1f565c1e4bf1ccec004c049a76b112ac37bddebbaba83e47a51f7e1606573b97 + - initial_input_ast: 8c98050d194e1a5ea13ec3b4410c455eb9fa17d8884fe99cb92813f1b7bd16fa + initial_ast: 61106babdbd13a3e7312b95e7acb474c5ea7b20213ce727edaaece6ab050e6ac + unrolled_ast: 61106babdbd13a3e7312b95e7acb474c5ea7b20213ce727edaaece6ab050e6ac + ssa_ast: 15947ba1de1e3666eb9ed6b9cfb6872b50d9f64a1157e4d7e85203f4f8dbb921 diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index ed1fd994f5..43a6c5a215 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a66197c1472ce09aa4da1fac2723d57d6d4b6fb8082339aa69ff12a3c4b2a43e - - initial_input_ast: 530b07c6c47bea42f2e00c08bcdd4fd953faa8903b7104f27ca86058d4bb139f - initial_ast: f4114b00588ee019733f188567fe6983185170adbe1492d37771784f9f2e2693 - unrolled_ast: f4114b00588ee019733f188567fe6983185170adbe1492d37771784f9f2e2693 - ssa_ast: 0b2a3727faa108c048ac431e54a33b4deb6a92a20ec15d2f99455b423aed6f01 + - initial_input_ast: 6b08c7ce3be7da162dc4013599e9ce4173e7f587a5b8e82d20961b8375bf2b53 + - initial_input_ast: 501a8b159c09d956d26e8665e582bb1a4cc603fad380e52f2132ddbee3034e16 + initial_ast: 605cd8f4935087f09446a44b168198286841bf5a075a86bbf674bb79f00b0851 + unrolled_ast: 605cd8f4935087f09446a44b168198286841bf5a075a86bbf674bb79f00b0851 + ssa_ast: d895dfee5e1a2108600dcfdff3d2228bcc3d62bba300395c484d4f581be90f34 diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index b9ba2db3d3..542e3ef6d1 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: eb4fed9cfe74f76e7a3c46480ad5e8325180ee5e388b7cefa93541458c79dc2a - initial_ast: 89767530143254816b79c55bee743eba5b43d7fe5790f223ab3b122304c3eefd - unrolled_ast: 89767530143254816b79c55bee743eba5b43d7fe5790f223ab3b122304c3eefd - ssa_ast: c1b2a305e3c9348798d9b5107b782c7238a57685a9ebe2cd0cbf30174c8304ad + - initial_input_ast: dd8b2fd6dfb555a8056adb9f5abc46f46b6f705302e2e3a032b45f75330783a2 + initial_ast: ee8c58e28e28d81bc27660022a13fa135a02baed281382f353244a18fac3cdf3 + unrolled_ast: ee8c58e28e28d81bc27660022a13fa135a02baed281382f353244a18fac3cdf3 + ssa_ast: b0bc5745edfed4b5747b5708719344cc134cf1c42c0a5e5392ed684f72208d7a diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 8a58f60158..5de02512fe 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 06d0a821012e07b40e3730441970af91f580ac09d484495bd18fba367bc715f8 - initial_ast: f9ec39a3a7041d9d31ec1d68bea774e287607addaec7d0bb862d40d50a60a19e - unrolled_ast: f9ec39a3a7041d9d31ec1d68bea774e287607addaec7d0bb862d40d50a60a19e - ssa_ast: bdfff5125e35b69339e24af30465a53d33d67dbc0b45c95cf3ce74299a902df1 + - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a + initial_ast: 773d7b633f3b5d3f2eb02036c39a032bc3a6d15d5cae568134069788e45de926 + unrolled_ast: 773d7b633f3b5d3f2eb02036c39a032bc3a6d15d5cae568134069788e45de926 + ssa_ast: e8a56dfd4f86c95346a63456d970334b248ddf48034bc120b09bbcc652d1d0f4 diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index 534eae5feb..332b72ac72 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 06d0a821012e07b40e3730441970af91f580ac09d484495bd18fba367bc715f8 - initial_ast: 5a6fea62e5f5c5782c21788429605127f2a1868f1306e78a6649d3218031080a - unrolled_ast: 5a6fea62e5f5c5782c21788429605127f2a1868f1306e78a6649d3218031080a - ssa_ast: d4185ccca26a9774603ac7a11807a2e988220e9df7e14a2441bd2272255cde9c + - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a + initial_ast: 5ed8578e7bff329058279d7f4d15fcbe73fd7976013ec3ef88cbbd304e62fd55 + unrolled_ast: 5ed8578e7bff329058279d7f4d15fcbe73fd7976013ec3ef88cbbd304e62fd55 + ssa_ast: cd7d8488b62780c4a05703e86a1a5dd5ba1967c0a7fb2e67d40830ab1da29b45 diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index ba745d8ef9..279e6a5e46 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5a123b22fda20783fdb0f82c51bc23cd043f0f13a0deb2185eb493cc80499d8f - initial_ast: dc3b855c960e45ab23efe05f89a635b869af6c6f5b89cd44335540e83416bb8b - unrolled_ast: dc3b855c960e45ab23efe05f89a635b869af6c6f5b89cd44335540e83416bb8b - ssa_ast: 1825b1c769c24365375137c526da014b6983e92da2effc67e66c9b926b2b1ee3 + - initial_input_ast: 39e705a9216291f52ce6053a6f28fa041ba65a79ffd01acd32052cdc9baaaf25 + initial_ast: 0f5309922dfbd54be92ecef3717fedc05acbabdfcd2b0e436b94e992b065db11 + unrolled_ast: 0f5309922dfbd54be92ecef3717fedc05acbabdfcd2b0e436b94e992b065db11 + ssa_ast: 5453a15f5114c61cbc4296ecc6cc956adc7884843bc26cbce4f68b7dcf935768 diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index fa778e8ceb..2193b98590 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1e1ad21140ba63decbebd0245ea4e64e60f42a572cf131e83e7dea27048774e5 - initial_ast: 11f108e7c75c3a21db122a60d89611b26f25cfcb78ee132191de8fab7837138e - unrolled_ast: 11f108e7c75c3a21db122a60d89611b26f25cfcb78ee132191de8fab7837138e - ssa_ast: 5f0aebaf8f00f07f72c8ad097666a1047c35c5e6802e45e6432bfd25e51a48ce + - initial_input_ast: 34d29b9c03c17cf1c6d33f5dca0287e351c98c3e38dcaef5007697ee936e5f5e + initial_ast: e588e948d2ecb99f4e0112b5d58e7e684d96b51a75739f7b1985e63c962908e5 + unrolled_ast: e588e948d2ecb99f4e0112b5d58e7e684d96b51a75739f7b1985e63c962908e5 + ssa_ast: a6357fc3521a9f34f0e3720a47b710731ec4014f5d20314b829c295c7f6830df diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index c6ff8a9feb..209e4e543c 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 759ecc252daec5ad529daf4340407bd63b4b1d0ef41234986620aa259edd9fe9 - initial_ast: b90ccb385bc5b2a743c481ed3fd7ef334cc3b0cd3167b76dc75c0a8d1e48f81c - unrolled_ast: b90ccb385bc5b2a743c481ed3fd7ef334cc3b0cd3167b76dc75c0a8d1e48f81c - ssa_ast: baa896bcfddef9a1e16e1968cbbe163760903dd3bf28a390ec695ee47ef57b52 + - initial_input_ast: 6360176079556b3313c644fa61e446f14630c10001147ad13c045ccd78829805 + initial_ast: 5e78e189a97ba2c78377b347cb9f4d9c68cc246fa3ed69b4d385fb7b43f19a73 + unrolled_ast: 5e78e189a97ba2c78377b347cb9f4d9c68cc246fa3ed69b4d385fb7b43f19a73 + ssa_ast: 0c3a58cadf10d2dae0800926911ca7cd026a8c959a20e553bcbffc404875c492 diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 773d65f10e..c46571122b 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a5007d9ff1071decf46a0894fe26b5a1a5f69a1e2301f4a26d46958fe11df6b4 - - initial_input_ast: 1344f641fadb1b0c1efc7932c9957eaa6bd052fe894f078727f8fe3f49f22a0e - initial_ast: 986109a6bab50b71cb97baef43a3843739e7d9cfecbf96a3d4c04b6bf42316a3 - unrolled_ast: 986109a6bab50b71cb97baef43a3843739e7d9cfecbf96a3d4c04b6bf42316a3 - ssa_ast: efe31d49385e42de13940ee15a361a89ccc3f515d0f1397dbe5cac4d5a272ded + - initial_input_ast: 35db03e52c5ef3c2e427eb75aacaf425b3ec691afcdabfd7f0e3d1349e69ec25 + - initial_input_ast: 4a149a7f5164375cd51c1e5db08f2a1d2a446a24f6553aac9b9afab80fc482da + initial_ast: 81561f821aaeb803fa371cf8d5c9668c7ab5e46aa86335fd6225f276cb1d01ec + unrolled_ast: 81561f821aaeb803fa371cf8d5c9668c7ab5e46aa86335fd6225f276cb1d01ec + ssa_ast: d4648caa5845124680eaed25db3a02f46e3735204cdbeb3035584aadd21a2184 diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index 7249e402eb..7a7c413e33 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2b606889131b76a9ebc315366784b04c1f3f1bd83893a38c268cc22fab22cca8 - - initial_input_ast: aaab2c93957b0d352572d29a19bf93c1ebe064ecdf1a2eac7937a63ea3b9b8e6 - initial_ast: 71231dc5fee42d16e4140d9334f2f2c2721d7b7425c590ddc8e6212a0b13e19b - unrolled_ast: 71231dc5fee42d16e4140d9334f2f2c2721d7b7425c590ddc8e6212a0b13e19b - ssa_ast: 37823ab9119298369f7e3eb9787f92fd7ea5a139ba6a9d2281d78dd4c19cccd1 + - initial_input_ast: 50c7482a56acb07b3da23475d069e90fe855b4b88a39262178440f40d003803a + - initial_input_ast: 1b9524b3145966c3f8e1869a25174833c61bb2c6fdbb86139a5d0f2521b70d70 + initial_ast: 005ac95dad8efad91e1a6682ec2867d9ce52bcb95bac65f3f9783ca3bf2e634e + unrolled_ast: 005ac95dad8efad91e1a6682ec2867d9ce52bcb95bac65f3f9783ca3bf2e634e + ssa_ast: 16fc6f83b6854a6750af5f16bad29481645d093191811b1480cee338f13d7c73 diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index a569d80fd9..1e3d94fae2 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a5007d9ff1071decf46a0894fe26b5a1a5f69a1e2301f4a26d46958fe11df6b4 - - initial_input_ast: c5477865023b52a9d11c4d5b55331f2db85d3731a3c7b1c73329e4cf7a23bc05 - initial_ast: e44418ced3e4855a295055809dd235d05c59d5e620d0d0147ee5306aa5b2b3b5 - unrolled_ast: e44418ced3e4855a295055809dd235d05c59d5e620d0d0147ee5306aa5b2b3b5 - ssa_ast: cc5cda5f631cf537acbfe54ba20cc8167bff96b69f376e9e462c5e30c7aaf3d6 + - initial_input_ast: 35db03e52c5ef3c2e427eb75aacaf425b3ec691afcdabfd7f0e3d1349e69ec25 + - initial_input_ast: ad0c7031ac184de9b31321c63d831f5fceed8f4fdc5c20ab9dbd131a9684fd63 + initial_ast: dc6b6130e53cf3732cc3546f6209e12c4dfc7ed2ae874143444db9c5bfa70ca4 + unrolled_ast: dc6b6130e53cf3732cc3546f6209e12c4dfc7ed2ae874143444db9c5bfa70ca4 + ssa_ast: e60c62024af697b0353937324278d1f4f9c3c4c6696569a5c598a1c865a530a5 diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 340ddb20d5..801ee7d982 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9af61194c74c1568b34bca0516d36035d64188b8481a153c1666b331b3fd9909 - - initial_input_ast: 5ac9009ffcfa69e6a4645e933f255fbf5a6ff9e0dbf0dfad3cbe391257cede89 - initial_ast: 1c5cfc9cca91cc58b043409fabc8c762d4411b6a8ed7b71530c014000a754b77 - unrolled_ast: 1c5cfc9cca91cc58b043409fabc8c762d4411b6a8ed7b71530c014000a754b77 - ssa_ast: d3fdf6c9e6fd3feb5f59e65ae84d9d703edd6bd25070afd6e024959c660ce63c + - initial_input_ast: d98ebc004fe3864ce283998439c94bea4e7cc1b8a4d9ede48a22600558b69927 + - initial_input_ast: 75a864aff97aa223aeaa46b8552ed6fe480586f3ef96559cad52e2ad145663fd + initial_ast: 95f648aa1e3495e45649ee82f76fba4e7900b5e4c0e18c9c2ecd903a7815feba + unrolled_ast: 95f648aa1e3495e45649ee82f76fba4e7900b5e4c0e18c9c2ecd903a7815feba + ssa_ast: e3fac625d2f40e3b24ffda2a6c411a1073bf00d75b9197a791e5da8e1319dcdc diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index 3d006592ca..6ffe4125f9 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 675f7fa8534cf0d511a2531441790b3e61aafc4997342d346f36207449d961fb - initial_ast: cfd5fead2f00119aead9933406fe1a21f035a9840098a0fd429233c3683be9e2 - unrolled_ast: cfd5fead2f00119aead9933406fe1a21f035a9840098a0fd429233c3683be9e2 - ssa_ast: 9a0c0e66efcbceb3109ff7792f9142a01ae3598a146e552effacca871b21cfb8 + - initial_input_ast: 257a1001521c3f8c50fa9698a12f1a70220d572fd99002e50f513a60cb09d719 + initial_ast: 879b50bc6c73616c72fe8d4d328b9885e45d312547e8e3fc7ebb4956526d4808 + unrolled_ast: 879b50bc6c73616c72fe8d4d328b9885e45d312547e8e3fc7ebb4956526d4808 + ssa_ast: 357bcb440be19ff81b3c0020ac95dafd72c7de1b0cf00727aa5424856e62a6ab diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index fd72a849c2..dfb2ebc77a 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ec75fa23bbcd67f7200093c62ecb592132a4147342075b4a98ec3b077c061b60 - initial_ast: 3d52acf2c2fa158ff60b7a95a562301315ae2ba8b04c1424820952b6a93b86a6 - unrolled_ast: 3d52acf2c2fa158ff60b7a95a562301315ae2ba8b04c1424820952b6a93b86a6 - ssa_ast: dd565bee67c52230721516c1d0c6ca95b49323eb9e9e785b07f8a23c25c62e3b + - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 + initial_ast: f644161dceb21060c338f07124ba790ba97b017096941e5ff6b51e4d3e9722b7 + unrolled_ast: f644161dceb21060c338f07124ba790ba97b017096941e5ff6b51e4d3e9722b7 + ssa_ast: 994b62eed379c5ee95937164afd905abf204d93a38c022a3eaa03b1209c224c9 diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index 070b0aa255..eb1e7f565e 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32.private;\\n\", Nom(Tag)), (\"\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32.private;\\n\", Nom(Many1)), (\"function main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32.private;\\n\", Nom(Alt)), (\"function main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 11e13e6b41..7574b18865 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7706a16ff7fee9e17b87d17f6ebb7912f85867b7d209336e96f9e393f2a89e9f - initial_ast: 60c4b41fe1a65a42a4fa202486f879035f37e2d8e3013115d758968662734177 - unrolled_ast: 60c4b41fe1a65a42a4fa202486f879035f37e2d8e3013115d758968662734177 - ssa_ast: 552f09ac43cab17283a42f89ace4a7b9909f382dd86734963805ad6062bc060c + - initial_input_ast: a1bd0fd91abb38e0e797ef352b247bfbc1dc5c0b56f00ec644766de21b74c424 + initial_ast: 63301ce9fde52455008195d647e4f11dc89bf680d5e29bef2b95a1b8ecb5a8c8 + unrolled_ast: 63301ce9fde52455008195d647e4f11dc89bf680d5e29bef2b95a1b8ecb5a8c8 + ssa_ast: 9de77de1eaa24bbcddfb643c875cfd8186a55d166a50bc343d6f777c674a6950 diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 620ac85a09..f0f4ae1edf 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5fb5bf840a14156001b929f422fa649c943165666c5b8c66e074cdcbab140ef5 - - initial_input_ast: bd749c3a40d74e985a2919a88d77f6142e9c58b486733bd525684dc0728a3c8e - initial_ast: 184e1e09e3e188ac5c7dd357fda4e6f8d30cc4839b711cfee30037c8f5b59089 - unrolled_ast: 184e1e09e3e188ac5c7dd357fda4e6f8d30cc4839b711cfee30037c8f5b59089 - ssa_ast: 4d11d2c646e83450428d2346816dbd90e271a5aa9f28ccdba359063065959060 + - initial_input_ast: e4666302821a525290f4b128b39e70b84044a183cf70260ac852ed61f70f14ee + - initial_input_ast: be370f4f74d08437ccaa313592d97d422b3ddb5f6b62e4c4698d8d2b40e3848a + initial_ast: 8c265f26cf4c6d7e8536e746a90dc569ea786ccb9ca4fa4541ce75c95cf87cb9 + unrolled_ast: 8c265f26cf4c6d7e8536e746a90dc569ea786ccb9ca4fa4541ce75c95cf87cb9 + ssa_ast: 544ea8367fda83a9fa1cb8f406f33c54f34c891ab5254a32b45f4597f6b3b3c2 diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index effed68eaa..749e2acfe4 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5e885de2c06148958b173c9b25f558609b658799b81a314ac9a3bc082f5cb95a - - initial_input_ast: 6e135a3c46a24712edc02d1153d4e5a0702b4c32b2b121363e488fd08a27fc7c - initial_ast: 9d4023539fec5b8394476d2f37af80d2cad51a50ecd86ef78d1f2b8caa62a40b - unrolled_ast: 9d4023539fec5b8394476d2f37af80d2cad51a50ecd86ef78d1f2b8caa62a40b - ssa_ast: df81535a8eeebe60ad07bbdb1b2d34be511bf853fa72cd0b5bba00972997bae2 + - initial_input_ast: ae4d4203374ee9ad849f4686d2bbda7798927f64affd648ab7f43a5533478f1a + - initial_input_ast: 472f0ed7598d1c1609332374c0f85fe7a3718b7fd27bbee6c38152584121ef23 + initial_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a + unrolled_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a + ssa_ast: 29311316479295dfe46950d8a296993141d0f77304027deeb416358b9d5c7447 diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 3f87170233..c96611f73d 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32.private;\\n\", Nom(Tag)), (\"\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32.private;\\n\", Nom(Many1)), (\"function main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32.private;\\n\", Nom(Alt)), (\"function main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index c94e5d573e..a97348b10b 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 581c00cdaa8267f18da1bec584c12b6f45f1641db7811e0e4c3af26c164bd78d - unrolled_ast: 581c00cdaa8267f18da1bec584c12b6f45f1641db7811e0e4c3af26c164bd78d - ssa_ast: c8870d4ba65bdb43503811c762b872ebef6eb83eacaeb8068bc51883ea33e4c8 + - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 + initial_ast: db3369fbc15d20ef7d16625dfd3a4304c911e1b7865516f776c16de83d42fe60 + unrolled_ast: db3369fbc15d20ef7d16625dfd3a4304c911e1b7865516f776c16de83d42fe60 + ssa_ast: bdf44d2fe0bcef3e645af6e29e09b68ad24650a62eccb95306dc388f539ff98d diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 46a5bd9c87..4b61494108 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: db058c082b7ffb442e7add1f541930f3f69248fe6a1a75bd86dd9e76ed7da45e - initial_ast: 92bf5423aef1760db113f1027fc4b347a5ddb9ef463c0d556fc862a166ff56ac - unrolled_ast: 92bf5423aef1760db113f1027fc4b347a5ddb9ef463c0d556fc862a166ff56ac - ssa_ast: 2aa9d5cab12bb7b5b93d2095c2564cd39ac74514f6ba1b0dcd1f053a59b500b7 + - initial_input_ast: cb358ee9b480ffb3da9b28826142166b899c35ee2e1db08501cb6b77af8e7cf5 + initial_ast: a9689ec9022d420a6e868010ffa615362727444cd27c4ad96f12ca0efc3e28db + unrolled_ast: a9689ec9022d420a6e868010ffa615362727444cd27c4ad96f12ca0efc3e28db + ssa_ast: 235d1780c264f546ccc20a175f36a8d6f68bfb5016f028eac8ad593911f207e9 diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index cce0728779..d12f4c1059 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 06d0a821012e07b40e3730441970af91f580ac09d484495bd18fba367bc715f8 - initial_ast: c011efbb6ce6873822c60f62d41bd7afd4a35b6f1c5aa2be76ace114df10e7ad - unrolled_ast: c011efbb6ce6873822c60f62d41bd7afd4a35b6f1c5aa2be76ace114df10e7ad - ssa_ast: 7fc48a3d6c124bb23ab8d57c0216a287a8dbc1aef0d8d9c316a3d5f9afdb5251 + - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a + initial_ast: c79bcb28e3237bbc3486419aa564a7cdebee50fc5e1a4044d6082accd253cd9b + unrolled_ast: c79bcb28e3237bbc3486419aa564a7cdebee50fc5e1a4044d6082accd253cd9b + ssa_ast: 290d6fb798cf695fc3d887191011d38ce9b93b1ce0fa558338c91bcb591acac1 diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index f2d7dfd89d..3e6ec0eee4 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e87f9920219d3c97ddef7a2f2926dc016ce2d5dcd2bc510bfe0ce47930feaf94 - initial_ast: cc383f79b7a5715ce3400461883f9f18966f343279cc41a39b185d9c9a07dca1 - unrolled_ast: cc383f79b7a5715ce3400461883f9f18966f343279cc41a39b185d9c9a07dca1 - ssa_ast: 5f6a245fb0fc788e38952654ed4a8d096e7093691195afca40de8e77c765b8c4 + - initial_input_ast: df9139e95a82ad62d065a7b337a3c1f3729d21a566fadcab835691aec4d83af7 + initial_ast: 519da459ee96166fe7ba40ae79df76a44d1469912551465fcbb18d61761df3ac + unrolled_ast: 519da459ee96166fe7ba40ae79df76a44d1469912551465fcbb18d61761df3ac + ssa_ast: 95c683987002b9eaf8825b3ac987542950d4b0a5e96bab91a56db4e46879395b diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index 8cdf2181f4..bdd458fcfe 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1e1ad21140ba63decbebd0245ea4e64e60f42a572cf131e83e7dea27048774e5 - initial_ast: 07dd99dfb2c6fd1213c9b8324cccc30c68032a0db4c53a26210511cedc901ae9 - unrolled_ast: 07dd99dfb2c6fd1213c9b8324cccc30c68032a0db4c53a26210511cedc901ae9 - ssa_ast: 160fbb8bdaf3c0d1caee7d6b069409e1b6429b50d0de2d8f157be2843ca3c041 + - initial_input_ast: 34d29b9c03c17cf1c6d33f5dca0287e351c98c3e38dcaef5007697ee936e5f5e + initial_ast: e49df348a31c55427dfd4b880fd3a66ea77561b6d7a7900adfc676a87f3ed655 + unrolled_ast: e49df348a31c55427dfd4b880fd3a66ea77561b6d7a7900adfc676a87f3ed655 + ssa_ast: ba2913a96fce22c2cdbbfee53d288cbc42e80dfe86507b9179fb718713c315d6 diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index bca8667c6d..f68ff2422a 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ec75fa23bbcd67f7200093c62ecb592132a4147342075b4a98ec3b077c061b60 - initial_ast: 9851e3b743752040f2c4389b72b1b129992eb0b182949e2f5853d862e9086912 - unrolled_ast: 9851e3b743752040f2c4389b72b1b129992eb0b182949e2f5853d862e9086912 - ssa_ast: 96f6cca1412d69cac69b6300923773dc428724e14b8e39cbdfb59de0d5629dc5 + - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 + initial_ast: bf564e3cd1388805a710c700d884240dc9d1855c484d31a2b0a80b30f78b7334 + unrolled_ast: bf564e3cd1388805a710c700d884240dc9d1855c484d31a2b0a80b30f78b7334 + ssa_ast: 89a3b29a62d8ae578f8f98bf449558e9724b3b57b79f54ca3bd4ffc4d7e31f7f diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index 49080b5f05..3153831422 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ec75fa23bbcd67f7200093c62ecb592132a4147342075b4a98ec3b077c061b60 - initial_ast: 35d5fde45fa49c11b92d36dd6791130505175b6c168fa567de2b461dd4d1cd2e - unrolled_ast: 35d5fde45fa49c11b92d36dd6791130505175b6c168fa567de2b461dd4d1cd2e - ssa_ast: a5146ccb052ac775a8f275896e679ae32885a6141c95e35fc9efab35bdb2034a + - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 + initial_ast: ea20d107b9e62d3a6eb9f86d2db6542e05aa26089694b92d200eacb033239dcc + unrolled_ast: ea20d107b9e62d3a6eb9f86d2db6542e05aa26089694b92d200eacb033239dcc + ssa_ast: c22576c1f960a28d64f100be3d465a189e73c39cad35d18a5ca39e76d20700d2 diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index 9ae319bc82..94a0a8611b 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bc8cf1657042cf580047af0b4da6601ba2b37a07e6a0b0b549c6fe6e168ccd21 - initial_ast: 2456d26e09d2451d71ae981d0a2492e09a3585f9dc554d4c5d882815b6cb9e92 - unrolled_ast: 2456d26e09d2451d71ae981d0a2492e09a3585f9dc554d4c5d882815b6cb9e92 - ssa_ast: f6c2bf12f4fc7c0598959ac3935e8740738993c912cd9393e38145f939992fed + - initial_input_ast: c2cf1fd22485f467dc32475dee9d32ac80402e54adfcb0e2983099dba96f40d3 + initial_ast: d33ec9c0d4a97795faf2d47bc5e7d9750da8e86b8b2d353affc3161ca7f1f943 + unrolled_ast: d33ec9c0d4a97795faf2d47bc5e7d9750da8e86b8b2d353affc3161ca7f1f943 + ssa_ast: 9e22f3fe5d5808420259ffa12a9174a2dfb733536442eebf5518016096fdbbb2 diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 91176efdff..9e70f16078 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5698b1e8a29900293a04fda5850e12e64a0d4726451701d8a726537e31bf5893 - - initial_input_ast: 8025ae0dc58c3afb172a5451a69ef11be764fef4d3c2ad0bd0a253b635a97606 - initial_ast: e91a2d948492ff1c95f15a61ef90c8dce0f3eac9366c134246301ec674a8c183 - unrolled_ast: e91a2d948492ff1c95f15a61ef90c8dce0f3eac9366c134246301ec674a8c183 - ssa_ast: 546caa6f78966c3417d4f88a20f11ae0819f68fd802afd9f6598f3cde71bdbb2 + - initial_input_ast: 2e1bc1f809806530e7c67b1740832ee9aaafb33d88628827b48dc375226f012b + - initial_input_ast: ec2c6839989988dc1c8e299c62401fc3b9fb5142932db597aa118d513b3e702d + initial_ast: 1287e489a48316557188db8521745a56c0ec9b32f64af5f4a9b1ded84eabb896 + unrolled_ast: 1287e489a48316557188db8521745a56c0ec9b32f64af5f4a9b1ded84eabb896 + ssa_ast: ecca8b21598fe1e67996372db5dd2cb61740467df35f8a73e6ab83dfb6f36b43 diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index be0466e8a1..daceebf9bf 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7890b42cf634b28c6b214d92654107bff211c515e1e6b7bfafa1c41af4952eab - initial_ast: 152a39ca45ec384237ac168ac201a2de59a046f1ab136ea5c6851330b7481825 - unrolled_ast: 152a39ca45ec384237ac168ac201a2de59a046f1ab136ea5c6851330b7481825 - ssa_ast: 2b805367a473a0abd8d1fbc19ffeec44793d446f4beb179fc80a5ada5cf1e6eb + - initial_input_ast: c07a3d095cc4b5f846216a1b003c61a3ad1d84708011458123458c9661c38202 + initial_ast: 800231e603b27054529ee116a57d0e1bdfe12f07e993cc3a33925becf2ceea7b + unrolled_ast: 800231e603b27054529ee116a57d0e1bdfe12f07e993cc3a33925becf2ceea7b + ssa_ast: c575604455c032a8c23ab624e1e5be5ef6536b697a645e39dc879522e1065cc3 diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index 713480bf35..c231d17fdd 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 977a18c10a9f8131acb2f7cf2e24680ed4aa2366e3b241d154e0ed9733fb0879 - initial_ast: 948045fa17bcb7ce179969fb3045b48960a7a6c22d256513a57d802db958ad45 - unrolled_ast: 948045fa17bcb7ce179969fb3045b48960a7a6c22d256513a57d802db958ad45 - ssa_ast: c6a1e857a9edc30dc166d54a28bdb99c96afae9aedba0cb382b72b1475b14e9f + - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 + initial_ast: a1778ae4bd22e43a09e2f62bce14ef5926b764aae3a82d6974defd49a31b564b + unrolled_ast: a1778ae4bd22e43a09e2f62bce14ef5926b764aae3a82d6974defd49a31b564b + ssa_ast: 888d28e1eca788b94bf328eaa713c395fe6cb9be4b60e83d7c07e17e4de7f978 diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 484ea84e70..3cf17fac82 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 977a18c10a9f8131acb2f7cf2e24680ed4aa2366e3b241d154e0ed9733fb0879 - initial_ast: 33ac492dba7406e71de8a49a5bc296727b05d173978b48262fa035ab355d6f17 - unrolled_ast: 33ac492dba7406e71de8a49a5bc296727b05d173978b48262fa035ab355d6f17 - ssa_ast: 9c7d711cec003db82f6052c6995b4bfe1750826765cccc38ab6b7e44bf8415e6 + - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 + initial_ast: 7a5c0b6b9b0f2d03ded951d71f5196ee0befd2d7ad7914918aa3727ceb825f9e + unrolled_ast: 7a5c0b6b9b0f2d03ded951d71f5196ee0befd2d7ad7914918aa3727ceb825f9e + ssa_ast: b678b717994c9e4a4ebe0e6dcbc41a5ea4d9c05091d0d211e33bcbc6e3f0f756 diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index 49d9cfaf93..959a7d38b1 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 59bd3ad2ecbc27173c85f464424de2c7e4ba8c1da4debb8029e90d88790d00d8 - initial_ast: ea1e6f995fbbf3a781e525a7db2f31627a43b339e0ce765bd8bf7225590221e3 - unrolled_ast: ea1e6f995fbbf3a781e525a7db2f31627a43b339e0ce765bd8bf7225590221e3 - ssa_ast: 883edf4f77f99acd903fe8daeaae98f1b5909d0582fc63032429b1874a54889b + - initial_input_ast: f6c9e2d6a8e9a823ba6a2beb20ffb74e6276c45131e381082c47cf3b022a4534 + initial_ast: 7f9df25ff813674f7dca7f3ad73c44b072b7b17ecca4a414ba8487c53669d631 + unrolled_ast: 7f9df25ff813674f7dca7f3ad73c44b072b7b17ecca4a414ba8487c53669d631 + ssa_ast: b0e395dd0cd528b41e58367584dfbaa63a50601a9505c12401826fa35ba104ac diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index 8255778e89..3bb5444436 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fb4b6c2851eb750bb98fdc1a605cc454eae67d391169390fe4bc4762da357330 - initial_ast: f43bbdb2b989fa7873a99cb3deea250d815e9e5b75bfb7716279805409222cce - unrolled_ast: f43bbdb2b989fa7873a99cb3deea250d815e9e5b75bfb7716279805409222cce - ssa_ast: 99074652456c23f4ca62fa3d2608ef17d676a86c11e4fc668fbda42b17863343 + - initial_input_ast: 38b990381cdc53033626ff2bd890627961a1d86facc2266bc6667069927e1595 + initial_ast: 087f0ca845b4a79d2e0d54cc9147fffd8add9932048f1b763553d6af0410ca96 + unrolled_ast: 087f0ca845b4a79d2e0d54cc9147fffd8add9932048f1b763553d6af0410ca96 + ssa_ast: 2683efcddcebfa6d27ea138e40152edd58d4dc13938d7e2c5358742b3c4be233 diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index c522ce862d..87e2e08d60 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 525e046c7acfd0fe01d09860daecb4053ba2a90820f0156cc2f1fae5108f4f49 - initial_ast: 3fbc261f657e05e141b261fdb060b8eadb4453d9c9ac78bd413a1fff73e8514a - unrolled_ast: 3fbc261f657e05e141b261fdb060b8eadb4453d9c9ac78bd413a1fff73e8514a - ssa_ast: 353cc3f322a9b0f1ce434343a23724a04276c09a8b1a4850453309c7d4cc7639 + - initial_input_ast: bee0ac11572ec7d1596f2f6d9546aa9248f6acf6158024d52609197a1cbfc9c2 + initial_ast: a5ff9d82240a4f2105dabc0184926aa8c447e40b5eb2e9f04138db414018e9da + unrolled_ast: a5ff9d82240a4f2105dabc0184926aa8c447e40b5eb2e9f04138db414018e9da + ssa_ast: cbc29b1dd052acadfdfc5f67be1fa1e0d8c92cc7c30ce7b0cf6860a5f209da4d diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 36a6baabab..0d42ebdd1e 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e46fa95614a8aa29a9dddab1407d8fc122c5b81a59316b2cf01602cad64ace26 - - initial_input_ast: 43b74ba4ecdd6833d5c9caf13c738698fbaa6cf17190d214f557c880551c52e9 - initial_ast: 3af7abd9654e698e7eb1457699ce95560e53efd884ec80d471a05a32fc21beee - unrolled_ast: 3af7abd9654e698e7eb1457699ce95560e53efd884ec80d471a05a32fc21beee - ssa_ast: f3c02dd40db77159e1a9e574980435873b06680ae9a93746875664ddb62507e5 + - initial_input_ast: d244d5805d6ee812b1b645a6007f790e556e98401b8679c4eacb46d3c6d11efd + - initial_input_ast: 358c2e497340033e9a6b684c928fa31734630b8a413579f73b7f0817f450e706 + initial_ast: 5efaaaca6c62aba0bca2bb079e0c7eaf6d8415e6aa4295469149ea43f7c2a595 + unrolled_ast: 5efaaaca6c62aba0bca2bb079e0c7eaf6d8415e6aa4295469149ea43f7c2a595 + ssa_ast: 8a56788116a3218f2c915c59af6c6befe212ec0b7a59a81af8b7bb20f3d79025 diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index 8ceafcedc5..234b95027a 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6b49ead8df8fe3ca4ebfe0c82e17f19f8d1a155d6256c92dcdc9cd4f58dbad28 - - initial_input_ast: abfc4b6a23e9098ea7a81691ed2f9c22b8a3a2cdbf764098db11cfbc40b9cb29 - initial_ast: 97fe81922d77f91994c9fed6194a483b4b8b50a18828bb74cd482b54f2d9ffe3 - unrolled_ast: 97fe81922d77f91994c9fed6194a483b4b8b50a18828bb74cd482b54f2d9ffe3 - ssa_ast: 63557f8c750ad4ff1bc8cbf32e465af243dd76f485bcc67b69a916c9e3f5033e + - initial_input_ast: acf15aa53d09fafb333b18253ea42770eb7946cfcf9ce4c84fc412676a846781 + - initial_input_ast: db8ed8e9d123106b100648857994fe1c3753dcc3d1a0cf0c2ee712ccaef45083 + initial_ast: 879d9c6863b17148da259ddf4ad679c4eac6ac892f7f508f0c3305d64f5f4a29 + unrolled_ast: 879d9c6863b17148da259ddf4ad679c4eac6ac892f7f508f0c3305d64f5f4a29 + ssa_ast: 6fbb6cf7a6331a4da0bfaee8f07ffcd45f5379377c43c36772373b98f429ebb7 diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index 1e921c8402..fa38fff4c2 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e46fa95614a8aa29a9dddab1407d8fc122c5b81a59316b2cf01602cad64ace26 - - initial_input_ast: 5b239c93a0ad62c5bd506e8858319e0fd13199069c0d4f05c3781f716176bebc - initial_ast: 86cdb9ddbdec50d2d04d806fe68eefaa803e58643e2bd999cc8c2052f55dd095 - unrolled_ast: 86cdb9ddbdec50d2d04d806fe68eefaa803e58643e2bd999cc8c2052f55dd095 - ssa_ast: 6ab4f2ba89301eeae7b6fe2ca95945e1a855627bd3f223f021a8977ead51b3ae + - initial_input_ast: d244d5805d6ee812b1b645a6007f790e556e98401b8679c4eacb46d3c6d11efd + - initial_input_ast: f7fea7261c8115c90543047577cdc8fba17860006d4661093df294e912206402 + initial_ast: 85c853776491caf3fdfab7e2ad9cccb42de430328fb46176815e2eb50bc5507a + unrolled_ast: 85c853776491caf3fdfab7e2ad9cccb42de430328fb46176815e2eb50bc5507a + ssa_ast: 7613a97324eaaf6c9f71f7dc88d199e4dfa1158a19c2c3c80b109dd7402c7c63 diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 43a404c801..83ec718f5b 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0505e11c1ba5993289a95ca23d8284b98306cbcf05d09523236959b82c5a63df - - initial_input_ast: 2893b2993351883eb062f02e840ec5b4a1475ad28f32e51062f55f5df6402824 - initial_ast: 4d4b0663a4578d0970a28638bf9dc4ad9f72afce6373433ce899e01b326989e6 - unrolled_ast: 4d4b0663a4578d0970a28638bf9dc4ad9f72afce6373433ce899e01b326989e6 - ssa_ast: 3d972d85010d85d66945cf08a1b18072f35274112649af81e3e38e007f480419 + - initial_input_ast: ac0c2de3a07425cef70289738cb02ee787068eed6528578ee4bc5e20621f8663 + - initial_input_ast: d2bc34fd913a14a074682a42c6ed533c6015b696108e2b7ac5bf84002dd1229c + initial_ast: 4ccd28c5b40f174ca89ca1f27c1442ae3480e67add21a7d4e8cb463626fc4231 + unrolled_ast: 4ccd28c5b40f174ca89ca1f27c1442ae3480e67add21a7d4e8cb463626fc4231 + ssa_ast: bf5025cc8d3a6f32a556bc1231360f174b9aa8cb65c25c1c614c6695a23b6b5b diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index 2b57488aa6..618a3e511e 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0d103759856c9c525f8c00ec42f6bb120c934f5ad4cabf06e9aa6feb12298888 - initial_ast: c92a06cf11f329404f1ec9d9ffe68f4ac36c11624bd11150ff3e76927870d5a3 - unrolled_ast: c92a06cf11f329404f1ec9d9ffe68f4ac36c11624bd11150ff3e76927870d5a3 - ssa_ast: db9b94076e3c6eb38fd87a691144416e31d460fd70b4ca18bafbd9fa450dd02f + - initial_input_ast: 81f8d84c4b1c0f7a462567ce341c2e09113d82e3d9dc34712cf9f26048f10678 + initial_ast: 6ba934d78972e708812e8c38fbf1801f9325a0b29fda0df47e5ce648ff6ecf7f + unrolled_ast: 6ba934d78972e708812e8c38fbf1801f9325a0b29fda0df47e5ce648ff6ecf7f + ssa_ast: d536f7916b0312dd95ff866daef0394a7d89e172d7aeb14bfeec1ec7ef359485 diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 76f3d0a3d8..1e18f1f84f 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 79e803c0a39b4532052708ed3ec83e020452b7756f49dc2851290b9077b2c0e4 - initial_ast: 9bf3db279f323af043b2210364f2e8fb71b6bca7f3053b7ea9b444cd75990289 - unrolled_ast: 9bf3db279f323af043b2210364f2e8fb71b6bca7f3053b7ea9b444cd75990289 - ssa_ast: 04c3af85bc53e1b1f2129f8e1c9542d7f39d70c2cd3abb61d3833275a9bfc869 + - initial_input_ast: b3b2f3490a1151c22fee2d9df5a0d82783701dd70b6c2b4fd9ca3e69490783bb + initial_ast: e5000099c14e87137d2f2bc669edb80ef9c9827f165147cba121e17db302e9d5 + unrolled_ast: e5000099c14e87137d2f2bc669edb80ef9c9827f165147cba121e17db302e9d5 + ssa_ast: ca9eec4104541dbf592d7debff8561e3689bb0857a68a11e31f664ed7d459971 diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index f4b959400e..b0f4ab8637 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64.private;\\n\", Nom(Tag)), (\"\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64.private;\\n\", Nom(Many1)), (\"function main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64.private;\\n\", Nom(Alt)), (\"function main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index 52de04fea6..d8e7efbf19 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e68b68d6b69f3dba2f082d8b1771c6040538abe76d9592c7f28c0d12848166fb - initial_ast: 33d112185e025d5e533f0f99f472d7f5ad545ff359eae4a3502774b24075494a - unrolled_ast: 33d112185e025d5e533f0f99f472d7f5ad545ff359eae4a3502774b24075494a - ssa_ast: 398e6735e6b2aa39aa9c4e3ae6313d0d9455a8eae05c7bd0d7ef564002106a86 + - initial_input_ast: 16ae22285ab19638bf174a2d548251ac5e89ec1c7684b95dbee0ee25b5434033 + initial_ast: 9e21267913bdbe66d7526ac199dbf59d8f694f62e7f897f7fdbcc849e94fb1c8 + unrolled_ast: 9e21267913bdbe66d7526ac199dbf59d8f694f62e7f897f7fdbcc849e94fb1c8 + ssa_ast: e617a8251db2ed84978bf3fc5c23bad117f83cb2348747b4f00a7baa09599bb7 diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index a2313a1881..4d23c08375 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 070b3ccdaae03383f76a8e22550f64fb0b0332a1da1d26108cd83b981fe6f18e - - initial_input_ast: 7834ed1db124da61272b4ccbb750e4b1921878d1d33a60579c68b2836b17f269 - initial_ast: d2eeb47c593c9f4f85135e7cccc53cae875e870f7144673ae700c99d9eb605fe - unrolled_ast: d2eeb47c593c9f4f85135e7cccc53cae875e870f7144673ae700c99d9eb605fe - ssa_ast: df33d61e38d9e9df0de5da822af254077cdcf2d5edb81bbabeb8eb1ee086fca1 + - initial_input_ast: a3bd5093b4313caed55adf7f2c48933aea2065feceac6593ee5c9f3131fcfe23 + - initial_input_ast: f39ba22bd83e3d40966b19253af60542e9969952ea960dac14fcd99a28c6881a + initial_ast: cdd60e33863eac4c14bbe387ef8f6d81f31dad55c5efb451f1acf48935393ed7 + unrolled_ast: cdd60e33863eac4c14bbe387ef8f6d81f31dad55c5efb451f1acf48935393ed7 + ssa_ast: a89056be4a85c7a21b83f0722c9f433554ddfb78966a3f7a59e1b9f74b751bec diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index d7b3a0a296..f451841123 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 137c0b0b2bca3b760e859707a6fc686d9a7059f434afb33282ce8cf3c228d3c2 - - initial_input_ast: a4c7ace41a4f18328386adc30f8c869156bbf8a69d825b526e42957ebcb54c69 - initial_ast: c2ce64bf8520c42e74c01184eda4f36274f4dd7635e5a5ad9467016c7af07e77 - unrolled_ast: c2ce64bf8520c42e74c01184eda4f36274f4dd7635e5a5ad9467016c7af07e77 - ssa_ast: 70070fe9eb01299973a720d595629bed39f62753116fffa1fefc8d6b66841332 + - initial_input_ast: 936a54d9bbe52e0f04e572a5b8b240bb2a9f016b50c72393ac3384777f3b0b0d + - initial_input_ast: 0c06c0ad8f97eb34d1cc23a47f961b308cb7145a30b353e02885288b4b789873 + initial_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 + unrolled_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 + ssa_ast: 83341ff87d409f7e2ed49284d9af76c225c70ab0fa8f3537479ec1076373af44 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index 4dca5852cb..b5b91a76f3 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64.private;\\n\", Nom(Tag)), (\"\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64.private;\\n\", Nom(Many1)), (\"function main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64.private;\\n\", Nom(Alt)), (\"function main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 8d9dd0b828..1f9f842585 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 05890c9bf5956e3c463d1ded96663778e5cf7d6abb855b9ab35feb9f67e6fd32 - unrolled_ast: 05890c9bf5956e3c463d1ded96663778e5cf7d6abb855b9ab35feb9f67e6fd32 - ssa_ast: c8974a2c6fb83675c6c77b7f236818e3980140baa0760014771ea8a1bd7b207c + - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 + initial_ast: 29324e0ab75025298715518a3626006de8cbf3f105a940474bda85dd27c33086 + unrolled_ast: 29324e0ab75025298715518a3626006de8cbf3f105a940474bda85dd27c33086 + ssa_ast: a5b423f7d2877088d64857f7a1bd486f28992a41c3217ffc07068f69651df631 diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 1e30009dcb..d483f49c50 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0acf8220ae3e5880de908b6467277ba8dad966ed868dc17048dff74f95f78ed2 - initial_ast: b14915246b77003d6fc7ea6171cd48d3cb46ebb752c69907f7817c1361d7b80c - unrolled_ast: b14915246b77003d6fc7ea6171cd48d3cb46ebb752c69907f7817c1361d7b80c - ssa_ast: aacdf4f5a60f405a64407d4eb6d734796bdf0eb4498409f2aefb3302553372e6 + - initial_input_ast: ed44bf24f3cbad10f77985da1b969b1ebebfbb35f07b81a83086457d81b7aa08 + initial_ast: 331549161c420dfe744c90f719a2f3b3060304d27af67d245cc27e0ae80c40aa + unrolled_ast: 331549161c420dfe744c90f719a2f3b3060304d27af67d245cc27e0ae80c40aa + ssa_ast: b2eda6eac497f4cd4e2e0735e2e2e39a66d09b2e738199e7a573a1a4f8a9e03d diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index c976c380c6..0e9ca59950 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 977a18c10a9f8131acb2f7cf2e24680ed4aa2366e3b241d154e0ed9733fb0879 - initial_ast: c9fd204f3e8d1eda6cf6d9a4350327fb3df2b138ba8feacef149fc0ce20b5f8f - unrolled_ast: c9fd204f3e8d1eda6cf6d9a4350327fb3df2b138ba8feacef149fc0ce20b5f8f - ssa_ast: 5933c5c73fe28f21ddf26c91644647e7240f520ec19b3f103296fd931f953bd9 + - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 + initial_ast: 1264031d6a6b7aec3506348c2790df9052d12505e0eb2b5fdbe71a88fdb8d69e + unrolled_ast: 1264031d6a6b7aec3506348c2790df9052d12505e0eb2b5fdbe71a88fdb8d69e + ssa_ast: 15c6e5b2fa26bddcd7cb6bc13f9d21d8c2b21cfd116a10705c7fbd929ce1deba diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index ed887e5cc0..c7b4b2bec8 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 70929414acb39f1f1db6f044d346ce321c37924ba467a8c99d3de12f19338783 - initial_ast: 0e0801828222a0881df444f49e0d847e747314d16195ce8e14d73909d6fdbbf9 - unrolled_ast: 0e0801828222a0881df444f49e0d847e747314d16195ce8e14d73909d6fdbbf9 - ssa_ast: 965a54d74b771c38d13368a950d3f0a6ef663d63c13963777622aacbfbb5d323 + - initial_input_ast: 469522b75bbbe1f7a9bdd490a4a0d8c6f8f8f39f14770517349c4beb2de603ca + initial_ast: ec68f26a9121e9eb36b69f3239009c06c287df9d826bbdbc4ea2d4407ca5a4c4 + unrolled_ast: ec68f26a9121e9eb36b69f3239009c06c287df9d826bbdbc4ea2d4407ca5a4c4 + ssa_ast: 94a12291ae1a550785a3fc4a1493fdda983b01056d689850d72400fa330606a7 diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index f14a9935db..e5908af737 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fb4b6c2851eb750bb98fdc1a605cc454eae67d391169390fe4bc4762da357330 - initial_ast: 1969b46b67698ba73bec9e20d52fe81166011cb88006617f37c813d755ecdc8c - unrolled_ast: 1969b46b67698ba73bec9e20d52fe81166011cb88006617f37c813d755ecdc8c - ssa_ast: f8d3bbaac6776dfb2724e33e487a8fd49db21c5c1ad1e4ccdcacb3bebd40574a + - initial_input_ast: 38b990381cdc53033626ff2bd890627961a1d86facc2266bc6667069927e1595 + initial_ast: f7fdc4c619e878c7bf77172429204ff0149bc104336941022f01392e52b7d24f + unrolled_ast: f7fdc4c619e878c7bf77172429204ff0149bc104336941022f01392e52b7d24f + ssa_ast: 48d082fcd045b159d89fce18c558fd5c2f7b37393f1541e5f618a8ef2c76544f diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index a109ed51cd..9b9032602e 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e83445120df1413c9c3695a5c9f4731762d27410f9a9b9f3a11f6b6c68275213 - initial_ast: 2f155196b75f6e9ae6076f182ef2c586b9514de30508968fdbe3d40425d55a9d - unrolled_ast: 2f155196b75f6e9ae6076f182ef2c586b9514de30508968fdbe3d40425d55a9d - ssa_ast: ebf7abfe5edc5d6b2c4fe39ee5b6106784dc525291f4aab18382a70433b736ca + - initial_input_ast: 495d0ddc7dc8b10d4fe2e33cd69e8f600e97dbe8b62c70dddddac82a859199fb + initial_ast: 44b4c779d7dc102f5ad950bd24565a37ff9c6ea1f1374ae47af86597409e2f23 + unrolled_ast: 44b4c779d7dc102f5ad950bd24565a37ff9c6ea1f1374ae47af86597409e2f23 + ssa_ast: c209c5f7ac9d7dbf497243a51101360b54645d499c2440fba6587b108d37f1da diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index c1b9832ee6..49ae752d33 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e83445120df1413c9c3695a5c9f4731762d27410f9a9b9f3a11f6b6c68275213 - initial_ast: 9c5bbfcb58f57de7017a1e6d9564af80e67a5be432aefb4952bfd1e4ea136474 - unrolled_ast: 9c5bbfcb58f57de7017a1e6d9564af80e67a5be432aefb4952bfd1e4ea136474 - ssa_ast: 41f6917e24828086d3bc4ec659ecd829caaef50395c6175ea9b6bd31f5e771d3 + - initial_input_ast: 495d0ddc7dc8b10d4fe2e33cd69e8f600e97dbe8b62c70dddddac82a859199fb + initial_ast: bd049df7d0135a8e2059f6a996e41f2cdcc7b9369ef8d491e52e6c8792482a0b + unrolled_ast: bd049df7d0135a8e2059f6a996e41f2cdcc7b9369ef8d491e52e6c8792482a0b + ssa_ast: f170cea8f12c453c59956984e2917a681e03750bfd7d3464423087caaf9b99db diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index a88886f6a6..79f5400f63 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6162195f65ad7a4cdf1be262925fbeb8556d4bed2da3e942d3debfee22176c5b - initial_ast: 61e36f60ae3861b58205129940e12aa68c48aabe2a67ac591e8e217e9ae055f6 - unrolled_ast: 61e36f60ae3861b58205129940e12aa68c48aabe2a67ac591e8e217e9ae055f6 - ssa_ast: b11367d19c74890ff83523c672906c33460d48e74d4d62985cdc65dcc90111d7 + - initial_input_ast: bfb446d05acdc1696d2cc4ee05862f5ebcde89878458d0a7d5b8399d8b3845ac + initial_ast: 2f3720fbc16e8307b7969e6dcdf1eace2e8bfffe9c21cca4faaabd5fd20b57a8 + unrolled_ast: 2f3720fbc16e8307b7969e6dcdf1eace2e8bfffe9c21cca4faaabd5fd20b57a8 + ssa_ast: 7bb9c04011eb6f00c3dfd3dd8950d89e0bcf8443bc496bcdc04de3c93a73b25a diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 9d6f795a6a..8415b828f3 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da9bc26968ea726630b8e221465ff3092c7fcea41d36d0596a72ce1b06f20d47 - - initial_input_ast: 7e4203880b354e2ade82951012957861870a58004b8e770a76d546822eca4aa0 - initial_ast: 0bead37a15b333eaba3e2a69aa8ee5ea83a664c3f2a59830fa63697657601a72 - unrolled_ast: 0bead37a15b333eaba3e2a69aa8ee5ea83a664c3f2a59830fa63697657601a72 - ssa_ast: 3e553d167d0511d2cca94d15e950dcc26c567cdbf45cad73fc59ad0d8601e0bd + - initial_input_ast: bd817dd8eac9174b205ebf4f56e754e16008b4c5f1c94b6ea3356c7dc4c63c52 + - initial_input_ast: 7be3058b183b362d35e74fb45d8108ab6156d5183e3c1613cbe0a8a4447e2046 + initial_ast: c2b330171599f08a5537a85cef19995ee929f36f2887471436b6490aaf75edca + unrolled_ast: c2b330171599f08a5537a85cef19995ee929f36f2887471436b6490aaf75edca + ssa_ast: 698e223abaf573a13ad55762c8606ebf3b92e47885157069822b1171f99b17b3 diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index 8e073395f9..709beb3dec 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d83174aa5069461cdb0fab64a55f9463c882833e640f9be78b31c2baaaa8426b - initial_ast: 20295dd2a3258bb916bbd02d70e75c40e78421ffd8a1635231185fb9fbdd550a - unrolled_ast: 20295dd2a3258bb916bbd02d70e75c40e78421ffd8a1635231185fb9fbdd550a - ssa_ast: 8cd42d0c83fd7dc9ee5746e7b24a7cc2f5177ecb8474b678093727d18c2590cd + - initial_input_ast: 9aae3f487bb6ea24ed63c4b27c1925106781ff5ff1964a516d363f49ecbad421 + initial_ast: bc91bef725e39744d45a7e85d454c55c27b8cb6687d91798671ec6d0d453d412 + unrolled_ast: bc91bef725e39744d45a7e85d454c55c27b8cb6687d91798671ec6d0d453d412 + ssa_ast: 4e23df8d5f9b6bb478288f44fd06a88ee29fc4c132bc4fa228790319f65d98ff diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index 2b5dc15219..af65453a65 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de2978415d2534817c8294d6784e0fc2a26c92344c60e81a5cc79c695ef9cec7 - initial_ast: 80a9ac550fb1192edc72e7b61a26a9b685274b8c82ebb2c7071e55991211cac1 - unrolled_ast: 80a9ac550fb1192edc72e7b61a26a9b685274b8c82ebb2c7071e55991211cac1 - ssa_ast: 543b4740aa978fd1d9d6151fee6f4ead7dda3523fc45887a5c25f1641c100fa6 + - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f + initial_ast: c1e8eb82c8cdfc6bd175424699ba1ed7173d1273454258ceb9e4c2c412de200e + unrolled_ast: c1e8eb82c8cdfc6bd175424699ba1ed7173d1273454258ceb9e4c2c412de200e + ssa_ast: 824376dd1351f27f5e1f2ddaa2f6f8551e0030ae477f571670c3a483ac71e20e diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index 281b21c358..0fa7469732 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de2978415d2534817c8294d6784e0fc2a26c92344c60e81a5cc79c695ef9cec7 - initial_ast: 02b856f5f74920e3928a5587675257ed1b973007c25d6a672f1a3955e1d8d175 - unrolled_ast: 02b856f5f74920e3928a5587675257ed1b973007c25d6a672f1a3955e1d8d175 - ssa_ast: b90a582afdefb490cb147a983c38a7baee7be0b04058b9fdf981219d09dd41c8 + - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f + initial_ast: 78638a252c9c7803f745fb83380a9ae885e921461362627ad5e3bd831ba543fa + unrolled_ast: 78638a252c9c7803f745fb83380a9ae885e921461362627ad5e3bd831ba543fa + ssa_ast: 3c5fab4413fd4a3cde1f932f4a60bfa57b3799c1f4ed3dcdbcb3360632cb1b8f diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index 5c7f8e8598..69609e7d40 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1f14fbca2375c3be8ff5e09ea3142e9ff660bdbb819e812f929e448345aee459 - initial_ast: 1d9396af458a61aecb504a7990f4f9b5b404fca349d6479bef9350be82f1d12d - unrolled_ast: 1d9396af458a61aecb504a7990f4f9b5b404fca349d6479bef9350be82f1d12d - ssa_ast: 448e64cce7ff4b83e05e0def431447333601fcff3ba92239b6aa5b1b6c0c2d01 + - initial_input_ast: fcc03e535541ac76dd8e75e4fc69b9cd2c897eab2684831b4fb0be3fa9b68d52 + initial_ast: 3302783d02e904c1fd15e973cf6513c8745e7a370a67147fc0d50963468f2184 + unrolled_ast: 3302783d02e904c1fd15e973cf6513c8745e7a370a67147fc0d50963468f2184 + ssa_ast: c68b8a182d0389bfdbf3e56e14d5f8cf394f1be81a86fb1c3e41c4a17f7465c9 diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index bfa9c7d37b..752b19a5bc 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5da63be4ca3051be011a7ac00c13189ffcde7abd35bf5a1ddfb4d204712522ae - initial_ast: 71c2ff233040af5acfa45a14ad69acf0ac5351ac05eb5f9c686d61346b6f3a4b - unrolled_ast: 71c2ff233040af5acfa45a14ad69acf0ac5351ac05eb5f9c686d61346b6f3a4b - ssa_ast: 7cbc16ce382c5b3927ec7b9cc4339efd9aa8777051d32fad9151a57be3add3a4 + - initial_input_ast: e69b8b89d79048d0e0b6a71a051c9bfaa331175af9d8a328d2e7d4a9eadd61cd + initial_ast: 20a5c411e31108516bc97f02b01e4a88a94c6698aa7f3adff8496364d38996eb + unrolled_ast: 20a5c411e31108516bc97f02b01e4a88a94c6698aa7f3adff8496364d38996eb + ssa_ast: c1d7f21183148a75e7be3b3dfdfd687f374e7ff6235b889e90110375e1309f3e diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index 95c5879fd3..44d4cf8e33 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 58f0fade6145131fc2c625a1362dbaff7a844b0d46da7e2ff4d0a11b28d6dc70 - initial_ast: 2b17e238da3e469a3608f5b069a96b1b47ac16e4fd0cfe04781ae67b437741c5 - unrolled_ast: 2b17e238da3e469a3608f5b069a96b1b47ac16e4fd0cfe04781ae67b437741c5 - ssa_ast: 8441b3ae0a736cc3529ed3cce7a9fa14f1ff3bd229fd51ea44aba08b1a56bccb + - initial_input_ast: f55a5d3b90666b92ae5a062a5361c3771f21ff810a679535f74464e10dbeabbf + initial_ast: 4704ac09fe7bb57c21d56322cf98aed4fc267a0ba48c57948b393b676eb5743e + unrolled_ast: 4704ac09fe7bb57c21d56322cf98aed4fc267a0ba48c57948b393b676eb5743e + ssa_ast: f26109047d6dd0d28d28e2a21ff6944065ff999e5dac295fafdac03a89624ef9 diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index 636409e3d6..0eca90f5ed 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: aae0acd473ab3c01b1f70d96d924fb2e1c14f010ed349aac757f1bb5132a8bc7 - - initial_input_ast: 1177f8d6ca371a9e3136013ca48bbe87493348a6253146a3bd5b14190665289d - initial_ast: 25b87b89b3b8661bb69f0ffb6f6030b377bd733b1367cf55016c5ec20d2e368b - unrolled_ast: 25b87b89b3b8661bb69f0ffb6f6030b377bd733b1367cf55016c5ec20d2e368b - ssa_ast: 0ef6deb7137eaf68773019cd7d52d4a92e6f86a785834fd1027ff8518bbde9bf + - initial_input_ast: 77fae0ebab3b6e710b4a63c81f885cc8825312c0a1e5d55183f80820b2da3456 + - initial_input_ast: 93398217de9e8df6bf4b999cb6974cc9583804637a1a200411447132e7ec6643 + initial_ast: 5c9087a06380a1a1a2849f4f36652a829c2f1d01d69281e27345a52d6c6f2354 + unrolled_ast: 5c9087a06380a1a1a2849f4f36652a829c2f1d01d69281e27345a52d6c6f2354 + ssa_ast: 432ca079e7c491cbc030bd02dd4e330cfeb061f7092d2942706503a1ee31a0e3 diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index ba056e882c..40430c7dd2 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2c44045986c2c00731557568b0a502a7df0136af7c3ce8365f435e93ad7f52cb - - initial_input_ast: 6bde09eb83b067d411d19df2b90a62351306fe72422c1ae9ad966f1a85ab4ed7 - initial_ast: e6620cbeaa4edc4b75dafd5ec684fd424fc1ecdc9f4ae28d10a1f1f810332f3f - unrolled_ast: e6620cbeaa4edc4b75dafd5ec684fd424fc1ecdc9f4ae28d10a1f1f810332f3f - ssa_ast: b8087f6e9db6d85174c913799bab1ccfba4566080d314ade97fe708a374c3e1f + - initial_input_ast: ed8b8b6918036e8d0ad71eb3a63dbd51b8e5d4dc1b6c0b4b4d24ba9554bd4d77 + - initial_input_ast: dc7e20d77911e45e807f31b3111405eff2c3c7757b6fbcb53d76c67327111ba2 + initial_ast: c92ed831ea2bd6f9f475882c9471bcfef9d7a1d01f04231f5ce26f1f87d62e90 + unrolled_ast: c92ed831ea2bd6f9f475882c9471bcfef9d7a1d01f04231f5ce26f1f87d62e90 + ssa_ast: d6ce3ff665bd0b29857aa8885c1a566ec9b21fd670e85caa4b82a351b3694057 diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index 8b36c5ae3d..8a2992d5a6 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: aae0acd473ab3c01b1f70d96d924fb2e1c14f010ed349aac757f1bb5132a8bc7 - - initial_input_ast: 20aefb75d31234d763626c14e1a25ff6aebda3d2e808f74c788ea0caaec17907 - initial_ast: f8d9b34edb0cb517815d2f621583550d90404c36296bc861330165929012660c - unrolled_ast: f8d9b34edb0cb517815d2f621583550d90404c36296bc861330165929012660c - ssa_ast: c6b7625b78485ea8319a1c0bbf3ecf8f62c2cf07efd946127a1d4c02c268ef5d + - initial_input_ast: 77fae0ebab3b6e710b4a63c81f885cc8825312c0a1e5d55183f80820b2da3456 + - initial_input_ast: 765397ece9747b8514a0bdbe1be734daa094a488f0631ed627c92730727605a4 + initial_ast: e4a46266de4e9b7b78c08421f37cb3e43d8717314256bf64f7c7a8b2b4273490 + unrolled_ast: e4a46266de4e9b7b78c08421f37cb3e43d8717314256bf64f7c7a8b2b4273490 + ssa_ast: e50dc66c34a74074fa1c86b5ad0d18f9606255d687ecfd0fa5ef0b73457581bc diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index af938e15c6..158e8ccb83 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a31614dba55c98f510c7f251b50d3d53c0fb9014a7f9a31114b178cdc10032b1 - - initial_input_ast: db620df38d3acfd51b630ed699b270f9e72f55aa4ec36e7efeae02ef3b5cae62 - initial_ast: f3aa185ea32d28ec7c3fc3df46846ea1be3a01cd51b8126c7cc4aaa8cbdb2aba - unrolled_ast: f3aa185ea32d28ec7c3fc3df46846ea1be3a01cd51b8126c7cc4aaa8cbdb2aba - ssa_ast: dd1d5a8fa361f873e9a0c1c59cc55a7810e74c6b9e6ea91b1c4d3507f4b65530 + - initial_input_ast: 72d98585d73fbf00d6ba6f7188f85a51cfd97f329453d660cc20746b106c9527 + - initial_input_ast: 2e38188fcab20a440aeb328ac585ed50ea11f660170bafd7a1e0131599740e15 + initial_ast: c62dbc22b461eb91478cfc0f15e4d0ae994d285be3f7b6ec74da2e9d09e5cfd6 + unrolled_ast: c62dbc22b461eb91478cfc0f15e4d0ae994d285be3f7b6ec74da2e9d09e5cfd6 + ssa_ast: 8a79eeabb009d00a19ae1b757dbc6af3d84c4e6a7dde4c190d135b456ec779fb diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index 2ac1d59825..882e03a65d 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3c4708eabf3dc6df721eee6679ec79b8dfce65303bcea6e3d1acb9696398256f - initial_ast: 6fb6774bb0e5622bbe83debb577933c255d9fdd622e06ba557b93e3152b89b45 - unrolled_ast: 6fb6774bb0e5622bbe83debb577933c255d9fdd622e06ba557b93e3152b89b45 - ssa_ast: c662a64106eb59e3031fbc22acd7da8db120c95cb3b31b73d608de28d583863c + - initial_input_ast: ba83c4b232ca7cb9f1b320fbe00fc76c9e76059f192afb54f5878b9cca9f23eb + initial_ast: ffbaf3e540c6614b16d723262dddc7a034d30b7b9c8cd792bf32f8749760ee7a + unrolled_ast: ffbaf3e540c6614b16d723262dddc7a034d30b7b9c8cd792bf32f8749760ee7a + ssa_ast: d6e39a3fd7b973aad46b41656f7c5ca0b8f3b51cb174306f4bb4386efc49544f diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index 032a7db111..c5203b7823 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 90a991ea43f5457a33f905e55e20ed1ea3977f1419b40235335fd95677c842e0 - initial_ast: f4a53ecb9e05f4c3a9861d3daf6679de4ed291ccb3423b574287a4beb87fb90d - unrolled_ast: f4a53ecb9e05f4c3a9861d3daf6679de4ed291ccb3423b574287a4beb87fb90d - ssa_ast: f27e76308ea06e1307599c149e33324482ad4af1da9d7eb5afcd962917b7a424 + - initial_input_ast: 3e63ac0f1c06b032de265411bd6b2e699c930841e0978be6b9233cbeb86cc605 + initial_ast: 70c6d62c439ec959dd9b0ed47a867c5e98035035b40f8de20946545dee84698a + unrolled_ast: 70c6d62c439ec959dd9b0ed47a867c5e98035035b40f8de20946545dee84698a + ssa_ast: a5f1cef4fc1e34a9e79f11c46c5af35ffe809756eef35132002b291078000612 diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 775cfdd0d1..8d316c4736 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8.private;\\n\", Nom(Tag)), (\"\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8.private;\\n\", Nom(Many1)), (\"function main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8.private;\\n\", Nom(Alt)), (\"function main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 0c2003c359..169a1d1bc2 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1aa7756768ee3ba1654b861064a5f24e9c1843d89b6e01e89949e2f1f3662939 - initial_ast: 84329c2eb85ba52edb05450605892fc0b24bd7a9bd316f275901073176a67f14 - unrolled_ast: 84329c2eb85ba52edb05450605892fc0b24bd7a9bd316f275901073176a67f14 - ssa_ast: c26b79c4f760e4d4a4acc861e6180161fcef13ce85db2ac3a8384ded247cdc71 + - initial_input_ast: e66426f412a6418ac15a8685ea2f0e6a7758b05481f2bacf1636a86a2ae88589 + initial_ast: 71efcfd14b2889accb63170b3aae7eac31be03428de92ee8d80a22f14607307f + unrolled_ast: 71efcfd14b2889accb63170b3aae7eac31be03428de92ee8d80a22f14607307f + ssa_ast: d7f7ec9ed4890098f9dc9789a9ee2068cf650c80535f4f1b88d5667b41962c33 diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 42884c4ca9..9d556c563b 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 16b842bbbf6b30fc29a691eba15942be5816fd1f0b26f92da2b273dd4616a06f - - initial_input_ast: 47331aa33fe027e08fba70eea5c1e84fa3d66c3120c0a172704d4e57c642177a - initial_ast: c62b896c62c5f86d7a2ece7676da569bb1c15773219035519f10eb4cb4468282 - unrolled_ast: c62b896c62c5f86d7a2ece7676da569bb1c15773219035519f10eb4cb4468282 - ssa_ast: e65ae6343605eb3f607dcc834442edbf550ec426829012049f30e3d92e980b23 + - initial_input_ast: ce16e0723443e02e9bd68e3378291635035ece3e1f996bb1c8e45f61bc8d0ff7 + - initial_input_ast: fc1688fdc700aadb85d5dc04dd3eca80f2d19254856f5d7df1f80ce192450d15 + initial_ast: 68d967dfa4589f227167222cf47f4c1a1686a0f58a10ec293fad1afc01489ea8 + unrolled_ast: 68d967dfa4589f227167222cf47f4c1a1686a0f58a10ec293fad1afc01489ea8 + ssa_ast: 22753ce7f538ec184be122e6b84c81e6492ae10dfb5c2c4a69f26f0fc58e98a4 diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 85927500d4..5e99ee29e5 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 42aaee113e0f7adf51e24db9e645896a4805881152551e5f771fc9f9d1fa81f9 - - initial_input_ast: 1f0143f9a55e15bb307813fcb4fb87e1ae7965687b40f34c5f201a38d831082c - initial_ast: c72e508b603092063e0a020b9478f92e702e4bea4ad0234f73f33f9bcb55d592 - unrolled_ast: c72e508b603092063e0a020b9478f92e702e4bea4ad0234f73f33f9bcb55d592 - ssa_ast: 2c442cfd7ff3b24e1037bb4dab558fd112724b06a45753af8afe17b9c6666be9 + - initial_input_ast: 0240f4f3a25cc059e688afbf3caed78bde18ad61f67b385de41b9c82de1c21f8 + - initial_input_ast: 55daf1fbe841b4cfc2a4a87dc4008ff9cf2edb7b52ec7192e40678315e0c03be + initial_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af + unrolled_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af + ssa_ast: 02c7b689cb8af367b4dc045d99a2a5076f175454755c9c95046cec05270ca818 diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 833e0c0445..618b6a840b 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8.private;\\n\", Nom(Tag)), (\"\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8.private;\\n\", Nom(Many1)), (\"function main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8.private;\\n\", Nom(Alt)), (\"function main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8.private;\\n\", Nom(Many1))] }" + - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Many1))] }" diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index ce8cb79603..af644ef8d2 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2f8bdfd57bd177ef6ba420992c9b8246f27a332126ed41021cf718db1f89fce2 - initial_ast: 31a361a2a2028517f6898e7427c510ff3262b99af068ee61f674d41a9f0508ba - unrolled_ast: 31a361a2a2028517f6898e7427c510ff3262b99af068ee61f674d41a9f0508ba - ssa_ast: 65c5bd439a0be459b6538d59172df7922628c7ed57bfb7fa646b08e5b9f76f11 + - initial_input_ast: 3ae28983e2d2b8955095c5982e00f0841d541858f9c43f24867766bb351a96f4 + initial_ast: a966b9bf552feaa7bb8541bddf1443be910f814b5f5356d07252f47cfde28643 + unrolled_ast: a966b9bf552feaa7bb8541bddf1443be910f814b5f5356d07252f47cfde28643 + ssa_ast: 02eac5902a3c784651af033abaa78e0fd19bf3efbaee70a93b6ee5f96486de85 diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index f51f176f5e..cd96d61b26 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 765bdd32300bb1c6cc41a330ec4682bf661b5176d22558cabfc7bb32927b6b7e - initial_ast: 5b28380cf1df2fd88f238dd6fcd39014b48b67cb52e854403bbb22c60d62bcd8 - unrolled_ast: 5b28380cf1df2fd88f238dd6fcd39014b48b67cb52e854403bbb22c60d62bcd8 - ssa_ast: 2a40e20d2d9d6d7bad5dd658a2c98bc0b1ea7a93f853f87c5c75624724b0fa47 + - initial_input_ast: 7bfad30da9e9acd1d9cd8065df89a7a83c904c3d9ec5585e8faed80bd30691bb + initial_ast: 00b7f3038ab1fe893fc43b2edfc594606d16ca8426db927413830ebf2a58cae3 + unrolled_ast: 00b7f3038ab1fe893fc43b2edfc594606d16ca8426db927413830ebf2a58cae3 + ssa_ast: 577042bbc5a6728e36a35fbbe1498d8fe91412f3e2c8782604e75f619ae9c5d9 diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index 70ccbc0117..a90099e5a9 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de2978415d2534817c8294d6784e0fc2a26c92344c60e81a5cc79c695ef9cec7 - initial_ast: 1f83c995ad066a3ca85db86889435fc807120d031cd032a82660090d2243d5f5 - unrolled_ast: 1f83c995ad066a3ca85db86889435fc807120d031cd032a82660090d2243d5f5 - ssa_ast: 90d1f606c62b9533d51207178d4c1690fa8338bfc19c58547443eebf734e8b6a + - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f + initial_ast: fe3c11825205d96d5f32f90f7fbf20da6a636b3ae93cd0858d824515b3515dfa + unrolled_ast: fe3c11825205d96d5f32f90f7fbf20da6a636b3ae93cd0858d824515b3515dfa + ssa_ast: 5141669304f473abe88b568478934bd744c239002ffb4af4f9035cef856d8e78 diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index 6997001c13..e28aec5ab3 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5403e15802cf82bcb80acfc26596a71aa597d1b03cdf21f55c94c5d5a5dd05ce - initial_ast: 8dec69affaee71632a03de286692e4dabd23bf9d88bc4dc0ef17b4052b285147 - unrolled_ast: 8dec69affaee71632a03de286692e4dabd23bf9d88bc4dc0ef17b4052b285147 - ssa_ast: d54ad60a1928d1c322fb26b0eaeebfddc41ca1569b24facfbcafeae2c6f075cd + - initial_input_ast: 98df0cd25fcba08db2d3b409c4cb1ff5242c793f920bc0affacedd4edb8abfa3 + initial_ast: 03e0ceb6cf0a6c8a61842d5a25ac56dc38e9d44dbd685837dee42351e6e78122 + unrolled_ast: 03e0ceb6cf0a6c8a61842d5a25ac56dc38e9d44dbd685837dee42351e6e78122 + ssa_ast: c45f04309ddbd5017a3bb1677de08eecfadd3e61bc117903021896b55b9d7031 diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index 113b051a71..8fa9cdd00e 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5da63be4ca3051be011a7ac00c13189ffcde7abd35bf5a1ddfb4d204712522ae - initial_ast: adf8960ff38edc57c36a5272a7785b16970f7079cc1c0055f7ab7b5cad7737a3 - unrolled_ast: adf8960ff38edc57c36a5272a7785b16970f7079cc1c0055f7ab7b5cad7737a3 - ssa_ast: a413f7b78b2c1cbc0f6d11121303f69d730bd569287bad2d81c24361f2ddb9a4 + - initial_input_ast: e69b8b89d79048d0e0b6a71a051c9bfaa331175af9d8a328d2e7d4a9eadd61cd + initial_ast: db78ee26832c360f14f17ab1a76c0af8a510c36233a7ff89f868aef5bfbe462f + unrolled_ast: db78ee26832c360f14f17ab1a76c0af8a510c36233a7ff89f868aef5bfbe462f + ssa_ast: 33e7b98f2e75cbec93fbbd7bec745278ed096e8632dd965305eb49fd95ff3dfa diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index ac2920b7c9..26df09db3c 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5213a0abbbf502a8d84d4ce6ae6418b5d3ff1c6a4de6cf53a6f001b1a7c4f9b2 - initial_ast: 5fe6132197fe808d6dca1fa027b365db2e139ce6306d39d55d93b55ef24228f9 - unrolled_ast: 5fe6132197fe808d6dca1fa027b365db2e139ce6306d39d55d93b55ef24228f9 - ssa_ast: f7293bf89eef3672a2d461edae9cbc0d89195a02ab746966523f500bee2f664f + - initial_input_ast: 679628cd6daaf4a56171759aad7cb9f5e682d5c65ac33d52d0f5678765401232 + initial_ast: 2ad06314e02616a9b5c317114ca87891bd7139c14b76addf1137893bb5f83346 + unrolled_ast: 2ad06314e02616a9b5c317114ca87891bd7139c14b76addf1137893bb5f83346 + ssa_ast: d24f410bd07de1eb8a69a0716d97d883a30d63812e0de389b9862952a4dc6f5c diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index abb02c6506..31e7b66b53 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5213a0abbbf502a8d84d4ce6ae6418b5d3ff1c6a4de6cf53a6f001b1a7c4f9b2 - initial_ast: 6bd99d27e5b8dc50b3dad77d390cfb6af4f4b78c4f2f94bd095eefaeda594a73 - unrolled_ast: 6bd99d27e5b8dc50b3dad77d390cfb6af4f4b78c4f2f94bd095eefaeda594a73 - ssa_ast: a8305e247ce9517d51605ae2c6295cb75517ff70718de5cf64ae5c304e2e3332 + - initial_input_ast: 679628cd6daaf4a56171759aad7cb9f5e682d5c65ac33d52d0f5678765401232 + initial_ast: c447a73a3f8857b90b83ade3e92cc3dee6108ec7c6b87c840df09566965b856c + unrolled_ast: c447a73a3f8857b90b83ade3e92cc3dee6108ec7c6b87c840df09566965b856c + ssa_ast: e1eefa23d66b23a486f75de44d3a0f48bfac055276c26730d67980480d653a43 diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index 363a8a31ba..b36589ebc1 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 573a280e74e0a7a4bfd582c72c06fcd90fb2f8939c9c7f4468d6a0a9acc7f7ab - initial_ast: 5cac538ad248729a7c889ed8343cbfd59ddf39c5205876af8c27a66a7ee1cd23 - unrolled_ast: 5cac538ad248729a7c889ed8343cbfd59ddf39c5205876af8c27a66a7ee1cd23 - ssa_ast: 0339d542773499c8920d6f538f2348d830ed73536dfb83291dca86d85971ddf6 + - initial_input_ast: f841cbee0a18a31cdb92a2182c2a0e912171fd93e8b00ffe23cd2d75b9908cae + initial_ast: 60f4ae03ae16e889b22b233024cd19fc10d3f430258c4396938b32dcca2868d2 + unrolled_ast: 60f4ae03ae16e889b22b233024cd19fc10d3f430258c4396938b32dcca2868d2 + ssa_ast: c8d617b6cd423851add52c6303e349907a1596b0bfab21d3bc8aaba637392e56 diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index b5e1d6e4ea..4ced7e19d1 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bd77ed2adb6a6503c0c23a971135d4dc9379a4c24cc32fb450b39217f4c78265 - - initial_input_ast: dfca4fead6cd26c21a13438da1cce131acba56ad418f8a7ee4d9376d848680bd - initial_ast: bf5651b4d5dae12b1ef57d8973976bdf9f36be84734be6b73abd31e0bfdb88e8 - unrolled_ast: bf5651b4d5dae12b1ef57d8973976bdf9f36be84734be6b73abd31e0bfdb88e8 - ssa_ast: 3d71891a75ccf75810dcec3e1bdc6ed42b670cae0dde9bef8d8f67f8803ed064 + - initial_input_ast: ef1dbe8a80ba0b6f2f0fb163faef4a93b3fd6c4f4baa80b416a1a71f2431671c + - initial_input_ast: dc27e0e21a03336ec3bd452bdc40b02e904b28cdb449e23c7b4de698eee9efad + initial_ast: f185943f99db39813e360640e446822fdb9df3971615ccd81f4ba6f35ab527df + unrolled_ast: f185943f99db39813e360640e446822fdb9df3971615ccd81f4ba6f35ab527df + ssa_ast: a6baac065319e25fa1d13ad21894dc8ef98a798fdd5a3935182c86a6da6c8803 diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index bfa7577e10..5ec5c8007d 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 56f2d6c7538d2556696faabc23206c2ab2ce935cefcf9211542ba139b70b98f7 - initial_ast: 2cf0f045f81840d6a04fa7c5c1e4014d7c5d33ae3e251bef13ad605380e1d0a6 - unrolled_ast: 2cf0f045f81840d6a04fa7c5c1e4014d7c5d33ae3e251bef13ad605380e1d0a6 - ssa_ast: 2749c7cd9b3c2d3abf4ca146f3b389880e02eed44b8d77575591def209d43bdb + - initial_input_ast: 3d50fec6ccedd367c06ff9da391c4cc76906588c617dc0800dff3485bceeec5f + initial_ast: 1b070b962d6af941cc82a11612b2007442efe124a59ab6e9fc9c9114ab9af31f + unrolled_ast: 1b070b962d6af941cc82a11612b2007442efe124a59ab6e9fc9c9114ab9af31f + ssa_ast: cc2153a81486cdfd288027a8b591405ce067ae8b006a01ef647afad9ae02a35c diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index a993ac06af..a323fcd11d 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7ed1e3c5fb2bea093ef50a0c37c1548a1800743f5d2869662c5182b2a866574 - initial_ast: cd255611a667887661f5b99f254852cbc0fd604278296b74b6afb5b19cf5be5a - unrolled_ast: cd255611a667887661f5b99f254852cbc0fd604278296b74b6afb5b19cf5be5a - ssa_ast: 96f62e2ecddbe87183943c55fd5ea08fa22ec023d3dfff485e05a78152827540 + - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f + initial_ast: 63f7f6b6f17e44a0be0526fe2b6efbc3f41c136c96dd972a874e96b6dc4016e5 + unrolled_ast: 63f7f6b6f17e44a0be0526fe2b6efbc3f41c136c96dd972a874e96b6dc4016e5 + ssa_ast: 0419a8b1ba7b73c14dd0ee1171e6c2f05c3a6918ab9047a296ab5010bac99371 diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index 78d1aeca8b..ac201165c2 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7ed1e3c5fb2bea093ef50a0c37c1548a1800743f5d2869662c5182b2a866574 - initial_ast: bef5a47be25bb2488df570334b6d065e4b4f45d30390ec9b6aa873ecd6c922ec - unrolled_ast: bef5a47be25bb2488df570334b6d065e4b4f45d30390ec9b6aa873ecd6c922ec - ssa_ast: dcf0f4669f20d103fb375aa73afdfa68958de0f6143399cabdc26b9b06471ab2 + - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f + initial_ast: 32398035f0e3f8ab50e10239764c5d5830fbf17ee4185b59fda74fbe82d35f62 + unrolled_ast: 32398035f0e3f8ab50e10239764c5d5830fbf17ee4185b59fda74fbe82d35f62 + ssa_ast: 0ed1521a137213f63a987b1c83ffc77191c0f750ea98d6381693cf6262eff0fa diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index 1a82169075..400e78d917 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 04fd22fe1ef4e6c002f7090ccf35faecff80a2535a688a6fda6d1b0f63d2c19e - initial_ast: cd572fa73ad17923d13099ac77c54b732b260452bc72c2a609a73111a9edb00e - unrolled_ast: cd572fa73ad17923d13099ac77c54b732b260452bc72c2a609a73111a9edb00e - ssa_ast: 07723de2346cf76646624f7de64724dded2f2c56ffa9df94b171a69d1ac0e003 + - initial_input_ast: b19003e1292f9d8c35f159a014560d387de467bbcbd8985a78310a5de91756d1 + initial_ast: aff3b5bfede3b4fb0271622b43bf44fba40a3b3f7ccb5b0c01d18078b4a41cc0 + unrolled_ast: aff3b5bfede3b4fb0271622b43bf44fba40a3b3f7ccb5b0c01d18078b4a41cc0 + ssa_ast: ca0a32b1b2bc59c82de26f95f3162a0c5af1f8bfbe5b934e520f850449a047c4 diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 01a42068a2..0933a59376 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5db93e51b45bd2c1865c73929c64b3d86b684c92e48aa32f851015d0c02f9887 - initial_ast: a8330c8dd15a36a7d515977dacdd57ad7f37d992f19ccf449f6a3c79f4740f68 - unrolled_ast: a8330c8dd15a36a7d515977dacdd57ad7f37d992f19ccf449f6a3c79f4740f68 - ssa_ast: 249960472aae2725c6ac52cd3a58de2b6b7255b3825ba9ea6d6f106f6976eecc + - initial_input_ast: 8c769b219fb103fdfd75d8ae79e6328345eac639c7a498279ef78b84129f1783 + initial_ast: 5233620ea03d70e864f5835df7eb4616e37560cf7ed6d82adc68dcb81125650b + unrolled_ast: 5233620ea03d70e864f5835df7eb4616e37560cf7ed6d82adc68dcb81125650b + ssa_ast: 3369a294ca44cca04d6aadb05a20435733d8bee4e9d7f5d1d02dfe557e591875 diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index f2f764c989..602b99f76d 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7e7dafe8ef71c28d032582570b850f6386768ec57e5e3ecd2707bfc44f42e5d7 - initial_ast: 2011f14ebb74498706fea33472a56daacf2b017cc2f102f260f33e7fe1c335c0 - unrolled_ast: 2011f14ebb74498706fea33472a56daacf2b017cc2f102f260f33e7fe1c335c0 - ssa_ast: 2edd9c8211f3ede1274ac427b3a9ab1d0c093706db54cf1ee5309025f9a3954a + - initial_input_ast: cf09f86b83f8dec2770e6b1cd39446d53df852c7b4672b13541e9affdef43f41 + initial_ast: eb52d4982cef98c98465cb71b9b498d18b5b857a8c524fea4e95ce6f339e29d4 + unrolled_ast: eb52d4982cef98c98465cb71b9b498d18b5b857a8c524fea4e95ce6f339e29d4 + ssa_ast: 784387223e04fd0de65dd6a2cf68d0116fc2afa941b07a4838a286622d0be481 diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index 1eb4ebdbdd..216d254474 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 192829d709e9a915c6cc0cdd27fb24bcae5222ad571a8939f6518f27b895bef3 - - initial_input_ast: 8766097c50171ea9912e2ee31fc9124faafa62da00407a4b9ab679a42e45233a - initial_ast: c609706ebfde16ba94eab5c9fac321ffad7392f4734a431b8e627ce6955fd090 - unrolled_ast: c609706ebfde16ba94eab5c9fac321ffad7392f4734a431b8e627ce6955fd090 - ssa_ast: b4f2129703ec1c34c97e825d43fb1af2cedad26710a7d636be944e07da86522b + - initial_input_ast: 8e31fdef96be39cf099dce1b9d7f01a0fe95fbea9cb1522f57910ec9048c1bbd + - initial_input_ast: 9f81fe3817e0b0c4b94b872e251ec8ef2e06148cd3a641bd5f945fe5b040765a + initial_ast: 86c0a68bd78f437cdf2a7375ad67c1b92832fd936471bfedea82c88880ea5a55 + unrolled_ast: 86c0a68bd78f437cdf2a7375ad67c1b92832fd936471bfedea82c88880ea5a55 + ssa_ast: 55b7bcb2f56e10268cc6aba4c9d998f939c12dfa91928de9f1702610f0f5270b diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index 52d5bef55a..ed3e32f530 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 783036ae02b0759121405a92762d8924bd3712a5b465f29e000c2a834d3e94a5 - - initial_input_ast: 3a5987d6bf50d0bd048b269040b9da36954c6e4e622c846d4d3447ae0aa93b7a - initial_ast: 22d17b31afab06ad4172b41b182d647bbf88939b84cb220a19e3cc5571da0ae0 - unrolled_ast: 22d17b31afab06ad4172b41b182d647bbf88939b84cb220a19e3cc5571da0ae0 - ssa_ast: 44fd2cb65c31d47f324499f9fda251d9a895e52491e7887c8295ec84407bf307 + - initial_input_ast: dbabe8825eb53f7a6acc13e2aa1a0c635edfe3522d4490446228420311d63d6e + - initial_input_ast: 905e1f378b79d4ac0a1f19fa596dbf187954537ea9104ce8b7225913c9c8ae83 + initial_ast: b4a5dfc74e2fe6ef83406cf4f33fce47bced7e403cc86278a199a18b89bdf2c5 + unrolled_ast: b4a5dfc74e2fe6ef83406cf4f33fce47bced7e403cc86278a199a18b89bdf2c5 + ssa_ast: ea34bcbe73044206a7f5406ac2383c756e503b5b392561260d4a9bca91dddaaa diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index 5b2bfe542b..3f40e26f9f 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 192829d709e9a915c6cc0cdd27fb24bcae5222ad571a8939f6518f27b895bef3 - - initial_input_ast: 46dd342e0f8b31909b76fb09d62bd4660220b425dea1f18f60d8e49a82055f29 - initial_ast: ccd9469d94398bc8f3a2f09a16ccc37ed30da7523edadb0a7ee6ad796f721f08 - unrolled_ast: ccd9469d94398bc8f3a2f09a16ccc37ed30da7523edadb0a7ee6ad796f721f08 - ssa_ast: 963f93701a7469f1e2ed0b2af7e5fbfb72a6caf29578a2c8665584bb951aeead + - initial_input_ast: 8e31fdef96be39cf099dce1b9d7f01a0fe95fbea9cb1522f57910ec9048c1bbd + - initial_input_ast: dc77285319c53ad509a416f20d5e320d03162761b5d15a65ccf233d93ad9f8f0 + initial_ast: e721c369e7e5a21a55be72b3c7d9cb2875f67bcec1a228aaa243c07da40fe806 + unrolled_ast: e721c369e7e5a21a55be72b3c7d9cb2875f67bcec1a228aaa243c07da40fe806 + ssa_ast: ef53c02853a0c13a2cbbe1769c0c89780ea0ab6c7838fe0240c6814aa79baf92 diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 189d9fe4c0..89d472279b 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 445ab3909ea34095878c451cabb6ec147e6ecf18d080df0e2a05e03c16df076e - - initial_input_ast: 17389f0533f443fc916e0fcd04cefc76377450010a2c805d4bdafcf9906ae881 - initial_ast: 116ad158cc967de309d23c131d3c06cb4017fe702d1f7cf9d7b667dd429416c3 - unrolled_ast: 116ad158cc967de309d23c131d3c06cb4017fe702d1f7cf9d7b667dd429416c3 - ssa_ast: 512f5dc3dbe7d62f6be74c339b02f3d0fe33033bfac55782478f5c7c2c66708c + - initial_input_ast: 5a863bf5ebeaec416e94e2966bebc05e38d18af9a48b69f39b52faa23fd3fdaa + - initial_input_ast: 98579c0b187b0695a449047bfcec75484b6f9e2d5d9b04418ab33aaca3696d30 + initial_ast: 2ec8f8a9a3cf5e5e4728bcd74082c6c18680391db38a9614ffd68e8a46431b0d + unrolled_ast: 2ec8f8a9a3cf5e5e4728bcd74082c6c18680391db38a9614ffd68e8a46431b0d + ssa_ast: 821fa54e85c9e43f4dd834b104fc1651b35933c09663ba35c03c0a43975fa0fb diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index a698a8ec48..e7118ed172 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a2ab6a89c5952a113fbecdeb630917b4699c38dcda5971528ab35cdd5e92c216 - initial_ast: a09cb20c8555d08c2aa9270a6b76bc680671125405c77f291921817854eb7bca - unrolled_ast: a09cb20c8555d08c2aa9270a6b76bc680671125405c77f291921817854eb7bca - ssa_ast: c818f44a670e17a1f2d9a43096ca155bc680b5c7304052e3ecee7ce45e54919f + - initial_input_ast: bc29c81534e8ff7275a2857bb6120478100e179a5edec8ef101fb4092a8483ee + initial_ast: 7e1d2ccf1a7a27885b4a6dbe41cf4299d71e751c6d9c39b4b9de54ca7a88c674 + unrolled_ast: 7e1d2ccf1a7a27885b4a6dbe41cf4299d71e751c6d9c39b4b9de54ca7a88c674 + ssa_ast: 5f0e51d6a8f7e23500291025ebc9c96cd6e8e8ca6824c6ae5376586c018fdcf2 diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index 9904f85110..c3a27a5004 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 886b77241861e32ee76414a8f86e04b86943325113b6b28e9d6805ee61c936ef - initial_ast: 48926b48e382e7869e065339fb3823f6bb2fccc11cc0713fd537bef1660d832d - unrolled_ast: 48926b48e382e7869e065339fb3823f6bb2fccc11cc0713fd537bef1660d832d - ssa_ast: 9e369dca791d2ae0bb90e79acba17ed295bfb8d3f772bd576180afcbc30fe37e + - initial_input_ast: 3a1cc3a7687324fe758ba99ebc73bf0bfb713dafd1bb0f4ffe1d182c5a27817a + initial_ast: 8069197bcad6e4d55dcbfb0d4511bcab77c8adc26fe75ea9be8b10336da611f7 + unrolled_ast: 8069197bcad6e4d55dcbfb0d4511bcab77c8adc26fe75ea9be8b10336da611f7 + ssa_ast: e616b6f29d0c90c5d47b7a54e2565356f5e9eac8cff1aaf68e48bc8b2ce803c9 diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index 1997bb9b78..54aeb320ab 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: db3eedda9d86f5720afddf87a7cb319fbe1594d75193eadd2720a28380850814 - initial_ast: 4d3663a3c68f384af87b9da68ed3194718a2e1431ca876a01577b58909f922af - unrolled_ast: 4d3663a3c68f384af87b9da68ed3194718a2e1431ca876a01577b58909f922af - ssa_ast: 83bea59bf5e1e50b374d2e204b7eb83b44c99f1363d2cd74dde91f5000d4604e + - initial_input_ast: c0b68222285227dd54b76e2cd22237123392da3d8a06b272f8a678a0e84a9060 + initial_ast: 971f417c143556a5415f33922d0eadb504a2d844962994c02e2497f6bc42fcf8 + unrolled_ast: 971f417c143556a5415f33922d0eadb504a2d844962994c02e2497f6bc42fcf8 + ssa_ast: 9b6d5ccf52bc2837f7b88a7c4822d28baa873c852f97a655d9a569d1178b0587 diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index 9430a8544b..af756a559a 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 95022fb8616d174af5552e764af96d14ebca2378e57a26caf56155199cc12514 - - initial_input_ast: 6e27f1353141bbbd4f15e0cf9b2647f72eea0ebd5bc9dc75bff17f8e8d7ece01 - initial_ast: 20d177f88a225fd9a8e0bea6299a1fdc9be8f7c0364a39dbb5a84563e126d7ce - unrolled_ast: 20d177f88a225fd9a8e0bea6299a1fdc9be8f7c0364a39dbb5a84563e126d7ce - ssa_ast: d5ce008624531429969d58e8904f960fb93f7a50bba3714d25e2dadc38bfa643 + - initial_input_ast: 786d173f737c70976dba8790a3451aac5835e4f9ab2021b56ec2e420f87eaed9 + - initial_input_ast: 9488c580ed146c97046c62ea548065899d6032224680b0147777cf26247c078e + initial_ast: bc0c4ac7d59445e1ae5950c22a348114f9d3c1167f6114183c79aac5bb26bcbd + unrolled_ast: bc0c4ac7d59445e1ae5950c22a348114f9d3c1167f6114183c79aac5bb26bcbd + ssa_ast: f9e9917db29edc8df266896e8a98a30cd70427ac42518243f2a2307184e35c3c diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index 5f061d03b8..a5a550f303 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f7882e4643fc53461eefafdf2f724f98373f3651e7a9152ca7ad259df9824fcb - initial_ast: cdf941764d7bf0e68259338a7ccff08ebc8600b4580bc4d24b654429ee906961 - unrolled_ast: cdf941764d7bf0e68259338a7ccff08ebc8600b4580bc4d24b654429ee906961 - ssa_ast: 742f1dbd1a5e4cae41f82d64573ba9ec65c1c37004647f2dc5bc691b10768c2d + - initial_input_ast: a44be1f2160e047fe2a3e290168893855384215d04636bfce2fca1789a13f79a + initial_ast: ae0434dd4cd10268e860e0078f73253667d608509e0252b8eda4530d890221fa + unrolled_ast: ae0434dd4cd10268e860e0078f73253667d608509e0252b8eda4530d890221fa + ssa_ast: b23593cf76d0fc2dd5488691d7bab7de299cdbf4c86bc084a143b6a634675242 diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 07ebec55b4..8278fc9a24 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7ed1e3c5fb2bea093ef50a0c37c1548a1800743f5d2869662c5182b2a866574 - initial_ast: 0a1e0f82423c906073201331fee4c02a6c02d0115ce09993d1c66887087118ad - unrolled_ast: 0a1e0f82423c906073201331fee4c02a6c02d0115ce09993d1c66887087118ad - ssa_ast: 30d04553d5cbf0e997c4700df3aa1c7c467e575fe33ace2fbfc9b35516ade661 + - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f + initial_ast: 4f53b2d7fc4fc1f841c27a920a30313fdd38b005cdc8d59bd3ad2deb99b3de1b + unrolled_ast: 4f53b2d7fc4fc1f841c27a920a30313fdd38b005cdc8d59bd3ad2deb99b3de1b + ssa_ast: 5f34387f210f348bed1d961959328b2442944b25064cd5376b1e4556eeebe30a diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index 788806d331..0b1dc5be12 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 3d864c5dd3dba86277a7e64db597913c4866e2c843e1e1c817530e6fd0b64b8e - unrolled_ast: 3d864c5dd3dba86277a7e64db597913c4866e2c843e1e1c817530e6fd0b64b8e - ssa_ast: b3f33a4616b120f39e9904f053b9ac8d4c4e3f806ff044cbdbe6c7cf4f5fb32e + initial_ast: 30d114cb3c00f5987aaf01c568968b265d3aad048d5375198a7d83d72f4e4ff3 + unrolled_ast: 30d114cb3c00f5987aaf01c568968b265d3aad048d5375198a7d83d72f4e4ff3 + ssa_ast: 34536d77852af4e2b32de4f37b4677cbf3a436604a78c5446f35b671ce09bf3b diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 179c4d8e93..9aad47d2f7 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5db93e51b45bd2c1865c73929c64b3d86b684c92e48aa32f851015d0c02f9887 - initial_ast: 50332d1909ec58a3e4368ec29ab1836ec0a2b466ebd997900558940a4a668773 - unrolled_ast: 50332d1909ec58a3e4368ec29ab1836ec0a2b466ebd997900558940a4a668773 - ssa_ast: 9920fd00eeef41a2785dc00525e6a9644e6ab31c157ceeecfc073f6f68dd12f9 + - initial_input_ast: 8c769b219fb103fdfd75d8ae79e6328345eac639c7a498279ef78b84129f1783 + initial_ast: 69c0e00ef5f7ef4fe38fa1fedaed81bb2628bdff83514b43485dd19a6f895c22 + unrolled_ast: 69c0e00ef5f7ef4fe38fa1fedaed81bb2628bdff83514b43485dd19a6f895c22 + ssa_ast: af5bccf1f12f56cc042439116bca82758c2eba9c4e77a66ff22ad1be76f39c60 diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 8e9d1ad1b0..7750df46dc 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9363cea9423b4153976492ca4328a2e5b962c5745cd167e7896421f173a72b47 - initial_ast: edeb671606b15c620c6369ff4f63deb80185119dab43d5fcf1649d3347ccb4b3 - unrolled_ast: edeb671606b15c620c6369ff4f63deb80185119dab43d5fcf1649d3347ccb4b3 - ssa_ast: 9cb1e2ed2766317cb85598f56877a4e8dcbc441973ec7a9c3b68cae5b75c9f16 + - initial_input_ast: 7258b3caaf0e022c0892e0887ae060ac4458d293065c325773b00e49cf9b65c3 + initial_ast: 4906df1e4163a47f4e83f715fc3b60aa8cab8deb44b7ff834d0ec3f10fb716a7 + unrolled_ast: 4906df1e4163a47f4e83f715fc3b60aa8cab8deb44b7ff834d0ec3f10fb716a7 + ssa_ast: 68aa78c84e190b2278c24174e95742cc0731e18cd0cfee7c1889f7c7611939e2 diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index 6c5d49e802..ff101f4858 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9363cea9423b4153976492ca4328a2e5b962c5745cd167e7896421f173a72b47 - initial_ast: 0d90fc3ecd139b4ad2f0c58a70fda2358607601d80ae5f19d7ea23606340936b - unrolled_ast: 0d90fc3ecd139b4ad2f0c58a70fda2358607601d80ae5f19d7ea23606340936b - ssa_ast: 9425da34a7c82018835bd035596107f8a42e5aac9d3d0acb8523e265cfeb753b + - initial_input_ast: 7258b3caaf0e022c0892e0887ae060ac4458d293065c325773b00e49cf9b65c3 + initial_ast: 3658f444d0c10f0264ba336c9524141836b1c2c67363c200031159b5cb177beb + unrolled_ast: 3658f444d0c10f0264ba336c9524141836b1c2c67363c200031159b5cb177beb + ssa_ast: b790a0af640cf6d24be6c50056fa5179b91548ec8dbb5680266efc3f8d6bfc4f diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index 6e9d3abe2d..eb438fa71d 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6e6826bbad13635cdb03f093495dbbb73bac96e8291141ea42a031b4aadf31c5 - initial_ast: 381511efc1cb0f70f2dbd6f822b437a1172e8b5fdd6641e5383b1864c1b6c6f5 - unrolled_ast: 381511efc1cb0f70f2dbd6f822b437a1172e8b5fdd6641e5383b1864c1b6c6f5 - ssa_ast: 02bb80dcb3bca75f2d4135e7494299fb7f3d7dccdd520737aaa1899b9646f72d + - initial_input_ast: 770f2d25334557fc4ed92172651c7ffba6d9bacc70a5cd9117e5097fc9d45e8b + initial_ast: f06d83c26b818f4ffd42411cad3ce4b2fd082438f57e99280e2feca3ba8a54ae + unrolled_ast: f06d83c26b818f4ffd42411cad3ce4b2fd082438f57e99280e2feca3ba8a54ae + ssa_ast: 414379bff5e7b1fa4da931c8a4dde2849deadafd87df4d59f1a89e2fa24a2aa3 diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index 0834b56549..bcbc89b4b6 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 70be7cdc602aa8c9dcfbc7a51eb48e5e76b704429a23b0cfd43ca073d3445412 - - initial_input_ast: 03111b898b34afc7653f3898e3f39c7af3f783a91876eb49c04b9e4b2261f0c6 - initial_ast: 54161644b7c95ff2d294c217ae9314efc1e2412793b5df19ca039093e425f8d5 - unrolled_ast: 54161644b7c95ff2d294c217ae9314efc1e2412793b5df19ca039093e425f8d5 - ssa_ast: 4f724dddfb6b143cacf01b3c0f3bd0d06207eb6342de116304a66c9fbc6c2a99 + - initial_input_ast: b31daecdd307e3e911478acc67909b5a88d3b240daec3fb6f1ebb3793e8c1103 + - initial_input_ast: 02fce4b6d2ee0d3df51d59d40c7b2cd75f57536d93fbe9bd829a92b4f2aa9efc + initial_ast: ddd37406c1052b9150a9629fb668bc49f3bfc196fe8c156172a274f3163b9aa3 + unrolled_ast: ddd37406c1052b9150a9629fb668bc49f3bfc196fe8c156172a274f3163b9aa3 + ssa_ast: 86092e28ed40ed439b70ee092df5aecdf36de586287127cc0f1c44ac39fcc252 diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index 31bcdb9b56..d924f1eafa 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8ea11ca502a04fc7590d741016f40fb703bebb746ce5aadb987a76f3a773364f - initial_ast: 990256fb3c95e13095ee5dc44a64cc922ce41c81bb4316fec840c768bcffae57 - unrolled_ast: 990256fb3c95e13095ee5dc44a64cc922ce41c81bb4316fec840c768bcffae57 - ssa_ast: bbed0bb83ba564d055ca7df6f33543a6de2ff55122454f94ad0350fe8f2778df + - initial_input_ast: 1cc1a5dda4e64d8e06272646bbcc90422293b5607902f3a46ec01404d06cdd8a + initial_ast: f80330c3a02e3f25bcaa77588f84f72b265b90fe1ceb6f0113ae644785f34ab2 + unrolled_ast: f80330c3a02e3f25bcaa77588f84f72b265b90fe1ceb6f0113ae644785f34ab2 + ssa_ast: 25dcce91bed51a99cb8996b922cc7aa547c1f8756268fd41febd41e8649fd54c diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index 98281f36b6..48919daf40 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e42870a9c4915d12757e7ebe32492b7c4dd6f47134c6f2bd635d6e4be239c379 - initial_ast: bf4c95f536ccf875c56803f20cd7e7dac93744068213fc96c575761ff1eab4ff - unrolled_ast: bf4c95f536ccf875c56803f20cd7e7dac93744068213fc96c575761ff1eab4ff - ssa_ast: 315349a74607bf9ef5112c884d75840a5c04e9b580a37c96702eb06b24e35ba0 + - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 + initial_ast: 24a3d1f81e8a45d17a326adcaf71db8043650fb83c57005b472b3e6f224c76c2 + unrolled_ast: 24a3d1f81e8a45d17a326adcaf71db8043650fb83c57005b472b3e6f224c76c2 + ssa_ast: 46254cfe1972d4a47307d6dbfddf5ebd38cc3bbe1b197cccda6530947611e27e diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index 84d37fbce0..8acca6f283 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e42870a9c4915d12757e7ebe32492b7c4dd6f47134c6f2bd635d6e4be239c379 - initial_ast: c5e47884d4380e59cf2ba0bf0a3c45fa3ee225aba18dafae1585723e2f065cae - unrolled_ast: c5e47884d4380e59cf2ba0bf0a3c45fa3ee225aba18dafae1585723e2f065cae - ssa_ast: 7bd4969b0e743adcf720fc4ec7429e9ab462badd449144557448023a79533f54 + - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 + initial_ast: e76f427df6ce83c158d82452afd3088cd9b856254722f90a7678e97899e7317b + unrolled_ast: e76f427df6ce83c158d82452afd3088cd9b856254722f90a7678e97899e7317b + ssa_ast: d566cf47ee725b46e63513adf33da480849ab030c893599d7344b28bf7d66ccb diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index f85ed5e13b..3b0a7a297c 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a5084c2432ba3ce882ffd38b4db3b7805403e203266908de1d6b64b2533c2b71 - initial_ast: e5df6e8d0a445ae477a1d095db6c5510f44d8719279d6d9ed0dde002c220ae4b - unrolled_ast: e5df6e8d0a445ae477a1d095db6c5510f44d8719279d6d9ed0dde002c220ae4b - ssa_ast: b5ff2e885e81fcded2eddbd50e35d415463993a5bbafda0d216db1eaaa7be8e1 + - initial_input_ast: 87a6a724f80661e51dd9d651be0e5c84ab3090f64297727b01e80eee548633b2 + initial_ast: 6cd4b56869b79fffec80619b93f82a4b63a5d9b4cff5abea94c97a309fe526f8 + unrolled_ast: 6cd4b56869b79fffec80619b93f82a4b63a5d9b4cff5abea94c97a309fe526f8 + ssa_ast: 89f95f20433e1a25eeeeb7fab8d59b06eb7cecad086436988338643020d3f69a diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index f5e7a9963b..3a24b2bbf6 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bb055123854595a4f93cef4f89dfc0dd322e79a50ed9cf95ea4992e050a7e864 - initial_ast: 4289dcf746dd0bb3dedf8f6bd9a3a16e6fc766bd677856a7c0c3fe240b9cf9f9 - unrolled_ast: 4289dcf746dd0bb3dedf8f6bd9a3a16e6fc766bd677856a7c0c3fe240b9cf9f9 - ssa_ast: c4a769dfd2bc9619e85104f35bbc073b9810f2c96ed961d100565e8a521fece7 + - initial_input_ast: 7f94f146d8c17cf107753a765aedddff34d3e75a0f9b3ac6430c40de7284de8e + initial_ast: 820e5791480b0407b84daddcc5ba96469eab98501d2bd681f9d45176af0a6711 + unrolled_ast: 820e5791480b0407b84daddcc5ba96469eab98501d2bd681f9d45176af0a6711 + ssa_ast: 7664f7758a5f6b00a22eb7a29df4350c1226db3b7042ac7543ad5862cdf4293a diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index 42db7f04b3..bc406725d3 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9c7090d59baa24c677f2a5b072a6487ba14703c6ff893e8e342b84537a0e4e59 - initial_ast: 848562df01ecf23d384b9746ebac0f8ace80fd5d3d58c561cc1fa898e8e00995 - unrolled_ast: 848562df01ecf23d384b9746ebac0f8ace80fd5d3d58c561cc1fa898e8e00995 - ssa_ast: 9fbf74b283bb4b05ad44c74a5ab3ae687eb803d529fa37b620039686b872f313 + - initial_input_ast: 993032e6ca2ff9383a65caf591bc60527cdfeee01ad7b57f84831594d4caf73b + initial_ast: 111a001b6904bf6157adc241acb91801624408a70b82a9bd30dc5829c4f89b7e + unrolled_ast: 111a001b6904bf6157adc241acb91801624408a70b82a9bd30dc5829c4f89b7e + ssa_ast: 12671c6840b648eaacb098a3938c8f177f3e76199c195fd10325827ee2e2d2a3 diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index 5cf50acd72..6db68688b9 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 25c18e61267377f9d45aa8097941fd9920d277611e4e6a26e44bec19044ad90e - - initial_input_ast: 40c0cb654f2a935962647b51d536868c2a9caab366458fd55e9fe21cde620685 - initial_ast: c166eacc41ac036b143fcaf31432af394aaece73eb05a8e65e98a9b662d6caef - unrolled_ast: c166eacc41ac036b143fcaf31432af394aaece73eb05a8e65e98a9b662d6caef - ssa_ast: 2ae1a6da3bc7288ac53cf19a66d7e8a8e5024ea287c4d10261cce0cf90dc9700 + - initial_input_ast: e632779157159dfaab98a7209ff5cedab67283f80e6aa204b81e5fedc1695a1b + - initial_input_ast: cb74d38ef4ae9d311991dc941aac1e624dd6db15256243dc045e4ad6223d02e3 + initial_ast: a8fd0facfc5dd735723546fe744cf65444996f7af25a23c113ef9f8f5e3f11bb + unrolled_ast: a8fd0facfc5dd735723546fe744cf65444996f7af25a23c113ef9f8f5e3f11bb + ssa_ast: cfb8d14ed3879107e91f0b1ab6c2a67b7fa644b68700f3a838992113eeb7d897 diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index ce31b39f95..88b3bb6336 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4fbf481b32bd84d6fc11397bab229124d8d261d677e5086e27ebec223a1f882 - - initial_input_ast: bd45fbb21f0dd4ebc486086d1e8914f5a76f2ee9ffd16a47cc0929855ba6eff1 - initial_ast: 3d4ed274642b343749864eccc76103134449075ef18ead2c9e6f0fd69401e864 - unrolled_ast: 3d4ed274642b343749864eccc76103134449075ef18ead2c9e6f0fd69401e864 - ssa_ast: f9baf1beaaedc7bb384fb3fa9d45fe35f8b050a272d6f62e2204d9c386c684b5 + - initial_input_ast: 39c358476a336fc9b8e0939e9c11cfb7dd66eb5196dce7c427f7179e596bed73 + - initial_input_ast: 9decf911743f2cc5b9777f80dade6fc561efbf63b60b37a6905e09dfe3f63d56 + initial_ast: 2ae0f6810b84b2cd6d149de03039eb3ebe631b63d0c0634a19034fe444594bae + unrolled_ast: 2ae0f6810b84b2cd6d149de03039eb3ebe631b63d0c0634a19034fe444594bae + ssa_ast: 78d8804fff99c4f16bdcc8a65dff10675c60197942d8f616df41a23ae067826f diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index 656f80856c..a671b8a5d1 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 25c18e61267377f9d45aa8097941fd9920d277611e4e6a26e44bec19044ad90e - - initial_input_ast: b103a43941f8ec2e29ba5eaa3b8f5f4dc8647417aa0d1656b83ba683c6ca1ce7 - initial_ast: 8d3ffa47b2cdf307fbd2673a3c340a49c1e95be9b8e6ef13391b0b79382610ff - unrolled_ast: 8d3ffa47b2cdf307fbd2673a3c340a49c1e95be9b8e6ef13391b0b79382610ff - ssa_ast: 6958dbac5c266f23a9be4d42f1f25a8f29dd89306d99220584bccd47daf377e6 + - initial_input_ast: e632779157159dfaab98a7209ff5cedab67283f80e6aa204b81e5fedc1695a1b + - initial_input_ast: 919ee98a5c8a661be06588b8cf62b3a21da8edc2c3aa682c37899d812d5daf64 + initial_ast: 1139fbcd092f9cc21bbb483fdede1d782d581c9810c31b45dca52f5064923f85 + unrolled_ast: 1139fbcd092f9cc21bbb483fdede1d782d581c9810c31b45dca52f5064923f85 + ssa_ast: 7b7f1dddfbfddddebe39f6f58dd6c1040c5a4c20d9232b74ab33004dd9ed50e0 diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index 27383e15ff..42374b8e7d 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bc724c71e20a5d3aad5ed2665209557e8feada799c27830d72a06e0d064e69af - - initial_input_ast: ce67c57955f79db1f00cbe7b976195c609bb6f6f93a4f49c51c88fa349e65554 - initial_ast: 1ae39ead50844069aa07fb4152e31b52ac140a3c8d92793deb14570af611823b - unrolled_ast: 1ae39ead50844069aa07fb4152e31b52ac140a3c8d92793deb14570af611823b - ssa_ast: 212dad5b50bf09719921c3de5400f3984986e8864dca98c01aff9caf113eb324 + - initial_input_ast: 211e7a9731f3e1513be8b1f101c09de8a764ec20feca4a54dd1b4c7e42d14f00 + - initial_input_ast: 75db432f1ca27bd81e3d06153457fa19b4559740ebcb4408b1ffcf614ad254dd + initial_ast: 76ec46181e89b61282f14c660de8be21d5b23335ca495d7ecb5fec12241d30a3 + unrolled_ast: 76ec46181e89b61282f14c660de8be21d5b23335ca495d7ecb5fec12241d30a3 + ssa_ast: 9bf124bba3c19d845e4851a20d9ac5442761c8f43a9981fdc5d9a1f3e69b93c6 diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index e76fb71cc8..02364ec792 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 940d740ba40284a1d3c3cf8737facd1e98968224dd93999dbcb336cb3f4ce571 - initial_ast: 0d6e907cb7cdbd260e7237560385622f7b1340c1b272deedf2138c32edd6e58e - unrolled_ast: 0d6e907cb7cdbd260e7237560385622f7b1340c1b272deedf2138c32edd6e58e - ssa_ast: 446a2a8c55cea16851b3ea8eb196624d60879cfaddf24e9e003cc176f68bc60a + - initial_input_ast: d17c8a902f7db5b98db912fb42ef2b8b2c3d8c20eb234922abb93c64424dec55 + initial_ast: 4270fe98a37838028a51c965a19bac043181b5b39336b4bddd3a1296e2ea1d2f + unrolled_ast: 4270fe98a37838028a51c965a19bac043181b5b39336b4bddd3a1296e2ea1d2f + ssa_ast: 09545061987ed35afa4339061792a520d6551405953f48f1c1ccf563e975cd54 diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index bd27144dce..3d57d71f79 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 2309d5b8b3a71f552625331d626090d15c936077251e1686ed92adf25f53f095 - unrolled_ast: 2309d5b8b3a71f552625331d626090d15c936077251e1686ed92adf25f53f095 - ssa_ast: 16a791b41690ba0c96a26857da86c5c228c13ae98f76030e400d386036bb40dd + - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 + initial_ast: a3a93c102e43e31c9e9078731935cd7d95f78966d6fb946211e3e92870a2d358 + unrolled_ast: a3a93c102e43e31c9e9078731935cd7d95f78966d6fb946211e3e92870a2d358 + ssa_ast: fe4604a41644816af9d35596f14f33dc2cf90df4adf45fad4f611733f1c95f84 diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 6679cf9efb..43f071e08e 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 324aa2cb3c57c9e956792d50328347a3da38de524f5d6ce7ae0a66f646efcf85 - initial_ast: 65e17485ed0c22f2f23ca9bb04eb1e3e921068f46902cfe1cd1b24fbcb65c8a9 - unrolled_ast: 65e17485ed0c22f2f23ca9bb04eb1e3e921068f46902cfe1cd1b24fbcb65c8a9 - ssa_ast: 0096984973e7682979eb58dfccd2acab317099741e978d819f4f5519e6b63277 + - initial_input_ast: bcd736b4823be148394d4531263a44b9aac16cd87bccd1275825d4480dfb6d2e + initial_ast: f9a9754b86beaa630c947ba5fc8d2786a16a01d7726895b01a33663bd21e0e4c + unrolled_ast: f9a9754b86beaa630c947ba5fc8d2786a16a01d7726895b01a33663bd21e0e4c + ssa_ast: ca6a7f6fd12865a651399fb622f181c5f9095edc5fbf6eeadad2e1a8796b7414 diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index 6148e3f20f..bef85e9426 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3ca06d5bbeb5e839a4ac328776de5debaa67570dcf5fe42f678c73581c5b0b79 - - initial_input_ast: 1c02488cb37ff8842703d1d1397b917a878f3dd65092191942e34319acf57563 - initial_ast: 992528bae4766fd5bbb5b34870ea14fd71c710d5759c8d577246f8dea618fb54 - unrolled_ast: 992528bae4766fd5bbb5b34870ea14fd71c710d5759c8d577246f8dea618fb54 - ssa_ast: 2f2802a76ed4a0d352907aacf00f28714acb0568c05ff16c46ed3e5462ec5cb1 + - initial_input_ast: e0077a8da9dab0a36da68a2f48de00560153473f3f64f34144a4c01ee4df5c4f + - initial_input_ast: e1fc0fea01e3f060bdf70aea0827152223c0e96b5b58c58ee2fd5cd7014d0c94 + initial_ast: 0e29dfb51375132ac01717880cebc74bab6c1a84b0589af8b6b776d6f15d373d + unrolled_ast: 0e29dfb51375132ac01717880cebc74bab6c1a84b0589af8b6b776d6f15d373d + ssa_ast: 9f66559c131bb1a6ecb84efb6f6d5632705e41501ad4ec27d4d44ec9acdbbf98 diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index 8f737279cc..728db855aa 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de68fd8f65ab55dd352992e05138d5ce25e9d5900aadc3dda46b4710141b415b - initial_ast: b58175a772bda3a885a92916c69724b39a36a6648a2f02eb04ef800426e2b1bd - unrolled_ast: b58175a772bda3a885a92916c69724b39a36a6648a2f02eb04ef800426e2b1bd - ssa_ast: 5c00983fc4cc7c4826c388f08ea042b79db37c59e09d8af0aee6109dd084df9c + - initial_input_ast: 0987a244d41346dab2d168efa3179f87a6958346b68b69824aff427787b651f4 + initial_ast: c7ca0c096d01edeffe0a4ce946afb91b2309e4bb32a659d8b8593b9f67faf98e + unrolled_ast: c7ca0c096d01edeffe0a4ce946afb91b2309e4bb32a659d8b8593b9f67faf98e + ssa_ast: f56b34abefc5becae418af83a22d1878b3bb6a3e3ed7c5b226bf5f3a5e463e02 diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 6099cbadfb..361b5aa1b0 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e42870a9c4915d12757e7ebe32492b7c4dd6f47134c6f2bd635d6e4be239c379 - initial_ast: 35c8ad870e121356ac9d0ecb07b9f4d4f5283c3c4cc393b7d8027af3369aad52 - unrolled_ast: 35c8ad870e121356ac9d0ecb07b9f4d4f5283c3c4cc393b7d8027af3369aad52 - ssa_ast: 9077d8f39921a06d8b53dc892ed4ffdc3465378bc69485d70fbbbfb42d3797c4 + - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 + initial_ast: b2e9e01c70cef220e8b38adab18ed4cbe9a39695128f6bc5940d802f96429e5b + unrolled_ast: b2e9e01c70cef220e8b38adab18ed4cbe9a39695128f6bc5940d802f96429e5b + ssa_ast: ef425870fc1a34b1356662c2ae2db57a2665b632dec323544c70535ab056b3d5 diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index a1a24485bd..1601357818 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 58e0404834b4715977bba6f7fe8c6f921692495839cac160e0d8ab227efef8b2 - initial_ast: ea3b7f70662fb50da496d594df242650a7fdef038b6b465807d844bc5c162304 - unrolled_ast: ea3b7f70662fb50da496d594df242650a7fdef038b6b465807d844bc5c162304 - ssa_ast: 93807bc3c0073b5e225400c185ab8091f1bf90137d80463d264c67ccb115e634 + - initial_input_ast: 7fd3ec699c1ba0c49bdc91c4f7a92ab94ff0b2fb64a0a74a6482ea23b3fcb62e + initial_ast: e94cb57be6dd475865b1f35af4807006b8f628b4bcb4cbccb4c792ed2e4abd3c + unrolled_ast: e94cb57be6dd475865b1f35af4807006b8f628b4bcb4cbccb4c792ed2e4abd3c + ssa_ast: 7de791c578587f5be5565674d2c056c2b7061658ebf1df0d25fe15ef3f5b6db6 diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index d8dd0474f9..2f4387a076 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bb055123854595a4f93cef4f89dfc0dd322e79a50ed9cf95ea4992e050a7e864 - initial_ast: 9a60bb544f2a246733dd82bf045b981873076987be8f52eb80d741b373411042 - unrolled_ast: 9a60bb544f2a246733dd82bf045b981873076987be8f52eb80d741b373411042 - ssa_ast: b7183150cefd1184063f687e8f639e7bfd1767d04baefafd8564c933b55515ea + - initial_input_ast: 7f94f146d8c17cf107753a765aedddff34d3e75a0f9b3ac6430c40de7284de8e + initial_ast: 3da6c3ba390075975472836560a271ce4df0a01aea607e4f234b10beb7bcd76f + unrolled_ast: 3da6c3ba390075975472836560a271ce4df0a01aea607e4f234b10beb7bcd76f + ssa_ast: 142ba4ef3f141d10b39516807692314c9ad65fc714395054922bad93c040d24f diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 329fb2655b..4f0fcb953a 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 65dd7cf520245c5318843529da405a4b32044950de9495123e281819690c9b32 - initial_ast: a6b7db823e035430a49b48dd895c85554caa71120c2c1a40d7b6f93622dddd9a - unrolled_ast: a6b7db823e035430a49b48dd895c85554caa71120c2c1a40d7b6f93622dddd9a - ssa_ast: fabf69172a881785e52362f3b81c81da6fd815a68ceef6936c7e9cd62b78d2e4 + - initial_input_ast: 0f4e515cb3d9f6790d37e6a11184ed7d072396c0fcee1013719af1168df6b73d + initial_ast: 1fc8a1a15ba5c57c76440c566096be842e6cf63130b8ed370053a255dfb4ac88 + unrolled_ast: 1fc8a1a15ba5c57c76440c566096be842e6cf63130b8ed370053a255dfb4ac88 + ssa_ast: 1011a4e5f00785687af88e89ac16ab772842120ed2d13233cd77cd86d09467a6 diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index b2e4df602b..a716982b15 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 65dd7cf520245c5318843529da405a4b32044950de9495123e281819690c9b32 - initial_ast: e9684a8b5ab2922f815f9dd15bfb939567f776a503b04906835cb422e177b793 - unrolled_ast: e9684a8b5ab2922f815f9dd15bfb939567f776a503b04906835cb422e177b793 - ssa_ast: eeca3f58c68b98afb04e4a664e6aa29d87e221f05bcd564e7fc38a83cdf75a97 + - initial_input_ast: 0f4e515cb3d9f6790d37e6a11184ed7d072396c0fcee1013719af1168df6b73d + initial_ast: 7ee36167e33b821b3e806dabe1a94ce98b17b901adc3cd227fb2610577f6927d + unrolled_ast: 7ee36167e33b821b3e806dabe1a94ce98b17b901adc3cd227fb2610577f6927d + ssa_ast: 138229ddf8b15433033edc41bbfaa02c6ba06d5acc301e0af5f5665a1c914c92 diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 936c9bc656..460312ca06 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 254a400e9fe9ac80d9e2ed8254994a7bca4229005186c223d0a19585613f32b9 - initial_ast: 1439fac87b5291ecbadd34277e98debe8ac2d6dc057b30711159f22e4f51f1f3 - unrolled_ast: 1439fac87b5291ecbadd34277e98debe8ac2d6dc057b30711159f22e4f51f1f3 - ssa_ast: 9e86d8088ca5f0a8bd7700fe5ad9548f71f439261aa40a9f56f9ec72ea53964d + - initial_input_ast: 76e1a7b3341dbcbb169a797a4bcee5507c82395dd7ec99afbcc543322662c1ad + initial_ast: 8f2a2c871cff6297a6975ba5553ccee7c23aae34ed3a181dc95e3afb8bc1631b + unrolled_ast: 8f2a2c871cff6297a6975ba5553ccee7c23aae34ed3a181dc95e3afb8bc1631b + ssa_ast: 108a6829caaecea46318faaf070c65a0f49dff61e23532e05233e0d5fa2691be diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index 3387349979..d1fb731b62 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 652d4ff29a89177b1a50bf825c8e0b588cd69b59d15401627d8ad9cb8bc8bea4 - - initial_input_ast: 5c2bc7483238201b8fd1d26d7bf18fd8cd88a0c968e4403d7e588c58d5135ce1 - initial_ast: 35239dd409be0d20ca2b355a6e38300eada05aedb698240825960557e8293b43 - unrolled_ast: 35239dd409be0d20ca2b355a6e38300eada05aedb698240825960557e8293b43 - ssa_ast: ed585d82155648260bea402e4f5527abc620964d2024ea4d5bd6b85de2c7bc91 + - initial_input_ast: 3c16fa794f6851696c06fbe6d7801f794cea51a1f382a37f48af2304795671ff + - initial_input_ast: e9cc8a1730f4606eb90ea0a382b059cf7ed7325f27281c6f9be7d7b8bf3132f1 + initial_ast: 5373376f39d8e6d0646f1ae2d8ac767dfc0ca2e99ee3399587d3e838c4c47a98 + unrolled_ast: 5373376f39d8e6d0646f1ae2d8ac767dfc0ca2e99ee3399587d3e838c4c47a98 + ssa_ast: ce33f78ac43301bace3af834c16627549e91bed892d48d8faac28d39f09316ca diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index cd1855df86..2d6a27647b 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d6798a8a955e910e463ef57ef5e09b17ed1b2c06134195c88e91efd38672ef9a - initial_ast: 317292036a9bce4a8ad1d82e5aea8924e4101798231548c289e57ceaa10b805e - unrolled_ast: 317292036a9bce4a8ad1d82e5aea8924e4101798231548c289e57ceaa10b805e - ssa_ast: c4113bf0213bbb8ffa53f7ddaab5c4c1c933fb1d5d654c408e24aa3676b9be68 + - initial_input_ast: f434d381712c61a7fdca1361c3bb935451c0014460ccad9b2f6f20c36494acb9 + initial_ast: d041f5beae0287577ecc86a7f7b8e873d1a2b2c9d9126b2fb81375b86dfe5e0b + unrolled_ast: d041f5beae0287577ecc86a7f7b8e873d1a2b2c9d9126b2fb81375b86dfe5e0b + ssa_ast: 55c6e6c32f18616a20bca823292aaa9c257621633869171d7fef91197d0b78c9 diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index 092d492f8b..1802e47b2d 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4ae3fcda756be204242383a3b61c067cdfe8b565664f0a30d5940ba4f7266e8a - initial_ast: 69b43c1627d395abf92d9d646733c3295c1c3f2b3da6cccc511f84a89cc7cfe6 - unrolled_ast: 69b43c1627d395abf92d9d646733c3295c1c3f2b3da6cccc511f84a89cc7cfe6 - ssa_ast: 46b7c54b4d36b146473c0d289e48b0f54512dc2cdbf9f6ebecbeaad4fc62a61a + - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 + initial_ast: cb70fdf65780750c3576605acf9c875856191118822ad09dbb36059a1a5794b7 + unrolled_ast: cb70fdf65780750c3576605acf9c875856191118822ad09dbb36059a1a5794b7 + ssa_ast: 3e27dc9732e2daa8d173c30b6f86c9366077d6cb64da4eba5e4e5361d45b2762 diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index ac332039cf..489ab9f355 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4ae3fcda756be204242383a3b61c067cdfe8b565664f0a30d5940ba4f7266e8a - initial_ast: b10071ee8f3623bfaaaf20973d31ec47788c00639dda7208f28168867953f454 - unrolled_ast: b10071ee8f3623bfaaaf20973d31ec47788c00639dda7208f28168867953f454 - ssa_ast: 001f222c3cd13453d11f8de5971ee0cc4361a00901baf0188d11b30f08792b7a + - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 + initial_ast: 51d8759fda76401e8dcab37c3ffff64658e456264a1d2073832fca53241d2e6b + unrolled_ast: 51d8759fda76401e8dcab37c3ffff64658e456264a1d2073832fca53241d2e6b + ssa_ast: d89fcce4a26503df2a9bd5d8b5e0f00e3ca62c233aa6ebaa2706cff40bf077cb diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index 84d012a3c5..9eafc670f2 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 561ac4b4e304248d2a792844c79bc6bb2058fb18c89a2ffa413a605b95b105c7 - initial_ast: 0961afe0f9891298bfcc2549fd110b2d99a5ca63e900748b475ecc19694c425c - unrolled_ast: 0961afe0f9891298bfcc2549fd110b2d99a5ca63e900748b475ecc19694c425c - ssa_ast: c05daaff3d4ac4312dba69ec30853e3cf04ebd34278cabe4623ebe293406993a + - initial_input_ast: eb2475c0dea8f30f22e8d59aeca4d60c94b5787c353cee86739e0fdf547cc5d7 + initial_ast: 900997a78ba49bc65d93948b0a4ec7808cdc87caa49ee6eb4a86ba9d20d17354 + unrolled_ast: 900997a78ba49bc65d93948b0a4ec7808cdc87caa49ee6eb4a86ba9d20d17354 + ssa_ast: ef6aed0570d6f1693105d44b7bc617d265a26557a97160943dcd20c60d18473e diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index 265e126ad6..d76a7b88ff 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a6c57f9e310c5c979bec62d2681c7bd2dc1ef0ce672a76c8480943858289937b - initial_ast: ff26a14782b4f76d725602ed0bec0acd22748d8c07a18da1dbbc1162a7b2b433 - unrolled_ast: ff26a14782b4f76d725602ed0bec0acd22748d8c07a18da1dbbc1162a7b2b433 - ssa_ast: fd7840befc02582a10d5a71bcfe30fc28be84dbc3355db88d6fa53ff465b47d3 + - initial_input_ast: 903e4cb36d075f7d5edb97a9c89a9922b312ab788e7908be573c03c206db4597 + initial_ast: c3baceee8caef312d52e80584efb69ecffa9a060a05ed07cc7f151c00c2de35a + unrolled_ast: c3baceee8caef312d52e80584efb69ecffa9a060a05ed07cc7f151c00c2de35a + ssa_ast: 0dc9414162c54f74ebce16b3db4748bbcce91b21be8e49b0720e3113bddc23cf diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index a28db9f070..03bd846e27 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2be89543b341c40370cf165944cc0feba6f8519c6e61356e08fcc1deb82337a1 - initial_ast: 2ff9c89b8472f388c8999b08e614a121cb217dc5fa2a49a18bb4e34a654d611b - unrolled_ast: 2ff9c89b8472f388c8999b08e614a121cb217dc5fa2a49a18bb4e34a654d611b - ssa_ast: 5c4bfb7b6be9f455d6c4738a30b942eeba46e11e1140a06b2f56774130fbb10a + - initial_input_ast: d4b8e37e224549f4fa7d4ed2bfed37909f838085319a1e44b0ea47c9b4b3d324 + initial_ast: e93ba10e786c6485cf53f314362656ecaa99aca4a6783f2f5eba562cd5e639a6 + unrolled_ast: e93ba10e786c6485cf53f314362656ecaa99aca4a6783f2f5eba562cd5e639a6 + ssa_ast: 3c9ef252ed31f8581b878c540c9916eb77073bcbaca12f27a89eb0e15d2fff7a diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index fee5c7fa68..5a1477388a 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de8ad46ebf86c8cf39727a576289b732900d67a883b46a1fd7310a05e0a382a4 - - initial_input_ast: 90fd17221034d61fe7b8e6583a861d6d9d97461219d7370d0c34449d9badcc3e - initial_ast: 8437893822f755cfea5eafe1f822869572f138e6c75c768800a4fc62334bfa6d - unrolled_ast: 8437893822f755cfea5eafe1f822869572f138e6c75c768800a4fc62334bfa6d - ssa_ast: 92644d37dbc3b4542fc8eb7130287e16a5b6ab3afd736bea2d64a70935cd1c10 + - initial_input_ast: 42de2984bd788499f5cad5cca900a185b744aa1d1d688b8f7fadbb3a5c7874c8 + - initial_input_ast: d9bec5a7745fe13bdfb4c07a7a5a2170334817f56c0ce04a2bfea3f7cfd569cb + initial_ast: 3e6b848920471d5e68b5eaccbe5c6b4fe976255a3f8d1a8f0b033c07424b9ceb + unrolled_ast: 3e6b848920471d5e68b5eaccbe5c6b4fe976255a3f8d1a8f0b033c07424b9ceb + ssa_ast: 46142ce6902fe3147ea86c6aa449ba5e11db4d01fd53e00512106ab5c572c529 diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index b759690bc8..0ff680377b 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9e8ee0699c70350b4eb62623a588f890133dd278178de2d51aeacd9e4b01365e - - initial_input_ast: befb4b685175af0ffdb1e55ed784847e1bcae0b53d41f7ae04c343fa89662659 - initial_ast: 5477e515cf4f2318d84011c500baec83b9d3698653afed8b2fec77f74125dcdd - unrolled_ast: 5477e515cf4f2318d84011c500baec83b9d3698653afed8b2fec77f74125dcdd - ssa_ast: b717a08d5e9f0aa8f4565302283f4807b114db4b985deaf7d8d63f24cc95d4d7 + - initial_input_ast: 39fd7e0127cf6c3bb26044dacf50fc23fec06c912f4f221b7fbb08268ccf376d + - initial_input_ast: 93702f3e565a2705947780c063b72752106c019422ab9f11e7dfc8f3be7a003e + initial_ast: 0c4aef847b6abddd287cb5b7986f47a23b953a2711140de807c6286eddab4905 + unrolled_ast: 0c4aef847b6abddd287cb5b7986f47a23b953a2711140de807c6286eddab4905 + ssa_ast: 4585552cc5dcfaa917570561f886f5be8cf08cab1853112b74e312d9be1b8b6d diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index 377912beb8..6a8f2a96ff 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: de8ad46ebf86c8cf39727a576289b732900d67a883b46a1fd7310a05e0a382a4 - - initial_input_ast: 1c2f0c75bc9b2b574e97ea3a0c18d30c5d3f4dd10c471e8ea81bf145ce0c9e40 - initial_ast: 444b3f4d69337068533fa319ce5b6c93b2bc77174724dea0faf3ae0d175c601b - unrolled_ast: 444b3f4d69337068533fa319ce5b6c93b2bc77174724dea0faf3ae0d175c601b - ssa_ast: 44cd041c5210a1eb4999ce6796137284d7ae67cbce4bc39f25a656944bda4ba6 + - initial_input_ast: 42de2984bd788499f5cad5cca900a185b744aa1d1d688b8f7fadbb3a5c7874c8 + - initial_input_ast: 6d9de8d41ba4aea105721c5628f71982abc87c2a386c4bc119b35a508f1c5097 + initial_ast: a2e2d0a88b67c2f09040cc4370074891b8ce98c6fcc0ef0ddfea94d1f9e8cd1d + unrolled_ast: a2e2d0a88b67c2f09040cc4370074891b8ce98c6fcc0ef0ddfea94d1f9e8cd1d + ssa_ast: b3a89d0b963a9fad83fcc0fa3b9b4b3ac7ca3c013cedc636a9cb917423d87860 diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index b8c0741782..83b791d454 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2bf35687c6b599cdd27e9357d4c909560d9333894df8371d8bdeeabec7e3b000 - - initial_input_ast: 4b6e56b6a0f3cb8453256560f005a11d753584cec14158e06b31796a46358fb2 - initial_ast: be306a469d7a06d4a9177da07d8d45f8973a32b655756dc9d9f072ef8c6018d7 - unrolled_ast: be306a469d7a06d4a9177da07d8d45f8973a32b655756dc9d9f072ef8c6018d7 - ssa_ast: 867bc2b3069242455d8bf3e62ab7a8522d9f3169bb8b6930140975919a88b02a + - initial_input_ast: 21b377c00de3931dc46ecd00ca4b1a71afeb7b860f03af15feae1b89f5aba4f4 + - initial_input_ast: fd5a0f22d6fe92d657b7fa9545c0e4de3447d597f2f1cd7fe80e532d1e6b426e + initial_ast: aee7fd5775d86751343e19dea982ae4b443886e8b856c1bf713583110d8a1060 + unrolled_ast: aee7fd5775d86751343e19dea982ae4b443886e8b856c1bf713583110d8a1060 + ssa_ast: a8933cf30a8e4742cb99eb76b54779b2d06b2da28cbff023e6ab32e481acf420 diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 1a3f527a2f..8780feb13a 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76a0fe2199754831329d9b089d2c02f73d7457aaed6548372169318675b85f48 - initial_ast: 1059615bf37daf6664a6205c42660b42b39b2df4c078d073d7be006235ab3b5f - unrolled_ast: 1059615bf37daf6664a6205c42660b42b39b2df4c078d073d7be006235ab3b5f - ssa_ast: 6a1c45061aaff226f8c137b1065cd865af63797ae69494c015ffb9748c84598d + - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 + initial_ast: c89af557c57ce2e965f5ce5c113233bc2f468dcc327ed3e4b68e9c2ec7091eb6 + unrolled_ast: c89af557c57ce2e965f5ce5c113233bc2f468dcc327ed3e4b68e9c2ec7091eb6 + ssa_ast: b1b3dc678bdf9ca0bf4fe5d2a2596565cde3fb62ace4eff3326f770c5935166f diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 189346d7fa..58fb5e0056 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: 21cb471c85400a751acbd3a432f9b9e61b68130495b787fc1c683978d2c3a889 - unrolled_ast: 21cb471c85400a751acbd3a432f9b9e61b68130495b787fc1c683978d2c3a889 - ssa_ast: 7d1a2b2930843ab7de97579c8a90ce3bde944a3613e8077632e53e42f9774dd0 + - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 + initial_ast: 1a1393d473c9ec50c23f75687928162ec127d6aab03d8de8edc69f82ac4669a9 + unrolled_ast: 1a1393d473c9ec50c23f75687928162ec127d6aab03d8de8edc69f82ac4669a9 + ssa_ast: 92dc325208d9a09eccd8223a9f689e80e7be94dafa5b4abe60b60f8a91e924f7 diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index ac24e9f660..320db82ca0 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 546123213cad63ac213c6afeba106d3f0ca69f150c1b65342081d710eec7c7df - initial_ast: 5f0fb707f6c7dc6d08bd3c50475b634a262859b71b6e74a09d0d6fa017f29bb0 - unrolled_ast: 5f0fb707f6c7dc6d08bd3c50475b634a262859b71b6e74a09d0d6fa017f29bb0 - ssa_ast: 947b345195f44ea9951c40827d75cec3824ada7fe484ff9ee842a396f82637b1 + - initial_input_ast: a81abbadd0c9da9cd12fd728f4d2e521416aab8f181dde4c466eb22bd81bc896 + initial_ast: 77cd651f16b8bdb0e6768c6e11af6b7aed5f1fa719fc5365cee048322d174aa7 + unrolled_ast: 77cd651f16b8bdb0e6768c6e11af6b7aed5f1fa719fc5365cee048322d174aa7 + ssa_ast: 3062062216d0f70940e33e7114e1962e6a362cc57a17723c41f1649d10eaa791 diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index 423e5cfb56..25005fc2ee 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1f678103b8b79449301a7755180eabc64cdd0d844548634e04c31f7c75cada2a - - initial_input_ast: 9ba4eacac243edafb1cc7fd490b92a8e2ef9f8023eb552a7655403acae9a5adb - initial_ast: 83678bda6584a3ec3d147b51ede70e3f9b29ff157fb497a26d29c9cdba1f5994 - unrolled_ast: 83678bda6584a3ec3d147b51ede70e3f9b29ff157fb497a26d29c9cdba1f5994 - ssa_ast: 3afc9a67c867bb164590af4519426292ffe967f3e70c47c632661ff415af0814 + - initial_input_ast: 70887868066391ac9d6cf51c6bb1512f4f053d8e8e4edf399648d1420e605e9b + - initial_input_ast: b1759d55c76f495966c1c2093dec894d261ee044deb49457961557b391389b43 + initial_ast: aa75f6bd3f9dc9845919bb8b17ad7e6e2ac8b49238909f40b0e3cfc85b99540e + unrolled_ast: aa75f6bd3f9dc9845919bb8b17ad7e6e2ac8b49238909f40b0e3cfc85b99540e + ssa_ast: 4b0efcbb2726d71a7830a7e847c19effb703769aefd223ee28c35d227629fb11 diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 9f7493c7a9..636eacada4 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1ba0cb9923adad8e10e7f15abb34095a75df715005eda6fcbfc286bb735086bc - initial_ast: bedf638e35c99a24eb8182d190d9687d5f8d1fca5d143558fe27237c924d7719 - unrolled_ast: bedf638e35c99a24eb8182d190d9687d5f8d1fca5d143558fe27237c924d7719 - ssa_ast: 56a227e19f851b5281eb53c0fea6dea78e4a6f8010805d0222bef92378ca107a + - initial_input_ast: 8825dc0753febadfd6b526c47a0e5464912bc358708bd30ddf40e1d21cd76c2b + initial_ast: f92d03f034bc79b9dc5837a1103d45e56dfb8c630bcede97fd0e409b78567671 + unrolled_ast: f92d03f034bc79b9dc5837a1103d45e56dfb8c630bcede97fd0e409b78567671 + ssa_ast: a0d47d97cc90515a8e553bbd0eaf94d256703cf7bf708da6d0302a9fc5f57977 diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 0eb14eac79..8d0cac8dca 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4ae3fcda756be204242383a3b61c067cdfe8b565664f0a30d5940ba4f7266e8a - initial_ast: cc67bc116776d5445c822fe12427a2acddde99e62d79e0664fe06d2dd940e239 - unrolled_ast: cc67bc116776d5445c822fe12427a2acddde99e62d79e0664fe06d2dd940e239 - ssa_ast: 5a2f4b49af216424e2f27dd999dbe4684bb1222f58fea711b36bbb4f1b4efaf1 + - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 + initial_ast: a10b9b536e788eb584c5a054ffafa06c73bf75ac872fcb12dd54277ddeee87f5 + unrolled_ast: a10b9b536e788eb584c5a054ffafa06c73bf75ac872fcb12dd54277ddeee87f5 + ssa_ast: 194944fdff6f2755b78b84b845800e8bc3b7615222755d2873bf2b794bfc1de0 diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index 6903f390f5..ba3cd89870 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9b4fc7b86cfff53c6ce2de0e0b45e96f28f8f12e7cbe9780e1b863841bddb802 - initial_ast: 547fd062021acab192bedd0629dc407e095a93dfde0e12467fb6ec7b0266f56f - unrolled_ast: 547fd062021acab192bedd0629dc407e095a93dfde0e12467fb6ec7b0266f56f - ssa_ast: fdba2b4a9f36ca108c31daf87daf22bcd6722234d7d5d8038fa3761e8109e660 + - initial_input_ast: 7734625af76ab1e8efe63f804f0be3228cb0acf5369dec720b348e6a8d88b247 + initial_ast: 5bdd5f445de04ac2652076a8f1bceff32581590cd9d9a7233a2880e4d87557c0 + unrolled_ast: 5bdd5f445de04ac2652076a8f1bceff32581590cd9d9a7233a2880e4d87557c0 + ssa_ast: 3ea69f9018c3a206b2a343d689fa9443359b384855301e02fb5765f0585ed45e diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index dfd9c75a76..4451fac947 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a6c57f9e310c5c979bec62d2681c7bd2dc1ef0ce672a76c8480943858289937b - initial_ast: d5bf8671786ce2e2d0f1216d6be9e299e670be38e1a52b50af548e521a8a6ebb - unrolled_ast: d5bf8671786ce2e2d0f1216d6be9e299e670be38e1a52b50af548e521a8a6ebb - ssa_ast: 196e46248f9eed0cfc1897ef3fe88b154feb2085aff2db7cd52da6ce3ffad59f + - initial_input_ast: 903e4cb36d075f7d5edb97a9c89a9922b312ab788e7908be573c03c206db4597 + initial_ast: c474dcd48c1ef03eb5bd71e1ee115bc6dd945cb468b62ba43c6159d5a4da3a84 + unrolled_ast: c474dcd48c1ef03eb5bd71e1ee115bc6dd945cb468b62ba43c6159d5a4da3a84 + ssa_ast: 46797ea6497dacbae03da9502ed1c2e05d03a57205008a95b8b4d210e3b61a18 diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 4139913930..0a20241995 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3d9702d3e9990e8ae833c893cbd678a03963e7cd6d9ced5c5ef82850bce77059 - initial_ast: 88dd8688192f2baca7978e8a6c014bd6da14fd412f985becf6615f8b377d9e34 - unrolled_ast: 88dd8688192f2baca7978e8a6c014bd6da14fd412f985becf6615f8b377d9e34 - ssa_ast: 5a977ce3c60a1f01c9c9a4da03adf670153ac1ac5d2c113554e844d403f7826a + - initial_input_ast: 648134ff8c8d1237bf5a069d55da469e1679ef9eed10a52c2ef836230cc8f796 + initial_ast: 6c4a547f46451c51a48120514d96ef56b728e2cfbfff137588ef195fb5bd2e4b + unrolled_ast: 6c4a547f46451c51a48120514d96ef56b728e2cfbfff137588ef195fb5bd2e4b + ssa_ast: b2c699b89d99f1ff471635c93ab8771c9b47c857e43a63f1fa2d06684d944be8 diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index 0638cb9c6a..1800192e48 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3d9702d3e9990e8ae833c893cbd678a03963e7cd6d9ced5c5ef82850bce77059 - initial_ast: fc264178c4a7c17c80f5991a14ce3ae69fb46935ab490781e071d495a551eca1 - unrolled_ast: fc264178c4a7c17c80f5991a14ce3ae69fb46935ab490781e071d495a551eca1 - ssa_ast: 33921bcba9211ffb0fddb234eb8eb13e2e1f0c122951a39727ae972891f2e6ef + - initial_input_ast: 648134ff8c8d1237bf5a069d55da469e1679ef9eed10a52c2ef836230cc8f796 + initial_ast: 339f25581f3450e5938654abf07423fe8f596cab42531bed5140cc1530cc4b5f + unrolled_ast: 339f25581f3450e5938654abf07423fe8f596cab42531bed5140cc1530cc4b5f + ssa_ast: 55a63c4706eb6c79c9e51fd119bc9bb1c0c8d4d6ec5f397e0b1f4f7155e15427 diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 86a56e7fb7..d9e9a023ec 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e87b936c82f37cf42b7963346a659b9dc14c5c09386e3bf792c4f4b72214ecca - initial_ast: 7dd1d20d3aa695da274111e8b8ed6a826831fd4a1e9b1183bb682e665758c1a9 - unrolled_ast: 7dd1d20d3aa695da274111e8b8ed6a826831fd4a1e9b1183bb682e665758c1a9 - ssa_ast: 3658d33fde1b9f8236ef90432d9466eec13d44367bb705297f22cf7666e153f4 + - initial_input_ast: cdd70a1a1b45a2f640f5564c489fa206bdad3d9a6da30e377b8f9a261582f79b + initial_ast: 5568380339145840a86edd91ba53e146ce4112fdca8ede0985b4194310855c67 + unrolled_ast: 5568380339145840a86edd91ba53e146ce4112fdca8ede0985b4194310855c67 + ssa_ast: c97e1d7068f8f8269ddbfc20a822ac42d03ff982d36c51f74334935de7b594c2 diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index ff82465370..4237612823 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a9185aec47cddbf08cb487e40ac62991cb884eff4e0d87f4aaacbe5432a854fa - - initial_input_ast: 835e18dfc6dcfe2837cf2b959884fe9659e4d74d6f4faf3a759b2ffeb517a5a9 - initial_ast: 3f7adea34f1961d45a9c58950647c22943986fdca7d69da115ff6ea96967e860 - unrolled_ast: 3f7adea34f1961d45a9c58950647c22943986fdca7d69da115ff6ea96967e860 - ssa_ast: a1fd7f6a878939777631f2960a79120b0160239e33f48dd41618972b85c2f00a + - initial_input_ast: cbaef99c2e0f48a0da50b391edbf70438b9d0baf3d8b3ae1901e0da5fe7cdf4c + - initial_input_ast: b4eee61b2e4659116aa928d7f44962cc640cc48fbdaf9a29422cae3de77b3a35 + initial_ast: e14ea6d8ce53ba4c7e8b3db4a6659ffcb23b068cfe63c90bc13951845ec767f5 + unrolled_ast: e14ea6d8ce53ba4c7e8b3db4a6659ffcb23b068cfe63c90bc13951845ec767f5 + ssa_ast: 360425c5218785ecdb5b8adc105cc0c87408afcb4b9a4d2e4bc4b9f9c1c3b14a diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index 2a76edc494..a33a257c4f 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 11b11228858e335f8bf609bdb2371f741ecfb95b636e8835e583fbd9125d67d9 - initial_ast: 7b603351c155a2153e64a21c9e43b8b04efeb6ba5d54bc035baab1ba74699e03 - unrolled_ast: 7b603351c155a2153e64a21c9e43b8b04efeb6ba5d54bc035baab1ba74699e03 - ssa_ast: 8ba989e130a0099a912cdd9d629619e24523be4a932f471a35ae8d2ce2b21b9e + - initial_input_ast: 76ee8a09578a0edcac95f27cb70aca139a042bb094d674a6b98601f89c3f8907 + initial_ast: 5b05895fb1b873f0c1c2cb6717f1516ce8df018d0bdef16a4a40716aa325cb07 + unrolled_ast: 5b05895fb1b873f0c1c2cb6717f1516ce8df018d0bdef16a4a40716aa325cb07 + ssa_ast: 5c9351142ccc68dd25a4b9050c3f3dbb26682ac441acd98174021efc0925a161 diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index 77bdebe5f3..94260e4bc8 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5f0da349bc0cc127fd729d94bd9a17313acc2a712b2375e884ac07efaf2673ae - initial_ast: 7d2050c140233b86fd4d3b4ccf5a442d4bad8bf04b31a2a5c548e6e2acdc2add - unrolled_ast: 7d2050c140233b86fd4d3b4ccf5a442d4bad8bf04b31a2a5c548e6e2acdc2add - ssa_ast: d2e5bb2eb0873ac8ee2eb3c91da96aee3c23671cab25defb8cc91511609b830c + - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f + initial_ast: 52401b990d88f694bdab0d550198260431c68a981043b5d5c5bbfdacfe31af81 + unrolled_ast: 52401b990d88f694bdab0d550198260431c68a981043b5d5c5bbfdacfe31af81 + ssa_ast: fa20b22b6a78ebb3a9208da8c4c7188cf06dd530d69b3340cd06f317b3380ea1 diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index e541a3b2a7..192cefca3a 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5f0da349bc0cc127fd729d94bd9a17313acc2a712b2375e884ac07efaf2673ae - initial_ast: 83f2b4de259e44ad6a5ece8b2e93ab3141b1a7e9e43574998f315bf0b9d4b3e9 - unrolled_ast: 83f2b4de259e44ad6a5ece8b2e93ab3141b1a7e9e43574998f315bf0b9d4b3e9 - ssa_ast: 44632917cbbd543fb71a18fb1bbf8c04094de51612372163356da946665f9313 + - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f + initial_ast: 1776401f4bd0b65066a58fcc9d3d02fa366e7b2914e08bad5ef3878591a281a4 + unrolled_ast: 1776401f4bd0b65066a58fcc9d3d02fa366e7b2914e08bad5ef3878591a281a4 + ssa_ast: 94ef9b05df7bf2d949b7f7fdc21351d247aa4087f0d7e406d33f64253930cdc0 diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index 36b2a415b6..7529b6dd81 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ffe727bd0e064f3c4f8b580e6817aaeb3a8f59a40fca63e69b2e162074b060df - initial_ast: e43517734ea3d4f139255f016e8c464cb653bfbca7c525f7dd2ae971c77cbf6a - unrolled_ast: e43517734ea3d4f139255f016e8c464cb653bfbca7c525f7dd2ae971c77cbf6a - ssa_ast: b2a3d81f11e7dfe82e0c9810a6c5cc9f86934102c24713d8cd750296805c6ac8 + - initial_input_ast: dd2aac4c6f630f7b4dbe5bfb5d78168b94e0901beec8736b770037ec96495802 + initial_ast: abfe6a8b4dd7e0f522b49cd5cf87a9bdc884a37d9b61ba5b2284e69e1958c99c + unrolled_ast: abfe6a8b4dd7e0f522b49cd5cf87a9bdc884a37d9b61ba5b2284e69e1958c99c + ssa_ast: bdd77fc3bd8b349e63c13f8f74085e3ab5880c8da85da778a857cb0699781d1d diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index cda38e593c..1e857e19b6 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6824ff7cf3bf1848c9697340221c23ed27db55bd35fa0e3d4a51afb342dca798 - initial_ast: 7a325948a4addeb3a0ad61c64654a81e8e36b5fb4eb02fff37ea61e53ab0fcd0 - unrolled_ast: 7a325948a4addeb3a0ad61c64654a81e8e36b5fb4eb02fff37ea61e53ab0fcd0 - ssa_ast: 121731576a474bde3944e9aad1a2a2ff2d8abd8b94f5f61bc867ce9cb2a56d91 + - initial_input_ast: 56b0e41a6d327961abeda2b6f85158c44f94013c711931edee526fc0fa002a4f + initial_ast: 03dc770f05b638b2ec11c31a7ccedd6da6442145d07e236691d542a68ef13657 + unrolled_ast: 03dc770f05b638b2ec11c31a7ccedd6da6442145d07e236691d542a68ef13657 + ssa_ast: 973251334d87d69cd75a32f68a08a3e945b9ec28a7f1984333cf922c2f0cb221 diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index 5cb706cdf7..b7c7577dca 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a30d87edb4b5e4228844a032596e7140e5c7c2c238a1a5ac1b0b551fd6994b18 - initial_ast: 4d9fcb269daf6a367b08d76663bbf789c6587c4491c9e83e14433682f9dcf36c - unrolled_ast: 4d9fcb269daf6a367b08d76663bbf789c6587c4491c9e83e14433682f9dcf36c - ssa_ast: e58cef14f86c5fd3d807019ed19dbfbf4c5c7de53503a42d4f42ff6621206183 + - initial_input_ast: ce979079da83c10e402376fd94b777349557b28c106ce84d3f05ac441f19e3b4 + initial_ast: 429e87ee200ba216a0b19dfd8ecdac2915e68312c9e295d71d680f8aa1b5f596 + unrolled_ast: 429e87ee200ba216a0b19dfd8ecdac2915e68312c9e295d71d680f8aa1b5f596 + ssa_ast: a25819fe04db233a34946c6729007930eab82fdeca4345c5ceebe9fecbd3e497 diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index 31036b3b44..3698a142ad 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4a2c614c8818d8c909889e083ead68d447d8b2a1d805e0f9ab559012e55d9b1 - - initial_input_ast: eca84ae5626a42e56bf16e86c3ae507b8043a9beebd8c822da2cec5af5ea4ff7 - initial_ast: c621e50b4709a131fceaf4cb02fa1703fa1822e9e6d49ab6d73f1c2b94873040 - unrolled_ast: c621e50b4709a131fceaf4cb02fa1703fa1822e9e6d49ab6d73f1c2b94873040 - ssa_ast: 0e0ad9d0bbc2120157cbe5a66e8fbcee89cdf7f5eb155b555d521be3966777b0 + - initial_input_ast: deb50c041b424221a0527767410234b8d21a0bbad0a5946bd5e7e1026fb1d15c + - initial_input_ast: 250243a2f6b5862fc8aaabe181ef12ec6f9e273c384f81c4973f93059e0baaf3 + initial_ast: 92c9907890c6f457783f10cf981af8651cba93a540b245b31418ff604a4510c7 + unrolled_ast: 92c9907890c6f457783f10cf981af8651cba93a540b245b31418ff604a4510c7 + ssa_ast: 6bb015326147fa74b256f6b74bdb266935b8961ad9fe00f31d071e78ba10becc diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index 8948b175b7..50df953d7c 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d90e3ab82224d91c5a023143ddd98de3f6597d2bf9c4bbebce33b4bbff780dbf - - initial_input_ast: b3203b60625dcbfc58481812d0b61fc6e3c9b23a1a60a6087ed75652c73d4de1 - initial_ast: 28b84f16425d5e143b7b2291bf469ee3f3d0a775d0f5df9a1c24edd1b5f54117 - unrolled_ast: 28b84f16425d5e143b7b2291bf469ee3f3d0a775d0f5df9a1c24edd1b5f54117 - ssa_ast: e10e906a48091b72c1459327aae1939d171098c997d43d4a3fa9d28b98263cf9 + - initial_input_ast: 6dad794fb664dd6b6321c0348b355b4b9af70e3ad9f0a686f49a78bff9f032d0 + - initial_input_ast: c861678970a2cdf4425ebbb66a46473167eb7c497371761200f9c8512236a569 + initial_ast: 12458f74be936078763e646c30e99027325f5549863b053b43238aa6cb9fffc6 + unrolled_ast: 12458f74be936078763e646c30e99027325f5549863b053b43238aa6cb9fffc6 + ssa_ast: 2095e585423d50180d1d4bec60a8d65822f94cd7c0bd0662cb803bd239291320 diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index de7014b5ab..6adbc92d1e 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4a2c614c8818d8c909889e083ead68d447d8b2a1d805e0f9ab559012e55d9b1 - - initial_input_ast: 9a30e6239a8777c12b21a658af4d97e393fbda720dd9f6890edbcbcf52fd82dd - initial_ast: 68ebc3ff677336c2dac95b2fd24b3c8bd3b5167475f55480f505de6f197b9dc2 - unrolled_ast: 68ebc3ff677336c2dac95b2fd24b3c8bd3b5167475f55480f505de6f197b9dc2 - ssa_ast: 0a90de24a9e3afa75d88b605faf12ad9771bcbbb18810619f01befeaf9e32b4d + - initial_input_ast: deb50c041b424221a0527767410234b8d21a0bbad0a5946bd5e7e1026fb1d15c + - initial_input_ast: 9fb87430833bfb86619a44824939c7817d9a486f44f184a298f8f44e09bfff9c + initial_ast: c98cf65db30f8796f5e626f42b5b5a192d382c8ea7269dc4efc6a242ea5fa2e5 + unrolled_ast: c98cf65db30f8796f5e626f42b5b5a192d382c8ea7269dc4efc6a242ea5fa2e5 + ssa_ast: fa772ecde011409afc429ea1ecca6af2197d31c32785a8dd3c65975264e1a186 diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index 24c5f30310..d70b758509 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f480fbac737ff71dd5517371e2c8b974ec8e7f0d76f1cf95c071647838dd26bb - - initial_input_ast: 5d86162c8dd4157286ebdde26ba2738b2c09a077b09f50081f9f2ae6815f8d5a - initial_ast: fa17537dee8090ede3b8240b5a960d699efa4fd0408bacd119a443c2b69f65bc - unrolled_ast: fa17537dee8090ede3b8240b5a960d699efa4fd0408bacd119a443c2b69f65bc - ssa_ast: f95d3e3e9f250d3bf0712944732b3f3417be1a878a43f9a4163ce204776e452d + - initial_input_ast: a10d21c10f5379e100eaf0a379b07f15dc833339873735013bae95118fca33da + - initial_input_ast: 5350421741bb69a6a8b66b31e8e2120711caa858b41b929b39d6632ee3c0bc5e + initial_ast: d5ea8879fefe162957d24fc9808030c2b488e01667f4952be7df0a6d6ec5c330 + unrolled_ast: d5ea8879fefe162957d24fc9808030c2b488e01667f4952be7df0a6d6ec5c330 + ssa_ast: 771f67234e6976baa5375d8aa3c1f8d8bb5ca216a94e9c33d3b6494030403918 diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 242440249b..2de474c3c4 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ad738add6c03b6224ccba9d8d735b6645444f9c16f3b652ec4c0903fa4bb33aa - initial_ast: 408f90c719a52bbf126e16231e3286f786a564cfa0e80e6f2fa4a4fc8bc84786 - unrolled_ast: 408f90c719a52bbf126e16231e3286f786a564cfa0e80e6f2fa4a4fc8bc84786 - ssa_ast: e3b253903c8c8a07c9dc393b249dfe4df4a68955d84fc7701021b3340542b455 + - initial_input_ast: e1384263a1c0a020dfb2e479ac003bf88585716f7492d60429e4a030a81760e1 + initial_ast: 523b8d3d11a2d384860371f53a12af46fa314581767a6d6c7075a0de7d219ef6 + unrolled_ast: 523b8d3d11a2d384860371f53a12af46fa314581767a6d6c7075a0de7d219ef6 + ssa_ast: ae9b205143f59c733bba6b7d21fec333fa09104bfa5fd9deabbdce6250bb380d diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index 42ab48c34e..d9547d7619 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: c696a0f554211e2b57e1ec12d43a209059e408e0123d5e5dbd5ced6d66120666 - unrolled_ast: c696a0f554211e2b57e1ec12d43a209059e408e0123d5e5dbd5ced6d66120666 - ssa_ast: a8735da2982b77102c2ac8611ba2c2342be2bb6506bb910087149af2ca925665 + - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 + initial_ast: 5e0a90e585de125ee9b2ca43ec70a662c71f8ad3f7ba714aa7d22a32311ab5a2 + unrolled_ast: 5e0a90e585de125ee9b2ca43ec70a662c71f8ad3f7ba714aa7d22a32311ab5a2 + ssa_ast: 016194bbee3b3f2e10a2b7f8b704badbcbd1772a6323cfb7d4aaa2383b5d44b4 diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index 781eb912a7..9d033cc889 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b08335847b9ad7ff1fd1bc85da101950a3bd737aa7339aec6dea798f8bcc0c62 - initial_ast: d60be393992dead9e4403c3fbc58a631b4f66cc343ed7af540bbc8b211b87262 - unrolled_ast: d60be393992dead9e4403c3fbc58a631b4f66cc343ed7af540bbc8b211b87262 - ssa_ast: bc4fdfda18daabdcfeafd25c9f49ef6da473404c5b1560f690cdac6c26029c37 + - initial_input_ast: 23a906b985700448c85dc782785a7a12d57b5f54b3964f78a82fd2acb85d0541 + initial_ast: 52d41ceae639d091666306b90fb56f3eaa47f4913fb053ef01199d34aa30c5b7 + unrolled_ast: 52d41ceae639d091666306b90fb56f3eaa47f4913fb053ef01199d34aa30c5b7 + ssa_ast: 9271f86573f71e5c06a108d2e7a8b897b62bf099fc25f0970a36016a973bf87d diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index 75a4e3e8e3..4150e20366 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 19ccd8355c28de11d696f353eebeb35a92372d6aec6be93fca97ebe917117c89 - - initial_input_ast: fb901b45b5aaee305521668ae9e9edb15cc7cd0cd81814069e06d979a9371ce9 - initial_ast: 4df6c2814550170f7619a8a00fb42c932c348400ae7540600bae2a60331b68f8 - unrolled_ast: 4df6c2814550170f7619a8a00fb42c932c348400ae7540600bae2a60331b68f8 - ssa_ast: b0d0de9ed4e3004f5f0addde5f24e0f15856fe7ea0e4a42994e7d70698aeb06b + - initial_input_ast: 9a24530e1fe79a522c2f0149e7a2c25e2bfd5bfba8898479ccd6fae108571c48 + - initial_input_ast: a22b91e67486c9cc3a70bb18f94f84668ca7b40affff6e3a04e5a084e3cb0e64 + initial_ast: 8e8a712b02e089c43b931902896d0791e40132ef9ab8b83d5c6f5415031fa31c + unrolled_ast: 8e8a712b02e089c43b931902896d0791e40132ef9ab8b83d5c6f5415031fa31c + ssa_ast: ca7fb5a5ea6675c90e3d6fbcd3cad9f08aefe625fc52806cc25ac39c10b2ba8d diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index b929c290df..af7cc37304 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b14a42e44e9f3d53ae523553f456c7c7377db63853ebf36aaf0e2b4fc88197ce - initial_ast: a10e9f13ecf18cf313f84452fdded1e1769faf50aee884f64629f40aa3b352fb - unrolled_ast: a10e9f13ecf18cf313f84452fdded1e1769faf50aee884f64629f40aa3b352fb - ssa_ast: 33a7ebf3bb45c604475a18b6f23f3bed0e9ab87b766384a65e756beb1fd49b8b + - initial_input_ast: 9dab1d380e32f26f89054c23ec40da61f704f51e980519eeb28176c7aea74ee2 + initial_ast: 6fa70d9cad84f9ae8711c2f28f647cf60742ce7d163fa5292e643e3f2955edeb + unrolled_ast: 6fa70d9cad84f9ae8711c2f28f647cf60742ce7d163fa5292e643e3f2955edeb + ssa_ast: d1de33b13877511db4ba781df1b7dec12807e7f09e07709db01662f970469e7d diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index 69accf9ad8..6db18cbfe6 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5f0da349bc0cc127fd729d94bd9a17313acc2a712b2375e884ac07efaf2673ae - initial_ast: c23f5c849ac000df9897be0176e38bd8cba55ee5e2c4808f2dd9dd001f2242fb - unrolled_ast: c23f5c849ac000df9897be0176e38bd8cba55ee5e2c4808f2dd9dd001f2242fb - ssa_ast: 338be172ba5dbc06ec8d9107c6ea696932ebbd0266e3c7e1633cc67247c70aa3 + - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f + initial_ast: 413c64516959e5b2a41958518a3ae966204c51f9f3faabac068f72e69c970925 + unrolled_ast: 413c64516959e5b2a41958518a3ae966204c51f9f3faabac068f72e69c970925 + ssa_ast: a46c4a2d6d6de147f3c18a126b73490d91d288e90c89df3848d5462361a52242 diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index aad87b5361..03f6381aa1 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 124c63b86afdb483e1ecd1e917b68627e1cf503f728213235e860ee8f17108c5 - initial_ast: 1ab1ae9559dc3be4ced54c6699d7f4a2b2ffe1f1cb61289761e88f0e87233119 - unrolled_ast: 1ab1ae9559dc3be4ced54c6699d7f4a2b2ffe1f1cb61289761e88f0e87233119 - ssa_ast: 4fc61cde6b50534327dc08dabc9d4bdbe1d7feb5f1bc2363c3ef3410065102e3 + - initial_input_ast: b5786208358b4e25617c777914b274f9559624fb7b23d62979a54514fe322ad9 + initial_ast: b94954b7d3b6850aab2acea36df5b7c8da4d0580ad10169df21f521b7085f82c + unrolled_ast: b94954b7d3b6850aab2acea36df5b7c8da4d0580ad10169df21f521b7085f82c + ssa_ast: fe8f1015bfd56cf48034513a87dc47f69ff798b8046a0f00cfb8ffc63003dfff diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 32e7cbe623..dd83054e93 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6824ff7cf3bf1848c9697340221c23ed27db55bd35fa0e3d4a51afb342dca798 - initial_ast: e7c916a9c480b0a4d971e1fcfea3ee0ef53f505592aca0503721a7df246cbea8 - unrolled_ast: e7c916a9c480b0a4d971e1fcfea3ee0ef53f505592aca0503721a7df246cbea8 - ssa_ast: afb5bbfff45accea82e804d420db6bce009182dffd1569f21824e03b19fa5d95 + - initial_input_ast: 56b0e41a6d327961abeda2b6f85158c44f94013c711931edee526fc0fa002a4f + initial_ast: e65aabf9c7f57b846f9cae12aabc1a88cfa2ce90246c230bd6c598178e0ea450 + unrolled_ast: e65aabf9c7f57b846f9cae12aabc1a88cfa2ce90246c230bd6c598178e0ea450 + ssa_ast: f6db483b435c937d57d59fb7eced8d182ad605431c1fa228b9badd6beae9f468 diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index ee85eef35a..803557bf35 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 73e39e8df0b0dbcde45e1965fe098a688eacc3c2a88464e943f0a9cf5eaeed35 - initial_ast: 61289dc5f8014bf445cf3b37e5bbb84c9a55eda14f8f8f18e5732d63ffcc01f4 - unrolled_ast: 61289dc5f8014bf445cf3b37e5bbb84c9a55eda14f8f8f18e5732d63ffcc01f4 - ssa_ast: d31fc5cf34126ee34ee2c95614a49b51dc979cb9790cf4844f3ba73cce9c9bde + - initial_input_ast: 3254df274e088a65749fb037e4202e73fad5738b19ffc5ba02393ecd3fd3d095 + initial_ast: 075ded39c1ba75e8baec2ff01943fdf0b5114603310a4ea7ac2690f09e665c42 + unrolled_ast: 075ded39c1ba75e8baec2ff01943fdf0b5114603310a4ea7ac2690f09e665c42 + ssa_ast: d7b688fe8c5d51d76d85ac00aa9da978f56debe59dc0790f7300b125b154ebe6 diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 0e4dcfd0e5..516235b7a5 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 73e39e8df0b0dbcde45e1965fe098a688eacc3c2a88464e943f0a9cf5eaeed35 - initial_ast: 54aa3493a612a30bfd347dd4809661c0b3600e50a7c3b62f70542a8777d29bb4 - unrolled_ast: 54aa3493a612a30bfd347dd4809661c0b3600e50a7c3b62f70542a8777d29bb4 - ssa_ast: b6fad4d0ae62a26c1dbb88dec76e5e3fa9dca42177163063739faf5676def858 + - initial_input_ast: 3254df274e088a65749fb037e4202e73fad5738b19ffc5ba02393ecd3fd3d095 + initial_ast: aaa56a7dc8a4573e16befd2191d680df41be2021581324fd090d662a0f1cdc6a + unrolled_ast: aaa56a7dc8a4573e16befd2191d680df41be2021581324fd090d662a0f1cdc6a + ssa_ast: c14454bdc0936a36a151c9257ccb2ecbc644525bc5403e56d33715ae768d89c7 diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index fec09c0684..914957b84b 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 037a91c8ce566bd11e1c3fead1de1b913fdece7cda25fda8b140a48fe6ed8e18 - initial_ast: b1d74b54a8858578ff359461d7f2eee75bfae9468e366654893945499df525d2 - unrolled_ast: b1d74b54a8858578ff359461d7f2eee75bfae9468e366654893945499df525d2 - ssa_ast: 9978a416f17acc65488ff1b536586d94243f988366d3cb9917c4754ed8738991 + - initial_input_ast: 0097e6e4f1a3206e8ba99b9f7706f17d471fc3841b6a43723e356e6b9a55df43 + initial_ast: 020c4cd7855ce5d7be819e3874652d4232c2d6ffd22637ec98fe17c91993339c + unrolled_ast: 020c4cd7855ce5d7be819e3874652d4232c2d6ffd22637ec98fe17c91993339c + ssa_ast: c81e1e53cd45ce615137530e2e90d7dfc1aad944bc2f8e649e98c5040fb39276 diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index b103720d7c..809b7afdb9 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4450f5a11abdb8fc9b562c7aa9ca3aca3a9334124c635a0e28ae4168908f1bc1 - - initial_input_ast: 50119550f6c8019f7b05f4af5b542c1fe2167cd02c9e89760e82cacf40d3540c - initial_ast: 8b1ce5ee0743a80bc0cad666886dfaf8401d82cd5abcc5e7e90bfb12d648433c - unrolled_ast: 8b1ce5ee0743a80bc0cad666886dfaf8401d82cd5abcc5e7e90bfb12d648433c - ssa_ast: 7107c406f4f47168f94caaf22b45332e1c13beeafab4344f7d4435880ccb2239 + - initial_input_ast: 74e68f198fb6601a32edfc83b03ec053289234a8bf1223bb8be08c1c793de420 + - initial_input_ast: 4ae6aaeb5d347247c9171908ba7c7bf7f93e6857cdb8743da9f97426ee3714d9 + initial_ast: ff3e99f2dd2819dd91af0fd72fabd57e462ff0fb243bb883b5b21a503b70f1a4 + unrolled_ast: ff3e99f2dd2819dd91af0fd72fabd57e462ff0fb243bb883b5b21a503b70f1a4 + ssa_ast: 3e648c8729471af25703989cad7ad72ac0d642970ec44f44b058a3ae5cd0d73e diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index 1e8b67d2a4..2c235b551c 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 78b3b31c4ce65112e8aa5ffb43d266d6ac030f1f623e59a951bb9ef022b426f6 - initial_ast: 370728de721b2710a76cb736d3ec61d9cbed0409b990a69662ce121a666b4fcf - unrolled_ast: 370728de721b2710a76cb736d3ec61d9cbed0409b990a69662ce121a666b4fcf - ssa_ast: 814ba03fb331b8798d7761b8fe3c21f232e8d0ce94a397832a9bd983f3ddf7ee + - initial_input_ast: 208c954a311fbf4f94ac71f3db9ee760367facb18d96d4a23b6d5a708932fc2e + initial_ast: c0a16a019a554cfd8b1ae8bdf6bc826e9fe06248d89fb179f9772e7ce676b549 + unrolled_ast: c0a16a019a554cfd8b1ae8bdf6bc826e9fe06248d89fb179f9772e7ce676b549 + ssa_ast: 4d4ae1fa210fb28e9f2053011a0f9f326c0b9fd7d496a1018326879c4c0ed3e0 diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index 4cc84d5811..ea7fa747d4 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d0f3e37c62ac7e5546a31310c8128be2dd63e29ea4fa420f94e30c87a1fa7ac9 - initial_ast: 6cb728c26879e2116c79f09bf6c3f082c6bec6ffebdb58c7b678219af41b41e3 - unrolled_ast: 6cb728c26879e2116c79f09bf6c3f082c6bec6ffebdb58c7b678219af41b41e3 - ssa_ast: 39f96778f3ad23f2c139bd81bbcc916fedea1997e06bfd9b752b68acad2f8c5b + - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 + initial_ast: 74ec8841613b3902f2e92d01556a08a07c33ac398a2c188e8ba0cc916cb3d274 + unrolled_ast: 74ec8841613b3902f2e92d01556a08a07c33ac398a2c188e8ba0cc916cb3d274 + ssa_ast: 7cfae9c78d4b70c266ca96efb893640a8adc224f8488a02d401241bafaf19721 diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 83e728f3c6..1e2570c62a 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d0f3e37c62ac7e5546a31310c8128be2dd63e29ea4fa420f94e30c87a1fa7ac9 - initial_ast: 2e82a7e0522ba866877caec94779bec5ee56107e52fd7fc3ff4cab0963d67f66 - unrolled_ast: 2e82a7e0522ba866877caec94779bec5ee56107e52fd7fc3ff4cab0963d67f66 - ssa_ast: e80ca476859e9e4b216e4076945e72187081367154b42c9399cbf73bd76361ce + - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 + initial_ast: 3e09df75e723b5ecef7bbf72eddff6040faff4c5803c255f1427f5765d743f7c + unrolled_ast: 3e09df75e723b5ecef7bbf72eddff6040faff4c5803c255f1427f5765d743f7c + ssa_ast: f1ea355f1de11c33867f807d06443527ce05dc5112321dfe2d1c98a081a0a33a diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index a05b6d8ab4..7e6a1d3845 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d2efab25011fe4638baa7285769822f2dc76fccadc1bb8b47dfb0e5a9cd4afeb - initial_ast: d3271992622fe1567c51c3d2515cb377fff7f569af76f75e45a00e14867a3aa1 - unrolled_ast: d3271992622fe1567c51c3d2515cb377fff7f569af76f75e45a00e14867a3aa1 - ssa_ast: 690cb49e2cefc720792f5442a9e8483cd255011fa9637bdf2c4fbdfebefa690b + - initial_input_ast: 1b807f417d2897a2bfcff5a92efc07455f077c76697d8f3bc0eeef1146c111b5 + initial_ast: 2dd5660737fc9b146c50d59ab2a162ba904ee5fff7c442294e9bbaae844e2b32 + unrolled_ast: 2dd5660737fc9b146c50d59ab2a162ba904ee5fff7c442294e9bbaae844e2b32 + ssa_ast: ad2cd0a02a5a2894738c015995df5b94dff567761937a0e123a87d152fdcda77 diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index 219f8eedc8..135b43dcf2 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 75c65019abb9d4d2b03ca454d75070980c5eddfd4a3f55105da62dc462e6f2b4 - initial_ast: f7eb9aca3628c06ec36113984d3580a416425559d24cde6fa226e4b315ce121c - unrolled_ast: f7eb9aca3628c06ec36113984d3580a416425559d24cde6fa226e4b315ce121c - ssa_ast: f561e543b2e501b86c89a9d68510b86642621f38e6f138523dcf6c83e6c3b175 + - initial_input_ast: a79303eeb1d658a95db2b1912c2b4d6fb84e1184ee699cc8e41d32b42c1a4daa + initial_ast: dc2802e5ae0c6edcb7247f9667ce407022cac6ac62741eb0b9d9ae51a08b36bc + unrolled_ast: dc2802e5ae0c6edcb7247f9667ce407022cac6ac62741eb0b9d9ae51a08b36bc + ssa_ast: 809f9f30caa86ca8c9bafc685e3e1a61da763b5d0a0ec4960b34e0c6f0056043 diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index f9fabedc23..1c039d1330 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 52c6f13316dac6cd775fd0ed87c85b2193ce7ce98e4af5fe90a02228b91bd436 - initial_ast: 305b0859c3b385dfec3449debe9b45a171b7c4bc22d67b14a5c982cce3d158bb - unrolled_ast: 305b0859c3b385dfec3449debe9b45a171b7c4bc22d67b14a5c982cce3d158bb - ssa_ast: b222cd6288fcef3a1fc5df15c44cf315ee8027bc1b38dc0ab14c69dd1acf2684 + - initial_input_ast: e9732bdd9f6b529606c29f791eab10b25c56342816b11c0af2c410ec610b04b3 + initial_ast: d112877e5caa0ea5222b051c5163f7aa3883fd50c13a529757920ee71a190ca1 + unrolled_ast: d112877e5caa0ea5222b051c5163f7aa3883fd50c13a529757920ee71a190ca1 + ssa_ast: 4876d03ae8cccf0175856135cb0de82a519064472a1b76918289edd78ee9f958 diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index 37a43a5c0d..bc292ee867 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 363f50e3854bd4f21cbf7a504c5c2115a80957b3fb1a57c02d53d9641b4ba75f - - initial_input_ast: 904d8fd6014d774459898b77c719aad7b8022aa655b5deb9d6c2a721d7764dca - initial_ast: d741e37f6dddfeb676b42c3ae18ddeeb42d284586ccb7d3005fa30305d4088e7 - unrolled_ast: d741e37f6dddfeb676b42c3ae18ddeeb42d284586ccb7d3005fa30305d4088e7 - ssa_ast: f5fb7c9acd0f0f83103bc4dff087d5f4d73c1692f9df5b0ce434c6468a6290d0 + - initial_input_ast: 749bd98400013631ee3e6fce48ed39140b90ea70cc6bc1aeb5be88a6c0db62d6 + - initial_input_ast: b435f805fbc84036c90950ba960e9f4a779511b3ba2588567e26a2e88b050130 + initial_ast: f2662bd13e8b2442ee6e0e7f623bb63b1dcfdc665bb6182dd94f097a0b50389d + unrolled_ast: f2662bd13e8b2442ee6e0e7f623bb63b1dcfdc665bb6182dd94f097a0b50389d + ssa_ast: 7d708674b69bcfd39d1593db74dcb2d4d9264d7cad4c14ad177f403195b25766 diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index f0fb5db2ab..fef0252385 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 11dfe30414af52cd3789b4661b5321703b3f7c59c1d56156453f017216549638 - - initial_input_ast: 3e57abe0efb9f8f96288dc4e5483d2bae4bfbfdf17656e06939dc902f22bfc06 - initial_ast: 5cb07961697f1b453397b716f646c1d06036dc0af885bd9738eb1a20ab8d6270 - unrolled_ast: 5cb07961697f1b453397b716f646c1d06036dc0af885bd9738eb1a20ab8d6270 - ssa_ast: 7e2abc83b7cf3497773bb30c4eb96731c87d10506a434634648919587f459913 + - initial_input_ast: cd43326ada623ba3e19df234b7368cf9b18e3796301dcdf6ece684b8944a4ef8 + - initial_input_ast: 7b59724eadc6df6e47e753a8727a989a1d445af44929526db8051cf07fccaa89 + initial_ast: bc75b5e37a5ecdfe0436e61ee475734f2dc43ab86296b3bd520aceabd6a61183 + unrolled_ast: bc75b5e37a5ecdfe0436e61ee475734f2dc43ab86296b3bd520aceabd6a61183 + ssa_ast: 6c137ea4c678945e4c783647a8700c0b6b6b18c2f589fa12f3c8dbd5b717a209 diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index 4492fc11c0..853d31dde3 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 363f50e3854bd4f21cbf7a504c5c2115a80957b3fb1a57c02d53d9641b4ba75f - - initial_input_ast: e258c10edaaa1e75317f18338d4401727c00bc1f4ff31b63d6dd2d3c4055786a - initial_ast: aafa797f7510cb68a000c519cba95c1d9d3df572ed5798c7e6f952b38afa4f2e - unrolled_ast: aafa797f7510cb68a000c519cba95c1d9d3df572ed5798c7e6f952b38afa4f2e - ssa_ast: d260e235ea50fdd712e30f772e054c91a75b7c2d23769a7c780c2a4ce34baf11 + - initial_input_ast: 749bd98400013631ee3e6fce48ed39140b90ea70cc6bc1aeb5be88a6c0db62d6 + - initial_input_ast: 1d576678ee3a3c315ed141d068ce5792f61a325bdaaf0d46f842858e24bfe19f + initial_ast: eecbc8aecab7ccddb2bf6677d82fe0134f382509b35d60ead6bf369c28801658 + unrolled_ast: eecbc8aecab7ccddb2bf6677d82fe0134f382509b35d60ead6bf369c28801658 + ssa_ast: 535e4384d61f9199ee72fadebcae97e99b00974d105e1784bd4dc29371e6c7c5 diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index fa676dacd1..cc12c347a7 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7f6f717332c3b7db6fb3cce23f081b8889744d750647472938f65fc22bba75d3 - - initial_input_ast: 070b47a3460318982ab945e6c9fb89c68207b3388126f8daadb463fa669834ed - initial_ast: e0a50bc740dd5465240944e4e8da80062a8f2b0cf95051e1fcd5b912f593bbee - unrolled_ast: e0a50bc740dd5465240944e4e8da80062a8f2b0cf95051e1fcd5b912f593bbee - ssa_ast: 2314c0e71a48817b465df4cc757e21cc0bc05f0f0147744fe268a076ac4f5169 + - initial_input_ast: ce90fdeb5e0cf434a7495e15f4dbf4ff740329313eaeeca332e3f9d92bd740aa + - initial_input_ast: 17d9b002da7e45baee9b68318515accfbb46816ac6c477c0f2da3b35a380750d + initial_ast: 8ff0236a8cc1ac7f065345d4dc21fa15e6e1b0b7547a086bef4e874acd5fbb1b + unrolled_ast: 8ff0236a8cc1ac7f065345d4dc21fa15e6e1b0b7547a086bef4e874acd5fbb1b + ssa_ast: c4c989cfa6c56de82fa403561ce8700aa6ea1e63f43256de9576ebcc66941b2f diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index 7444e67e5a..32dc9d6d9a 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c7cfa681865a1c0623cfd356162d0c6750f3e06fb72126585eace0aeb21bae77 - initial_ast: b6a1a46467e61d42768094825c2b306a5b60633ebf36e18bdf16405466643af2 - unrolled_ast: b6a1a46467e61d42768094825c2b306a5b60633ebf36e18bdf16405466643af2 - ssa_ast: 2159323aae58d0198cd38037968f6d65c04ab7b9b455078355d480b81abbc880 + - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 + initial_ast: 2e2d09567fb66dc788518d8a2580330969c22b8996840e6bac6f8f751ed10e71 + unrolled_ast: 2e2d09567fb66dc788518d8a2580330969c22b8996840e6bac6f8f751ed10e71 + ssa_ast: 14f2e3f48132f6e4f0d3acb243ccff92265ac6758d37152df526fd25a4face9a diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index f7f7f906be..e0396eab06 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 13720f61f86be3462e6829a230cb85abd2ea7a3e406c03bad349c0580839fd1b - initial_ast: 7fabfaa9c74d411896fa0061d36170820ce473f354eeefe2df5ca2b3e27d98af - unrolled_ast: 7fabfaa9c74d411896fa0061d36170820ce473f354eeefe2df5ca2b3e27d98af - ssa_ast: cc2c28e3cefc8c0eb801eb7e4de5bc2deb7bef11a6062601ffc16ca3580abbbf + - initial_input_ast: a1a34a6c86c699c5d6619fb0a62bcba7304c61a47948782864b22feecedbd5dd + initial_ast: 60aaca7e9034a71c1326134484408ef37388d5be4ffc98a1ec5e1abad16970a9 + unrolled_ast: 60aaca7e9034a71c1326134484408ef37388d5be4ffc98a1ec5e1abad16970a9 + ssa_ast: 5ae7414d182c159b30a55f4e853ebd8dde83957ff9453158f9a97951a0c1d272 diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index 5ce241e446..26c51d1273 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: dc88d1ee78f1dcf6e0c6680c832d10071756ed9b0430d61032df953dc09697f1 - initial_ast: e9bb0a4f4770740bdccccfb26c6e19dc6bd3aa76884f140af0f6d35c4b1d1998 - unrolled_ast: e9bb0a4f4770740bdccccfb26c6e19dc6bd3aa76884f140af0f6d35c4b1d1998 - ssa_ast: bf001771ecf6bfec28f2e7e8086364d8cfda5c4127df340fb20c8969c7606515 + - initial_input_ast: f9b7f9b28070d1803a87853b4f21cba76209b462414d0fa688e73ddaaca591c2 + initial_ast: 00021e63a745f3ecb0b8504a056569d657539fe16529a3b0f639bfa1e792ede0 + unrolled_ast: 00021e63a745f3ecb0b8504a056569d657539fe16529a3b0f639bfa1e792ede0 + ssa_ast: 6824bbe3c34ee8d496d768e8629e13d95b241e532d594e8b9792537ffa85665e diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 2111f6cdef..9786df01f1 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c689cc64548f987ae996743a1221fc7dc2f29c265f21f08e8f883383cf0e4f2b - - initial_input_ast: 9322acfd66d611ebc2ed47adc1c9cce394287216103578c2c822bec1318d6d1a - initial_ast: 881750c7d9851577a8d398f41834366d48c5e72d65e7d9ef0939bf2e2a986412 - unrolled_ast: 881750c7d9851577a8d398f41834366d48c5e72d65e7d9ef0939bf2e2a986412 - ssa_ast: c8aac571e67bf076d5755e2d8e0d4d31ab39e3c5af0aad39367c93e710053e70 + - initial_input_ast: 49589618198121f8642d8dbd48fb5d61fa14039a065ec9cfa58a4f13184a6291 + - initial_input_ast: 8a1bec8bdb6b2d2894a13521cea0ee690a4b74dd05abdc21281bf5901745c645 + initial_ast: 9d47743cc46370b492ab4ddac1c671298c9bfd2e84a7de91227c3f02e37b6ba8 + unrolled_ast: 9d47743cc46370b492ab4ddac1c671298c9bfd2e84a7de91227c3f02e37b6ba8 + ssa_ast: f3c8afa9348f07b086a57e3b0c1ea0857d49c62fc32e89b3b8ffbee49c1735c3 diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index 0f0671de3e..e3d0e55677 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d6c06d5e8b1e095caf4450d1dfa1f5dadcec9b7bf0c04c95a1bbfda5582b86ae - initial_ast: 88ddefda690a9fed07e1b4fe12b0631f33b53caffaf178269ee742801e8288db - unrolled_ast: 88ddefda690a9fed07e1b4fe12b0631f33b53caffaf178269ee742801e8288db - ssa_ast: 81532fb4e8b8d736e25d8ae927af92399f02e064df8925f8813f8db51b113b28 + - initial_input_ast: 5af325bba59f403fed6434398ef0e989ec325425782f6194891929734864866b + initial_ast: 1f3a60bfccfb592bfdddda2081da7c5bed330602d3d84586dc88fa75bf0d1109 + unrolled_ast: 1f3a60bfccfb592bfdddda2081da7c5bed330602d3d84586dc88fa75bf0d1109 + ssa_ast: a02e5f2e4586ba19ad61550f4d92b7f2dd40838f43fd09ebcf071479e1d1fb74 diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index 742426f3cf..96a361ca6f 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d0f3e37c62ac7e5546a31310c8128be2dd63e29ea4fa420f94e30c87a1fa7ac9 - initial_ast: c72a6da36ca21cb600004dd195e72f5cdf4d335c4b2e01ff04c6f3adc90b6d62 - unrolled_ast: c72a6da36ca21cb600004dd195e72f5cdf4d335c4b2e01ff04c6f3adc90b6d62 - ssa_ast: f04f79aff77d417395f06db9bc98dcdcb9b66d87a8816acd51f6187214818e6a + - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 + initial_ast: 6341ad501cc75c55f1644167e82769101649d5f62c69abc07c7e565d4a695230 + unrolled_ast: 6341ad501cc75c55f1644167e82769101649d5f62c69abc07c7e565d4a695230 + ssa_ast: edfc352f19befb32f85641d541d9597982e949aa5a4bfed97b3eb9fe8a070023 diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index 021d9ebeaf..f69b4be253 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b55eee822a4ad904943e328fec4c781891b6e783610dc30b0ed96ba09fb92f7f - initial_ast: a984f6f6b248e4b67c52d21b84148c63e0242d8b8722556f7c961513571d291e - unrolled_ast: a984f6f6b248e4b67c52d21b84148c63e0242d8b8722556f7c961513571d291e - ssa_ast: c39a0638fcb148a18947e393b23930e5cfefcf0379ca035428e4d914e8223d27 + - initial_input_ast: 17c0d742189c0c4b6b01f9d9858e3f344840df13db4e212bcf56b65e4d28fbf6 + initial_ast: 5cad4704d11a1527ab886df88509f744718456919f2a84a9bde060ec6f7b0621 + unrolled_ast: 5cad4704d11a1527ab886df88509f744718456919f2a84a9bde060ec6f7b0621 + ssa_ast: 0f911b46eecef66e0256a9a8bfbe4fff6072a1e03c4a12d8e3722d8313c4de00 diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index 3885ab1566..ce54a19909 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 75c65019abb9d4d2b03ca454d75070980c5eddfd4a3f55105da62dc462e6f2b4 - initial_ast: 5efb20dc1326a870ee33fa4eac732b211ac929e531401e584197c905a55c74e7 - unrolled_ast: 5efb20dc1326a870ee33fa4eac732b211ac929e531401e584197c905a55c74e7 - ssa_ast: 9eb64a287cc5c93a9fffcb3e6eaaa722dd3ff31e8b86717aaae579cbbc658fdf + - initial_input_ast: a79303eeb1d658a95db2b1912c2b4d6fb84e1184ee699cc8e41d32b42c1a4daa + initial_ast: 9c28e85520c0cdb50476515bd354734fcd811e5aa7d7b7ff09f84dd5a96613b1 + unrolled_ast: 9c28e85520c0cdb50476515bd354734fcd811e5aa7d7b7ff09f84dd5a96613b1 + ssa_ast: 199663b11d655b9b5e2e71e56e67e6e589d64fa4c4b2e51a9d8ea262b5a70b67 diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index 74184608cf..c00be1dc08 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a047688deafc90ee0a7106bb8673139ab51d00958ede28d18194573e3b101c20 - initial_ast: ba8e563e5da826bf441e53a8186b415b0c6d824c372b8d2a416ec04215021eb0 - unrolled_ast: ba8e563e5da826bf441e53a8186b415b0c6d824c372b8d2a416ec04215021eb0 - ssa_ast: e6a51bce3e4b2bebc4f38e7e104e184bf6370e385c5488ceea1c3f6200062b55 + - initial_input_ast: c4e9db4467549a6823ba1ddb8752195f49253c86161f55e6bfb2a98b9fa47ad1 + initial_ast: 69f32a63f9f455fd3d5c1b4aa77282a550071d3d0d3d352548373e1c50bd8843 + unrolled_ast: 69f32a63f9f455fd3d5c1b4aa77282a550071d3d0d3d352548373e1c50bd8843 + ssa_ast: f2ee8f69b4b2b5805fe2812f41d1d3d47b39f3268e198a7c2d4bc476997b5836 diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index 202b1607b5..147385658e 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a047688deafc90ee0a7106bb8673139ab51d00958ede28d18194573e3b101c20 - initial_ast: 6df9da2c7c88fd1037d8c03d9e0349ce3dad159e53f9558af1900844a8ac695a - unrolled_ast: 6df9da2c7c88fd1037d8c03d9e0349ce3dad159e53f9558af1900844a8ac695a - ssa_ast: 24b60aa71d7d248dc5e8d847e3f25c3bd4bc58d80e9111988973bc5ea692e311 + - initial_input_ast: c4e9db4467549a6823ba1ddb8752195f49253c86161f55e6bfb2a98b9fa47ad1 + initial_ast: 1c17aeb6de9d5885ed105850ed1e49163a845de4e6c91df60b9642c5f2d4f429 + unrolled_ast: 1c17aeb6de9d5885ed105850ed1e49163a845de4e6c91df60b9642c5f2d4f429 + ssa_ast: a17d3fd0282952a771769c5b0f3cb335c320ed75b5540aa48425c457f3bcaa5d diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 2135547513..3b7cfdc889 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 81c6ce5338920cb12db8f9e0ee4d48b70c5db0749721fe3b93f4a10ca25ca78c - initial_ast: a9b94b29b5ef8f2dc23c3cf12110039f232accda0d0e02b3acb9fecd0afdac92 - unrolled_ast: a9b94b29b5ef8f2dc23c3cf12110039f232accda0d0e02b3acb9fecd0afdac92 - ssa_ast: 2333c084fd76888cb30f8fe8b4a7f1041b19af353ffed1a917576fa70438c28c + - initial_input_ast: b16d14070bb902e168ef5050620c983a15f535d58801fb5b90e195fa5ea0e451 + initial_ast: dc962d5da597ab8be2a252bebe49aca6b746fa37dfac6781f58d2062236a4c6b + unrolled_ast: dc962d5da597ab8be2a252bebe49aca6b746fa37dfac6781f58d2062236a4c6b + ssa_ast: 29257433f1172bdfa76dce5f3e2b8df9da9775187ac282541064924e55dff865 diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 243a8b11a5..c6bfdf0540 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e3d0d7eec93a75e9229f9f7df388ac643dd0c8a5709dd87b8b9dcd33d7ac7dfe - - initial_input_ast: 9e11865bb074c2b2fe29b244e6f0455b3a2a776ad399c4a94a507160ac61d90f - initial_ast: 6887a6696e99967e2e83cb8bb1c11e71101f4b2b7cce5cf47e1f6fec67894568 - unrolled_ast: 6887a6696e99967e2e83cb8bb1c11e71101f4b2b7cce5cf47e1f6fec67894568 - ssa_ast: df10e4209f0194e88d511635c3063f4e1022d46cba12ad82c7ef60e165196c1a + - initial_input_ast: be998483d07126edb4d8de85aaed7ff21d37fd9a7f37666d61077f1fb588ccf1 + - initial_input_ast: 283b3755126f6db462ffe0912b4f2aa42c7db0782b23995dd7d4c4aeda3103be + initial_ast: ff17ab92b81db3319f9e5bceb2920e647ffcb0f41ccbc3da751135a5558fe160 + unrolled_ast: ff17ab92b81db3319f9e5bceb2920e647ffcb0f41ccbc3da751135a5558fe160 + ssa_ast: 24967e92edcb1fe0fd7a68b1e072e71b72042f14a03eff2eba6e5cc8a8322f75 diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index 559d46948f..b659b29777 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 55992e9c7217caf5b515ab7c37df933849469e18118400e0231fddb6746d7bf5 - initial_ast: 9bd1c210831994e147c5ab6587cba2f55b2592fd4211a39a3d52f04826db1242 - unrolled_ast: 9bd1c210831994e147c5ab6587cba2f55b2592fd4211a39a3d52f04826db1242 - ssa_ast: 87f16eb8a0aa588e4110ffcbb82898b14c365206fae5eabbd8372419ad582d0a + - initial_input_ast: 48b4ad5cec505f6f162385961cec0e85730279d83d3ccb11bafd1c724483ebc7 + initial_ast: fdd7099bf48afc03948a2919e6bfb014f361bc5792257684000daff55d3ce7f9 + unrolled_ast: fdd7099bf48afc03948a2919e6bfb014f361bc5792257684000daff55d3ce7f9 + ssa_ast: 3b7c4aa6bf0a222e6a3d273bca8c79e40c8334b87651a7484bc0e89f244749db diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index f9886089dc..8044b37427 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 821c447666f4f0e3ec05818c7e5ff8f228768ea9ea89e50cac3c9c4e2286cf83 - unrolled_ast: 821c447666f4f0e3ec05818c7e5ff8f228768ea9ea89e50cac3c9c4e2286cf83 - ssa_ast: 6b902f0eb5517f9125c3abdb81a746d9db7d124639539ffc89d5c95a67cf44b1 + initial_ast: 7850725d5045eaafa3df7e8f037e62c68b8134eb5303774a65b8580c03172996 + unrolled_ast: 7850725d5045eaafa3df7e8f037e62c68b8134eb5303774a65b8580c03172996 + ssa_ast: e01dd3f48254e70e74aff927208c59a2a5b8dc32e20cb9092eea03e3f38bbfbe diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index 3f76e72a00..b88ca3b175 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 91a94b43e7599be7a8d284d8ed68af60521bf2f586c081c46571e6877d42423f - unrolled_ast: 91a94b43e7599be7a8d284d8ed68af60521bf2f586c081c46571e6877d42423f - ssa_ast: 67b2967f2fed04904bd10e9fb179cd5e9bd51a28fac3ee29917ac033897f5899 + initial_ast: e735a6b80e361f2eaafc99e3adab1d8e952b9235e705f01c4176f3f87cfbd92b + unrolled_ast: e735a6b80e361f2eaafc99e3adab1d8e952b9235e705f01c4176f3f87cfbd92b + ssa_ast: e0f5d16a27b1af372f5d464882c3ea4782b51e229d6aba80f8a91d4e56df63f9 diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index df89554465..e832e9e369 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 1381798c7151d829ababe68636c8f60caa2c4ede84e0603cae658079b4ffdb89 - unrolled_ast: 1381798c7151d829ababe68636c8f60caa2c4ede84e0603cae658079b4ffdb89 - ssa_ast: bca7b58c28c004fbabacd982d8e53a9964aefcc6f1c763b008f1ed2d36837eaf + initial_ast: 042cc942051ac490f6242bd23c886f37cdfef1f72ba957233c8ecf8253cb89a6 + unrolled_ast: 042cc942051ac490f6242bd23c886f37cdfef1f72ba957233c8ecf8253cb89a6 + ssa_ast: 19e0d31442d3d8cc599e2ad939093309f7158652ff7a30ca0e12eae7261979b0 diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index 725a8804bc..1cf7a48b9f 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c528268c53f01e78fbbc8af3ed5e0dc1d4e9b9f28644c597167971edef764cf0 - initial_ast: 267628fed05800b7d1b0d3218f30e6d614b38119d94fcf30be64e1e74cb68717 - unrolled_ast: 267628fed05800b7d1b0d3218f30e6d614b38119d94fcf30be64e1e74cb68717 - ssa_ast: cc51e50737750aa1559c9465de5415933d3f815d852b8867ad52e9b80488f54c + - initial_input_ast: b3c3f36f43e4e6a247351cc9e1724ccb8893bf47f2f9217002cccc0d6a578495 + initial_ast: eddd128fb92a7ce452ca7e663a59208fc73ab1e35d2d06effc334f6e004a948f + unrolled_ast: eddd128fb92a7ce452ca7e663a59208fc73ab1e35d2d06effc334f6e004a948f + ssa_ast: 4bb4a0ac8acffcc2dc831bc8eda0e1fb5a009efaa46b4b3cd633dcf3abd6ff3c diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index 4d8e975e0e..202f426ce6 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8b51ce00d3448cda6f763ac1fbc6d14a2588dc0bc0d24eb423b5f417029b28c5 - initial_ast: 78ad22f7a7591585c256c097527f6697371a0788e2a4f298ba78dfa14bec5716 - unrolled_ast: 78ad22f7a7591585c256c097527f6697371a0788e2a4f298ba78dfa14bec5716 - ssa_ast: 064ad7bce902788975c760c1777c39d75b09563430ff14af2b206f76b91e93b8 + - initial_input_ast: 3d3353f4a8936ad5eb3738204dc57b3e08dae541cfbe5dd012fd82413c4a800d + initial_ast: 57f89254166bb381d8a05ef42ac488f1622f12910729f5ff04f3854caf2007a0 + unrolled_ast: 57f89254166bb381d8a05ef42ac488f1622f12910729f5ff04f3854caf2007a0 + ssa_ast: aab0aeda1e90c34e2add9bd476b3757a8bc9170f6a28470cef9647234e32c88d diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index bb8cabc882..3160939be3 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: 8289ba8d30365026c4e1b2fdef5afded1ca8c748dbe8051a96d6ecad4a6fe2b2 - unrolled_ast: 8289ba8d30365026c4e1b2fdef5afded1ca8c748dbe8051a96d6ecad4a6fe2b2 - ssa_ast: b6984c3edcdefc73001b3fc86220c20ec4e69e7fd30913fbe7e07e90b48fac03 + - initial_input_ast: ba7d5fcbce9ef9e8a4d2861afe75514f0ee87b8d5aca0407cdce1ca637c2ddf4 + initial_ast: 7aa2bb56fee0a6522ad8ccd223bdd63f97a339e58b320a3b224fbd3eb992facb + unrolled_ast: 7aa2bb56fee0a6522ad8ccd223bdd63f97a339e58b320a3b224fbd3eb992facb + ssa_ast: a2bcd29dcc779396d624995f24446da8958c4f2ad0a0c98333b297d1ab3d8843 diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index e72f883384..336b021709 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d7a45ca3c65b0e933098d6a2be13eebaeac9395e7c0461be10c5fcf1e99a7e5e - initial_ast: da81d8fd30bf591686b8991f5f0edda86155bac3d0b5531a336fe90372d82ee1 - unrolled_ast: da81d8fd30bf591686b8991f5f0edda86155bac3d0b5531a336fe90372d82ee1 - ssa_ast: 59dd2e83e71687af582895c6f95ee3aae788004de2ec403dd0aa620ef694ba09 + - initial_input_ast: 241af2baf840e4d881d353b9f22a691be1e1aa9285245a0691b5f20091e9b122 + initial_ast: 86bf1cfd564fa8ccdfa1d864668865581ebfeb41e6c9684dafccd56b6732bc41 + unrolled_ast: 86bf1cfd564fa8ccdfa1d864668865581ebfeb41e6c9684dafccd56b6732bc41 + ssa_ast: 25ca78f1d03a3edfbbb8227de09d847f08d547555e490c4d8472e94285de2f99 diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index 720b5227e3..43b0fd46d3 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 28228b87fcb43040ca2c4a6c9e6539642323a9f64d837a6de7f579b17ceb1da4 - initial_ast: e11179e20be602466a0d59025b95a169b431b190d4cc6cb2bc80287e7429bf9b - unrolled_ast: e11179e20be602466a0d59025b95a169b431b190d4cc6cb2bc80287e7429bf9b - ssa_ast: a9a0c4b05858aa54d9701c6fcec31754b241fe36fd4be8aa0258108b08e7ccef + - initial_input_ast: 2a0b081038ac342aa2fbb460baec0f4ed842e646dc6f5057f691336cad1860de + initial_ast: 1ddf7eeea0e0ff482be7ab08db5fe45a67d9de259e909e3b8d2feccc1a4d1534 + unrolled_ast: 1ddf7eeea0e0ff482be7ab08db5fe45a67d9de259e909e3b8d2feccc1a4d1534 + ssa_ast: 98bc3c5dbe0873aa8882cf61f4e14eba089c59c572f1b438a34fe8c32b6fb9d8 diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index 2ee487c858..2e0a3bc925 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fbb9f33bc5cf7fd11341e6dc1d12d4899274f3bee34dd64590ffd3c9438a61a5 - initial_ast: fbc9f38d923601aa2e14979cb36a6f6a4d41feea94a4cf381c2bf14060c3e457 - unrolled_ast: fbc9f38d923601aa2e14979cb36a6f6a4d41feea94a4cf381c2bf14060c3e457 - ssa_ast: 388163d8abcc4d19f34cfe9a1cc141fa8b07f266114baa22f4db54cc6b71b9ee + - initial_input_ast: ba7d5fcbce9ef9e8a4d2861afe75514f0ee87b8d5aca0407cdce1ca637c2ddf4 + initial_ast: 0ee22ff2907d81899402ab7a447223deca2042f770117e6459093757036e2a2b + unrolled_ast: 0ee22ff2907d81899402ab7a447223deca2042f770117e6459093757036e2a2b + ssa_ast: 8355287bde83d8a8fc4cf5f2dcea125fcecaf18eb8d1ba87c8d7d0cb5a55e4de diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index 00dd337d9a..935ca794f4 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9f519c84609aa8fc9c90d398fdb30fe75df106dc0347ab1e3d7e947b2ab1b724 - initial_ast: 90d7b657319b7b4c7151826d74e891f1c2e9722ea96527002a5b541a8bf33107 - unrolled_ast: 90d7b657319b7b4c7151826d74e891f1c2e9722ea96527002a5b541a8bf33107 - ssa_ast: abfbbb6c7005dc4102e1cacb6e8c1f8c8477896cbbeb9fa86c7c8d27a65a76e1 + - initial_input_ast: da16ca9cc5f5e030a6f400cab491032378620f9ca67871d8827753e2833d62ef + initial_ast: 91ee93f0ea0ee294a802a227c2a50542c52a1ac5e16c4c014bc7d733834874fe + unrolled_ast: 91ee93f0ea0ee294a802a227c2a50542c52a1ac5e16c4c014bc7d733834874fe + ssa_ast: c2152d5a13489c34bb00d3364624272451b4aa97cfed3cd786a519541d58575f diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index 8f7595d085..4032bb9fb4 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3e1c7ad7391827e106457839413bf85010988ea959e65aa886551b0c6917b25e - initial_ast: cbffad01dfba4f4a7edc9d3dd648dcc579b3c35643b94a39136e1461cd22cc73 - unrolled_ast: cbffad01dfba4f4a7edc9d3dd648dcc579b3c35643b94a39136e1461cd22cc73 - ssa_ast: ca103cf345c31e2935568f9fcb7439e92b0d3737b69e8d8a9bcaed681bbd1cac + - initial_input_ast: c814430a6d87a963572a33b47b241da47e4b902d07fe1188b2034d352cdc825f + initial_ast: dde4d5e2ebe97011ee2f6c509f2f359d87755894e3fdad9e6c9595ff77f3c944 + unrolled_ast: dde4d5e2ebe97011ee2f6c509f2f359d87755894e3fdad9e6c9595ff77f3c944 + ssa_ast: 9f32ac701f0c48e38fe3790c0ebcadc31c4102e2e3e26c3d022b191f8d249217 diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index 21a94f0776..1b52ca9053 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -3,9 +3,9 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 099858521f685395ad30dc798ca7edc52a2d681044e86766d3df5fbc5284f6a0 - - initial_input_ast: a35737f164b8311e127ba8a4d6313c1195b66de26e2800ad95397d795ae006b0 - - initial_input_ast: d264a0cababb36d4cc7304beff80ed0a42fe626b9002adacbe594af847a1f47d - initial_ast: 2e9922d1559751ce17eb9484f297ad8196d3516c7904bf3a167d5f9810533f30 - unrolled_ast: 2e9922d1559751ce17eb9484f297ad8196d3516c7904bf3a167d5f9810533f30 - ssa_ast: 1963180e8b1fa5ea18da6ea5c169124079ca82dab846fddcfdcdd3e4346eee5d + - initial_input_ast: b3d4dc6696e6075283e7d90011a6654b1d906785aa4af4555449802068aa6849 + - initial_input_ast: 5d5e239a3024366f9b2f73cb46e4c238a10e99497dc8aab165a366fc1042088d + - initial_input_ast: 1ca93c805d4bc9d9304e909d835a1b864cd51191b887e5b30fd3621bd8522aa8 + initial_ast: ff65338720e60c2db4e322421a5013882d07640488a62aa70dd49f498fd66455 + unrolled_ast: ff65338720e60c2db4e322421a5013882d07640488a62aa70dd49f498fd66455 + ssa_ast: a99f4e4f8ebeafa7e77048b3807ee1308abc659b6cdd64155c404f486a8b4f09 diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index 95acabbc7b..c65fa14dd4 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2536e33f2d79d2aef1e1dcc6d2c731605f22086a5d1c7f4a364383fb15b89b97 - initial_ast: 1103461b81a0a8e24c65d27a0f569715946dbb424dd1c6b5a2c41beb4bb96230 - unrolled_ast: 2a9e2923379ca24b043afe465cdae88dd5ef28f255149f57cd5302042ea629a2 - ssa_ast: cc6757073af14614efdce62234cca7f90c5351c66c6d6dcb5d31bd6dd2a0b35b + - initial_input_ast: 1c444d1778aabb953db94fb10ecb73f5a00c5743673fa79f97a4cee8eda10856 + initial_ast: 0a147097ac0ab247db5753e3122abc34f3077b0f8c3bd8d46787086cc46c34a4 + unrolled_ast: 4e8e0838c5c1177ee658adbee9deef645180d8716afe5b9f25ce2f1a62d50956 + ssa_ast: 6ce53b3c8d5aacf9589f9e026b17aa89cd8d68cd23a53806db522b782cdb75d2 diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index 44be14e4cd..d1e8a79a4f 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e8caaaa48fd4ca19b2d31da65831711c477323db6fb477cbe2e1abcd9182e0e9 - initial_ast: b540a2430fa67d651a52d46ca96aa981c9ae7670a2524f9bc830435a5117b171 - unrolled_ast: d024c73e29934c57ddd22dafcde4100e773491e462b190fdd943fc64ec709d1d - ssa_ast: 3309155c994ac368d908e5dd262a70eb779a7a754b7bc108b0d00b8ef0c1716d + - initial_input_ast: 8c841cc7cc27d721bb11f1faa911ea1d1f6f6572000c49c2da1ea46ebd04930f + initial_ast: 9733bd9767fcd9892e6ff8654e7619e45b478b5e8a92a576bf0b5be92930e6e8 + unrolled_ast: ba41fcdb3bd27d2a968c551159b8fd377d03de1f6af373c1bbd1294ad09b378d + ssa_ast: 3cafbd87a345a8848a7bb2b5a870f15a6098f88d02f72f27d9a52ff0273f4a31 diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index ceae0280ec..b3382c4f21 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3e1c7ad7391827e106457839413bf85010988ea959e65aa886551b0c6917b25e - - initial_input_ast: 05aec88bcd0cad7448814728a983f3ff8cb52f9dc5f9bd464e130f18c4ae1033 - initial_ast: 72f2d64a55e6db776ee3af263fe200d8dd806e4f20e27696012e49f6987a8609 - unrolled_ast: 72f2d64a55e6db776ee3af263fe200d8dd806e4f20e27696012e49f6987a8609 - ssa_ast: 073290d894ce45effb6c829253cf0e36a7efeeac4cef28b286d781f49e903277 + - initial_input_ast: c814430a6d87a963572a33b47b241da47e4b902d07fe1188b2034d352cdc825f + - initial_input_ast: d82831ef1e3012a9d7b5b0b8cf1ab6d14e05147f36b35a5fc5b295467bf6a489 + initial_ast: 562fbdf20c53634cbaa4f30ed342ea80fbe7969428d505a16800595ba6afe5c9 + unrolled_ast: 562fbdf20c53634cbaa4f30ed342ea80fbe7969428d505a16800595ba6afe5c9 + ssa_ast: 7045973108ff96af0a658c24836525c046e276e758654668c448fb622c7dcd9b diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index d1591beb4f..de5fc03b4b 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 39f57bd6523db083837653e04356cc4b201e93e887dc11d89a1a51029e92236a - - initial_input_ast: 965f2de6d6d4b0d3b2bf32e29ca196835aec7ca5803f9c6a33b8987185a5c233 - initial_ast: 97eb6d68a9c10827d6420dc9013f0c391291bfb52df42439f9fb9fa30abb6a93 - unrolled_ast: 97eb6d68a9c10827d6420dc9013f0c391291bfb52df42439f9fb9fa30abb6a93 - ssa_ast: e28d175aae45224d73f23adf2624c0e7873169c234528ba1b399f12977044129 + - initial_input_ast: 1777774f27da1f01dda8335321a1f9b39c2d511103728c40d2d7137a85f2af1a + - initial_input_ast: d54f96bcbb8e510356b0cd457e477b5cdc8b4ee9b029a18ff722431770a9d5ef + initial_ast: ad1cdf61f54808fb527de83fdc8be32a70009a4da6733a1cfc8ee4a1c0a0c4aa + unrolled_ast: ad1cdf61f54808fb527de83fdc8be32a70009a4da6733a1cfc8ee4a1c0a0c4aa + ssa_ast: efbf18f0d3661e039bfbe453c0c707b7df336b375e47bc2b30848074bad56b15 diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index 6445c83d3a..ac64299cbb 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 3271404de78a08cd43d615d8bb2db1bd566fef9854e1cdb4b4d461654115d2fd - unrolled_ast: 3271404de78a08cd43d615d8bb2db1bd566fef9854e1cdb4b4d461654115d2fd - ssa_ast: 3eca7b5869499d30eb2282c4f7e488fb2c46e514eee4ae458ed9a40003b0889c + initial_ast: 58b9f46382fb084a4fb01abb8295cb6ea1ba39ce031c4791338f0d9065c3d631 + unrolled_ast: 58b9f46382fb084a4fb01abb8295cb6ea1ba39ce031c4791338f0d9065c3d631 + ssa_ast: 218960a3b4e475a48511ff98086c2cfc64f29fe397399ea7c74cfabab9550c2b diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 41b892c304..ba04c449eb 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: bfc400b64c2c1ca71fd2f582f3309751a641f801abb9537046956daba1f1e60c - unrolled_ast: bfc400b64c2c1ca71fd2f582f3309751a641f801abb9537046956daba1f1e60c - ssa_ast: 5e18cfe02c58e17438648eeaf17b0a7fc79aa6c1a7e91b33c6dfeac76338f540 + initial_ast: cee34c63b8e2a4e831ccf0316aa7e59e134840d36ac29a08e7c37f6678dad0f2 + unrolled_ast: cee34c63b8e2a4e831ccf0316aa7e59e134840d36ac29a08e7c37f6678dad0f2 + ssa_ast: a2b6f0d01cd331f1685e5aadc106dfa8cf2a3ae8c4dcb6a1d83c299306bdb387 diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 543c360072..3d130afa74 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 9bc893442192331571b46f148d3ff458f176b195aca954dc5ad2a09e580b3ce5 - unrolled_ast: 9bc893442192331571b46f148d3ff458f176b195aca954dc5ad2a09e580b3ce5 - ssa_ast: 11b48ec8c5a7320a947e3074530ddc85709feca050537ad2341fc9c60b40868f + initial_ast: 4e10f799769d18596298eb10080b752fe5f77071d292eb347b589949b7e051ed + unrolled_ast: 4e10f799769d18596298eb10080b752fe5f77071d292eb347b589949b7e051ed + ssa_ast: 65e9659b75ef13dadf53ac53ad5a36c881591bde605913edbbfa2801793d6ddf diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 1b9f8f611f..0fa7cab611 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 9a3505edc4d86daf80f435407ce8a39bcf54731e231a98ecba5a32a24eaafc08 - unrolled_ast: 9a3505edc4d86daf80f435407ce8a39bcf54731e231a98ecba5a32a24eaafc08 - ssa_ast: 1b4b3183337e7c7e90aa04d126f7848dbd3da4363df7759bf162bb43443f8835 + initial_ast: fbe8b5a31b4da295092eb30dbb08e355417ec9f0b64a4f08748d75c6ff075bf6 + unrolled_ast: fbe8b5a31b4da295092eb30dbb08e355417ec9f0b64a4f08748d75c6ff075bf6 + ssa_ast: e9bb9f69bfc35d7404fd0a914b36b12463b13d6669575f07448183cfff453be5 diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 21f78cfe40..bf3fad0d3a 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 56b18c60bc6a6ed6cc4861fb42dfc722782b430f6c446cd042431af634da963e - unrolled_ast: 56b18c60bc6a6ed6cc4861fb42dfc722782b430f6c446cd042431af634da963e - ssa_ast: 5c4dab8e02de4762016134343937dc2ada02ddda48dbf1123de200ac6f79a9a1 + initial_ast: 303065991b8fb0709ac502491098929b24c62e10c8f265347c96c902df255381 + unrolled_ast: 303065991b8fb0709ac502491098929b24c62e10c8f265347c96c902df255381 + ssa_ast: 2b0852e81bbf60e82237a7acca8a2f82245afb8d65596dfcb65a024fa6961fd2 diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index 0cd10883e2..8114e0e70f 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 97ede6d822c5431f5d060656d6370d2a744cf083fd96945553f9753a03b36b27 - unrolled_ast: 97ede6d822c5431f5d060656d6370d2a744cf083fd96945553f9753a03b36b27 - ssa_ast: 9c3239daf2934cdc0e4e5760c38ef097c3d5108288cb6893ec781666085dbed9 + initial_ast: 065de9a6e836a8769826b9b04831d7f06a70b5e0f41aeebac9e9101209874f0d + unrolled_ast: 065de9a6e836a8769826b9b04831d7f06a70b5e0f41aeebac9e9101209874f0d + ssa_ast: be2e4cf9a2309de8d978b00f395bc69cacba75fc3b14348bf885b3d1062483df diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index 7aefaba1a2..7e184bcaf0 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: bafb8f3b713bb362f69e050adb18684bc5cec6472b2b5d8252a7537c933ed234 - unrolled_ast: bafb8f3b713bb362f69e050adb18684bc5cec6472b2b5d8252a7537c933ed234 - ssa_ast: c8768986629793df36a0a7bfb3d0f7a9b69bcc452f57e868022146b7923bca58 + initial_ast: 1046a616546f9fdd4f6afc189c1630d377e07fc5defdc6cb756c986256e58ec9 + unrolled_ast: 1046a616546f9fdd4f6afc189c1630d377e07fc5defdc6cb756c986256e58ec9 + ssa_ast: efb15b84122838726ff511256b657915aa055db52e80ff3899d04f1798d61859 diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index 0c503c8d52..2117bb3073 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: f8c328e4c411ce92c540040ff7459e1d25340cc4e98b5df318622d293ad25ccd - unrolled_ast: f8c328e4c411ce92c540040ff7459e1d25340cc4e98b5df318622d293ad25ccd - ssa_ast: 835953d649156159a20d2e7e67922bfacbb8273854329e48d61c3978e8a2a3b4 + initial_ast: 978bc6fd46ac4775e41d5b8078ce61eef257c97a3fc585e213b5307128067e20 + unrolled_ast: 978bc6fd46ac4775e41d5b8078ce61eef257c97a3fc585e213b5307128067e20 + ssa_ast: 3d49aeb4015f385cbfcc33e28a36681c8128928cf65a0db64dde8ff047e71a45 diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index 7ebe73372d..3cc461b6ce 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 690eb113c9b66167171cffb9de6ef2f1c8281250252c5933c8ef1c58c437b701 - unrolled_ast: 690eb113c9b66167171cffb9de6ef2f1c8281250252c5933c8ef1c58c437b701 - ssa_ast: 7ec9dc7a5755671504ca9f5db43ebd77aca9afdbc24f1014ddb5887aca1e3905 + initial_ast: edf1653507935280044101520774858ca623c1143d2cbf3e9f1b47d9b0046ac8 + unrolled_ast: edf1653507935280044101520774858ca623c1143d2cbf3e9f1b47d9b0046ac8 + ssa_ast: eb68adaf9662312e37ccc64954acdea6fe930f61978f521a645fc96b4a503e7c diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index b90bd51fc4..3f555f816c 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: e858f8b0e6c5d4614eaecc150a9a5c8ab033450d76652e0f0ef6ea91ec910e39 - unrolled_ast: e858f8b0e6c5d4614eaecc150a9a5c8ab033450d76652e0f0ef6ea91ec910e39 - ssa_ast: ab2f448197a6b431bed9004df247074e51afa346017edc2f271b9aef27343ead + initial_ast: cd3b1de1b07277432951857f45d64bee68d71a56b04fd8d0efb1cbb61ef37c90 + unrolled_ast: cd3b1de1b07277432951857f45d64bee68d71a56b04fd8d0efb1cbb61ef37c90 + ssa_ast: 8f53c4c21e0a8e324bc3ec983bac6881bcf17ee6ca69df447296563c3bf9a880 diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index b0e13733be..770fb265e7 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: f4137239ab0c3334882a6ebed513bf96e8045dc5def25b9ebb4f9e1566a3e4e9 - unrolled_ast: f4137239ab0c3334882a6ebed513bf96e8045dc5def25b9ebb4f9e1566a3e4e9 - ssa_ast: 37651453b6dd6c6a9409554016a4e00c141813c8e987405845fa50d54052d6a5 + initial_ast: e594662f435fa83b601434715850fb69ded32e7110e760c2a51c02380c5db03d + unrolled_ast: e594662f435fa83b601434715850fb69ded32e7110e760c2a51c02380c5db03d + ssa_ast: 2e172b6e25c7836d8a1db62a5b10e06fd2ac5fd2f57198b2b3685f7fb7bc2444 diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index c1798f877a..30b0bc9180 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: f33336f4949a9829f5d6a53033fe159ddc4d4953bcbf3386429e93ffff1b03bb - unrolled_ast: f33336f4949a9829f5d6a53033fe159ddc4d4953bcbf3386429e93ffff1b03bb - ssa_ast: c1c6cb5e6b46b589a5bb29c46d21af02eb60439ac773ca634fba5789551f6a6d + initial_ast: 38d6832f89cbab957369c03bca1468d7bfd2bf38cc4321d9605fb909c702bf3b + unrolled_ast: 38d6832f89cbab957369c03bca1468d7bfd2bf38cc4321d9605fb909c702bf3b + ssa_ast: 489b81dc37fc427ffdec92bb4d3e7249719eec2ce831ac691997ba3dcfa7709f diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 104708d8f2..e6c0b28c8f 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 5b00661c154de835d472bf2b27116e1d556771dc960683f83b6fc40c9978a988 - unrolled_ast: 5b00661c154de835d472bf2b27116e1d556771dc960683f83b6fc40c9978a988 - ssa_ast: 1608a6cc7fa160783a5bae0cbdaeb0c80464e941d75c5d9257d23b3ad4392347 + initial_ast: a945b5e53875e9425b2111a350db3c3a6d8ee60d8551d5fa0cbbc23d6f52875f + unrolled_ast: a945b5e53875e9425b2111a350db3c3a6d8ee60d8551d5fa0cbbc23d6f52875f + ssa_ast: c85991170221b8fcec2d671cc15c16e1c5c3b5c0edabf297534c55dc2670d48f diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index f453ba85e2..abe6c5d620 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fb744c11bbf167bd99bd67ad37031466e9292e06da1c2ea21142c3a03f7c3790 - initial_ast: 9cb9c5e2c30cdac7dc27c26425dbb854ef9d33624c9097d531f3cd64caf4fe9c - unrolled_ast: 9cb9c5e2c30cdac7dc27c26425dbb854ef9d33624c9097d531f3cd64caf4fe9c - ssa_ast: ea1cdf693e6cbc222fcb838e88e2ef53e10b136b17a0e2f00691e2ee59f11079 + - initial_input_ast: 4d8b3897d62246c2bbfccb2ea825650895626a775125d37594cc4de4bb6d8569 + initial_ast: 97741a66f74629b8c79b593da2ce9301faea0d72af4d81265f51e0fa53c5aa25 + unrolled_ast: 97741a66f74629b8c79b593da2ce9301faea0d72af4d81265f51e0fa53c5aa25 + ssa_ast: e6e7c81ce711dd585f2f24ad2926320e34748a79545f817788910f690685a5dc diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index 5b7737dcf5..f4ff5ee19d 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2839953e7e597fbba9a151db4849720b37a3b4394bf9de22a09410013a18c9f7 - initial_ast: eb6dfd0a82152f03c56709e72e4a7403b1b7a8636268a3ac70e98349299e88ec - unrolled_ast: eb6dfd0a82152f03c56709e72e4a7403b1b7a8636268a3ac70e98349299e88ec - ssa_ast: dde4e8447e34c663a78a96b7f1e603fbf44578b5c4abbad858c2b784d27e42e6 + - initial_input_ast: 71350549991d77f8a5a6d8c91774c9bf1512f757bd2a0e57f9a2e0ecc717cd42 + initial_ast: 1628dd52c5c9ca6da95cb61c239ae8d5b62ffcf4c426a9fd50d2cc816348a2df + unrolled_ast: 1628dd52c5c9ca6da95cb61c239ae8d5b62ffcf4c426a9fd50d2cc816348a2df + ssa_ast: eaf5ff66b66441f4799f47ed158d4563c34de7db6a48f0d46ed2bd9ea69aa1ae diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index 7a775e8a8b..5392fccd08 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 33396f24215dd7889c98d8afbc693a0bd262e255406816a21ba3e6e60d4cff2b - initial_ast: ec5ade5f68105536a98b43650808b666cf4576044a31efa25773e5396d39a91c - unrolled_ast: ec5ade5f68105536a98b43650808b666cf4576044a31efa25773e5396d39a91c - ssa_ast: 79bd461624071dd0821d8e1e38e6a01fefffb42b436b5a6dcd58a9a7f762355b + - initial_input_ast: 050fc6edb09fe21105c11c3a13fd345ce09129e4317dc2c1d24b22c2dfcc4c4b + initial_ast: 1684dd804e7257193572235b9575a8106a36d5df8b8b97d1d17040e780ce6cb5 + unrolled_ast: 1684dd804e7257193572235b9575a8106a36d5df8b8b97d1d17040e780ce6cb5 + ssa_ast: beab3c80b70684788d9dc8ed78bfffc80da432fc32e68ae90611705c918fd5c0 diff --git a/tests/expectations/parser/expression/token_format.out b/tests/expectations/parser/expression/token_format.out index 2320e8a368..1f3b170a3a 100644 --- a/tests/expectations/parser/expression/token_format.out +++ b/tests/expectations/parser/expression/token_format.out @@ -9,7 +9,7 @@ outputs: - "Error [EPAR0370017]: Could not lex the following content: `~`.\n" - "Error [EPAR0370017]: Could not lex the following content: `~`.\n" - "Error [EPAR0370017]: Could not lex the following content: `'h'`.\n" - - "Error [EPAR0370017]: Could not lex the following content: `@test`.\n" + - "Error [EPAR0370009]: unexpected string: expected 'expression', found '@'\n --> test:1:1\n |\n 1 | @test\n | ^" - "Error [EPAR0370017]: Could not lex the following content: `~`.\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/functions/annotated_arg_not_ident.out b/tests/expectations/parser/functions/annotated_arg_not_ident.out deleted file mode 100644 index ef1ea8f721..0000000000 --- a/tests/expectations/parser/functions/annotated_arg_not_ident.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not lex the following content: `@foo(?,`.\n" diff --git a/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out b/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out new file mode 100644 index 0000000000..5ebab1fb40 --- /dev/null +++ b/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Parse +expectation: Fail +outputs: + - "Error [EPAR0370005]: expected function -- found '('\n --> test:3:5\n |\n 3 | @foo(?, bar, ?)\n | ^" diff --git a/tests/expectations/parser/functions/annotated_context.out b/tests/expectations/parser/functions/annotated_context.out new file mode 100644 index 0000000000..e688312018 --- /dev/null +++ b/tests/expectations/parser/functions/annotated_context.out @@ -0,0 +1,68 @@ +--- +namespace: Parse +expectation: Pass +outputs: + - name: "" + network: "" + expected_input: [] + imports: {} + functions: + "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}": + annotations: + - identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":10}\"}" + span: + lo: 2 + hi: 10 + identifier: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: + - Return: + expression: + Literal: + U8: + - "1" + - span: + lo: 43 + hi: 46 + span: + lo: 36 + hi: 46 + span: + lo: 30 + hi: 49 + span: + lo: 11 + hi: 49 + "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}": + annotations: + - identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":59}\"}" + span: + lo: 51 + hi: 59 + identifier: "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: + - Return: + expression: + Literal: + U8: + - "2" + - span: + lo: 112 + hi: 115 + span: + lo: 105 + hi: 115 + span: + lo: 99 + hi: 118 + span: + lo: 80 + hi: 118 + circuits: {} diff --git a/tests/expectations/parser/functions/annotated_context_fail.out b/tests/expectations/parser/functions/annotated_context_fail.out deleted file mode 100644 index f3a6bba1a3..0000000000 --- a/tests/expectations/parser/functions/annotated_context_fail.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not lex the following content: `@context`.\n" diff --git a/tests/expectations/parser/functions/annotated_functions.out b/tests/expectations/parser/functions/annotated_functions.out new file mode 100644 index 0000000000..97691673d4 --- /dev/null +++ b/tests/expectations/parser/functions/annotated_functions.out @@ -0,0 +1,72 @@ +--- +namespace: Parse +expectation: Pass +outputs: + - name: "" + network: "" + expected_input: [] + imports: {} + functions: + "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}": + annotations: + - identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":6}\"}" + span: + lo: 2 + hi: 6 + - identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":11}\"}" + span: + lo: 7 + hi: 11 + - identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":16}\"}" + span: + lo: 12 + hi: 16 + identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: [] + span: + lo: 38 + hi: 40 + span: + lo: 17 + hi: 40 + "{\"name\":\"mint\",\"span\":\"{\\\"lo\\\":60,\\\"hi\\\":64}\"}": + annotations: + - identifier: "{\"name\":\"program\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":50}\"}" + span: + lo: 42 + hi: 50 + identifier: "{\"name\":\"mint\",\"span\":\"{\\\"lo\\\":60,\\\"hi\\\":64}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: [] + span: + lo: 73 + hi: 75 + span: + lo: 51 + hi: 75 + "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":92,\\\"hi\\\":96}\"}": + annotations: + - identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":78,\\\"hi\\\":82}\"}" + span: + lo: 77 + hi: 82 + identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":92,\\\"hi\\\":96}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: [] + span: + lo: 105 + hi: 107 + span: + lo: 83 + hi: 107 + circuits: {} diff --git a/tests/expectations/parser/functions/annotated_functions_fail.out b/tests/expectations/parser/functions/annotated_functions_fail.out new file mode 100644 index 0000000000..d477814b4f --- /dev/null +++ b/tests/expectations/parser/functions/annotated_functions_fail.out @@ -0,0 +1,28 @@ +--- +namespace: Parse +expectation: Pass +outputs: + - name: "" + network: "" + expected_input: [] + imports: {} + functions: + "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}": + annotations: + - identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":79,\\\"hi\\\":83}\"}" + span: + lo: 78 + hi: 83 + identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: [] + span: + lo: 107 + hi: 109 + span: + lo: 85 + hi: 109 + circuits: {} diff --git a/tests/expectations/parser/functions/const_input.out b/tests/expectations/parser/functions/const_input.out index eaf68aae4d..73ea99fecc 100644 --- a/tests/expectations/parser/functions/const_input.out +++ b/tests/expectations/parser/functions/const_input.out @@ -8,15 +8,15 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - mode: Const - type_: U8 - span: - lo: 19 - hi: 20 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" + mode: Const + type_: U8 + span: + lo: 19 + hi: 20 output: U8 core_mapping: ~ block: @@ -28,15 +28,15 @@ outputs: lo: 2 hi: 34 "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}": + annotations: [] identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" input: - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":56,\\\"hi\\\":57}\"}" - mode: Const - type_: U64 - span: - lo: 56 - hi: 57 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":56,\\\"hi\\\":57}\"}" + mode: Const + type_: U64 + span: + lo: 56 + hi: 57 output: U8 core_mapping: ~ block: diff --git a/tests/expectations/parser/functions/const_param.out b/tests/expectations/parser/functions/const_param.out index 3f0c3fb156..a7fcb683a5 100644 --- a/tests/expectations/parser/functions/const_param.out +++ b/tests/expectations/parser/functions/const_param.out @@ -8,22 +8,21 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - mode: Private - type_: U32 - span: - lo: 13 - hi: 14 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":30,\\\"hi\\\":31}\"}" - mode: Const - type_: I32 - span: - lo: 30 - hi: 31 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" + mode: None + type_: U32 + span: + lo: 13 + hi: 14 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":30,\\\"hi\\\":31}\"}" + mode: Const + type_: I32 + span: + lo: 30 + hi: 31 output: U8 core_mapping: ~ block: @@ -46,22 +45,21 @@ outputs: lo: 2 hi: 63 "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":74,\\\"hi\\\":75}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":74,\\\"hi\\\":75}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" - mode: Const - type_: U32 - span: - lo: 85 - hi: 86 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":93,\\\"hi\\\":94}\"}" - mode: Private - type_: I32 - span: - lo: 93 - hi: 94 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" + mode: Const + type_: U32 + span: + lo: 85 + hi: 86 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":93,\\\"hi\\\":94}\"}" + mode: None + type_: I32 + span: + lo: 93 + hi: 94 output: U8 core_mapping: ~ block: diff --git a/tests/expectations/parser/functions/danling_annotations_fail.out b/tests/expectations/parser/functions/danling_annotations_fail.out new file mode 100644 index 0000000000..d477814b4f --- /dev/null +++ b/tests/expectations/parser/functions/danling_annotations_fail.out @@ -0,0 +1,28 @@ +--- +namespace: Parse +expectation: Pass +outputs: + - name: "" + network: "" + expected_input: [] + imports: {} + functions: + "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}": + annotations: + - identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":79,\\\"hi\\\":83}\"}" + span: + lo: 78 + hi: 83 + identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}" + input: [] + output: U8 + core_mapping: ~ + block: + statements: [] + span: + lo: 107 + hi: 109 + span: + lo: 85 + hi: 109 + circuits: {} diff --git a/tests/expectations/parser/functions/empty2.out b/tests/expectations/parser/functions/empty2.out index 34b29b06c1..5c75c5ba66 100644 --- a/tests/expectations/parser/functions/empty2.out +++ b/tests/expectations/parser/functions/empty2.out @@ -8,6 +8,7 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: [] output: U8 diff --git a/tests/expectations/parser/functions/params.out b/tests/expectations/parser/functions/params.out index 801ada80b2..3afe5504a9 100644 --- a/tests/expectations/parser/functions/params.out +++ b/tests/expectations/parser/functions/params.out @@ -8,22 +8,21 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - mode: Private - type_: U32 - span: - lo: 13 - hi: 14 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - mode: Private - type_: I32 - span: - lo: 21 - hi: 22 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" + mode: None + type_: U32 + span: + lo: 13 + hi: 14 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" + mode: None + type_: I32 + span: + lo: 21 + hi: 22 output: U8 core_mapping: ~ block: diff --git a/tests/expectations/parser/functions/params_return.out b/tests/expectations/parser/functions/params_return.out index 130109a949..3c457d7ee1 100644 --- a/tests/expectations/parser/functions/params_return.out +++ b/tests/expectations/parser/functions/params_return.out @@ -8,22 +8,21 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - mode: Private - type_: U32 - span: - lo: 13 - hi: 14 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - mode: Private - type_: I32 - span: - lo: 21 - hi: 22 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" + mode: None + type_: U32 + span: + lo: 13 + hi: 14 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" + mode: None + type_: I32 + span: + lo: 21 + hi: 22 output: U32 core_mapping: ~ block: diff --git a/tests/expectations/parser/functions/public_param.out b/tests/expectations/parser/functions/public_param.out index bacf2c3c4e..67597a6272 100644 --- a/tests/expectations/parser/functions/public_param.out +++ b/tests/expectations/parser/functions/public_param.out @@ -8,22 +8,21 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - mode: Private - type_: U32 - span: - lo: 13 - hi: 14 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" - mode: Public - type_: I32 - span: - lo: 28 - hi: 29 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" + mode: None + type_: U32 + span: + lo: 13 + hi: 14 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" + mode: Public + type_: I32 + span: + lo: 28 + hi: 29 output: U8 core_mapping: ~ block: @@ -46,22 +45,21 @@ outputs: lo: 2 hi: 61 "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":73}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":73}\"}" input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":81,\\\"hi\\\":82}\"}" - mode: Public - type_: U32 - span: - lo: 81 - hi: 82 - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}" - mode: Private - type_: I32 - span: - lo: 89 - hi: 90 + - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":81,\\\"hi\\\":82}\"}" + mode: Public + type_: U32 + span: + lo: 81 + hi: 82 + - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}" + mode: None + type_: I32 + span: + lo: 89 + hi: 90 output: U8 core_mapping: ~ block: diff --git a/tests/expectations/parser/functions/return.out b/tests/expectations/parser/functions/return.out index a2de7e2d95..31736d3e0e 100644 --- a/tests/expectations/parser/functions/return.out +++ b/tests/expectations/parser/functions/return.out @@ -8,6 +8,7 @@ outputs: imports: {} functions: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}": + annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: [] output: U32 diff --git a/tests/expectations/parser/functions/spaced_annotation_fail.out b/tests/expectations/parser/functions/spaced_annotation_fail.out new file mode 100644 index 0000000000..fc9be044a3 --- /dev/null +++ b/tests/expectations/parser/functions/spaced_annotation_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Parse +expectation: Fail +outputs: + - "Error [EPAR0370028]: Illegal spacing in the annotation declaration.\n --> test:3:1\n |\n 3 | @ test\n | ^^^^^^\n |\n = Remove whitespace between the `@` symbol and the identifier." diff --git a/tests/expectations/parser/inputs/input_const.out b/tests/expectations/parser/inputs/input_const.out index 8532a7baf3..77aa962b94 100644 --- a/tests/expectations/parser/inputs/input_const.out +++ b/tests/expectations/parser/inputs/input_const.out @@ -106,7 +106,7 @@ outputs: hi: 7 - name: registers definitions: - - mode: Private + - mode: None type_: Boolean name: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":229,\\\"hi\\\":231}\"}" value: @@ -119,7 +119,7 @@ outputs: span: lo: 233 hi: 237 - - mode: Private + - mode: None type_: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":247,\\\"hi\\\":249}\"}" value: @@ -132,7 +132,7 @@ outputs: span: lo: 251 hi: 253 - - mode: Private + - mode: None type_: Field name: "{\"name\":\"r2\",\"span\":\"{\\\"lo\\\":264,\\\"hi\\\":266}\"}" value: @@ -145,7 +145,7 @@ outputs: span: lo: 268 hi: 273 - - mode: Private + - mode: None type_: Group name: "{\"name\":\"r3\",\"span\":\"{\\\"lo\\\":284,\\\"hi\\\":286}\"}" value: @@ -170,7 +170,7 @@ outputs: span: lo: 288 hi: 293 - - mode: Private + - mode: None type_: Address name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":309,\\\"hi\\\":311}\"}" value: @@ -183,7 +183,7 @@ outputs: span: lo: 313 hi: 320 - - mode: Private + - mode: None type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":388,\\\"hi\\\":390}\"}" value: diff --git a/tests/expectations/parser/inputs/input_constant.out b/tests/expectations/parser/inputs/input_constant.out index b1426e4dc4..cc5442dcd5 100644 --- a/tests/expectations/parser/inputs/input_constant.out +++ b/tests/expectations/parser/inputs/input_constant.out @@ -106,7 +106,7 @@ outputs: hi: 7 - name: registers definitions: - - mode: Private + - mode: None type_: Boolean name: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":247,\\\"hi\\\":249}\"}" value: @@ -119,7 +119,7 @@ outputs: span: lo: 251 hi: 255 - - mode: Private + - mode: None type_: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":265,\\\"hi\\\":267}\"}" value: @@ -132,7 +132,7 @@ outputs: span: lo: 269 hi: 271 - - mode: Private + - mode: None type_: Field name: "{\"name\":\"r2\",\"span\":\"{\\\"lo\\\":282,\\\"hi\\\":284}\"}" value: @@ -145,7 +145,7 @@ outputs: span: lo: 286 hi: 291 - - mode: Private + - mode: None type_: Group name: "{\"name\":\"r3\",\"span\":\"{\\\"lo\\\":302,\\\"hi\\\":304}\"}" value: @@ -170,7 +170,7 @@ outputs: span: lo: 306 hi: 311 - - mode: Private + - mode: None type_: Address name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":327,\\\"hi\\\":329}\"}" value: @@ -183,7 +183,7 @@ outputs: span: lo: 331 hi: 338 - - mode: Private + - mode: None type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":406,\\\"hi\\\":408}\"}" value: diff --git a/tests/expectations/parser/inputs/input_public.out b/tests/expectations/parser/inputs/input_public.out index d139168289..50ca09b1ae 100644 --- a/tests/expectations/parser/inputs/input_public.out +++ b/tests/expectations/parser/inputs/input_public.out @@ -106,7 +106,7 @@ outputs: hi: 7 - name: registers definitions: - - mode: Private + - mode: None type_: Boolean name: "{\"name\":\"r0\",\"span\":\"{\\\"lo\\\":302,\\\"hi\\\":304}\"}" value: @@ -119,7 +119,7 @@ outputs: span: lo: 306 hi: 310 - - mode: Private + - mode: None type_: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":337,\\\"hi\\\":339}\"}" value: @@ -132,7 +132,7 @@ outputs: span: lo: 341 hi: 343 - - mode: Private + - mode: None type_: Field name: "{\"name\":\"r2\",\"span\":\"{\\\"lo\\\":374,\\\"hi\\\":376}\"}" value: @@ -145,7 +145,7 @@ outputs: span: lo: 378 hi: 383 - - mode: Private + - mode: None type_: Group name: "{\"name\":\"r3\",\"span\":\"{\\\"lo\\\":414,\\\"hi\\\":416}\"}" value: @@ -170,7 +170,7 @@ outputs: span: lo: 418 hi: 423 - - mode: Private + - mode: None type_: Address name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":449,\\\"hi\\\":451}\"}" value: @@ -183,7 +183,7 @@ outputs: span: lo: 453 hi: 460 - - mode: Private + - mode: None type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":528,\\\"hi\\\":530}\"}" value: diff --git a/tests/expectations/parser/serialize/one_plus_one.out b/tests/expectations/parser/serialize/one_plus_one.out index f5a47bf8b9..c8742bbc5a 100644 --- a/tests/expectations/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/serialize/one_plus_one.out @@ -8,6 +8,7 @@ outputs: imports: {} functions: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":15}\"}": + annotations: [] identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":15}\"}" input: [] output: U8 diff --git a/tests/parser/functions/annotated_arg_not_ident.leo b/tests/parser/functions/annotated_arg_not_ident_fail.leo similarity index 52% rename from tests/parser/functions/annotated_arg_not_ident.leo rename to tests/parser/functions/annotated_arg_not_ident_fail.leo index e927be8d5c..f1b546cf88 100644 --- a/tests/parser/functions/annotated_arg_not_ident.leo +++ b/tests/parser/functions/annotated_arg_not_ident_fail.leo @@ -4,17 +4,17 @@ expectation: Fail */ @foo(?, bar, ?) -function x() { - return (); +function x() -> u8 { + return 1u8; } @bar(123) // ints not vali -function x() { - return (); +function x() -> u8 { + return 2u8; } @context // recovery witness -function x() { - return (); +function x() -> u8 { + return 3u8; } diff --git a/tests/parser/functions/annotated_context.leo b/tests/parser/functions/annotated_context.leo new file mode 100644 index 0000000000..8f3c02775b --- /dev/null +++ b/tests/parser/functions/annotated_context.leo @@ -0,0 +1,14 @@ +/* +namespace: Parse +expectation: Pass +*/ + +@context +function f() -> u8 { + return 1u8; +} + +@context // recovery witness +function g() -> u8 { + return 2u8; +} diff --git a/tests/parser/functions/annotated_context_fail.leo b/tests/parser/functions/annotated_context_fail.leo deleted file mode 100644 index 1daef2c25c..0000000000 --- a/tests/parser/functions/annotated_context_fail.leo +++ /dev/null @@ -1,14 +0,0 @@ -/* -namespace: Parse -expectation: Fail -*/ - -@context -function f() { - return (); -} - -@context // recovery witness -function g() { - return (); -} diff --git a/tests/parser/functions/annotated_functions.leo b/tests/parser/functions/annotated_functions.leo new file mode 100644 index 0000000000..0a02768db2 --- /dev/null +++ b/tests/parser/functions/annotated_functions.leo @@ -0,0 +1,15 @@ +/* +namespace: Parse +expectation: Pass +*/ + +@foo +@bar +@baz +function foo() -> u8 {} + +@program +function mint() -> u8 {} + +@test +function test() -> u8 {} diff --git a/tests/parser/functions/danling_annotations_fail.leo b/tests/parser/functions/danling_annotations_fail.leo new file mode 100644 index 0000000000..9fdda05bdf --- /dev/null +++ b/tests/parser/functions/danling_annotations_fail.leo @@ -0,0 +1,9 @@ +/* +namespace: Parse +expectation: Pass +*/ + +// This test currently passes, but we should disallow dangling annotations. +@test + +function test() -> u8 {} diff --git a/tests/parser/functions/spaced_annotation_fail.leo b/tests/parser/functions/spaced_annotation_fail.leo new file mode 100644 index 0000000000..6e21099b54 --- /dev/null +++ b/tests/parser/functions/spaced_annotation_fail.leo @@ -0,0 +1,7 @@ +/* +namespace: Parse +expectation: Fail +*/ + +@ test +function test() -> u8 {}