From 45c6bbe02b67e7706b0530ccf2eea747589555a1 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 12 Mar 2021 23:02:36 +0000 Subject: [PATCH] Trivial isoltest updates: directives sorted alphabetically --- test/libsolidity/semanticTests/abiEncoderV1/abi_encode.sol | 2 +- .../semanticTests/abiEncoderV1/abi_encode_decode_simple.sol | 2 +- .../semanticTests/abiEncoderV1/abi_encode_rational.sol | 2 +- .../semanticTests/abiEncoderV1/calldata_arrays_too_large.sol | 2 +- test/libsolidity/semanticTests/abiEncoderV1/decode_slice.sol | 2 +- .../abiEncoderV1/return_dynamic_types_cross_call_advanced.sol | 2 +- .../return_dynamic_types_cross_call_out_of_range_2.sol | 2 +- .../abiEncoderV1/return_dynamic_types_cross_call_simple.sol | 2 +- .../semanticTests/abiEncoderV2/abi_encode_empty_string_v2.sol | 2 +- .../semanticTests/abiEncoderV2/abi_encode_rational_v2.sol | 2 +- .../semanticTests/abiEncoderV2/bool_out_of_bounds.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_array_dynamic.sol | 2 +- .../abiEncoderV2/calldata_array_dynamic_index_access.sol | 2 +- .../abiEncoderV2/calldata_array_dynamic_static_dynamic.sol | 2 +- .../calldata_array_dynamic_static_short_decode.sol | 2 +- .../abiEncoderV2/calldata_array_multi_dynamic.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_array_static.sol | 2 +- .../abiEncoderV2/calldata_array_static_dynamic_static.sol | 2 +- .../abiEncoderV2/calldata_array_static_index_access.sol | 2 +- .../abiEncoderV2/calldata_array_struct_dynamic.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_array_two_dynamic.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_array_two_static.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_struct_dynamic.sol | 2 +- .../semanticTests/abiEncoderV2/calldata_struct_simple.sol | 2 +- .../semanticTests/abiEncoderV2/cleanup/cleanup.sol | 2 +- .../semanticTests/abiEncoderV2/cleanup/dynamic_array.sol | 2 +- .../semanticTests/abiEncoderV2/cleanup/simple_struct.sol | 2 +- .../semanticTests/abiEncoderV2/cleanup/static_array.sol | 2 +- test/libsolidity/semanticTests/abiEncoderV2/enums.sol | 2 +- .../semanticTests/abiEncoderV2/struct/struct_short.sol | 2 +- .../semanticTests/abiEncoderV2/struct/struct_simple.sol | 2 +- .../accessor/accessor_for_const_state_variable.sol | 2 +- .../semanticTests/accessor/accessor_for_state_variable.sol | 2 +- test/libsolidity/semanticTests/arithmetics/addmod_mulmod.sol | 2 +- .../semanticTests/arithmetics/addmod_mulmod_zero.sol | 2 +- .../semanticTests/arithmetics/block_inside_unchecked.sol | 2 +- .../semanticTests/arithmetics/checked_called_by_unchecked.sol | 2 +- .../semanticTests/arithmetics/divisiod_by_zero.sol | 2 +- .../semanticTests/arithmetics/unchecked_called_by_checked.sol | 2 +- .../semanticTests/arithmetics/unchecked_div_by_zero.sol | 2 +- test/libsolidity/semanticTests/array/calldata_array.sol | 2 +- .../array/calldata_array_as_argument_internal_function.sol | 2 +- .../semanticTests/array/calldata_array_dynamic_invalid.sol | 2 +- .../semanticTests/array/calldata_array_of_struct.sol | 2 +- .../libsolidity/semanticTests/array/calldata_slice_access.sol | 2 +- .../semanticTests/array/copying/bytes_memory_to_storage.sol | 2 +- .../semanticTests/array/copying/bytes_storage_to_memory.sol | 2 +- .../array/copying/calldata_array_static_to_memory.sol | 2 +- .../semanticTests/array/copying/calldata_bytes_to_storage.sol | 2 +- .../semanticTests/array/copying/storage_memory_packed.sol | 2 +- .../array/create_dynamic_array_with_zero_length.sol | 2 +- .../semanticTests/array/create_memory_array_too_large.sol | 2 +- .../semanticTests/array/create_multiple_dynamic_arrays.sol | 2 +- test/libsolidity/semanticTests/array/external_array_args.sol | 2 +- .../semanticTests/array/fixed_arrays_in_storage.sol | 2 +- .../semanticTests/array/fixed_bytes_length_access.sol | 2 +- .../semanticTests/array/fixed_out_of_bounds_array_access.sol | 2 +- .../libsolidity/semanticTests/array/function_memory_array.sol | 2 +- .../array/indexAccess/inline_array_index_access_ints.sol | 2 +- .../array/indexAccess/memory_arrays_index_access_write.sol | 2 +- test/libsolidity/semanticTests/array/inline_array_return.sol | 2 +- .../semanticTests/array/inline_array_singleton.sol | 2 +- .../array/inline_array_storage_to_memory_conversion_ints.sol | 2 +- .../inline_array_storage_to_memory_conversion_strings.sol | 2 +- .../array/inline_array_strings_from_document.sol | 2 +- .../semanticTests/array/pop/array_pop_empty_exception.sol | 2 +- .../semanticTests/array/pop/array_pop_isolated.sol | 2 +- test/libsolidity/semanticTests/array/pop/byte_array_pop.sol | 2 +- .../array/pop/byte_array_pop_empty_exception.sol | 2 +- .../semanticTests/array/pop/byte_array_pop_isolated.sol | 2 +- .../semanticTests/array/pop/byte_array_pop_storage_empty.sol | 2 +- test/libsolidity/semanticTests/array/push/byte_array_push.sol | 2 +- .../semanticTests/array/short_fixed_array_cleanup.sol | 2 +- test/libsolidity/semanticTests/asmForLoop/for_loop_break.sol | 2 +- .../semanticTests/asmForLoop/for_loop_continue.sol | 2 +- test/libsolidity/semanticTests/asmForLoop/for_loop_nested.sol | 2 +- .../assignment_to_const_var_involving_keccak.sol | 2 +- test/libsolidity/semanticTests/builtinFunctions/blockhash.sol | 2 +- .../builtinFunctions/blockhash_shadow_resolution.sol | 2 +- .../semanticTests/builtinFunctions/function_types_sig.sol | 2 +- .../semanticTests/builtinFunctions/keccak256_empty.sol | 2 +- test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol | 2 +- .../builtinFunctions/msg_sig_after_internal_call_is_same.sol | 2 +- test/libsolidity/semanticTests/c99_scoping_activation.sol | 2 +- .../semanticTests/calldata/calldata_bytes_external.sol | 2 +- .../semanticTests/calldata/calldata_struct_cleaning.sol | 2 +- test/libsolidity/semanticTests/cleanup/bool_conversion_v2.sol | 2 +- .../cleanup/cleanup_address_types_shortening.sol | 2 +- .../semanticTests/cleanup/cleanup_address_types_v2.sol | 2 +- .../semanticTests/cleanup/cleanup_bytes_types_shortening.sol | 2 +- .../semanticTests/cleanup/cleanup_bytes_types_v2.sol | 2 +- .../semanticTests/cleanup/cleanup_in_compound_assign.sol | 2 +- .../constantEvaluator/negative_fractional_mod.sol | 2 +- test/libsolidity/semanticTests/constantEvaluator/rounding.sol | 2 +- .../constants/asm_address_constant_regression.sol | 2 +- test/libsolidity/semanticTests/constants/constant_string.sol | 2 +- .../semanticTests/constants/constant_string_at_file_level.sol | 2 +- .../semanticTests/constants/constant_variables.sol | 2 +- .../constants/constants_at_file_level_referencing.sol | 2 +- .../semanticTests/constants/consteval_array_length.sol | 2 +- .../constants/same_constants_different_files.sol | 2 +- .../constants/simple_constant_variables_test.sol | 2 +- .../constructor/functions_called_by_constructor.sol | 2 +- .../functions_called_by_constructor_through_dispatch.sol | 2 +- .../inline_member_init_inheritence_without_constructor.sol | 2 +- .../semanticTests/constructor/payable_constructor.sol | 2 +- .../constructor/store_function_in_constructor.sol | 2 +- .../constructor/store_function_in_constructor_packed.sol | 2 +- .../store_internal_unused_function_in_constructor.sol | 2 +- .../semanticTests/constructor_ihneritance_init_order_2.sol | 2 +- .../semanticTests/constructor_inheritance_init_order.sol | 2 +- test/libsolidity/semanticTests/dirty_calldata_bytes.sol | 2 +- test/libsolidity/semanticTests/empty_contract.sol | 4 ++-- test/libsolidity/semanticTests/empty_for_loop.sol | 2 +- .../semanticTests/enums/constructing_enums_from_ints.sol | 2 +- .../semanticTests/enums/enum_explicit_overflow.sol | 2 +- .../using_contract_enums_with_explicit_contract_name.sol | 2 +- test/libsolidity/semanticTests/enums/using_enums.sol | 2 +- test/libsolidity/semanticTests/enums/using_inherited_enum.sol | 2 +- .../semanticTests/enums/using_inherited_enum_excplicitly.sol | 2 +- test/libsolidity/semanticTests/exponentiation/signed_base.sol | 2 +- test/libsolidity/semanticTests/expressions/bit_operators.sol | 2 +- .../semanticTests/expressions/bytes_comparison.sol | 2 +- .../expressions/conditional_expression_different_types.sol | 2 +- .../expressions/conditional_expression_false_literal.sol | 2 +- .../expressions/conditional_expression_functions.sol | 2 +- .../expressions/conditional_expression_multiple.sol | 2 +- .../expressions/conditional_expression_storage_memory_1.sol | 2 +- .../expressions/conditional_expression_true_literal.sol | 2 +- .../expressions/conditional_expression_tuples.sol | 2 +- .../expressions/conditional_expression_with_return_values.sol | 2 +- .../semanticTests/expressions/exp_operator_const.sol | 2 +- .../semanticTests/expressions/exp_operator_const_signed.sol | 2 +- .../semanticTests/expressions/exp_zero_literal.sol | 2 +- .../semanticTests/expressions/inc_dec_operators.sol | 2 +- .../expressions/uncalled_address_transfer_send.sol | 2 +- test/libsolidity/semanticTests/fallback/falback_return.sol | 2 +- test/libsolidity/semanticTests/fallback/fallback_argument.sol | 2 +- .../semanticTests/fallback/fallback_argument_to_storage.sol | 2 +- .../semanticTests/fallback/fallback_or_receive.sol | 2 +- .../semanticTests/fallback/fallback_return_data.sol | 2 +- .../semanticTests/fallback/short_data_calls_fallback.sol | 2 +- test/libsolidity/semanticTests/freeFunctions/easy.sol | 2 +- test/libsolidity/semanticTests/freeFunctions/import.sol | 2 +- test/libsolidity/semanticTests/freeFunctions/overloads.sol | 2 +- test/libsolidity/semanticTests/freeFunctions/recursion.sol | 2 +- .../semanticTests/functionCall/array_multiple_local_vars.sol | 2 +- .../functionCall/call_function_returning_function.sol | 2 +- .../call_function_returning_nothing_via_pointer.sol | 2 +- .../functionCall/call_internal_function_via_expression.sol | 2 +- .../functionCall/calling_nonexisting_contract_throws.sol | 2 +- .../semanticTests/functionCall/calling_other_functions.sol | 2 +- .../functionCall/calling_uninitialized_function.sol | 2 +- .../functionCall/calling_uninitialized_function_in_detail.sol | 2 +- .../calling_uninitialized_function_through_array.sol | 2 +- .../semanticTests/functionCall/conditional_with_arguments.sol | 2 +- .../semanticTests/functionCall/disordered_named_args.sol | 2 +- .../functionCall/external_call_dynamic_returndata.sol | 2 +- .../semanticTests/functionCall/external_function.sol | 2 +- .../semanticTests/functionCall/external_public_override.sol | 2 +- .../semanticTests/functionCall/file_level_call_via_module.sol | 2 +- .../functionCall/inheritance/base_base_overload.sol | 2 +- .../semanticTests/functionCall/inheritance/base_overload.sol | 2 +- .../semanticTests/functionCall/inheritance/call_base.sol | 2 +- .../semanticTests/functionCall/inheritance/call_base_base.sol | 2 +- .../functionCall/inheritance/call_base_base_explicit.sol | 2 +- .../functionCall/inheritance/call_base_explicit.sol | 2 +- .../functionCall/inheritance/call_unimplemented_base.sol | 2 +- .../semanticTests/functionCall/member_accessors.sol | 4 ++-- .../semanticTests/functionCall/multiple_functions.sol | 4 ++-- .../semanticTests/functionCall/multiple_return_values.sol | 2 +- test/libsolidity/semanticTests/functionCall/named_args.sol | 2 +- .../semanticTests/functionCall/named_args_overload.sol | 2 +- .../semanticTests/functionCall/send_zero_ether.sol | 2 +- .../semanticTests/functionCall/transaction_status.sol | 2 +- .../functionSelector/function_selector_via_contract_name.sol | 2 +- .../semanticTests/functionTypes/function_delete_stack.sol | 2 +- .../semanticTests/functionTypes/function_delete_storage.sol | 2 +- .../functionTypes/pass_function_types_internally.sol | 2 +- .../same_function_in_construction_and_runtime.sol | 2 +- ...me_function_in_construction_and_runtime_equality_check.sol | 2 +- .../semanticTests/functionTypes/struct_with_functions.sol | 2 +- .../uninitialized_internal_storage_function_call.sol | 2 +- .../semanticTests/immutable/getter_call_in_constructor.sol | 2 +- .../semanticTests/inheritance/access_base_storage.sol | 2 +- .../inheritance/base_access_to_function_type_variables.sol | 2 +- .../inheritance/derived_overload_base_function_direct.sol | 2 +- .../inheritance/derived_overload_base_function_indirect.sol | 2 +- .../semanticTests/inheritance/explicit_base_class.sol | 2 +- .../inheritance/inherited_constant_state_var.sol | 2 +- .../semanticTests/inheritance/inherited_function.sol | 2 +- .../inheritance/inherited_function_through_dispatch.sol | 2 +- .../inheritance/overloaded_function_call_resolve_to_first.sol | 2 +- .../overloaded_function_call_resolve_to_second.sol | 2 +- .../inheritance/overloaded_function_call_with_if_else.sol | 2 +- .../semanticTests/inheritance/super_in_constructor.sol | 2 +- .../inheritance/super_in_constructor_assignment.sol | 2 +- test/libsolidity/semanticTests/inheritance/super_overload.sol | 2 +- .../semanticTests/inlineAssembly/calldata_array_read.sol | 2 +- .../semanticTests/inlineAssembly/calldata_length_read.sol | 2 +- .../semanticTests/inlineAssembly/calldata_offset_read.sol | 2 +- .../inlineAssembly/calldata_offset_read_write.sol | 2 +- test/libsolidity/semanticTests/inlineAssembly/chainid.sol | 2 +- .../semanticTests/inlineAssembly/constant_access.sol | 2 +- .../inlineAssembly/constant_access_referencing.sol | 2 +- .../inlineAssembly/inline_assembly_embedded_function_call.sol | 2 +- .../semanticTests/inlineAssembly/inline_assembly_for.sol | 2 +- .../semanticTests/inlineAssembly/inline_assembly_for2.sol | 2 +- .../inlineAssembly/inline_assembly_function_call.sol | 2 +- .../inlineAssembly/inline_assembly_function_call2.sol | 2 +- .../inline_assembly_function_call_assignment.sol | 2 +- .../semanticTests/inlineAssembly/inline_assembly_if.sol | 2 +- .../inlineAssembly/inline_assembly_memory_access.sol | 2 +- .../inlineAssembly/inline_assembly_read_and_write_stack.sol | 2 +- .../inlineAssembly/inline_assembly_recursion.sol | 2 +- .../inlineAssembly/inline_assembly_storage_access.sol | 2 +- .../inline_assembly_storage_access_inside_function.sol | 2 +- .../inline_assembly_storage_access_local_var.sol | 2 +- .../inline_assembly_storage_access_via_pointer.sol | 2 +- .../semanticTests/inlineAssembly/inline_assembly_switch.sol | 2 +- .../inlineAssembly/inline_assembly_write_to_stack.sol | 2 +- .../semanticTests/inlineAssembly/inlineasm_empty_let.sol | 2 +- test/libsolidity/semanticTests/inlineAssembly/leave.sol | 2 +- test/libsolidity/semanticTests/inlineAssembly/truefalse.sol | 2 +- test/libsolidity/semanticTests/integer/basic.sol | 2 +- test/libsolidity/semanticTests/integer/int.sol | 2 +- .../semanticTests/integer/many_local_variables.sol | 2 +- test/libsolidity/semanticTests/integer/small_signed_types.sol | 2 +- test/libsolidity/semanticTests/integer/uint.sol | 2 +- test/libsolidity/semanticTests/interfaceID/homer.sol | 2 +- .../semanticTests/interfaceID/homer_interfaceId.sol | 2 +- .../semanticTests/interfaceID/interfaceId_events.sol | 2 +- test/libsolidity/semanticTests/interfaceID/interfaces.sol | 2 +- test/libsolidity/semanticTests/isoltestFormatting.sol | 2 +- .../libraries/bound_returning_calldata_external.sol | 2 +- .../semanticTests/libraries/bound_to_calldata_external.sol | 2 +- test/libsolidity/semanticTests/libraries/library_address.sol | 2 +- .../semanticTests/libraries/library_address_via_module.sol | 2 +- .../libraries/library_delegatecall_guard_pure.sol | 2 +- .../libraries/library_delegatecall_guard_view_needed.sol | 2 +- .../libraries/library_delegatecall_guard_view_not_needed.sol | 2 +- .../libraries/library_delegatecall_guard_view_staticcall.sol | 2 +- .../semanticTests/libraries/library_function_selectors.sol | 2 +- .../libraries/library_function_selectors_struct.sol | 2 +- test/libsolidity/semanticTests/literals/denominations.sol | 2 +- test/libsolidity/semanticTests/literals/escape.sol | 2 +- test/libsolidity/semanticTests/literals/ether.sol | 2 +- test/libsolidity/semanticTests/literals/gwei.sol | 2 +- .../semanticTests/literals/hex_string_with_underscore.sol | 2 +- .../semanticTests/literals/scientific_notation.sol | 2 +- test/libsolidity/semanticTests/literals/wei.sol | 2 +- .../semanticTests/memoryManagement/assembly_access.sol | 2 +- .../semanticTests/memoryManagement/struct_allocation.sol | 2 +- .../libsolidity/semanticTests/multiSource/circular_import.sol | 2 +- .../semanticTests/multiSource/circular_import_2.sol | 2 +- .../semanticTests/multiSource/circular_reimport.sol | 2 +- .../semanticTests/multiSource/circular_reimport_2.sol | 2 +- .../multiSource/free_different_interger_types.sol | 2 +- .../multiSource/free_function_resolution_base_contract.sol | 2 +- .../multiSource/free_function_resolution_override_virtual.sol | 2 +- .../free_function_resolution_override_virtual_super.sol | 2 +- .../free_function_resolution_override_virtual_transitive.sol | 2 +- .../multiSource/free_function_transitive_import.sol | 2 +- test/libsolidity/semanticTests/multiSource/import.sol | 2 +- .../multiSource/imported_free_function_via_alias.sol | 2 +- .../imported_free_function_via_alias_direct_call.sol | 2 +- .../semanticTests/multiSource/reimport_imported_function.sol | 2 +- test/libsolidity/semanticTests/operators/compound_assign.sol | 2 +- .../semanticTests/operators/shifts/shift_cleanup.sol | 2 +- .../semanticTests/operators/shifts/shift_cleanup_garbled.sol | 2 +- .../semanticTests/operators/shifts/shift_constant_left.sol | 2 +- .../operators/shifts/shift_constant_left_assignment.sol | 2 +- .../semanticTests/operators/shifts/shift_constant_right.sol | 2 +- .../operators/shifts/shift_constant_right_assignment.sol | 2 +- .../libsolidity/semanticTests/operators/shifts/shift_left.sol | 2 +- .../semanticTests/operators/shifts/shift_left_assignment.sol | 2 +- .../operators/shifts/shift_left_assignment_different_type.sol | 2 +- .../semanticTests/operators/shifts/shift_left_larger_type.sol | 2 +- .../semanticTests/operators/shifts/shift_left_uint32.sol | 2 +- .../semanticTests/operators/shifts/shift_left_uint8.sol | 2 +- .../operators/shifts/shift_negative_constant_left.sol | 2 +- .../operators/shifts/shift_negative_constant_right.sol | 2 +- .../semanticTests/operators/shifts/shift_overflow.sol | 2 +- .../semanticTests/operators/shifts/shift_right.sol | 2 +- .../semanticTests/operators/shifts/shift_right_assignment.sol | 2 +- .../operators/shifts/shift_right_garbled_signed_v2.sol | 2 +- .../semanticTests/operators/shifts/shift_right_garbled_v2.sol | 2 +- .../operators/shifts/shift_right_negative_literal.sol | 2 +- .../shift_right_negative_lvalue_signextend_int16_v2.sol | 2 +- .../shift_right_negative_lvalue_signextend_int32_v2.sol | 2 +- .../shifts/shift_right_negative_lvalue_signextend_int8_v2.sol | 2 +- .../semanticTests/operators/shifts/shift_right_uint32.sol | 2 +- .../semanticTests/operators/shifts/shift_right_uint8.sol | 2 +- .../operators/shifts/shift_underflow_negative_rvalue.sol | 2 +- test/libsolidity/semanticTests/operators/shifts/shifts.sol | 2 +- .../semanticTests/receive/empty_calldata_calls_receive.sol | 2 +- test/libsolidity/semanticTests/receive/ether_and_data.sol | 2 +- test/libsolidity/semanticTests/receive/inherited.sol | 2 +- test/libsolidity/semanticTests/revertStrings/array_slices.sol | 2 +- test/libsolidity/semanticTests/revertStrings/bubble.sol | 2 +- .../revertStrings/calldata_array_dynamic_invalid.sol | 2 +- .../calldata_array_dynamic_static_short_decode.sol | 2 +- .../calldata_array_dynamic_static_short_reencode.sol | 2 +- .../revertStrings/calldata_array_invalid_length.sol | 2 +- .../semanticTests/revertStrings/calldata_arrays_too_large.sol | 2 +- .../semanticTests/revertStrings/calldata_tail_short.sol | 2 +- .../revertStrings/ether_non_payable_function.sol | 2 +- .../semanticTests/revertStrings/library_non_view_call.sol | 2 +- .../semanticTests/revertStrings/short_input_array.sol | 2 +- .../semanticTests/revertStrings/short_input_bytes.sol | 2 +- test/libsolidity/semanticTests/revertStrings/transfer.sol | 2 +- .../semanticTests/revertStrings/unknown_sig_no_fallback.sol | 2 +- test/libsolidity/semanticTests/reverts/assert_require.sol | 2 +- .../semanticTests/reverts/invalid_enum_as_external_arg.sol | 4 ++-- .../semanticTests/reverts/invalid_enum_as_external_ret.sol | 4 ++-- .../semanticTests/reverts/invalid_enum_compared.sol | 4 ++-- .../libsolidity/semanticTests/reverts/invalid_enum_stored.sol | 4 ++-- test/libsolidity/semanticTests/reverts/revert.sol | 2 +- test/libsolidity/semanticTests/reverts/revert_return_area.sol | 2 +- test/libsolidity/semanticTests/reverts/simple_throw.sol | 2 +- test/libsolidity/semanticTests/smoke/failure.sol | 2 +- test/libsolidity/semanticTests/smoke/multiline.sol | 4 ++-- test/libsolidity/semanticTests/smoke/multiline_comments.sol | 2 +- test/libsolidity/semanticTests/smoke/structs.sol | 2 +- .../specialFunctions/abi_functions_member_access.sol | 2 +- test/libsolidity/semanticTests/state/block_coinbase.sol | 2 +- test/libsolidity/semanticTests/state/block_gaslimit.sol | 2 +- test/libsolidity/semanticTests/state/block_number.sol | 2 +- test/libsolidity/semanticTests/state/block_timestamp.sol | 2 +- test/libsolidity/semanticTests/state/gasleft.sol | 2 +- test/libsolidity/semanticTests/state/msg_sender.sol | 2 +- test/libsolidity/semanticTests/state/msg_sig.sol | 2 +- test/libsolidity/semanticTests/state/tx_origin.sol | 2 +- test/libsolidity/semanticTests/state/uncalled_blockhash.sol | 2 +- test/libsolidity/semanticTests/state_var_initialization.sol | 2 +- test/libsolidity/semanticTests/state_variables_init_order.sol | 2 +- .../semanticTests/state_variables_init_order_2.sol | 2 +- .../semanticTests/statements/do_while_loop_continue.sol | 2 +- .../semanticTests/storage/packed_storage_signed.sol | 2 +- .../semanticTests/storage/packed_storage_structs_enum.sol | 2 +- .../semanticTests/storage/packed_storage_structs_uint.sol | 2 +- test/libsolidity/semanticTests/storage/simple_accessor.sol | 2 +- test/libsolidity/semanticTests/storage/state_smoke_test.sol | 2 +- test/libsolidity/semanticTests/strings/empty_string.sol | 2 +- test/libsolidity/semanticTests/strings/string_escapes.sol | 2 +- test/libsolidity/semanticTests/strings/unicode_escapes.sol | 2 +- test/libsolidity/semanticTests/strings/unicode_string.sol | 2 +- .../semanticTests/structs/array_of_recursive_struct.sol | 2 +- .../semanticTests/structs/calldata/calldata_struct.sol | 2 +- .../structs/calldata/calldata_struct_array_member_dynamic.sol | 2 +- .../structs/calldata/calldata_struct_to_memory.sol | 2 +- .../structs/calldata/calldata_struct_to_storage.sol | 2 +- .../semanticTests/structs/calldata/calldata_structs.sol | 2 +- .../semanticTests/structs/calldata/dynamic_nested.sol | 2 +- .../semanticTests/structs/calldata/dynamically_encoded.sol | 2 +- test/libsolidity/semanticTests/structs/global.sol | 2 +- .../semanticTests/structs/lone_struct_array_type.sol | 2 +- .../semanticTests/structs/memory_struct_named_constructor.sol | 2 +- .../semanticTests/structs/memory_structs_as_function_args.sol | 2 +- .../semanticTests/structs/memory_structs_nested.sol | 2 +- .../semanticTests/structs/nested_struct_allocation.sol | 2 +- test/libsolidity/semanticTests/structs/recursive_structs.sol | 2 +- .../semanticTests/structs/simple_struct_allocation.sol | 2 +- .../structs/struct_assign_reference_to_struct.sol | 2 +- .../semanticTests/structs/struct_delete_member.sol | 2 +- .../semanticTests/structs/struct_delete_storage.sol | 2 +- .../semanticTests/structs/struct_delete_storage_small.sol | 2 +- .../semanticTests/structs/struct_memory_to_storage.sol | 2 +- .../semanticTests/structs/struct_named_constructor.sol | 2 +- .../semanticTests/structs/struct_storage_to_memory.sol | 2 +- test/libsolidity/semanticTests/tryCatch/create.sol | 2 +- test/libsolidity/semanticTests/tryCatch/lowLevel.sol | 2 +- .../semanticTests/tryCatch/try_catch_library_call.sol | 2 +- .../semanticTests/types/assign_calldata_value_type.sol | 2 +- .../types/convert_fixed_bytes_to_fixed_bytes_greater_size.sol | 2 +- .../types/convert_fixed_bytes_to_fixed_bytes_same_size.sol | 2 +- .../types/convert_fixed_bytes_to_fixed_bytes_smaller_size.sol | 2 +- .../types/convert_fixed_bytes_to_uint_greater_size.sol | 2 +- .../types/convert_fixed_bytes_to_uint_same_min_size.sol | 2 +- .../types/convert_fixed_bytes_to_uint_same_type.sol | 2 +- .../types/convert_fixed_bytes_to_uint_smaller_size.sol | 2 +- .../types/convert_uint_to_fixed_bytes_greater_size.sol | 2 +- .../types/convert_uint_to_fixed_bytes_same_min_size.sol | 2 +- .../types/convert_uint_to_fixed_bytes_same_size.sol | 2 +- .../types/convert_uint_to_fixed_bytes_smaller_size.sol | 2 +- .../semanticTests/types/mapping_enum_key_library_v2.sol | 2 +- test/libsolidity/semanticTests/types/mapping_enum_key_v2.sol | 2 +- test/libsolidity/semanticTests/types/nested_tuples.sol | 2 +- test/libsolidity/semanticTests/types/packing_signed_types.sol | 2 +- .../semanticTests/types/packing_unpacking_types.sol | 2 +- test/libsolidity/semanticTests/types/strings.sol | 2 +- .../semanticTests/types/tuple_assign_multi_slot_grow.sol | 2 +- .../semanticTests/types/type_conversion_cleanup.sol | 2 +- test/libsolidity/semanticTests/underscore/as_function.sol | 2 +- .../uninitializedFunctionPointer/invalidInConstructor.sol | 2 +- .../invalidStoredInConstructor.sol | 2 +- .../semanticTests/uninitializedFunctionPointer/store2.sol | 2 +- .../uninitializedFunctionPointer/storeInConstructor.sol | 2 +- test/libsolidity/semanticTests/variables/delete_local.sol | 2 +- test/libsolidity/semanticTests/variables/delete_locals.sol | 2 +- .../semanticTests/variables/public_state_overridding.sol | 2 +- .../various/assignment_to_const_var_involving_expression.sol | 2 +- test/libsolidity/semanticTests/various/balance.sol | 2 +- .../semanticTests/various/byte_optimization_bug.sol | 2 +- .../semanticTests/various/contract_binary_dependencies.sol | 2 +- .../various/crazy_elementary_typenames_on_stack.sol | 2 +- .../semanticTests/various/cross_contract_types.sol | 2 +- test/libsolidity/semanticTests/various/decayed_tuple.sol | 2 +- .../semanticTests/various/empty_name_return_parameter.sol | 2 +- test/libsolidity/semanticTests/various/gasleft_decrease.sol | 2 +- .../semanticTests/various/gasleft_shadow_resolution.sol | 2 +- test/libsolidity/semanticTests/various/inline_member_init.sol | 2 +- .../semanticTests/various/inline_member_init_inheritence.sol | 2 +- .../various/inline_tuple_with_rational_numbers.sol | 2 +- .../libsolidity/semanticTests/various/iszero_bnot_correct.sol | 2 +- test/libsolidity/semanticTests/various/memory_overwrite.sol | 2 +- .../semanticTests/various/multi_variable_declaration.sol | 2 +- .../semanticTests/various/nested_calldata_struct.sol | 2 +- .../semanticTests/various/positive_integers_to_signed.sol | 2 +- .../various/single_copy_with_multiple_inheritance.sol | 2 +- .../various/state_variable_local_variable_mixture.sol | 2 +- .../various/state_variable_under_contract_name.sol | 2 +- test/libsolidity/semanticTests/various/string_tuples.sol | 2 +- test/libsolidity/semanticTests/various/super.sol | 2 +- test/libsolidity/semanticTests/various/super_alone.sol | 2 +- test/libsolidity/semanticTests/various/super_parentheses.sol | 2 +- .../semanticTests/various/test_underscore_in_hex.sol | 2 +- .../various/typed_multi_variable_declaration.sol | 2 +- test/libsolidity/semanticTests/viaYul/assert.sol | 2 +- test/libsolidity/semanticTests/viaYul/assert_and_require.sol | 2 +- .../semanticTests/viaYul/assign_tuple_from_function_call.sol | 2 +- .../viaYul/calldata_array_index_range_access.sol | 2 +- .../semanticTests/viaYul/calldata_array_three_dimensional.sol | 2 +- .../semanticTests/viaYul/cleanup/checked_arithmetic.sol | 2 +- test/libsolidity/semanticTests/viaYul/cleanup/comparison.sol | 2 +- .../libsolidity/semanticTests/viaYul/comparison_functions.sol | 2 +- .../semanticTests/viaYul/conditional/conditional_multiple.sol | 2 +- .../viaYul/conditional/conditional_true_false_literal.sol | 2 +- .../semanticTests/viaYul/conditional/conditional_tuple.sol | 2 +- .../viaYul/conditional/conditional_with_assignment.sol | 2 +- .../viaYul/conditional/conditional_with_variables.sol | 2 +- .../viaYul/conversion/explicit_cast_assignment.sol | 2 +- .../viaYul/conversion/explicit_cast_function_call.sol | 2 +- .../viaYul/conversion/explicit_cast_local_assignment.sol | 2 +- .../viaYul/conversion/implicit_cast_assignment.sol | 2 +- .../viaYul/conversion/implicit_cast_function_call.sol | 2 +- .../viaYul/conversion/implicit_cast_local_assignment.sol | 2 +- .../semanticTests/viaYul/define_tuple_from_function_call.sol | 2 +- test/libsolidity/semanticTests/viaYul/delete.sol | 2 +- .../semanticTests/viaYul/dirty_memory_dynamic_array.sol | 2 +- test/libsolidity/semanticTests/viaYul/dirty_memory_int32.sol | 2 +- .../semanticTests/viaYul/dirty_memory_static_array.sol | 2 +- test/libsolidity/semanticTests/viaYul/dirty_memory_struct.sol | 2 +- test/libsolidity/semanticTests/viaYul/dirty_memory_uint32.sol | 2 +- test/libsolidity/semanticTests/viaYul/exp.sol | 2 +- test/libsolidity/semanticTests/viaYul/exp_literals.sol | 2 +- .../libsolidity/semanticTests/viaYul/exp_literals_success.sol | 2 +- test/libsolidity/semanticTests/viaYul/exp_various.sol | 2 +- .../semanticTests/viaYul/function_entry_checks.sol | 2 +- test/libsolidity/semanticTests/viaYul/function_pointers.sol | 2 +- test/libsolidity/semanticTests/viaYul/if.sol | 2 +- .../semanticTests/viaYul/local_address_assignment.sol | 2 +- test/libsolidity/semanticTests/viaYul/local_assignment.sol | 2 +- .../semanticTests/viaYul/local_bool_assignment.sol | 2 +- .../semanticTests/viaYul/local_tuple_assignment.sol | 2 +- .../semanticTests/viaYul/local_variable_without_init.sol | 2 +- test/libsolidity/semanticTests/viaYul/loops/break.sol | 2 +- test/libsolidity/semanticTests/viaYul/loops/continue.sol | 2 +- test/libsolidity/semanticTests/viaYul/loops/return.sol | 2 +- test/libsolidity/semanticTests/viaYul/loops/simple.sol | 2 +- test/libsolidity/semanticTests/viaYul/memory_struct_allow.sol | 2 +- test/libsolidity/semanticTests/viaYul/msg_sender.sol | 2 +- test/libsolidity/semanticTests/viaYul/require.sol | 4 ++-- test/libsolidity/semanticTests/viaYul/return.sol | 2 +- test/libsolidity/semanticTests/viaYul/return_and_convert.sol | 2 +- .../semanticTests/viaYul/return_storage_pointers.sol | 2 +- test/libsolidity/semanticTests/viaYul/short_circuit.sol | 2 +- test/libsolidity/semanticTests/viaYul/simple_assignment.sol | 2 +- test/libsolidity/semanticTests/viaYul/simple_inline_asm.sol | 2 +- test/libsolidity/semanticTests/viaYul/smoke_test.sol | 4 ++-- .../semanticTests/viaYul/storage/dirty_storage_bytes.sol | 2 +- .../viaYul/storage/dirty_storage_static_array.sol | 2 +- .../semanticTests/viaYul/storage/packed_storage.sol | 2 +- .../semanticTests/viaYul/storage/simple_storage.sol | 2 +- test/libsolidity/semanticTests/viaYul/string_format.sol | 2 +- test/libsolidity/semanticTests/viaYul/string_literals.sol | 2 +- .../semanticTests/viaYul/tuple_evaluation_order.sol | 2 +- test/libsolidity/semanticTests/viaYul/various_inline_asm.sol | 2 +- test/libsolidity/semanticTests/viaYul/virtual_functions.sol | 2 +- .../virtualFunctions/internal_virtual_function_calls.sol | 2 +- .../internal_virtual_function_calls_through_dispatch.sol | 2 +- .../semanticTests/virtualFunctions/virtual_function_calls.sol | 2 +- test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol | 2 +- 493 files changed, 503 insertions(+), 503 deletions(-) diff --git a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode.sol b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode.sol index 3db8b0faa..1bd84a418 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode.sol @@ -29,8 +29,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f0() -> 0x20, 0x0 // f1() -> 0x20, 0x40, 0x1, 0x2 diff --git a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_decode_simple.sol b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_decode_simple.sol index a79dc80c5..61aec760a 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_decode_simple.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_decode_simple.sol @@ -6,7 +6,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x21, 0x40, 0x7, "abcdefg" diff --git a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_rational.sol b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_rational.sol index 659c3c192..d891ad8b4 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_rational.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/abi_encode_rational.sol @@ -6,7 +6,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 0x40, 0x1, -2 diff --git a/test/libsolidity/semanticTests/abiEncoderV1/calldata_arrays_too_large.sol b/test/libsolidity/semanticTests/abiEncoderV1/calldata_arrays_too_large.sol index 190bf9dc6..4d48a1dee 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/calldata_arrays_too_large.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/calldata_arrays_too_large.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256[],uint256): 6, 0x60, 9, 0x8000000000000000000000000000000000000000000000000000000000000002, 1, 2 -> FAILURE diff --git a/test/libsolidity/semanticTests/abiEncoderV1/decode_slice.sol b/test/libsolidity/semanticTests/abiEncoderV1/decode_slice.sol index fb482e0ed..a85504db4 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/decode_slice.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/decode_slice.sol @@ -7,7 +7,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 42, 23 -> 42, 23, 42, 23 diff --git a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_advanced.sol b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_advanced.sol index e72554356..aee924a80 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_advanced.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_advanced.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f() -> 0x80, -1, 0xe0, 0x1234, 40, "12345678901234567890123456789012", "34567890", 4, 97767552542602192590433234714624, 0, 0, 537879995309340587922569878831104 diff --git a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_out_of_range_2.sol b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_out_of_range_2.sol index b5bca26d3..c976be064 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_out_of_range_2.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_out_of_range_2.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256): 0x60 -> FAILURE // f(uint256): 0x61 -> true diff --git a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_simple.sol b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_simple.sol index 360eb7af0..4b52f7022 100644 --- a/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_simple.sol +++ b/test/libsolidity/semanticTests/abiEncoderV1/return_dynamic_types_cross_call_simple.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f() -> 0x20, 40, "12345678901234567890123456789012", "34567890" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_empty_string_v2.sol b/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_empty_string_v2.sol index c3f472ba2..73222d1a9 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_empty_string_v2.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_empty_string_v2.sol @@ -10,7 +10,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x40, 0xa0, 0x40, 0x20, 0x0, 0x0 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_rational_v2.sol b/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_rational_v2.sol index f2013f6c8..e19017110 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_rational_v2.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/abi_encode_rational_v2.sol @@ -9,7 +9,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 0x40, 0x1, -2 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/bool_out_of_bounds.sol b/test/libsolidity/semanticTests/abiEncoderV2/bool_out_of_bounds.sol index 773795336..abbbe7ab2 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/bool_out_of_bounds.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/bool_out_of_bounds.sol @@ -4,8 +4,8 @@ contract C { function f(bool b) public pure returns (bool) { return b; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> true // f(bool): false -> false diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic.sol index ef48518ba..6fe3f6924 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic.sol @@ -21,8 +21,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[]): 32, 3, 23, 42, 87 -> 32, 160, 32, 3, 23, 42, 87 // g(uint256[]): 32, 3, 23, 42, 87 -> 32, 160, 32, 3, 23, 42, 87 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_index_access.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_index_access.sol index 8b7ecb49a..b8179a131 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_index_access.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_index_access.sol @@ -21,8 +21,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[]): 32, 3, 42, 23, 87 -> 32, 160, 32, 3, 42, 23, 87 // g(uint256[][2],uint256): 0x40, 0, 0x40, 0xC0, 3, 42, 23, 87, 4, 11, 13, 17 -> 32, 160, 32, 3, 42, 23, 87 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_dynamic.sol index ffaedd40a..08180ab24 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_dynamic.sol @@ -43,8 +43,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // g() -> 32, 196, hex"eccb829a", 32, 1, 32, 32, 1, 42, hex"00000000000000000000000000000000000000000000000000000000" // h() -> 32, 196, hex"eccb829a", 32, 1, 32, 32, 1, 42, hex"00000000000000000000000000000000000000000000000000000000" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_short_decode.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_short_decode.sol index 42e669567..cd6cd9864 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_short_decode.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_dynamic_static_short_decode.sol @@ -6,8 +6,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[][2][]): 0x20, 0x01, 0x20, 0x40, 0x60, 0x00, 0x00 -> 23 # this is the common encoding for x.length == 1 && x[0][0].length == 0 && x[0][1].length == 0 # // f(uint256[][2][]): 0x20, 0x01, 0x20, 0x00, 0x00 -> 23 # exotic, but still valid encoding # diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_multi_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_multi_dynamic.sol index e01655fce..c4e02ec26 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_multi_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_multi_dynamic.sol @@ -21,8 +21,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[][]): 0x20, 2, 0x40, 0xC0, 3, 13, 17, 23, 4, 27, 31, 37, 41 -> 32, 416, 32, 2, 64, 192, 3, 13, 17, 23, 4, 27, 31, 37, 41 // g(uint256[][]): 0x20, 2, 0x40, 0xC0, 3, 13, 17, 23, 4, 27, 31, 37, 41 -> 32, 416, 32, 2, 64, 192, 3, 13, 17, 23, 4, 27, 31, 37, 41 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static.sol index fbab06363..86c2b139f 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static.sol @@ -15,8 +15,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[3]): 23, 42, 87 -> 32, 96, 23, 42, 87 // g(uint256[3]): 23, 42, 87 -> 32, 96, 23, 42, 87 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_dynamic_static.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_dynamic_static.sol index 4cbdc9da7..6e5944fdc 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_dynamic_static.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_dynamic_static.sol @@ -41,8 +41,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // g() -> 32, 132, hex"15cfcc01", 32, 32, 1, 42, hex"00000000000000000000000000000000000000000000000000000000" // h() -> 32, 132, hex"15cfcc01", 32, 32, 1, 42, hex"00000000000000000000000000000000000000000000000000000000" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_index_access.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_index_access.sol index ea4565e1e..b89c8644d 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_index_access.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_static_index_access.sol @@ -15,8 +15,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[3]): 23, 42, 87 -> 32, 96, 23, 42, 87 // g(uint256[3][2],uint256): 23, 42, 87, 123, 142, 187, 0 -> 32, 96, 23, 42, 87 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_struct_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_struct_dynamic.sol index a1735c138..3c05dacd6 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_struct_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_struct_dynamic.sol @@ -10,8 +10,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f((uint256[])[]): 32, 1, 32, 32, 3, 17, 42, 23 -> 32, 256, 32, 1, 32, 32, 3, 17, 42, 23 // g((uint256[])[]): 32, 1, 32, 32, 3, 17, 42, 23 -> 32, 256, 32, 1, 32, 32, 3, 17, 42, 23 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_dynamic.sol index b077b66e4..ece02aa8e 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_dynamic.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[],uint256[],bool): 0x60, 0xE0, true, 3, 23, 42, 87, 2, 51, 72 -> 32, 160, 0x20, 3, 23, 42, 87 // f(uint256[],uint256[],bool): 0x60, 0xE0, false, 3, 23, 42, 87, 2, 51, 72 -> 32, 128, 0x20, 2, 51, 72 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_static.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_static.sol index 58ad531ef..9deff8bf7 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_static.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_array_two_static.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[3],uint256[2],bool): 23, 42, 87, 51, 72, true -> 32, 96, 23, 42, 87 // f(uint256[3],uint256[2],bool): 23, 42, 87, 51, 72, false -> 32, 64, 51, 72 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_dynamic.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_dynamic.sol index ad0f00dd6..8c49af8c9 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_dynamic.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_dynamic.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f((uint256[])): 0x20, 0x20, 3, 42, 23, 17 -> 32, 192, 0x20, 0x20, 3, 42, 23, 17 // g((uint256[])): 0x20, 0x20, 3, 42, 23, 17 -> 32, 192, 0x20, 0x20, 3, 42, 23, 17 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_simple.sol b/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_simple.sol index 413ea3070..c10504841 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_simple.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/calldata_struct_simple.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f((uint256)): 3 -> 32, 32, 3 // g((uint256)): 3 -> 32, 32, 3 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/cleanup.sol b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/cleanup.sol index cb04163b9..0723d4d31 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/cleanup.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/cleanup.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint16,int16,address,bytes3,bool): 1, 2, 3, "a", true -> 1, 2, 3, "a", true // f(uint16,int16,address,bytes3,bool): 0xffffff, 0x1ffff, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, "abcd", 1 -> FAILURE diff --git a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/dynamic_array.sol b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/dynamic_array.sol index fc62f13d0..ec4d4dcf5 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/dynamic_array.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/dynamic_array.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256[]): 0x20, 2, 1, 1 -> 0x20, 0x84, hex"304a4c23", 0x20, 2, 1, 1, hex"00000000000000000000000000000000000000000000000000000000" // ggg(uint8[]): 0x20, 2, 1, 1 -> 0x20, 0x84, hex"304a4c23", 0x20, 2, 1, 1, hex"00000000000000000000000000000000000000000000000000000000" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/simple_struct.sol b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/simple_struct.sol index b809feb59..1906750f8 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/simple_struct.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/simple_struct.sol @@ -16,8 +16,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256,bytes32): 1, left(0x01) -> 0x20, 0x44, hex"b63240b0", 1, left(0x01), hex"00000000000000000000000000000000000000000000000000000000" // gg((uint8,bytes1)): 1, left(0x01) -> 0x20, 0x44, hex"b63240b0", 1, left(0x01), hex"00000000000000000000000000000000000000000000000000000000" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/static_array.sol b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/static_array.sol index 9806dc019..a0a542b10 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/cleanup/static_array.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/cleanup/static_array.sol @@ -15,8 +15,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // f(uint256,uint256): 1, 1 -> 0x20, 0x44, hex"78b86ac6", 1, 1, hex"00000000000000000000000000000000000000000000000000000000" // gggggggg(uint8[2]): 1, 1 -> 0x20, 0x44, hex"78b86ac6", 1, 1, hex"00000000000000000000000000000000000000000000000000000000" diff --git a/test/libsolidity/semanticTests/abiEncoderV2/enums.sol b/test/libsolidity/semanticTests/abiEncoderV2/enums.sol index 5538c5506..d9637c23c 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/enums.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/enums.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8): 0 -> 0 // f(uint8): 1 -> 1 diff --git a/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_short.sol b/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_short.sol index 9eceff81e..55f09a3fd 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_short.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_short.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((int256,uint256,bytes16)): 0xff010, 0xff0002, "abcd" -> 0xff010, 0xff0002, "abcd" // f((int256,uint256,bytes16)): 0xff010, 0xff0002, 0x1111222233334444555566667777888800000000000000000000000000000000 -> 0xff010, 0xff0002, left(0x11112222333344445555666677778888) diff --git a/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_simple.sol b/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_simple.sol index d8d8c0438..9cfd19fd4 100644 --- a/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_simple.sol +++ b/test/libsolidity/semanticTests/abiEncoderV2/struct/struct_simple.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint8,uint8,bytes2)): 1, 2, 3, "ab" -> 1, 2, 3, 0x6162 diff --git a/test/libsolidity/semanticTests/accessor/accessor_for_const_state_variable.sol b/test/libsolidity/semanticTests/accessor/accessor_for_const_state_variable.sol index ae95757f2..b180b2e6b 100644 --- a/test/libsolidity/semanticTests/accessor/accessor_for_const_state_variable.sol +++ b/test/libsolidity/semanticTests/accessor/accessor_for_const_state_variable.sol @@ -2,7 +2,7 @@ contract Lotto { uint256 public constant ticketPrice = 555; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // ticketPrice() -> 555 diff --git a/test/libsolidity/semanticTests/accessor/accessor_for_state_variable.sol b/test/libsolidity/semanticTests/accessor/accessor_for_state_variable.sol index 99933b1ca..a6066107e 100644 --- a/test/libsolidity/semanticTests/accessor/accessor_for_state_variable.sol +++ b/test/libsolidity/semanticTests/accessor/accessor_for_state_variable.sol @@ -3,7 +3,7 @@ contract Lotto { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // ticketPrice() -> 500 diff --git a/test/libsolidity/semanticTests/arithmetics/addmod_mulmod.sol b/test/libsolidity/semanticTests/arithmetics/addmod_mulmod.sol index 87555cab5..6afd7458a 100644 --- a/test/libsolidity/semanticTests/arithmetics/addmod_mulmod.sol +++ b/test/libsolidity/semanticTests/arithmetics/addmod_mulmod.sol @@ -9,7 +9,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 0 diff --git a/test/libsolidity/semanticTests/arithmetics/addmod_mulmod_zero.sol b/test/libsolidity/semanticTests/arithmetics/addmod_mulmod_zero.sol index ae50da746..51805ae11 100644 --- a/test/libsolidity/semanticTests/arithmetics/addmod_mulmod_zero.sol +++ b/test/libsolidity/semanticTests/arithmetics/addmod_mulmod_zero.sol @@ -19,8 +19,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> FAILURE, hex"4e487b71", 0x12 // g(uint256): 0 -> FAILURE, hex"4e487b71", 0x12 diff --git a/test/libsolidity/semanticTests/arithmetics/block_inside_unchecked.sol b/test/libsolidity/semanticTests/arithmetics/block_inside_unchecked.sol index 1cfc19a3f..59ffb44f8 100644 --- a/test/libsolidity/semanticTests/arithmetics/block_inside_unchecked.sol +++ b/test/libsolidity/semanticTests/arithmetics/block_inside_unchecked.sol @@ -8,7 +8,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x00 diff --git a/test/libsolidity/semanticTests/arithmetics/checked_called_by_unchecked.sol b/test/libsolidity/semanticTests/arithmetics/checked_called_by_unchecked.sol index 958254a86..bf8b7bdfb 100644 --- a/test/libsolidity/semanticTests/arithmetics/checked_called_by_unchecked.sol +++ b/test/libsolidity/semanticTests/arithmetics/checked_called_by_unchecked.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint16,uint16,uint16): 0xe000, 0xe500, 2 -> FAILURE, hex"4e487b71", 0x11 // f(uint16,uint16,uint16): 0xe000, 0x1000, 0x1000 -> 0x00 diff --git a/test/libsolidity/semanticTests/arithmetics/divisiod_by_zero.sol b/test/libsolidity/semanticTests/arithmetics/divisiod_by_zero.sol index 51aeb3d34..47e9e4c1f 100644 --- a/test/libsolidity/semanticTests/arithmetics/divisiod_by_zero.sol +++ b/test/libsolidity/semanticTests/arithmetics/divisiod_by_zero.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // div(uint256,uint256): 7, 2 -> 3 // div(uint256,uint256): 7, 0 -> FAILURE, hex"4e487b71", 0x12 # throws # diff --git a/test/libsolidity/semanticTests/arithmetics/unchecked_called_by_checked.sol b/test/libsolidity/semanticTests/arithmetics/unchecked_called_by_checked.sol index 2b7d4eaa0..9fc665cb6 100644 --- a/test/libsolidity/semanticTests/arithmetics/unchecked_called_by_checked.sol +++ b/test/libsolidity/semanticTests/arithmetics/unchecked_called_by_checked.sol @@ -10,8 +10,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint16): 7 -> 0x0207 // f(uint16): 0xffff -> 511 diff --git a/test/libsolidity/semanticTests/arithmetics/unchecked_div_by_zero.sol b/test/libsolidity/semanticTests/arithmetics/unchecked_div_by_zero.sol index a44ec8374..7bb133960 100644 --- a/test/libsolidity/semanticTests/arithmetics/unchecked_div_by_zero.sol +++ b/test/libsolidity/semanticTests/arithmetics/unchecked_div_by_zero.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // div(uint256,uint256): 7, 2 -> 3 // div(uint256,uint256): 7, 0 -> FAILURE, hex"4e487b71", 0x12 # throws # diff --git a/test/libsolidity/semanticTests/array/calldata_array.sol b/test/libsolidity/semanticTests/array/calldata_array.sol index 7897a8eb6..6a985b495 100644 --- a/test/libsolidity/semanticTests/array/calldata_array.sol +++ b/test/libsolidity/semanticTests/array/calldata_array.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[2]): 42, 23 -> 42, 23 diff --git a/test/libsolidity/semanticTests/array/calldata_array_as_argument_internal_function.sol b/test/libsolidity/semanticTests/array/calldata_array_as_argument_internal_function.sol index bd795a28c..bef9fc651 100644 --- a/test/libsolidity/semanticTests/array/calldata_array_as_argument_internal_function.sol +++ b/test/libsolidity/semanticTests/array/calldata_array_as_argument_internal_function.sol @@ -13,8 +13,8 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256[]): 0x20, 4, 1, 2, 3, 4 -> 4, 1 // h(uint256[],uint256,uint256): 0x60, 1, 3, 4, 1, 2, 3, 4 -> 2, 2 diff --git a/test/libsolidity/semanticTests/array/calldata_array_dynamic_invalid.sol b/test/libsolidity/semanticTests/array/calldata_array_dynamic_invalid.sol index 5aacf790f..89d7172c1 100644 --- a/test/libsolidity/semanticTests/array/calldata_array_dynamic_invalid.sol +++ b/test/libsolidity/semanticTests/array/calldata_array_dynamic_invalid.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[][]): 0x20, 0x0 -> 42 # valid access stub # // f(uint256[][]): 0x20, 0x1 -> FAILURE # invalid on argument decoding # diff --git a/test/libsolidity/semanticTests/array/calldata_array_of_struct.sol b/test/libsolidity/semanticTests/array/calldata_array_of_struct.sol index c5aa08ddb..2e0c871d6 100644 --- a/test/libsolidity/semanticTests/array/calldata_array_of_struct.sol +++ b/test/libsolidity/semanticTests/array/calldata_array_of_struct.sol @@ -21,7 +21,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256)[]): 0x20, 0x2, 0x1, 0x2, 0x3, 0x4 -> 2, 1, 2, 3, 4 diff --git a/test/libsolidity/semanticTests/array/calldata_slice_access.sol b/test/libsolidity/semanticTests/array/calldata_slice_access.sol index e58376dfb..d898bf92f 100644 --- a/test/libsolidity/semanticTests/array/calldata_slice_access.sol +++ b/test/libsolidity/semanticTests/array/calldata_slice_access.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[],uint256,uint256): 0x80, 0, 0, 0, 1, 42 -> // f(uint256[],uint256,uint256): 0x80, 0, 1, 0, 1, 42 -> diff --git a/test/libsolidity/semanticTests/array/copying/bytes_memory_to_storage.sol b/test/libsolidity/semanticTests/array/copying/bytes_memory_to_storage.sol index 9cc10dfd5..0e5009624 100644 --- a/test/libsolidity/semanticTests/array/copying/bytes_memory_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/bytes_memory_to_storage.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> "a" diff --git a/test/libsolidity/semanticTests/array/copying/bytes_storage_to_memory.sol b/test/libsolidity/semanticTests/array/copying/bytes_storage_to_memory.sol index 7a52348c6..13a0e788c 100644 --- a/test/libsolidity/semanticTests/array/copying/bytes_storage_to_memory.sol +++ b/test/libsolidity/semanticTests/array/copying/bytes_storage_to_memory.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> "a" diff --git a/test/libsolidity/semanticTests/array/copying/calldata_array_static_to_memory.sol b/test/libsolidity/semanticTests/array/copying/calldata_array_static_to_memory.sol index c436f50b2..e4b474245 100644 --- a/test/libsolidity/semanticTests/array/copying/calldata_array_static_to_memory.sol +++ b/test/libsolidity/semanticTests/array/copying/calldata_array_static_to_memory.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[2]): 43, 57 -> 43, 57 diff --git a/test/libsolidity/semanticTests/array/copying/calldata_bytes_to_storage.sol b/test/libsolidity/semanticTests/array/copying/calldata_bytes_to_storage.sol index 88a544139..d0ca949f9 100644 --- a/test/libsolidity/semanticTests/array/copying/calldata_bytes_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/calldata_bytes_to_storage.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bytes): 0x20, 0x08, "abcdefgh" -> "a" diff --git a/test/libsolidity/semanticTests/array/copying/storage_memory_packed.sol b/test/libsolidity/semanticTests/array/copying/storage_memory_packed.sol index 8dd7c5b6c..4a4515ff6 100644 --- a/test/libsolidity/semanticTests/array/copying/storage_memory_packed.sol +++ b/test/libsolidity/semanticTests/array/copying/storage_memory_packed.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2, 3, 4 diff --git a/test/libsolidity/semanticTests/array/create_dynamic_array_with_zero_length.sol b/test/libsolidity/semanticTests/array/create_dynamic_array_with_zero_length.sol index 059e3df41..dfcb7aff2 100644 --- a/test/libsolidity/semanticTests/array/create_dynamic_array_with_zero_length.sol +++ b/test/libsolidity/semanticTests/array/create_dynamic_array_with_zero_length.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/array/create_memory_array_too_large.sol b/test/libsolidity/semanticTests/array/create_memory_array_too_large.sol index 9d7d4c6bd..11d69df02 100644 --- a/test/libsolidity/semanticTests/array/create_memory_array_too_large.sol +++ b/test/libsolidity/semanticTests/array/create_memory_array_too_large.sol @@ -20,8 +20,8 @@ contract C { return x[2]; }} // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x41 // g() -> FAILURE, hex"4e487b71", 0x41 diff --git a/test/libsolidity/semanticTests/array/create_multiple_dynamic_arrays.sol b/test/libsolidity/semanticTests/array/create_multiple_dynamic_arrays.sol index 929f935ba..c29dca43e 100644 --- a/test/libsolidity/semanticTests/array/create_multiple_dynamic_arrays.sol +++ b/test/libsolidity/semanticTests/array/create_multiple_dynamic_arrays.sol @@ -30,7 +30,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/array/external_array_args.sol b/test/libsolidity/semanticTests/array/external_array_args.sol index 532bce0d5..72a8cdfc3 100644 --- a/test/libsolidity/semanticTests/array/external_array_args.sol +++ b/test/libsolidity/semanticTests/array/external_array_args.sol @@ -7,7 +7,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test(uint256[8],uint256[],uint256[5],uint256,uint256,uint256): 1, 2, 3, 4, 5, 6, 7, 8, 0x220, 21, 22, 23, 24, 25, 0, 1, 2, 3, 11, 12, 13 -> 1, 12, 23 diff --git a/test/libsolidity/semanticTests/array/fixed_arrays_in_storage.sol b/test/libsolidity/semanticTests/array/fixed_arrays_in_storage.sol index 386478335..dc7b67378 100644 --- a/test/libsolidity/semanticTests/array/fixed_arrays_in_storage.sol +++ b/test/libsolidity/semanticTests/array/fixed_arrays_in_storage.sol @@ -34,8 +34,8 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // setIDStatic(uint256): 0xb -> // getID(uint256): 0x2 -> 0xb diff --git a/test/libsolidity/semanticTests/array/fixed_bytes_length_access.sol b/test/libsolidity/semanticTests/array/fixed_bytes_length_access.sol index c27de7ea7..9561a98e5 100644 --- a/test/libsolidity/semanticTests/array/fixed_bytes_length_access.sol +++ b/test/libsolidity/semanticTests/array/fixed_bytes_length_access.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bytes32): "789" -> 32, 16, 8 diff --git a/test/libsolidity/semanticTests/array/fixed_out_of_bounds_array_access.sol b/test/libsolidity/semanticTests/array/fixed_out_of_bounds_array_access.sol index 6ff519972..ad6d3769f 100644 --- a/test/libsolidity/semanticTests/array/fixed_out_of_bounds_array_access.sol +++ b/test/libsolidity/semanticTests/array/fixed_out_of_bounds_array_access.sol @@ -16,8 +16,8 @@ contract c { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // length() -> 4 // set(uint256,uint256): 3, 4 -> true diff --git a/test/libsolidity/semanticTests/array/function_memory_array.sol b/test/libsolidity/semanticTests/array/function_memory_array.sol index 2f8293822..5c07c1f90 100644 --- a/test/libsolidity/semanticTests/array/function_memory_array.sol +++ b/test/libsolidity/semanticTests/array/function_memory_array.sol @@ -31,8 +31,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test(uint256,uint256): 10, 0 -> 11 // test(uint256,uint256): 10, 1 -> 12 diff --git a/test/libsolidity/semanticTests/array/indexAccess/inline_array_index_access_ints.sol b/test/libsolidity/semanticTests/array/indexAccess/inline_array_index_access_ints.sol index 3be84e184..1dd807363 100644 --- a/test/libsolidity/semanticTests/array/indexAccess/inline_array_index_access_ints.sol +++ b/test/libsolidity/semanticTests/array/indexAccess/inline_array_index_access_ints.sol @@ -5,7 +5,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3 diff --git a/test/libsolidity/semanticTests/array/indexAccess/memory_arrays_index_access_write.sol b/test/libsolidity/semanticTests/array/indexAccess/memory_arrays_index_access_write.sol index 1b17689b4..881f9c944 100644 --- a/test/libsolidity/semanticTests/array/indexAccess/memory_arrays_index_access_write.sol +++ b/test/libsolidity/semanticTests/array/indexAccess/memory_arrays_index_access_write.sol @@ -11,7 +11,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x07 diff --git a/test/libsolidity/semanticTests/array/inline_array_return.sol b/test/libsolidity/semanticTests/array/inline_array_return.sol index d1b862b5a..b3c97f275 100644 --- a/test/libsolidity/semanticTests/array/inline_array_return.sol +++ b/test/libsolidity/semanticTests/array/inline_array_return.sol @@ -12,7 +12,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1, 2, 3, 4, 5 diff --git a/test/libsolidity/semanticTests/array/inline_array_singleton.sol b/test/libsolidity/semanticTests/array/inline_array_singleton.sol index 183b15eb3..bf26cf9cb 100644 --- a/test/libsolidity/semanticTests/array/inline_array_singleton.sol +++ b/test/libsolidity/semanticTests/array/inline_array_singleton.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 4 diff --git a/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_ints.sol b/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_ints.sol index 528a78b9e..62efbc25e 100644 --- a/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_ints.sol +++ b/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_ints.sol @@ -8,7 +8,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3, 6 diff --git a/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_strings.sol b/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_strings.sol index 12131b4ba..dd598ca71 100644 --- a/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_strings.sol +++ b/test/libsolidity/semanticTests/array/inline_array_storage_to_memory_conversion_strings.sol @@ -9,7 +9,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x40, 0x80, 0x3, "ray", 0x2, "mi" diff --git a/test/libsolidity/semanticTests/array/inline_array_strings_from_document.sol b/test/libsolidity/semanticTests/array/inline_array_strings_from_document.sol index 7cf95742d..1d58fc170 100644 --- a/test/libsolidity/semanticTests/array/inline_array_strings_from_document.sol +++ b/test/libsolidity/semanticTests/array/inline_array_strings_from_document.sol @@ -6,8 +6,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 0x20, 0x4, "This" // f(uint256): 1 -> 0x20, 0x2, "is" diff --git a/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol b/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol index 8698cbb26..02b8e99c9 100644 --- a/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol +++ b/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol @@ -7,7 +7,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> FAILURE, hex"4e487b71", 0x31 diff --git a/test/libsolidity/semanticTests/array/pop/array_pop_isolated.sol b/test/libsolidity/semanticTests/array/pop/array_pop_isolated.sol index e211dcb79..42213b96c 100644 --- a/test/libsolidity/semanticTests/array/pop/array_pop_isolated.sol +++ b/test/libsolidity/semanticTests/array/pop/array_pop_isolated.sol @@ -9,7 +9,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 3 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop.sol index 6a7c7e2e3..260e6c342 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop.sol @@ -13,7 +13,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 2, 1, 1 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_empty_exception.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_empty_exception.sol index 9d4a06302..0ef64aca2 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_empty_exception.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_empty_exception.sol @@ -10,7 +10,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> FAILURE, hex"4e487b71", 0x31 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_isolated.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_isolated.sol index 2e0d514cf..6eb76a774 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_isolated.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_isolated.sol @@ -9,7 +9,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 3 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_storage_empty.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_storage_empty.sol index ce4e8dae9..4bad1d7ac 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_storage_empty.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_storage_empty.sol @@ -10,8 +10,8 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> // storage: empty diff --git a/test/libsolidity/semanticTests/array/push/byte_array_push.sol b/test/libsolidity/semanticTests/array/push/byte_array_push.sol index b846c0a7e..14265fca9 100644 --- a/test/libsolidity/semanticTests/array/push/byte_array_push.sol +++ b/test/libsolidity/semanticTests/array/push/byte_array_push.sol @@ -14,7 +14,7 @@ contract c { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> false diff --git a/test/libsolidity/semanticTests/array/short_fixed_array_cleanup.sol b/test/libsolidity/semanticTests/array/short_fixed_array_cleanup.sol index 2dd2b8f50..9adb8446a 100644 --- a/test/libsolidity/semanticTests/array/short_fixed_array_cleanup.sol +++ b/test/libsolidity/semanticTests/array/short_fixed_array_cleanup.sol @@ -8,8 +8,8 @@ contract c { function clear() public { delete data; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // storage: empty // fill() -> diff --git a/test/libsolidity/semanticTests/asmForLoop/for_loop_break.sol b/test/libsolidity/semanticTests/asmForLoop/for_loop_break.sol index a9ddaf290..24a86d1ba 100644 --- a/test/libsolidity/semanticTests/asmForLoop/for_loop_break.sol +++ b/test/libsolidity/semanticTests/asmForLoop/for_loop_break.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 6 diff --git a/test/libsolidity/semanticTests/asmForLoop/for_loop_continue.sol b/test/libsolidity/semanticTests/asmForLoop/for_loop_continue.sol index d0f4e052e..690f2489a 100644 --- a/test/libsolidity/semanticTests/asmForLoop/for_loop_continue.sol +++ b/test/libsolidity/semanticTests/asmForLoop/for_loop_continue.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 5 diff --git a/test/libsolidity/semanticTests/asmForLoop/for_loop_nested.sol b/test/libsolidity/semanticTests/asmForLoop/for_loop_nested.sol index ee8bd64b7..fd10fd072 100644 --- a/test/libsolidity/semanticTests/asmForLoop/for_loop_nested.sol +++ b/test/libsolidity/semanticTests/asmForLoop/for_loop_nested.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 2 // f(uint256): 1 -> 18 diff --git a/test/libsolidity/semanticTests/builtinFunctions/assignment_to_const_var_involving_keccak.sol b/test/libsolidity/semanticTests/builtinFunctions/assignment_to_const_var_involving_keccak.sol index 3d9bfb6d6..38b5cefeb 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/assignment_to_const_var_involving_keccak.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/assignment_to_const_var_involving_keccak.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45 diff --git a/test/libsolidity/semanticTests/builtinFunctions/blockhash.sol b/test/libsolidity/semanticTests/builtinFunctions/blockhash.sol index 4093622ef..bd3d5a72f 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/blockhash.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/blockhash.sol @@ -10,8 +10,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x3737373737373737373737373737373737373737373737373737373737373738 // g() -> 0x3737373737373737373737373737373737373737373737373737373737373739 diff --git a/test/libsolidity/semanticTests/builtinFunctions/blockhash_shadow_resolution.sol b/test/libsolidity/semanticTests/builtinFunctions/blockhash_shadow_resolution.sol index 82c593e45..ba6345bc2 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/blockhash_shadow_resolution.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/blockhash_shadow_resolution.sol @@ -3,7 +3,7 @@ contract C { function f() public returns(bytes32) { return blockhash(3); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0 diff --git a/test/libsolidity/semanticTests/builtinFunctions/function_types_sig.sol b/test/libsolidity/semanticTests/builtinFunctions/function_types_sig.sol index 77184bef6..cd67e657f 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/function_types_sig.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/function_types_sig.sol @@ -20,8 +20,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x26121ff000000000000000000000000000000000000000000000000000000000 // g() -> 0x26121ff000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/builtinFunctions/keccak256_empty.sol b/test/libsolidity/semanticTests/builtinFunctions/keccak256_empty.sol index 3f5be7eed..5a44d14da 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/keccak256_empty.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/keccak256_empty.sol @@ -5,7 +5,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 diff --git a/test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol b/test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol index 7985364d2..7457a2c8c 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol @@ -4,7 +4,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo(uint256): 0x0 -> 0x2fbebd3800000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/builtinFunctions/msg_sig_after_internal_call_is_same.sol b/test/libsolidity/semanticTests/builtinFunctions/msg_sig_after_internal_call_is_same.sol index 07b02e9a3..7369ddeda 100644 --- a/test/libsolidity/semanticTests/builtinFunctions/msg_sig_after_internal_call_is_same.sol +++ b/test/libsolidity/semanticTests/builtinFunctions/msg_sig_after_internal_call_is_same.sol @@ -8,7 +8,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo(uint256): 0x0 -> 0x2fbebd3800000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/c99_scoping_activation.sol b/test/libsolidity/semanticTests/c99_scoping_activation.sol index 7c2a5063b..bca43e78c 100644 --- a/test/libsolidity/semanticTests/c99_scoping_activation.sol +++ b/test/libsolidity/semanticTests/c99_scoping_activation.sol @@ -35,8 +35,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3 // g() -> 0 diff --git a/test/libsolidity/semanticTests/calldata/calldata_bytes_external.sol b/test/libsolidity/semanticTests/calldata/calldata_bytes_external.sol index f17ae4f10..c4686cc01 100644 --- a/test/libsolidity/semanticTests/calldata/calldata_bytes_external.sol +++ b/test/libsolidity/semanticTests/calldata/calldata_bytes_external.sol @@ -7,7 +7,7 @@ contract CalldataTest { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // tester(bytes): 0x20, 0x08, "abcdefgh" -> "c" diff --git a/test/libsolidity/semanticTests/calldata/calldata_struct_cleaning.sol b/test/libsolidity/semanticTests/calldata/calldata_struct_cleaning.sol index dad6864d1..771f2591a 100644 --- a/test/libsolidity/semanticTests/calldata/calldata_struct_cleaning.sol +++ b/test/libsolidity/semanticTests/calldata/calldata_struct_cleaning.sol @@ -17,8 +17,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint8,bytes1)): 0x12, hex"3400000000000000000000000000000000000000000000000000000000000000" -> 0x12, hex"3400000000000000000000000000000000000000000000000000000000000000" # double check that the valid case goes through # // f((uint8,bytes1)): 0x1234, hex"5678000000000000000000000000000000000000000000000000000000000000" -> FAILURE diff --git a/test/libsolidity/semanticTests/cleanup/bool_conversion_v2.sol b/test/libsolidity/semanticTests/cleanup/bool_conversion_v2.sol index 0844f42de..4960b6e95 100644 --- a/test/libsolidity/semanticTests/cleanup/bool_conversion_v2.sol +++ b/test/libsolidity/semanticTests/cleanup/bool_conversion_v2.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): 0x0 -> 0x0 // f(bool): 0x1 -> 0x1 diff --git a/test/libsolidity/semanticTests/cleanup/cleanup_address_types_shortening.sol b/test/libsolidity/semanticTests/cleanup/cleanup_address_types_shortening.sol index 6cad1debf..391fa4993 100644 --- a/test/libsolidity/semanticTests/cleanup/cleanup_address_types_shortening.sol +++ b/test/libsolidity/semanticTests/cleanup/cleanup_address_types_shortening.sol @@ -27,8 +27,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x1122334455667788990011223344556677889900 // g() -> 0x1122334455667788990011223344556677889900 diff --git a/test/libsolidity/semanticTests/cleanup/cleanup_address_types_v2.sol b/test/libsolidity/semanticTests/cleanup/cleanup_address_types_v2.sol index ebff7898c..d9f6fdafd 100644 --- a/test/libsolidity/semanticTests/cleanup/cleanup_address_types_v2.sol +++ b/test/libsolidity/semanticTests/cleanup/cleanup_address_types_v2.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(address): 0xffff1234567890123456789012345678901234567890 -> FAILURE # We input longer data on purpose.# // g(address): 0xffff1234567890123456789012345678901234567890 -> FAILURE diff --git a/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_shortening.sol b/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_shortening.sol index 8fcc0a4dc..edae83729 100644 --- a/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_shortening.sol +++ b/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_shortening.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> "\xff\xff\xff\xff" diff --git a/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_v2.sol b/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_v2.sol index d6036ba8a..a075a3763 100644 --- a/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_v2.sol +++ b/test/libsolidity/semanticTests/cleanup/cleanup_bytes_types_v2.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bytes2,uint16): "abc", 0x40102 -> FAILURE # We input longer data on purpose. # diff --git a/test/libsolidity/semanticTests/cleanup/cleanup_in_compound_assign.sol b/test/libsolidity/semanticTests/cleanup/cleanup_in_compound_assign.sol index 161b9ff14..b1cd6637a 100644 --- a/test/libsolidity/semanticTests/cleanup/cleanup_in_compound_assign.sol +++ b/test/libsolidity/semanticTests/cleanup/cleanup_in_compound_assign.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 0xff, 0xff diff --git a/test/libsolidity/semanticTests/constantEvaluator/negative_fractional_mod.sol b/test/libsolidity/semanticTests/constantEvaluator/negative_fractional_mod.sol index fdb9905fb..83388da1f 100644 --- a/test/libsolidity/semanticTests/constantEvaluator/negative_fractional_mod.sol +++ b/test/libsolidity/semanticTests/constantEvaluator/negative_fractional_mod.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 11, 10 diff --git a/test/libsolidity/semanticTests/constantEvaluator/rounding.sol b/test/libsolidity/semanticTests/constantEvaluator/rounding.sol index af4eee954..6a3f953bd 100644 --- a/test/libsolidity/semanticTests/constantEvaluator/rounding.sol +++ b/test/libsolidity/semanticTests/constantEvaluator/rounding.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2, 2, 2, 2 diff --git a/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol b/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol index 048d5de3a..0a4549858 100644 --- a/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol +++ b/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol @@ -9,7 +9,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x00 diff --git a/test/libsolidity/semanticTests/constants/constant_string.sol b/test/libsolidity/semanticTests/constants/constant_string.sol index dfea569b5..53b1cf970 100644 --- a/test/libsolidity/semanticTests/constants/constant_string.sol +++ b/test/libsolidity/semanticTests/constants/constant_string.sol @@ -17,8 +17,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 3, "\x03\x01\x02" // g() -> 0x20, 3, "\x03\x01\x02" diff --git a/test/libsolidity/semanticTests/constants/constant_string_at_file_level.sol b/test/libsolidity/semanticTests/constants/constant_string_at_file_level.sol index 558659ecb..7b2e0ae99 100644 --- a/test/libsolidity/semanticTests/constants/constant_string_at_file_level.sol +++ b/test/libsolidity/semanticTests/constants/constant_string_at_file_level.sol @@ -25,8 +25,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 3, "\x03\x01\x02" // g() -> 0x20, 3, "\x03\x01\x02" diff --git a/test/libsolidity/semanticTests/constants/constant_variables.sol b/test/libsolidity/semanticTests/constants/constant_variables.sol index 1bc620419..9ef73515a 100644 --- a/test/libsolidity/semanticTests/constants/constant_variables.sol +++ b/test/libsolidity/semanticTests/constants/constant_variables.sol @@ -6,7 +6,7 @@ contract Foo { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor() -> diff --git a/test/libsolidity/semanticTests/constants/constants_at_file_level_referencing.sol b/test/libsolidity/semanticTests/constants/constants_at_file_level_referencing.sol index a862d9d8e..1e6757321 100644 --- a/test/libsolidity/semanticTests/constants/constants_at_file_level_referencing.sol +++ b/test/libsolidity/semanticTests/constants/constants_at_file_level_referencing.sol @@ -33,8 +33,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 3, "\x03\x01\x02" // g() -> 0x20, 3, "\x03\x01\x02" diff --git a/test/libsolidity/semanticTests/constants/consteval_array_length.sol b/test/libsolidity/semanticTests/constants/consteval_array_length.sol index ff76cfdfe..bdf95a9b9 100644 --- a/test/libsolidity/semanticTests/constants/consteval_array_length.sol +++ b/test/libsolidity/semanticTests/constants/consteval_array_length.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // constructor() -> // f() -> 0x0a, 0x0a diff --git a/test/libsolidity/semanticTests/constants/same_constants_different_files.sol b/test/libsolidity/semanticTests/constants/same_constants_different_files.sol index 18d00e331..9af6723d3 100644 --- a/test/libsolidity/semanticTests/constants/same_constants_different_files.sol +++ b/test/libsolidity/semanticTests/constants/same_constants_different_files.sol @@ -21,7 +21,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x0d, 0x59, 0x59, 0x59 diff --git a/test/libsolidity/semanticTests/constants/simple_constant_variables_test.sol b/test/libsolidity/semanticTests/constants/simple_constant_variables_test.sol index 7908da6e3..1df6224ac 100644 --- a/test/libsolidity/semanticTests/constants/simple_constant_variables_test.sol +++ b/test/libsolidity/semanticTests/constants/simple_constant_variables_test.sol @@ -7,7 +7,7 @@ contract Foo { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getX() -> 56 diff --git a/test/libsolidity/semanticTests/constructor/functions_called_by_constructor.sol b/test/libsolidity/semanticTests/constructor/functions_called_by_constructor.sol index d511f6f1d..716bef332 100644 --- a/test/libsolidity/semanticTests/constructor/functions_called_by_constructor.sol +++ b/test/libsolidity/semanticTests/constructor/functions_called_by_constructor.sol @@ -16,7 +16,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getName() -> "abc" diff --git a/test/libsolidity/semanticTests/constructor/functions_called_by_constructor_through_dispatch.sol b/test/libsolidity/semanticTests/constructor/functions_called_by_constructor_through_dispatch.sol index 93f088f2c..41602c09e 100644 --- a/test/libsolidity/semanticTests/constructor/functions_called_by_constructor_through_dispatch.sol +++ b/test/libsolidity/semanticTests/constructor/functions_called_by_constructor_through_dispatch.sol @@ -26,7 +26,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getName() -> "def\x00\x00\x00" diff --git a/test/libsolidity/semanticTests/constructor/inline_member_init_inheritence_without_constructor.sol b/test/libsolidity/semanticTests/constructor/inline_member_init_inheritence_without_constructor.sol index 46115e9c3..e4d392115 100644 --- a/test/libsolidity/semanticTests/constructor/inline_member_init_inheritence_without_constructor.sol +++ b/test/libsolidity/semanticTests/constructor/inline_member_init_inheritence_without_constructor.sol @@ -15,8 +15,8 @@ contract Derived is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getBMember() -> 5 // getDMember() -> 6 diff --git a/test/libsolidity/semanticTests/constructor/payable_constructor.sol b/test/libsolidity/semanticTests/constructor/payable_constructor.sol index e32302b70..260b302a7 100644 --- a/test/libsolidity/semanticTests/constructor/payable_constructor.sol +++ b/test/libsolidity/semanticTests/constructor/payable_constructor.sol @@ -3,7 +3,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor(), 27 wei -> diff --git a/test/libsolidity/semanticTests/constructor/store_function_in_constructor.sol b/test/libsolidity/semanticTests/constructor/store_function_in_constructor.sol index 499a53282..ebe94bde9 100644 --- a/test/libsolidity/semanticTests/constructor/store_function_in_constructor.sol +++ b/test/libsolidity/semanticTests/constructor/store_function_in_constructor.sol @@ -17,8 +17,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // use(uint256): 3 -> 6 // result_in_constructor() -> 4 diff --git a/test/libsolidity/semanticTests/constructor/store_function_in_constructor_packed.sol b/test/libsolidity/semanticTests/constructor/store_function_in_constructor_packed.sol index 7b4fdd540..223a6ba07 100644 --- a/test/libsolidity/semanticTests/constructor/store_function_in_constructor_packed.sol +++ b/test/libsolidity/semanticTests/constructor/store_function_in_constructor_packed.sol @@ -18,8 +18,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // use(uint16): 3 -> 0xfff9 // result_in_constructor() -> 0xfffb diff --git a/test/libsolidity/semanticTests/constructor/store_internal_unused_function_in_constructor.sol b/test/libsolidity/semanticTests/constructor/store_internal_unused_function_in_constructor.sol index 7d7381d77..2004d045d 100644 --- a/test/libsolidity/semanticTests/constructor/store_internal_unused_function_in_constructor.sol +++ b/test/libsolidity/semanticTests/constructor/store_internal_unused_function_in_constructor.sol @@ -15,7 +15,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // t() -> 7 diff --git a/test/libsolidity/semanticTests/constructor_ihneritance_init_order_2.sol b/test/libsolidity/semanticTests/constructor_ihneritance_init_order_2.sol index de3529f77..44a7fb2f3 100644 --- a/test/libsolidity/semanticTests/constructor_ihneritance_init_order_2.sol +++ b/test/libsolidity/semanticTests/constructor_ihneritance_init_order_2.sol @@ -8,8 +8,8 @@ contract B is A { uint public y = f(); } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor() -> // y() -> 42 diff --git a/test/libsolidity/semanticTests/constructor_inheritance_init_order.sol b/test/libsolidity/semanticTests/constructor_inheritance_init_order.sol index 84e6a622c..757a5481f 100644 --- a/test/libsolidity/semanticTests/constructor_inheritance_init_order.sol +++ b/test/libsolidity/semanticTests/constructor_inheritance_init_order.sol @@ -11,8 +11,8 @@ contract B is A { uint public y = f(); } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // constructor() -> // y() -> 42 diff --git a/test/libsolidity/semanticTests/dirty_calldata_bytes.sol b/test/libsolidity/semanticTests/dirty_calldata_bytes.sol index 09c3df576..cd801c2d4 100644 --- a/test/libsolidity/semanticTests/dirty_calldata_bytes.sol +++ b/test/libsolidity/semanticTests/dirty_calldata_bytes.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bytes): 0x20, 0x04, "dead" -> true diff --git a/test/libsolidity/semanticTests/empty_contract.sol b/test/libsolidity/semanticTests/empty_contract.sol index baf722c2d..3691eae35 100644 --- a/test/libsolidity/semanticTests/empty_contract.sol +++ b/test/libsolidity/semanticTests/empty_contract.sol @@ -1,8 +1,8 @@ contract test { } // ==== -// compileViaYul: also -// compileToEwasm: also // allowNonExistingFunctions: true +// compileToEwasm: also +// compileViaYul: also // ---- // i_am_not_there() -> FAILURE diff --git a/test/libsolidity/semanticTests/empty_for_loop.sol b/test/libsolidity/semanticTests/empty_for_loop.sol index 4aafcaf9d..4df1ae82e 100644 --- a/test/libsolidity/semanticTests/empty_for_loop.sol +++ b/test/libsolidity/semanticTests/empty_for_loop.sol @@ -8,7 +8,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 10 diff --git a/test/libsolidity/semanticTests/enums/constructing_enums_from_ints.sol b/test/libsolidity/semanticTests/enums/constructing_enums_from_ints.sol index 9ee71eacb..a1608e33a 100644 --- a/test/libsolidity/semanticTests/enums/constructing_enums_from_ints.sol +++ b/test/libsolidity/semanticTests/enums/constructing_enums_from_ints.sol @@ -7,7 +7,7 @@ contract c { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 1 diff --git a/test/libsolidity/semanticTests/enums/enum_explicit_overflow.sol b/test/libsolidity/semanticTests/enums/enum_explicit_overflow.sol index 9df30f84a..415b73f2a 100644 --- a/test/libsolidity/semanticTests/enums/enum_explicit_overflow.sol +++ b/test/libsolidity/semanticTests/enums/enum_explicit_overflow.sol @@ -22,8 +22,8 @@ contract test { } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // getChoiceExp(uint256): 2 -> 2 // getChoiceExp(uint256): 3 -> FAILURE, hex"4e487b71", 33 # These should throw # diff --git a/test/libsolidity/semanticTests/enums/using_contract_enums_with_explicit_contract_name.sol b/test/libsolidity/semanticTests/enums/using_contract_enums_with_explicit_contract_name.sol index ad0c1a007..7e1c5b8c3 100644 --- a/test/libsolidity/semanticTests/enums/using_contract_enums_with_explicit_contract_name.sol +++ b/test/libsolidity/semanticTests/enums/using_contract_enums_with_explicit_contract_name.sol @@ -7,7 +7,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // answer() -> 1 diff --git a/test/libsolidity/semanticTests/enums/using_enums.sol b/test/libsolidity/semanticTests/enums/using_enums.sol index 0dd7563d2..5f5e3056e 100644 --- a/test/libsolidity/semanticTests/enums/using_enums.sol +++ b/test/libsolidity/semanticTests/enums/using_enums.sol @@ -13,7 +13,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getChoice() -> 2 diff --git a/test/libsolidity/semanticTests/enums/using_inherited_enum.sol b/test/libsolidity/semanticTests/enums/using_inherited_enum.sol index a19da62e6..615f90f01 100644 --- a/test/libsolidity/semanticTests/enums/using_inherited_enum.sol +++ b/test/libsolidity/semanticTests/enums/using_inherited_enum.sol @@ -9,7 +9,7 @@ contract test is base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // answer() -> 1 diff --git a/test/libsolidity/semanticTests/enums/using_inherited_enum_excplicitly.sol b/test/libsolidity/semanticTests/enums/using_inherited_enum_excplicitly.sol index 053a5298d..ce2415a1b 100644 --- a/test/libsolidity/semanticTests/enums/using_inherited_enum_excplicitly.sol +++ b/test/libsolidity/semanticTests/enums/using_inherited_enum_excplicitly.sol @@ -9,7 +9,7 @@ contract test is base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // answer() -> 1 diff --git a/test/libsolidity/semanticTests/exponentiation/signed_base.sol b/test/libsolidity/semanticTests/exponentiation/signed_base.sol index 4c189d6b8..f71208067 100644 --- a/test/libsolidity/semanticTests/exponentiation/signed_base.sol +++ b/test/libsolidity/semanticTests/exponentiation/signed_base.sol @@ -11,7 +11,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 9, -27 diff --git a/test/libsolidity/semanticTests/expressions/bit_operators.sol b/test/libsolidity/semanticTests/expressions/bit_operators.sol index 22653f4b3..2cac78c7e 100644 --- a/test/libsolidity/semanticTests/expressions/bit_operators.sol +++ b/test/libsolidity/semanticTests/expressions/bit_operators.sol @@ -14,7 +14,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3855, 268374015, 268370160 diff --git a/test/libsolidity/semanticTests/expressions/bytes_comparison.sol b/test/libsolidity/semanticTests/expressions/bytes_comparison.sol index 552e75b76..ee43abe1b 100644 --- a/test/libsolidity/semanticTests/expressions/bytes_comparison.sol +++ b/test/libsolidity/semanticTests/expressions/bytes_comparison.sol @@ -7,7 +7,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_different_types.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_different_types.sol index 3f8e9bb6c..1dbb5ad83 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_different_types.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_different_types.sol @@ -6,8 +6,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 0xcd // f(bool): false -> 0xabab diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_false_literal.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_false_literal.sol index 740ae28b8..7f201b8cd 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_false_literal.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_false_literal.sol @@ -4,7 +4,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 10 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_functions.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_functions.sol index 5dae57c74..221dcf805 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_functions.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_functions.sol @@ -8,8 +8,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 1 // f(bool): false -> 2 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_multiple.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_multiple.sol index b66d012a3..536c1ea65 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_multiple.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_multiple.sol @@ -7,8 +7,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 1001 -> 1000 // f(uint256): 500 -> 100 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_storage_memory_1.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_storage_memory_1.sol index 8f4014528..be90b8db8 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_storage_memory_1.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_storage_memory_1.sol @@ -23,8 +23,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 1 // f(bool): false -> 2 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_true_literal.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_true_literal.sol index 8e5c69d89..21c4fcca6 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_true_literal.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_true_literal.sol @@ -4,7 +4,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 5 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_tuples.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_tuples.sol index 881292dd4..8f00a8afe 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_tuples.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_tuples.sol @@ -4,8 +4,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 1, 2 // f(bool): false -> 3, 4 diff --git a/test/libsolidity/semanticTests/expressions/conditional_expression_with_return_values.sol b/test/libsolidity/semanticTests/expressions/conditional_expression_with_return_values.sol index f8d407631..89308d30b 100644 --- a/test/libsolidity/semanticTests/expressions/conditional_expression_with_return_values.sol +++ b/test/libsolidity/semanticTests/expressions/conditional_expression_with_return_values.sol @@ -4,8 +4,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool,uint256): true, 20 -> 20, 0 // f(bool,uint256): false, 20 -> 0, 20 diff --git a/test/libsolidity/semanticTests/expressions/exp_operator_const.sol b/test/libsolidity/semanticTests/expressions/exp_operator_const.sol index 29b025acc..90ffdf7f1 100644 --- a/test/libsolidity/semanticTests/expressions/exp_operator_const.sol +++ b/test/libsolidity/semanticTests/expressions/exp_operator_const.sol @@ -2,7 +2,7 @@ contract test { function f() public returns(uint d) { return 2 ** 3; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 8 diff --git a/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol b/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol index 334a8be29..93333eadc 100644 --- a/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol +++ b/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol @@ -2,7 +2,7 @@ contract test { function f() public returns(int d) { return (-2) ** 3; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> -8 diff --git a/test/libsolidity/semanticTests/expressions/exp_zero_literal.sol b/test/libsolidity/semanticTests/expressions/exp_zero_literal.sol index a5f9fcff5..034ee7be1 100644 --- a/test/libsolidity/semanticTests/expressions/exp_zero_literal.sol +++ b/test/libsolidity/semanticTests/expressions/exp_zero_literal.sol @@ -2,7 +2,7 @@ contract test { function f() public returns(uint d) { return 0 ** 0; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/expressions/inc_dec_operators.sol b/test/libsolidity/semanticTests/expressions/inc_dec_operators.sol index 7f46fd0ea..c30a9a7f5 100644 --- a/test/libsolidity/semanticTests/expressions/inc_dec_operators.sol +++ b/test/libsolidity/semanticTests/expressions/inc_dec_operators.sol @@ -12,7 +12,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x053866 diff --git a/test/libsolidity/semanticTests/expressions/uncalled_address_transfer_send.sol b/test/libsolidity/semanticTests/expressions/uncalled_address_transfer_send.sol index b7fe44beb..a2f628721 100644 --- a/test/libsolidity/semanticTests/expressions/uncalled_address_transfer_send.sol +++ b/test/libsolidity/semanticTests/expressions/uncalled_address_transfer_send.sol @@ -7,7 +7,7 @@ contract TransferTest { function f() pure public {} } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> diff --git a/test/libsolidity/semanticTests/fallback/falback_return.sol b/test/libsolidity/semanticTests/fallback/falback_return.sol index 43a1a88fa..475a9f19b 100644 --- a/test/libsolidity/semanticTests/fallback/falback_return.sol +++ b/test/libsolidity/semanticTests/fallback/falback_return.sol @@ -6,8 +6,8 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // () // x() -> 1 diff --git a/test/libsolidity/semanticTests/fallback/fallback_argument.sol b/test/libsolidity/semanticTests/fallback/fallback_argument.sol index 1e3433d93..f20c14493 100644 --- a/test/libsolidity/semanticTests/fallback/fallback_argument.sol +++ b/test/libsolidity/semanticTests/fallback/fallback_argument.sol @@ -10,8 +10,8 @@ contract A { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f() -> 0x01, 0x40, 0x00 // x() -> 3 diff --git a/test/libsolidity/semanticTests/fallback/fallback_argument_to_storage.sol b/test/libsolidity/semanticTests/fallback/fallback_argument_to_storage.sol index 43ceaaa74..5e0c3fbdf 100644 --- a/test/libsolidity/semanticTests/fallback/fallback_argument_to_storage.sol +++ b/test/libsolidity/semanticTests/fallback/fallback_argument_to_storage.sol @@ -10,8 +10,8 @@ contract A { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f() -> 0x01, 0x40, 0x00 // x() -> 0x20, 3, "abc" diff --git a/test/libsolidity/semanticTests/fallback/fallback_or_receive.sol b/test/libsolidity/semanticTests/fallback/fallback_or_receive.sol index da8a7bc46..231f999bc 100644 --- a/test/libsolidity/semanticTests/fallback/fallback_or_receive.sol +++ b/test/libsolidity/semanticTests/fallback/fallback_or_receive.sol @@ -6,8 +6,8 @@ contract C { function f() external returns (uint, uint) { return (x, y); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0, 0 // () -> diff --git a/test/libsolidity/semanticTests/fallback/fallback_return_data.sol b/test/libsolidity/semanticTests/fallback/fallback_return_data.sol index 130212613..5cef4466c 100644 --- a/test/libsolidity/semanticTests/fallback/fallback_return_data.sol +++ b/test/libsolidity/semanticTests/fallback/fallback_return_data.sol @@ -8,7 +8,7 @@ contract A { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f() -> 0x01, 0x40, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/fallback/short_data_calls_fallback.sol b/test/libsolidity/semanticTests/fallback/short_data_calls_fallback.sol index fea3c8748..ad2dec373 100644 --- a/test/libsolidity/semanticTests/fallback/short_data_calls_fallback.sol +++ b/test/libsolidity/semanticTests/fallback/short_data_calls_fallback.sol @@ -5,8 +5,8 @@ contract A { fallback () external { x = 2; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // (): hex"d88e0b" // x() -> 2 diff --git a/test/libsolidity/semanticTests/freeFunctions/easy.sol b/test/libsolidity/semanticTests/freeFunctions/easy.sol index d2fadf08a..8dae85e2d 100644 --- a/test/libsolidity/semanticTests/freeFunctions/easy.sol +++ b/test/libsolidity/semanticTests/freeFunctions/easy.sol @@ -8,7 +8,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 7 -> 9 diff --git a/test/libsolidity/semanticTests/freeFunctions/import.sol b/test/libsolidity/semanticTests/freeFunctions/import.sol index 47625f91d..d7d46d7b6 100644 --- a/test/libsolidity/semanticTests/freeFunctions/import.sol +++ b/test/libsolidity/semanticTests/freeFunctions/import.sol @@ -15,7 +15,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 7 -> 7, 8 diff --git a/test/libsolidity/semanticTests/freeFunctions/overloads.sol b/test/libsolidity/semanticTests/freeFunctions/overloads.sol index 70bb6031e..ae579e30f 100644 --- a/test/libsolidity/semanticTests/freeFunctions/overloads.sol +++ b/test/libsolidity/semanticTests/freeFunctions/overloads.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 2, 3 diff --git a/test/libsolidity/semanticTests/freeFunctions/recursion.sol b/test/libsolidity/semanticTests/freeFunctions/recursion.sol index 2ce2d46e4..ab68c2ffb 100644 --- a/test/libsolidity/semanticTests/freeFunctions/recursion.sol +++ b/test/libsolidity/semanticTests/freeFunctions/recursion.sol @@ -13,8 +13,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256,uint256): 0, 0 -> 1 // g(uint256,uint256): 0, 1 -> 0x00 diff --git a/test/libsolidity/semanticTests/functionCall/array_multiple_local_vars.sol b/test/libsolidity/semanticTests/functionCall/array_multiple_local_vars.sol index cd76d2c51..bf3ac302d 100644 --- a/test/libsolidity/semanticTests/functionCall/array_multiple_local_vars.sol +++ b/test/libsolidity/semanticTests/functionCall/array_multiple_local_vars.sol @@ -23,8 +23,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[]): 32, 3, 1000, 1, 2 -> 3 // f(uint256[]): 32, 3, 100, 500, 300 -> 600 diff --git a/test/libsolidity/semanticTests/functionCall/call_function_returning_function.sol b/test/libsolidity/semanticTests/functionCall/call_function_returning_function.sol index d8046c43d..6040b7a99 100644 --- a/test/libsolidity/semanticTests/functionCall/call_function_returning_function.sol +++ b/test/libsolidity/semanticTests/functionCall/call_function_returning_function.sol @@ -23,7 +23,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 diff --git a/test/libsolidity/semanticTests/functionCall/call_function_returning_nothing_via_pointer.sol b/test/libsolidity/semanticTests/functionCall/call_function_returning_nothing_via_pointer.sol index 987609855..f05f0eb1c 100644 --- a/test/libsolidity/semanticTests/functionCall/call_function_returning_nothing_via_pointer.sol +++ b/test/libsolidity/semanticTests/functionCall/call_function_returning_nothing_via_pointer.sol @@ -13,8 +13,8 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // flag() -> true diff --git a/test/libsolidity/semanticTests/functionCall/call_internal_function_via_expression.sol b/test/libsolidity/semanticTests/functionCall/call_internal_function_via_expression.sol index 53b1e452c..26c959675 100644 --- a/test/libsolidity/semanticTests/functionCall/call_internal_function_via_expression.sol +++ b/test/libsolidity/semanticTests/functionCall/call_internal_function_via_expression.sol @@ -18,8 +18,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // associated() -> 42 // unassociated() -> 42 diff --git a/test/libsolidity/semanticTests/functionCall/calling_nonexisting_contract_throws.sol b/test/libsolidity/semanticTests/functionCall/calling_nonexisting_contract_throws.sol index 3db423933..7d4a947da 100644 --- a/test/libsolidity/semanticTests/functionCall/calling_nonexisting_contract_throws.sol +++ b/test/libsolidity/semanticTests/functionCall/calling_nonexisting_contract_throws.sol @@ -23,8 +23,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE // g() -> FAILURE diff --git a/test/libsolidity/semanticTests/functionCall/calling_other_functions.sol b/test/libsolidity/semanticTests/functionCall/calling_other_functions.sol index cf2195654..157d13aea 100644 --- a/test/libsolidity/semanticTests/functionCall/calling_other_functions.sol +++ b/test/libsolidity/semanticTests/functionCall/calling_other_functions.sol @@ -13,8 +13,8 @@ contract collatz { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run(uint256): 0 -> 0 // run(uint256): 1 -> 1 diff --git a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function.sol b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function.sol index ce36b2cd0..d2bf644dd 100644 --- a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function.sol +++ b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // intern() -> FAILURE, hex"4e487b71", 0x51 # This should throw exceptions # // extern() -> FAILURE diff --git a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_in_detail.sol b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_in_detail.sol index 8fb2bfc8c..0a2a10290 100644 --- a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_in_detail.sol +++ b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_in_detail.sol @@ -17,7 +17,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // t() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_through_array.sol b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_through_array.sol index 26e2a6e4a..fc915792c 100644 --- a/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_through_array.sol +++ b/test/libsolidity/semanticTests/functionCall/calling_uninitialized_function_through_array.sol @@ -16,7 +16,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // t() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/functionCall/conditional_with_arguments.sol b/test/libsolidity/semanticTests/functionCall/conditional_with_arguments.sol index db30454f0..f476d9dbc 100644 --- a/test/libsolidity/semanticTests/functionCall/conditional_with_arguments.sol +++ b/test/libsolidity/semanticTests/functionCall/conditional_with_arguments.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/functionCall/disordered_named_args.sol b/test/libsolidity/semanticTests/functionCall/disordered_named_args.sol index ced50b905..dc34aa8a2 100644 --- a/test/libsolidity/semanticTests/functionCall/disordered_named_args.sol +++ b/test/libsolidity/semanticTests/functionCall/disordered_named_args.sol @@ -3,7 +3,7 @@ contract test { function b() public returns (uint r) { r = a({c: 3, a: 1, b: 2}); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // b() -> 123 diff --git a/test/libsolidity/semanticTests/functionCall/external_call_dynamic_returndata.sol b/test/libsolidity/semanticTests/functionCall/external_call_dynamic_returndata.sol index 47ccc8dfa..c87f73f06 100644 --- a/test/libsolidity/semanticTests/functionCall/external_call_dynamic_returndata.sol +++ b/test/libsolidity/semanticTests/functionCall/external_call_dynamic_returndata.sol @@ -18,7 +18,7 @@ contract C { } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // dt(uint256): 4 -> 6 diff --git a/test/libsolidity/semanticTests/functionCall/external_function.sol b/test/libsolidity/semanticTests/functionCall/external_function.sol index 8aea66b0f..7f79350d8 100644 --- a/test/libsolidity/semanticTests/functionCall/external_function.sol +++ b/test/libsolidity/semanticTests/functionCall/external_function.sol @@ -13,7 +13,7 @@ contract c { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test(uint256,uint256): 2, 3 -> 9, 3 diff --git a/test/libsolidity/semanticTests/functionCall/external_public_override.sol b/test/libsolidity/semanticTests/functionCall/external_public_override.sol index e99d7e381..4f5c6aaa2 100644 --- a/test/libsolidity/semanticTests/functionCall/external_public_override.sol +++ b/test/libsolidity/semanticTests/functionCall/external_public_override.sol @@ -16,8 +16,8 @@ contract B is A { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 // g() -> 2 diff --git a/test/libsolidity/semanticTests/functionCall/file_level_call_via_module.sol b/test/libsolidity/semanticTests/functionCall/file_level_call_via_module.sol index 09891abe2..d50e2d95d 100644 --- a/test/libsolidity/semanticTests/functionCall/file_level_call_via_module.sol +++ b/test/libsolidity/semanticTests/functionCall/file_level_call_via_module.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7, 3 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/base_base_overload.sol b/test/libsolidity/semanticTests/functionCall/inheritance/base_base_overload.sol index 094b2f413..cc6f0bb91 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/base_base_overload.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/base_base_overload.sol @@ -35,8 +35,8 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 0 // y() -> 0 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/base_overload.sol b/test/libsolidity/semanticTests/functionCall/inheritance/base_overload.sol index 4413128cc..991031890 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/base_overload.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/base_overload.sol @@ -19,8 +19,8 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 0 // y() -> 0 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol index b459cf338..366c45a28 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol @@ -10,7 +10,7 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256): 4 -> 8 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol index aab57ccbc..673f3145f 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol @@ -23,8 +23,8 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256): 4 -> 12 // h(uint256): 4 -> 16 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol index 52cf22139..a443585af 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol @@ -26,8 +26,8 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256): 4 -> 8 // k(uint256): 4 -> 16 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol index 766be624d..ff29b9a91 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol @@ -10,7 +10,7 @@ contract Child is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(uint256): 4 -> 8 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_unimplemented_base.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_unimplemented_base.sol index f5fd46d94..4edfa5cd9 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_unimplemented_base.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_unimplemented_base.sol @@ -11,7 +11,7 @@ contract C is V function a() internal view override returns (uint256) { return 42;} } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // b() -> 42 diff --git a/test/libsolidity/semanticTests/functionCall/member_accessors.sol b/test/libsolidity/semanticTests/functionCall/member_accessors.sol index f155d2c60..9bdade4a2 100644 --- a/test/libsolidity/semanticTests/functionCall/member_accessors.sol +++ b/test/libsolidity/semanticTests/functionCall/member_accessors.sol @@ -13,9 +13,9 @@ contract test { uint256 super_secret_data; } // ==== -// compileViaYul: also -// compileToEwasm: also // allowNonExistingFunctions: true +// compileToEwasm: also +// compileViaYul: also // ---- // data() -> 8 // name() -> "Celina" diff --git a/test/libsolidity/semanticTests/functionCall/multiple_functions.sol b/test/libsolidity/semanticTests/functionCall/multiple_functions.sol index 863db5b0b..834d20c3d 100644 --- a/test/libsolidity/semanticTests/functionCall/multiple_functions.sol +++ b/test/libsolidity/semanticTests/functionCall/multiple_functions.sol @@ -5,9 +5,9 @@ contract test { function f() public returns(uint n) { return 3; } } // ==== -// compileViaYul: also -// compileToEwasm: also // allowNonExistingFunctions: true +// compileToEwasm: also +// compileViaYul: also // ---- // a() -> 0 // b() -> 1 diff --git a/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol b/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol index cbcb4b605..f46021bf2 100644 --- a/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol +++ b/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol @@ -4,7 +4,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run(bool,uint256): true, 0xcd -> 0xcd, true, 0 diff --git a/test/libsolidity/semanticTests/functionCall/named_args.sol b/test/libsolidity/semanticTests/functionCall/named_args.sol index 591159be7..171e0f2c7 100644 --- a/test/libsolidity/semanticTests/functionCall/named_args.sol +++ b/test/libsolidity/semanticTests/functionCall/named_args.sol @@ -4,8 +4,8 @@ contract test { function c() public returns (uint r) { r = a({b: 2, c: 3, a: 1}); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // b() -> 123 // c() -> 123 diff --git a/test/libsolidity/semanticTests/functionCall/named_args_overload.sol b/test/libsolidity/semanticTests/functionCall/named_args_overload.sol index d5505c87b..1de25455e 100644 --- a/test/libsolidity/semanticTests/functionCall/named_args_overload.sol +++ b/test/libsolidity/semanticTests/functionCall/named_args_overload.sol @@ -27,8 +27,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // call(uint256): 0 -> 0 // call(uint256): 1 -> 1 diff --git a/test/libsolidity/semanticTests/functionCall/send_zero_ether.sol b/test/libsolidity/semanticTests/functionCall/send_zero_ether.sol index 059d0878c..5f821ff3d 100644 --- a/test/libsolidity/semanticTests/functionCall/send_zero_ether.sol +++ b/test/libsolidity/semanticTests/functionCall/send_zero_ether.sol @@ -15,8 +15,8 @@ contract Main { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor(), 20 wei -> // s() -> true diff --git a/test/libsolidity/semanticTests/functionCall/transaction_status.sol b/test/libsolidity/semanticTests/functionCall/transaction_status.sol index aa079ba4a..6251c833f 100644 --- a/test/libsolidity/semanticTests/functionCall/transaction_status.sol +++ b/test/libsolidity/semanticTests/functionCall/transaction_status.sol @@ -4,8 +4,8 @@ contract test { function h() public { assert(false); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> // g() -> FAILURE diff --git a/test/libsolidity/semanticTests/functionSelector/function_selector_via_contract_name.sol b/test/libsolidity/semanticTests/functionSelector/function_selector_via_contract_name.sol index ee484b244..7fae98694 100644 --- a/test/libsolidity/semanticTests/functionSelector/function_selector_via_contract_name.sol +++ b/test/libsolidity/semanticTests/functionSelector/function_selector_via_contract_name.sol @@ -16,8 +16,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test1() -> left(0x26121ff0), left(0xe420264a), left(0x26121ff0), left(0xe420264a) // test2() -> left(0x26121ff0), left(0xe420264a), left(0x26121ff0), left(0xe420264a) diff --git a/test/libsolidity/semanticTests/functionTypes/function_delete_stack.sol b/test/libsolidity/semanticTests/functionTypes/function_delete_stack.sol index 018aa91a9..218afb00b 100644 --- a/test/libsolidity/semanticTests/functionTypes/function_delete_stack.sol +++ b/test/libsolidity/semanticTests/functionTypes/function_delete_stack.sol @@ -11,7 +11,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/functionTypes/function_delete_storage.sol b/test/libsolidity/semanticTests/functionTypes/function_delete_storage.sol index 501f33cf2..2bb710399 100644 --- a/test/libsolidity/semanticTests/functionTypes/function_delete_storage.sol +++ b/test/libsolidity/semanticTests/functionTypes/function_delete_storage.sol @@ -21,8 +21,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // set() -> 7 // ca() -> 7 diff --git a/test/libsolidity/semanticTests/functionTypes/pass_function_types_internally.sol b/test/libsolidity/semanticTests/functionTypes/pass_function_types_internally.sol index b04025cf9..b189a9909 100644 --- a/test/libsolidity/semanticTests/functionTypes/pass_function_types_internally.sol +++ b/test/libsolidity/semanticTests/functionTypes/pass_function_types_internally.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 7 -> 8 diff --git a/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime.sol b/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime.sol index 80bd929a0..3a1dea9a1 100644 --- a/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime.sol +++ b/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // runtime(uint256): 3 -> 6 // initial() -> 4 diff --git a/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime_equality_check.sol b/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime_equality_check.sol index de02c07c0..7b371da31 100644 --- a/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime_equality_check.sol +++ b/test/libsolidity/semanticTests/functionTypes/same_function_in_construction_and_runtime_equality_check.sol @@ -15,7 +15,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> true diff --git a/test/libsolidity/semanticTests/functionTypes/struct_with_functions.sol b/test/libsolidity/semanticTests/functionTypes/struct_with_functions.sol index 14a9ff190..98624a073 100644 --- a/test/libsolidity/semanticTests/functionTypes/struct_with_functions.sol +++ b/test/libsolidity/semanticTests/functionTypes/struct_with_functions.sol @@ -29,7 +29,7 @@ contract Flow { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1, 2 diff --git a/test/libsolidity/semanticTests/functionTypes/uninitialized_internal_storage_function_call.sol b/test/libsolidity/semanticTests/functionTypes/uninitialized_internal_storage_function_call.sol index 7d77355eb..43f54a52f 100644 --- a/test/libsolidity/semanticTests/functionTypes/uninitialized_internal_storage_function_call.sol +++ b/test/libsolidity/semanticTests/functionTypes/uninitialized_internal_storage_function_call.sol @@ -8,7 +8,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/immutable/getter_call_in_constructor.sol b/test/libsolidity/semanticTests/immutable/getter_call_in_constructor.sol index fd2300d43..ea59e8371 100644 --- a/test/libsolidity/semanticTests/immutable/getter_call_in_constructor.sol +++ b/test/libsolidity/semanticTests/immutable/getter_call_in_constructor.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=tangerineWhistle +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/inheritance/access_base_storage.sol b/test/libsolidity/semanticTests/inheritance/access_base_storage.sol index 71e41df79..014a19534 100644 --- a/test/libsolidity/semanticTests/inheritance/access_base_storage.sol +++ b/test/libsolidity/semanticTests/inheritance/access_base_storage.sol @@ -23,8 +23,8 @@ contract Derived is Base { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // setData(uint256,uint256): 1, 2 -> true // getViaBase() -> 1 diff --git a/test/libsolidity/semanticTests/inheritance/base_access_to_function_type_variables.sol b/test/libsolidity/semanticTests/inheritance/base_access_to_function_type_variables.sol index 615494e76..6bf594a97 100644 --- a/test/libsolidity/semanticTests/inheritance/base_access_to_function_type_variables.sol +++ b/test/libsolidity/semanticTests/inheritance/base_access_to_function_type_variables.sol @@ -15,8 +15,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 2 // h() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_direct.sol b/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_direct.sol index b749a6d5c..c10180582 100644 --- a/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_direct.sol +++ b/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_direct.sol @@ -16,7 +16,7 @@ contract C is B { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 2 diff --git a/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_indirect.sol b/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_indirect.sol index d424de842..6f0d1e449 100644 --- a/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_indirect.sol +++ b/test/libsolidity/semanticTests/inheritance/derived_overload_base_function_indirect.sol @@ -23,8 +23,8 @@ contract C is A, B { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 10 // h() -> 2 diff --git a/test/libsolidity/semanticTests/inheritance/explicit_base_class.sol b/test/libsolidity/semanticTests/inheritance/explicit_base_class.sol index 117cf94e8..a45fc2379 100644 --- a/test/libsolidity/semanticTests/inheritance/explicit_base_class.sol +++ b/test/libsolidity/semanticTests/inheritance/explicit_base_class.sol @@ -22,8 +22,8 @@ contract Derived is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 3 // f() -> 1 diff --git a/test/libsolidity/semanticTests/inheritance/inherited_constant_state_var.sol b/test/libsolidity/semanticTests/inheritance/inherited_constant_state_var.sol index 96dce72cf..0373ca41a 100644 --- a/test/libsolidity/semanticTests/inheritance/inherited_constant_state_var.sol +++ b/test/libsolidity/semanticTests/inheritance/inherited_constant_state_var.sol @@ -10,7 +10,7 @@ contract B is A { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/inheritance/inherited_function.sol b/test/libsolidity/semanticTests/inheritance/inherited_function.sol index 9908e3934..655820edc 100644 --- a/test/libsolidity/semanticTests/inheritance/inherited_function.sol +++ b/test/libsolidity/semanticTests/inheritance/inherited_function.sol @@ -15,7 +15,7 @@ contract B is A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 1 diff --git a/test/libsolidity/semanticTests/inheritance/inherited_function_through_dispatch.sol b/test/libsolidity/semanticTests/inheritance/inherited_function_through_dispatch.sol index 9204db4e5..36e4d33e5 100644 --- a/test/libsolidity/semanticTests/inheritance/inherited_function_through_dispatch.sol +++ b/test/libsolidity/semanticTests/inheritance/inherited_function_through_dispatch.sol @@ -16,7 +16,7 @@ contract B is A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 1 diff --git a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_first.sol b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_first.sol index 52bacb98a..ee0c1dc16 100644 --- a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_first.sol +++ b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_first.sol @@ -13,7 +13,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 3 diff --git a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_second.sol b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_second.sol index 15b706ca9..7dc307415 100644 --- a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_second.sol +++ b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_resolve_to_second.sol @@ -13,7 +13,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 10 diff --git a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_with_if_else.sol b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_with_if_else.sol index b282f5a51..5af1a28f0 100644 --- a/test/libsolidity/semanticTests/inheritance/overloaded_function_call_with_if_else.sol +++ b/test/libsolidity/semanticTests/inheritance/overloaded_function_call_with_if_else.sol @@ -14,8 +14,8 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g(bool): true -> 3 // g(bool): false -> 10 diff --git a/test/libsolidity/semanticTests/inheritance/super_in_constructor.sol b/test/libsolidity/semanticTests/inheritance/super_in_constructor.sol index a140a3841..6c2a4103d 100644 --- a/test/libsolidity/semanticTests/inheritance/super_in_constructor.sol +++ b/test/libsolidity/semanticTests/inheritance/super_in_constructor.sol @@ -31,7 +31,7 @@ contract D is B, C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 15 diff --git a/test/libsolidity/semanticTests/inheritance/super_in_constructor_assignment.sol b/test/libsolidity/semanticTests/inheritance/super_in_constructor_assignment.sol index 042bfc833..3bf4c590d 100644 --- a/test/libsolidity/semanticTests/inheritance/super_in_constructor_assignment.sol +++ b/test/libsolidity/semanticTests/inheritance/super_in_constructor_assignment.sol @@ -34,7 +34,7 @@ contract D is B, C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 15 diff --git a/test/libsolidity/semanticTests/inheritance/super_overload.sol b/test/libsolidity/semanticTests/inheritance/super_overload.sol index bbb6fab65..96ef08002 100644 --- a/test/libsolidity/semanticTests/inheritance/super_overload.sol +++ b/test/libsolidity/semanticTests/inheritance/super_overload.sol @@ -23,8 +23,8 @@ contract C is A, B { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 10 // h() -> 2 diff --git a/test/libsolidity/semanticTests/inlineAssembly/calldata_array_read.sol b/test/libsolidity/semanticTests/inlineAssembly/calldata_array_read.sol index 8c415b429..bdb3ba51a 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/calldata_array_read.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/calldata_array_read.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[2][]): 0x20, 2, 1, 2, 3, 4 -> 0x44, 2, 0x84 diff --git a/test/libsolidity/semanticTests/inlineAssembly/calldata_length_read.sol b/test/libsolidity/semanticTests/inlineAssembly/calldata_length_read.sol index 5cac714ed..559421f78 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/calldata_length_read.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/calldata_length_read.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // lenBytesRead(bytes): 0x20, 4, "abcd" -> 4 // lenBytesRead(bytes): 0x20, 0, "abcd" -> 0x00 diff --git a/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read.sol b/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read.sol index 10ce32ee0..d819ff68b 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read.sol @@ -11,8 +11,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bytes): 0x20, 0, 0 -> 0x44 // f(bytes): 0x22, 0, 0, 0 -> 0x46 diff --git a/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read_write.sol b/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read_write.sol index 1ceed9c5e..036c1af32 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read_write.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/calldata_offset_read_write.sol @@ -12,8 +12,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,bytes,uint256): 7, 0x60, 8, 2, 0 -> 8, 0x14 // f(uint256,bytes,uint256): 0, 0, 0 -> 8, 0x14 diff --git a/test/libsolidity/semanticTests/inlineAssembly/chainid.sol b/test/libsolidity/semanticTests/inlineAssembly/chainid.sol index 491e03a54..8e6a36835 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/chainid.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/chainid.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=istanbul +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/inlineAssembly/constant_access.sol b/test/libsolidity/semanticTests/inlineAssembly/constant_access.sol index 317e92284..93b9566c2 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/constant_access.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/constant_access.sol @@ -15,7 +15,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2, left(0xabcd), left(0x616263), true, 0x1212121212121212121212121212121212121212 diff --git a/test/libsolidity/semanticTests/inlineAssembly/constant_access_referencing.sol b/test/libsolidity/semanticTests/inlineAssembly/constant_access_referencing.sol index 5b1120211..ccf213f28 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/constant_access_referencing.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/constant_access_referencing.sol @@ -23,7 +23,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2, left(0xabcd), left(0x616263), true, 0x1212121212121212121212121212121212121212 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_embedded_function_call.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_embedded_function_call.sol index 93d63faf6..ca6b39f86 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_embedded_function_call.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_embedded_function_call.sol @@ -22,7 +22,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x1, 0x4, 0x7, 0x10 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for.sol index 3c5bb39d1..e869a9746 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for.sol @@ -17,8 +17,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 1 // f(uint256): 1 -> 1 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for2.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for2.sol index 54bad5007..15f9f6abb 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for2.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_for2.sol @@ -22,8 +22,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 0, 2, 0 // f(uint256): 1 -> 1, 4, 3 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call.sol index 44a89dae3..52870e085 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call.sol @@ -16,7 +16,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1, 2, 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call2.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call2.sol index 985ae011c..a934d4bae 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call2.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call2.sol @@ -19,7 +19,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x1, 0x2, 0x7, 0x10 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call_assignment.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call_assignment.sol index 315fec9ba..648b6872e 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call_assignment.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_function_call_assignment.sol @@ -18,7 +18,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1, 2, 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_if.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_if.sol index e7ed170af..785b42aa9 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_if.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_if.sol @@ -9,8 +9,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 0 // f(uint256): 1 -> 0 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_memory_access.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_memory_access.sol index b3225413d..1efae8b68 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_memory_access.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_memory_access.sol @@ -10,7 +10,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 0x20, 0x5, "12345" diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_read_and_write_stack.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_read_and_write_stack.sol index de77a8288..9f621e23f 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_read_and_write_stack.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_read_and_write_stack.sol @@ -8,7 +8,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 45 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_recursion.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_recursion.sol index 3ddfde121..aff4dc7aa 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_recursion.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_recursion.sol @@ -19,8 +19,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 1 // f(uint256): 1 -> 1 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access.sol index 9da111f4b..819ab391c 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access.sol @@ -17,8 +17,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // z() -> 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_inside_function.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_inside_function.sol index 80affa2ef..d94ac2637 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_inside_function.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_inside_function.sol @@ -18,8 +18,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // z() -> 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_local_var.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_local_var.sol index 9f6553091..fcc6fcc64 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_local_var.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_local_var.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_via_pointer.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_via_pointer.sol index 81c6f5bb6..f482b650c 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_via_pointer.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_storage_access_via_pointer.sol @@ -19,8 +19,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // a() -> 7 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_switch.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_switch.sol index 3b98c93f6..1cc2dfda4 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_switch.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_switch.sol @@ -16,8 +16,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0 -> 2 // f(uint256): 1 -> 8 diff --git a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_write_to_stack.sol b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_write_to_stack.sol index c0d91f24e..d7651f273 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_write_to_stack.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inline_assembly_write_to_stack.sol @@ -8,7 +8,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7, "abcdef" diff --git a/test/libsolidity/semanticTests/inlineAssembly/inlineasm_empty_let.sol b/test/libsolidity/semanticTests/inlineAssembly/inlineasm_empty_let.sol index abf9916c9..d23413bac 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/inlineasm_empty_let.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/inlineasm_empty_let.sol @@ -10,7 +10,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0, 0 diff --git a/test/libsolidity/semanticTests/inlineAssembly/leave.sol b/test/libsolidity/semanticTests/inlineAssembly/leave.sol index d884b9c67..7efabfcda 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/leave.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/leave.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 diff --git a/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol b/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol index d46770cf3..4741538b6 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol +++ b/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1, 0 diff --git a/test/libsolidity/semanticTests/integer/basic.sol b/test/libsolidity/semanticTests/integer/basic.sol index a6bca57ed..b7272365a 100644 --- a/test/libsolidity/semanticTests/integer/basic.sol +++ b/test/libsolidity/semanticTests/integer/basic.sol @@ -19,7 +19,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // basic() -> true diff --git a/test/libsolidity/semanticTests/integer/int.sol b/test/libsolidity/semanticTests/integer/int.sol index 9c34d9560..13db801ec 100644 --- a/test/libsolidity/semanticTests/integer/int.sol +++ b/test/libsolidity/semanticTests/integer/int.sol @@ -233,8 +233,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // intMinA() -> true // intMinB() -> true diff --git a/test/libsolidity/semanticTests/integer/many_local_variables.sol b/test/libsolidity/semanticTests/integer/many_local_variables.sol index cfa122e77..4f05c9d8f 100644 --- a/test/libsolidity/semanticTests/integer/many_local_variables.sol +++ b/test/libsolidity/semanticTests/integer/many_local_variables.sol @@ -6,7 +6,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run(uint256,uint256,uint256): 0x1000, 0x10000, 0x100000 -> 0x121121 diff --git a/test/libsolidity/semanticTests/integer/small_signed_types.sol b/test/libsolidity/semanticTests/integer/small_signed_types.sol index 41a15f733..b807de551 100644 --- a/test/libsolidity/semanticTests/integer/small_signed_types.sol +++ b/test/libsolidity/semanticTests/integer/small_signed_types.sol @@ -4,7 +4,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run() -> 200 diff --git a/test/libsolidity/semanticTests/integer/uint.sol b/test/libsolidity/semanticTests/integer/uint.sol index 4f76f838c..1855ae4b7 100644 --- a/test/libsolidity/semanticTests/integer/uint.sol +++ b/test/libsolidity/semanticTests/integer/uint.sol @@ -232,8 +232,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // uintMinA() -> true // uintMinB() -> true diff --git a/test/libsolidity/semanticTests/interfaceID/homer.sol b/test/libsolidity/semanticTests/interfaceID/homer.sol index 8e8bf956f..df95816fe 100644 --- a/test/libsolidity/semanticTests/interfaceID/homer.sol +++ b/test/libsolidity/semanticTests/interfaceID/homer.sol @@ -30,8 +30,8 @@ contract Homer is ERC165, Simpson { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // supportsInterface(bytes4): left(0x01ffc9a0) -> false // supportsInterface(bytes4): left(0x01ffc9a7) -> true diff --git a/test/libsolidity/semanticTests/interfaceID/homer_interfaceId.sol b/test/libsolidity/semanticTests/interfaceID/homer_interfaceId.sol index 6f612bb95..5849e6182 100644 --- a/test/libsolidity/semanticTests/interfaceID/homer_interfaceId.sol +++ b/test/libsolidity/semanticTests/interfaceID/homer_interfaceId.sol @@ -30,8 +30,8 @@ contract Homer is ERC165, Simpson { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // supportsInterface(bytes4): left(0x01ffc9a0) -> false // supportsInterface(bytes4): left(0x01ffc9a7) -> true diff --git a/test/libsolidity/semanticTests/interfaceID/interfaceId_events.sol b/test/libsolidity/semanticTests/interfaceID/interfaceId_events.sol index ef6db06d1..6509c884b 100644 --- a/test/libsolidity/semanticTests/interfaceID/interfaceId_events.sol +++ b/test/libsolidity/semanticTests/interfaceID/interfaceId_events.sol @@ -15,8 +15,8 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // hello_world() -> left(0xc6be8b58) // hello_world_with_event() -> left(0xc6be8b58) diff --git a/test/libsolidity/semanticTests/interfaceID/interfaces.sol b/test/libsolidity/semanticTests/interfaceID/interfaces.sol index 633bd7a94..9a203fb76 100644 --- a/test/libsolidity/semanticTests/interfaceID/interfaces.sol +++ b/test/libsolidity/semanticTests/interfaceID/interfaces.sol @@ -52,8 +52,8 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // hello() -> left(0x19ff1d21) // world() -> left(0xdf419679) diff --git a/test/libsolidity/semanticTests/isoltestFormatting.sol b/test/libsolidity/semanticTests/isoltestFormatting.sol index d4c6e1c57..9206eb7c1 100644 --- a/test/libsolidity/semanticTests/isoltestFormatting.sol +++ b/test/libsolidity/semanticTests/isoltestFormatting.sol @@ -9,8 +9,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 4, 11, 0x0111, 0x333333, 2222222222222222222 // g() -> 0x10, 0x0100, 0x0101, 0x333333, 2222222222222222222 diff --git a/test/libsolidity/semanticTests/libraries/bound_returning_calldata_external.sol b/test/libsolidity/semanticTests/libraries/bound_returning_calldata_external.sol index ab953c310..e3c6d9b39 100644 --- a/test/libsolidity/semanticTests/libraries/bound_returning_calldata_external.sol +++ b/test/libsolidity/semanticTests/libraries/bound_returning_calldata_external.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: D // f(bytes): 0x20, 4, "abcd" -> 0x6100000000000000000000000000000000000000000000000000000000000000, 0x6100000000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/libraries/bound_to_calldata_external.sol b/test/libsolidity/semanticTests/libraries/bound_to_calldata_external.sol index bd3cb3865..33a53f48f 100644 --- a/test/libsolidity/semanticTests/libraries/bound_to_calldata_external.sol +++ b/test/libsolidity/semanticTests/libraries/bound_to_calldata_external.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: D // f(bytes): 0x20, 4, "abcd" -> 0x6100000000000000000000000000000000000000000000000000000000000000, 0x6100000000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/libraries/library_address.sol b/test/libsolidity/semanticTests/libraries/library_address.sol index b3ce25f9e..e8e60bc04 100644 --- a/test/libsolidity/semanticTests/libraries/library_address.sol +++ b/test/libsolidity/semanticTests/libraries/library_address.sol @@ -35,8 +35,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // library: L // addr() -> false diff --git a/test/libsolidity/semanticTests/libraries/library_address_via_module.sol b/test/libsolidity/semanticTests/libraries/library_address_via_module.sol index 793886139..ca7c9c271 100644 --- a/test/libsolidity/semanticTests/libraries/library_address_via_module.sol +++ b/test/libsolidity/semanticTests/libraries/library_address_via_module.sol @@ -39,8 +39,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // library: L // addr() -> false diff --git a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_pure.sol b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_pure.sol index 1df8aa300..61e182843 100644 --- a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_pure.sol +++ b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_pure.sol @@ -24,8 +24,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> 23 diff --git a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_needed.sol b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_needed.sol index 3d1356b1e..169738029 100644 --- a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_needed.sol +++ b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_needed.sol @@ -24,8 +24,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> 1 diff --git a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_not_needed.sol b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_not_needed.sol index 2928af0a9..9d31db25b 100644 --- a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_not_needed.sol +++ b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_not_needed.sol @@ -23,8 +23,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> 84 diff --git a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_staticcall.sol b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_staticcall.sol index 7f6fdfe92..2af36bb21 100644 --- a/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_staticcall.sol +++ b/test/libsolidity/semanticTests/libraries/library_delegatecall_guard_view_staticcall.sol @@ -23,8 +23,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> 42 diff --git a/test/libsolidity/semanticTests/libraries/library_function_selectors.sol b/test/libsolidity/semanticTests/libraries/library_function_selectors.sol index c1a89f252..e4347d15a 100644 --- a/test/libsolidity/semanticTests/libraries/library_function_selectors.sol +++ b/test/libsolidity/semanticTests/libraries/library_function_selectors.sol @@ -22,8 +22,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> true, true, 7 diff --git a/test/libsolidity/semanticTests/libraries/library_function_selectors_struct.sol b/test/libsolidity/semanticTests/libraries/library_function_selectors_struct.sol index c3c25f304..e57f5ce1a 100644 --- a/test/libsolidity/semanticTests/libraries/library_function_selectors_struct.sol +++ b/test/libsolidity/semanticTests/libraries/library_function_selectors_struct.sol @@ -20,8 +20,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >homestead +// compileViaYul: also // ---- // library: L // f() -> true, true, 42 diff --git a/test/libsolidity/semanticTests/literals/denominations.sol b/test/libsolidity/semanticTests/literals/denominations.sol index b4d98f8d1..8600e46b9 100644 --- a/test/libsolidity/semanticTests/literals/denominations.sol +++ b/test/libsolidity/semanticTests/literals/denominations.sol @@ -4,7 +4,7 @@ contract C { function f() public view returns(uint) { return x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1000000001000000001 diff --git a/test/libsolidity/semanticTests/literals/escape.sol b/test/libsolidity/semanticTests/literals/escape.sol index 846dcc793..54108ec53 100644 --- a/test/libsolidity/semanticTests/literals/escape.sol +++ b/test/libsolidity/semanticTests/literals/escape.sol @@ -8,7 +8,7 @@ contract C } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2, 0x5c00000000000000000000000000000000000000000000000000000000000000, 0x5c00000000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/literals/ether.sol b/test/libsolidity/semanticTests/literals/ether.sol index dc7b6eff4..f640ddff3 100644 --- a/test/libsolidity/semanticTests/literals/ether.sol +++ b/test/libsolidity/semanticTests/literals/ether.sol @@ -4,7 +4,7 @@ contract C { function f() public view returns(uint) { return x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1000000000000000000 diff --git a/test/libsolidity/semanticTests/literals/gwei.sol b/test/libsolidity/semanticTests/literals/gwei.sol index 76ef2fba5..e154415ad 100644 --- a/test/libsolidity/semanticTests/literals/gwei.sol +++ b/test/libsolidity/semanticTests/literals/gwei.sol @@ -4,7 +4,7 @@ contract C { function f() public view returns(uint) { return x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1000000000 diff --git a/test/libsolidity/semanticTests/literals/hex_string_with_underscore.sol b/test/libsolidity/semanticTests/literals/hex_string_with_underscore.sol index 0ebe52f7f..118068654 100644 --- a/test/libsolidity/semanticTests/literals/hex_string_with_underscore.sol +++ b/test/libsolidity/semanticTests/literals/hex_string_with_underscore.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 32, 5, left(0x123456789A) diff --git a/test/libsolidity/semanticTests/literals/scientific_notation.sol b/test/libsolidity/semanticTests/literals/scientific_notation.sol index d96540e98..492d87de6 100644 --- a/test/libsolidity/semanticTests/literals/scientific_notation.sol +++ b/test/libsolidity/semanticTests/literals/scientific_notation.sol @@ -25,8 +25,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 20000000000 // g() -> 2 diff --git a/test/libsolidity/semanticTests/literals/wei.sol b/test/libsolidity/semanticTests/literals/wei.sol index 87d7a4fb9..1fbf95862 100644 --- a/test/libsolidity/semanticTests/literals/wei.sol +++ b/test/libsolidity/semanticTests/literals/wei.sol @@ -4,7 +4,7 @@ contract C { function f() public view returns(uint) { return x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol b/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol index 3ae44ac06..ec711ef3e 100644 --- a/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol +++ b/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> diff --git a/test/libsolidity/semanticTests/memoryManagement/struct_allocation.sol b/test/libsolidity/semanticTests/memoryManagement/struct_allocation.sol index 38ec8af39..78308eed3 100644 --- a/test/libsolidity/semanticTests/memoryManagement/struct_allocation.sol +++ b/test/libsolidity/semanticTests/memoryManagement/struct_allocation.sol @@ -18,8 +18,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // withValue() -> 0x00 // withoutValue() -> 0x60 diff --git a/test/libsolidity/semanticTests/multiSource/circular_import.sol b/test/libsolidity/semanticTests/multiSource/circular_import.sol index c5131124d..74df4ac74 100644 --- a/test/libsolidity/semanticTests/multiSource/circular_import.sol +++ b/test/libsolidity/semanticTests/multiSource/circular_import.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 1 diff --git a/test/libsolidity/semanticTests/multiSource/circular_import_2.sol b/test/libsolidity/semanticTests/multiSource/circular_import_2.sol index 89084b901..c1cf12150 100644 --- a/test/libsolidity/semanticTests/multiSource/circular_import_2.sol +++ b/test/libsolidity/semanticTests/multiSource/circular_import_2.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 992 diff --git a/test/libsolidity/semanticTests/multiSource/circular_reimport.sol b/test/libsolidity/semanticTests/multiSource/circular_reimport.sol index 9f0a797d2..f4394e428 100644 --- a/test/libsolidity/semanticTests/multiSource/circular_reimport.sol +++ b/test/libsolidity/semanticTests/multiSource/circular_reimport.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 0x60 diff --git a/test/libsolidity/semanticTests/multiSource/circular_reimport_2.sol b/test/libsolidity/semanticTests/multiSource/circular_reimport_2.sol index c7b3bdd71..b7c98118a 100644 --- a/test/libsolidity/semanticTests/multiSource/circular_reimport_2.sol +++ b/test/libsolidity/semanticTests/multiSource/circular_reimport_2.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 0x2324 diff --git a/test/libsolidity/semanticTests/multiSource/free_different_interger_types.sol b/test/libsolidity/semanticTests/multiSource/free_different_interger_types.sol index ecb66c23a..345b5de0f 100644 --- a/test/libsolidity/semanticTests/multiSource/free_different_interger_types.sol +++ b/test/libsolidity/semanticTests/multiSource/free_different_interger_types.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 24, true diff --git a/test/libsolidity/semanticTests/multiSource/free_function_resolution_base_contract.sol b/test/libsolidity/semanticTests/multiSource/free_function_resolution_base_contract.sol index 15bdec604..dee4184bf 100644 --- a/test/libsolidity/semanticTests/multiSource/free_function_resolution_base_contract.sol +++ b/test/libsolidity/semanticTests/multiSource/free_function_resolution_base_contract.sol @@ -13,7 +13,7 @@ contract D is C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // h() -> 1337 diff --git a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual.sol b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual.sol index fe6a994c1..c7726815f 100644 --- a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual.sol +++ b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual.sol @@ -13,7 +13,7 @@ contract D is C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 1337 diff --git a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_super.sol b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_super.sol index 1ba9b8c38..5c14eefd2 100644 --- a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_super.sol +++ b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_super.sol @@ -13,7 +13,7 @@ contract D is C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 1337 diff --git a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_transitive.sol b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_transitive.sol index e8c71492b..aa026edcc 100644 --- a/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_transitive.sol +++ b/test/libsolidity/semanticTests/multiSource/free_function_resolution_override_virtual_transitive.sol @@ -20,7 +20,7 @@ contract E is D { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 1339 diff --git a/test/libsolidity/semanticTests/multiSource/free_function_transitive_import.sol b/test/libsolidity/semanticTests/multiSource/free_function_transitive_import.sol index 6bcfc5001..e10b0634c 100644 --- a/test/libsolidity/semanticTests/multiSource/free_function_transitive_import.sol +++ b/test/libsolidity/semanticTests/multiSource/free_function_transitive_import.sol @@ -22,7 +22,7 @@ contract E is D { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // i() -> 1337 diff --git a/test/libsolidity/semanticTests/multiSource/import.sol b/test/libsolidity/semanticTests/multiSource/import.sol index 74f96c449..e7e3400d5 100644 --- a/test/libsolidity/semanticTests/multiSource/import.sol +++ b/test/libsolidity/semanticTests/multiSource/import.sol @@ -8,8 +8,8 @@ contract B is A { function f(uint256 x) public view returns(uint256) { return x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 1337 -> 1337 // g(uint256): 1337 -> 1338 diff --git a/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias.sol b/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias.sol index 5ea279c4e..b8a6816db 100644 --- a/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias.sol +++ b/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias.sol @@ -14,7 +14,7 @@ contract D is M.C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 61337 diff --git a/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias_direct_call.sol b/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias_direct_call.sol index 409bc42ef..b29fbcb3e 100644 --- a/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias_direct_call.sol +++ b/test/libsolidity/semanticTests/multiSource/imported_free_function_via_alias_direct_call.sol @@ -9,7 +9,7 @@ contract D { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // h() -> 61337 diff --git a/test/libsolidity/semanticTests/multiSource/reimport_imported_function.sol b/test/libsolidity/semanticTests/multiSource/reimport_imported_function.sol index 0a5efe236..2c59b4126 100644 --- a/test/libsolidity/semanticTests/multiSource/reimport_imported_function.sol +++ b/test/libsolidity/semanticTests/multiSource/reimport_imported_function.sol @@ -10,7 +10,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // foo() -> 1337 diff --git a/test/libsolidity/semanticTests/operators/compound_assign.sol b/test/libsolidity/semanticTests/operators/compound_assign.sol index d58761d99..12c4da348 100644 --- a/test/libsolidity/semanticTests/operators/compound_assign.sol +++ b/test/libsolidity/semanticTests/operators/compound_assign.sol @@ -10,8 +10,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0, 6 -> 7 // f(uint256,uint256): 1, 3 -> 0x23 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_cleanup.sol b/test/libsolidity/semanticTests/operators/shifts/shift_cleanup.sol index 0554a639d..85a273940 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_cleanup.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_cleanup.sol @@ -10,7 +10,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol b/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol index 1e9cf1e82..1e83d1038 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol @@ -8,7 +8,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_constant_left.sol b/test/libsolidity/semanticTests/operators/shifts/shift_constant_left.sol index 32558f96b..b5121261b 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_constant_left.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_constant_left.sol @@ -2,7 +2,7 @@ contract C { uint256 public a = 0x42 << 8; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // a() -> 0x4200 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_constant_left_assignment.sol b/test/libsolidity/semanticTests/operators/shifts/shift_constant_left_assignment.sol index abf859729..7db6248de 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_constant_left_assignment.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_constant_left_assignment.sol @@ -6,7 +6,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x4200 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_constant_right.sol b/test/libsolidity/semanticTests/operators/shifts/shift_constant_right.sol index 14b8e0b1b..5e12394ab 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_constant_right.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_constant_right.sol @@ -2,7 +2,7 @@ contract C { uint256 public a = 0x4200 >> 8; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // a() -> 0x42 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_constant_right_assignment.sol b/test/libsolidity/semanticTests/operators/shifts/shift_constant_right_assignment.sol index 9c27e1640..4aebfcf86 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_constant_right_assignment.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_constant_right_assignment.sol @@ -6,7 +6,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x42 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left.sol index ca94ccc53..d2b4cf6b3 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0x4266, 0x0 -> 0x4266 // f(uint256,uint256): 0x4266, 0x8 -> 0x426600 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment.sol index c746163a7..be470e4d0 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment.sol @@ -6,8 +6,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0x4266, 0x0 -> 0x4266 // f(uint256,uint256): 0x4266, 0x8 -> 0x426600 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment_different_type.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment_different_type.sol index ae2ddf94f..21ad474d3 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment_different_type.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left_assignment_different_type.sol @@ -6,8 +6,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint8): 0x4266, 0x0 -> 0x4266 // f(uint256,uint8): 0x4266, 0x8 -> 0x426600 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left_larger_type.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left_larger_type.sol index f96b69d4b..8eb90736d 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left_larger_type.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left_larger_type.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left_uint32.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left_uint32.sol index f0402dccf..737227697 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left_uint32.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left_uint32.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint32,uint32): 0x4266, 0x0 -> 0x4266 // f(uint32,uint32): 0x4266, 0x8 -> 0x426600 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_left_uint8.sol b/test/libsolidity/semanticTests/operators/shifts/shift_left_uint8.sol index 21f7d313b..25c9e2c30 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_left_uint8.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_left_uint8.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8,uint8): 0x66, 0x0 -> 0x66 // f(uint8,uint8): 0x66, 0x8 -> 0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_left.sol b/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_left.sol index 8fd2dcf70..ceaad1799 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_left.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_left.sol @@ -2,7 +2,7 @@ contract C { int256 public a = -0x42 << 8; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // a() -> -16896 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_right.sol b/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_right.sol index 24a33c71f..02ddee654 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_right.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_negative_constant_right.sol @@ -2,7 +2,7 @@ contract C { int256 public a = -0x4200 >> 8; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // a() -> -66 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_overflow.sol b/test/libsolidity/semanticTests/operators/shifts/shift_overflow.sol index 604350f78..8303f4271 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_overflow.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_overflow.sol @@ -9,8 +9,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // leftU(uint8,uint8): 255, 8 -> 0 // leftU(uint8,uint8): 255, 1 -> 254 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right.sol index 997ea7393..4e4e3a27a 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0x4266, 0x0 -> 0x4266 // f(uint256,uint256): 0x4266, 0x8 -> 0x42 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_assignment.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_assignment.sol index 4d6b215ea..74b1db2f9 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_assignment.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_assignment.sol @@ -6,8 +6,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0x4266, 0x0 -> 0x4266 // f(uint256,uint256): 0x4266, 0x8 -> 0x42 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_signed_v2.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_signed_v2.sol index 8843a00b5..c0cd5ad34 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_signed_v2.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_signed_v2.sol @@ -19,8 +19,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(int8,uint8): 0x00, 0x03 -> 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe // f(int8,uint8): 0x00, 0x04 -> 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_v2.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_v2.sol index 6397c7aa0..39e6760f3 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_v2.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_garbled_v2.sol @@ -11,8 +11,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8,uint8): 0x00, 0x04 -> 0x0f // f(uint8,uint8): 0x00, 0x1004 -> FAILURE diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_literal.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_literal.sol index c14b5ae33..4e6487c57 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_literal.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_literal.sol @@ -49,8 +49,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f1() -> true // f2() -> true diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int16_v2.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int16_v2.sol index cfc73bf49..5c2ef4b19 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int16_v2.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int16_v2.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(int16,uint16): 0xff99, 0x00 -> FAILURE // f(int16,uint16): 0xff99, 0x01 -> FAILURE diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int32_v2.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int32_v2.sol index ea0347812..6f74dadd1 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int32_v2.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int32_v2.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(int32,uint32): 0xffffff99, 0x00 -> FAILURE // f(int32,uint32): 0xffffff99, 0x01 -> FAILURE diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int8_v2.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int8_v2.sol index 3fb9e714c..0dbdb92ea 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int8_v2.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_negative_lvalue_signextend_int8_v2.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(int8,uint8): 0x99, 0x00 -> FAILURE // f(int8,uint8): 0x99, 0x01 -> FAILURE diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_uint32.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_uint32.sol index 5d1378582..a384e23ea 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_uint32.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_uint32.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint32,uint32): 0x4266, 0x0 -> 0x4266 // f(uint32,uint32): 0x4266, 0x8 -> 0x42 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_right_uint8.sol b/test/libsolidity/semanticTests/operators/shifts/shift_right_uint8.sol index 1caf96764..5ae655676 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_right_uint8.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_right_uint8.sol @@ -5,8 +5,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8,uint8): 0x66, 0x0 -> 0x66 // f(uint8,uint8): 0x66, 0x8 -> 0x0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shift_underflow_negative_rvalue.sol b/test/libsolidity/semanticTests/operators/shifts/shift_underflow_negative_rvalue.sol index 9014c8759..7bc85eb00 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shift_underflow_negative_rvalue.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shift_underflow_negative_rvalue.sol @@ -9,8 +9,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(int256,uint256): 1, -1 -> 0 // g(int256,uint256): 1, -1 -> 0 diff --git a/test/libsolidity/semanticTests/operators/shifts/shifts.sol b/test/libsolidity/semanticTests/operators/shifts/shifts.sol index 4f8892250..6e21956d5 100644 --- a/test/libsolidity/semanticTests/operators/shifts/shifts.sol +++ b/test/libsolidity/semanticTests/operators/shifts/shifts.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=constantinople +// compileViaYul: also // ---- // f(uint256): 7 -> 28 diff --git a/test/libsolidity/semanticTests/receive/empty_calldata_calls_receive.sol b/test/libsolidity/semanticTests/receive/empty_calldata_calls_receive.sol index bfaa52894..fc87540a0 100644 --- a/test/libsolidity/semanticTests/receive/empty_calldata_calls_receive.sol +++ b/test/libsolidity/semanticTests/receive/empty_calldata_calls_receive.sol @@ -3,8 +3,8 @@ contract A { receive () external payable { ++x; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 0 // () diff --git a/test/libsolidity/semanticTests/receive/ether_and_data.sol b/test/libsolidity/semanticTests/receive/ether_and_data.sol index ea139e549..5776ecd80 100644 --- a/test/libsolidity/semanticTests/receive/ether_and_data.sol +++ b/test/libsolidity/semanticTests/receive/ether_and_data.sol @@ -2,8 +2,8 @@ contract C { receive () payable external { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // (), 1 ether // (), 1 ether: 1 -> FAILURE diff --git a/test/libsolidity/semanticTests/receive/inherited.sol b/test/libsolidity/semanticTests/receive/inherited.sol index cadfb44a8..5a5df320a 100644 --- a/test/libsolidity/semanticTests/receive/inherited.sol +++ b/test/libsolidity/semanticTests/receive/inherited.sol @@ -5,8 +5,8 @@ contract A { } contract B is A {} // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getData() -> 0 // () -> diff --git a/test/libsolidity/semanticTests/revertStrings/array_slices.sol b/test/libsolidity/semanticTests/revertStrings/array_slices.sol index 5d2cebb87..2966ab534 100644 --- a/test/libsolidity/semanticTests/revertStrings/array_slices.sol +++ b/test/libsolidity/semanticTests/revertStrings/array_slices.sol @@ -5,8 +5,8 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256,uint256,uint256[]): 2, 1, 0x80, 3, 1, 2, 3 -> FAILURE, hex"08c379a0", 0x20, 22, "Slice starts after end" // f(uint256,uint256,uint256[]): 1, 5, 0x80, 3, 1, 2, 3 -> FAILURE, hex"08c379a0", 0x20, 28, "Slice is greater than length" diff --git a/test/libsolidity/semanticTests/revertStrings/bubble.sol b/test/libsolidity/semanticTests/revertStrings/bubble.sol index 24eceaba3..d143aeef8 100644 --- a/test/libsolidity/semanticTests/revertStrings/bubble.sol +++ b/test/libsolidity/semanticTests/revertStrings/bubble.sol @@ -9,8 +9,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // revertStrings: debug // ---- // f() -> FAILURE, hex"08c379a0", 0x20, 4, "fail" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_invalid.sol b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_invalid.sol index 37f9da6c2..b28c05b44 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_invalid.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_invalid.sol @@ -6,7 +6,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256[][]): 0x20, 1 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray stride" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol index 4e857cea9..f09dca528 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol @@ -7,7 +7,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256[][2][]): 0x20, 0x01, 0x20, 0x00 -> FAILURE, hex"08c379a0", 0x20, 28, "Invalid calldata tail offset" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_reencode.sol b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_reencode.sol index 48e97fa9c..2eb8d2fb9 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_reencode.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_reencode.sol @@ -9,7 +9,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // g(uint256[][2][]): 0x20, 0x01, 0x20, 0x00 -> FAILURE, hex"08c379a0", 0x20, 30, "Invalid calldata access offset" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_array_invalid_length.sol b/test/libsolidity/semanticTests/revertStrings/calldata_array_invalid_length.sol index 55beec091..3405ef350 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_array_invalid_length.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_array_invalid_length.sol @@ -6,7 +6,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256[][]): 0x20, 1, 0x20, 0x0100000000000000000000 -> FAILURE, hex"08c379a0", 0x20, 28, "Invalid calldata tail length" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_arrays_too_large.sol b/test/libsolidity/semanticTests/revertStrings/calldata_arrays_too_large.sol index ca953af4e..3988dd892 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_arrays_too_large.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_arrays_too_large.sol @@ -6,7 +6,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256,uint256[],uint256): 6, 0x60, 9, 0x1000000000000000000000000000000000000000000000000000000000000002, 1, 2 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray length" diff --git a/test/libsolidity/semanticTests/revertStrings/calldata_tail_short.sol b/test/libsolidity/semanticTests/revertStrings/calldata_tail_short.sol index 545f30474..f60e97ef2 100644 --- a/test/libsolidity/semanticTests/revertStrings/calldata_tail_short.sol +++ b/test/libsolidity/semanticTests/revertStrings/calldata_tail_short.sol @@ -4,7 +4,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256[][]): 0x20, 1, 0x20, 2, 0x42 -> FAILURE, hex"08c379a0", 0x20, 23, "Calldata tail too short" diff --git a/test/libsolidity/semanticTests/revertStrings/ether_non_payable_function.sol b/test/libsolidity/semanticTests/revertStrings/ether_non_payable_function.sol index a5c6cefe7..cabe385ef 100644 --- a/test/libsolidity/semanticTests/revertStrings/ether_non_payable_function.sol +++ b/test/libsolidity/semanticTests/revertStrings/ether_non_payable_function.sol @@ -3,8 +3,8 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(), 1 ether -> FAILURE, hex"08c379a0", 0x20, 34, "Ether sent to non-payable functi", "on" // () -> FAILURE, hex"08c379a0", 0x20, 53, "Contract does not have fallback ", "nor receive functions" diff --git a/test/libsolidity/semanticTests/revertStrings/library_non_view_call.sol b/test/libsolidity/semanticTests/revertStrings/library_non_view_call.sol index 1439acfbf..9df7705ca 100644 --- a/test/libsolidity/semanticTests/revertStrings/library_non_view_call.sol +++ b/test/libsolidity/semanticTests/revertStrings/library_non_view_call.sol @@ -9,8 +9,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // revertStrings: debug // ---- // library: L diff --git a/test/libsolidity/semanticTests/revertStrings/short_input_array.sol b/test/libsolidity/semanticTests/revertStrings/short_input_array.sol index 77e5ef5ac..d41e5128f 100644 --- a/test/libsolidity/semanticTests/revertStrings/short_input_array.sol +++ b/test/libsolidity/semanticTests/revertStrings/short_input_array.sol @@ -4,7 +4,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // f(uint256[]): 0x20, 1 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray stride" diff --git a/test/libsolidity/semanticTests/revertStrings/short_input_bytes.sol b/test/libsolidity/semanticTests/revertStrings/short_input_bytes.sol index de6876ac7..a79b3cd2b 100644 --- a/test/libsolidity/semanticTests/revertStrings/short_input_bytes.sol +++ b/test/libsolidity/semanticTests/revertStrings/short_input_bytes.sol @@ -4,7 +4,7 @@ contract C { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // e(bytes): 0x20, 7 -> FAILURE, hex"08c379a0", 0x20, 39, "ABI decoding: invalid byte array", " length" diff --git a/test/libsolidity/semanticTests/revertStrings/transfer.sol b/test/libsolidity/semanticTests/revertStrings/transfer.sol index 8ee6fd2e8..a9c9bc845 100644 --- a/test/libsolidity/semanticTests/revertStrings/transfer.sol +++ b/test/libsolidity/semanticTests/revertStrings/transfer.sol @@ -18,8 +18,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // revertStrings: debug // ---- // (), 10 wei -> diff --git a/test/libsolidity/semanticTests/revertStrings/unknown_sig_no_fallback.sol b/test/libsolidity/semanticTests/revertStrings/unknown_sig_no_fallback.sol index 6fab690a0..fc128fb8e 100644 --- a/test/libsolidity/semanticTests/revertStrings/unknown_sig_no_fallback.sol +++ b/test/libsolidity/semanticTests/revertStrings/unknown_sig_no_fallback.sol @@ -3,7 +3,7 @@ contract A { } // ==== // EVMVersion: >=byzantium -// revertStrings: debug // compileViaYul: also +// revertStrings: debug // ---- // (): hex"00" -> FAILURE, hex"08c379a0", 0x20, 41, "Unknown signature and no fallbac", "k defined" diff --git a/test/libsolidity/semanticTests/reverts/assert_require.sol b/test/libsolidity/semanticTests/reverts/assert_require.sol index 9a856f014..af2418061 100644 --- a/test/libsolidity/semanticTests/reverts/assert_require.sol +++ b/test/libsolidity/semanticTests/reverts/assert_require.sol @@ -15,8 +15,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x01 // g(bool): false -> FAILURE, hex"4e487b71", 0x01 diff --git a/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_arg.sol b/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_arg.sol index 0144318a7..5c0ee13dc 100644 --- a/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_arg.sol +++ b/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_arg.sol @@ -16,8 +16,8 @@ contract C { } } // ==== -// compileViaYul: also -// compileToEwasm: also // EVMVersion: >=byzantium +// compileToEwasm: also +// compileViaYul: also // ---- // test() -> FAILURE, hex"4e487b71", 0x21 # should throw # diff --git a/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_ret.sol b/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_ret.sol index 89fe7490f..81f514b4c 100644 --- a/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_ret.sol +++ b/test/libsolidity/semanticTests/reverts/invalid_enum_as_external_ret.sol @@ -25,9 +25,9 @@ contract C { } // ==== -// compileViaYul: also -// compileToEwasm: also // EVMVersion: >=byzantium +// compileToEwasm: also +// compileViaYul: also // ---- // test_return() -> FAILURE, hex"4e487b71", 33 # both should throw # // test_inline_assignment() -> FAILURE, hex"4e487b71", 33 diff --git a/test/libsolidity/semanticTests/reverts/invalid_enum_compared.sol b/test/libsolidity/semanticTests/reverts/invalid_enum_compared.sol index 3125fcf0a..bf99c6377 100644 --- a/test/libsolidity/semanticTests/reverts/invalid_enum_compared.sol +++ b/test/libsolidity/semanticTests/reverts/invalid_enum_compared.sol @@ -23,9 +23,9 @@ contract C { } } // ==== -// compileViaYul: also -// compileToEwasm: also // EVMVersion: >=byzantium +// compileToEwasm: also +// compileViaYul: also // ---- // test_eq_ok() -> 1 // test_eq() -> FAILURE, hex"4e487b71", 33 # both should throw # diff --git a/test/libsolidity/semanticTests/reverts/invalid_enum_stored.sol b/test/libsolidity/semanticTests/reverts/invalid_enum_stored.sol index 57f6af6f2..b77076a70 100644 --- a/test/libsolidity/semanticTests/reverts/invalid_enum_stored.sol +++ b/test/libsolidity/semanticTests/reverts/invalid_enum_stored.sol @@ -17,9 +17,9 @@ contract C { } } // ==== -// compileViaYul: also -// compileToEwasm: also // EVMVersion: >=byzantium +// compileToEwasm: also +// compileViaYul: also // ---- // test_store_ok() -> 1 // x() -> 0 diff --git a/test/libsolidity/semanticTests/reverts/revert.sol b/test/libsolidity/semanticTests/reverts/revert.sol index e51b8056f..9f99ed86e 100644 --- a/test/libsolidity/semanticTests/reverts/revert.sol +++ b/test/libsolidity/semanticTests/reverts/revert.sol @@ -15,8 +15,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE // a() -> 42 diff --git a/test/libsolidity/semanticTests/reverts/revert_return_area.sol b/test/libsolidity/semanticTests/reverts/revert_return_area.sol index 360e5fe9f..99ef69ce9 100644 --- a/test/libsolidity/semanticTests/reverts/revert_return_area.sol +++ b/test/libsolidity/semanticTests/reverts/revert_return_area.sol @@ -14,7 +14,7 @@ contract C { } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f() -> 0x00, 0x08c379a000000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/reverts/simple_throw.sol b/test/libsolidity/semanticTests/reverts/simple_throw.sol index 973146e39..0e075c0dc 100644 --- a/test/libsolidity/semanticTests/reverts/simple_throw.sol +++ b/test/libsolidity/semanticTests/reverts/simple_throw.sol @@ -7,8 +7,8 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 11 -> 21 // f(uint256): 1 -> FAILURE diff --git a/test/libsolidity/semanticTests/smoke/failure.sol b/test/libsolidity/semanticTests/smoke/failure.sol index 1ec82c003..ed672dcf6 100644 --- a/test/libsolidity/semanticTests/smoke/failure.sol +++ b/test/libsolidity/semanticTests/smoke/failure.sol @@ -14,9 +14,9 @@ contract C { } } // ==== -// compileToEwasm: also // EVMVersion: >homestead // allowNonExistingFunctions: true +// compileToEwasm: also // compileViaYul: also // ---- // _() -> FAILURE diff --git a/test/libsolidity/semanticTests/smoke/multiline.sol b/test/libsolidity/semanticTests/smoke/multiline.sol index 2639a6c6d..587532cfe 100644 --- a/test/libsolidity/semanticTests/smoke/multiline.sol +++ b/test/libsolidity/semanticTests/smoke/multiline.sol @@ -4,9 +4,9 @@ contract C { } } // ==== -// compileViaYul: also -// compileToEwasm: also // allowNonExistingFunctions: true +// compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1 // -> 5 diff --git a/test/libsolidity/semanticTests/smoke/multiline_comments.sol b/test/libsolidity/semanticTests/smoke/multiline_comments.sol index ed332e245..4fde637fa 100644 --- a/test/libsolidity/semanticTests/smoke/multiline_comments.sol +++ b/test/libsolidity/semanticTests/smoke/multiline_comments.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1 // # A comment on the function parameters. # diff --git a/test/libsolidity/semanticTests/smoke/structs.sol b/test/libsolidity/semanticTests/smoke/structs.sol index a6d9fbfc6..d291e59ec 100644 --- a/test/libsolidity/semanticTests/smoke/structs.sol +++ b/test/libsolidity/semanticTests/smoke/structs.sol @@ -18,8 +18,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // s() -> 23, 42 // t() -> 0x20, 23, 42, 0x60, 3, "any" diff --git a/test/libsolidity/semanticTests/specialFunctions/abi_functions_member_access.sol b/test/libsolidity/semanticTests/specialFunctions/abi_functions_member_access.sol index 79143aa9a..c377c616d 100644 --- a/test/libsolidity/semanticTests/specialFunctions/abi_functions_member_access.sol +++ b/test/libsolidity/semanticTests/specialFunctions/abi_functions_member_access.sol @@ -8,7 +8,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> diff --git a/test/libsolidity/semanticTests/state/block_coinbase.sol b/test/libsolidity/semanticTests/state/block_coinbase.sol index c8b7f4bf9..4d0f70539 100644 --- a/test/libsolidity/semanticTests/state/block_coinbase.sol +++ b/test/libsolidity/semanticTests/state/block_coinbase.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x7878787878787878787878787878787878787878 // f() -> 0x7878787878787878787878787878787878787878 diff --git a/test/libsolidity/semanticTests/state/block_gaslimit.sol b/test/libsolidity/semanticTests/state/block_gaslimit.sol index c9eec9621..3ca022182 100644 --- a/test/libsolidity/semanticTests/state/block_gaslimit.sol +++ b/test/libsolidity/semanticTests/state/block_gaslimit.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 20000000 // f() -> 20000000 diff --git a/test/libsolidity/semanticTests/state/block_number.sol b/test/libsolidity/semanticTests/state/block_number.sol index 031c84829..8faa72c14 100644 --- a/test/libsolidity/semanticTests/state/block_number.sol +++ b/test/libsolidity/semanticTests/state/block_number.sol @@ -5,8 +5,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor() // f() -> 2 diff --git a/test/libsolidity/semanticTests/state/block_timestamp.sol b/test/libsolidity/semanticTests/state/block_timestamp.sol index 73e7d9491..4617ab0e0 100644 --- a/test/libsolidity/semanticTests/state/block_timestamp.sol +++ b/test/libsolidity/semanticTests/state/block_timestamp.sol @@ -5,8 +5,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor() # This is the 1st block # // f() -> 0x1e # This is the 2nd block (each block is "15 seconds") # diff --git a/test/libsolidity/semanticTests/state/gasleft.sol b/test/libsolidity/semanticTests/state/gasleft.sol index 0d6118aa1..61edb5480 100644 --- a/test/libsolidity/semanticTests/state/gasleft.sol +++ b/test/libsolidity/semanticTests/state/gasleft.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // f() -> true diff --git a/test/libsolidity/semanticTests/state/msg_sender.sol b/test/libsolidity/semanticTests/state/msg_sender.sol index d7c129863..45f384c5f 100644 --- a/test/libsolidity/semanticTests/state/msg_sender.sol +++ b/test/libsolidity/semanticTests/state/msg_sender.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x1212121212121212121212121212120000000012 diff --git a/test/libsolidity/semanticTests/state/msg_sig.sol b/test/libsolidity/semanticTests/state/msg_sig.sol index 69d87106a..0003c2ada 100644 --- a/test/libsolidity/semanticTests/state/msg_sig.sol +++ b/test/libsolidity/semanticTests/state/msg_sig.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x26121ff000000000000000000000000000000000000000000000000000000000 // g() -> 0xe2179b8e00000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/state/tx_origin.sol b/test/libsolidity/semanticTests/state/tx_origin.sol index ea9d574ef..861ef3d6d 100644 --- a/test/libsolidity/semanticTests/state/tx_origin.sol +++ b/test/libsolidity/semanticTests/state/tx_origin.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x9292929292929292929292929292929292929292 // f() -> 0x9292929292929292929292929292929292929292 diff --git a/test/libsolidity/semanticTests/state/uncalled_blockhash.sol b/test/libsolidity/semanticTests/state/uncalled_blockhash.sol index 007cd9788..a038478e0 100644 --- a/test/libsolidity/semanticTests/state/uncalled_blockhash.sol +++ b/test/libsolidity/semanticTests/state/uncalled_blockhash.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x3737373737373737373737373737373737373737373737373737373737373738 diff --git a/test/libsolidity/semanticTests/state_var_initialization.sol b/test/libsolidity/semanticTests/state_var_initialization.sol index 93b77fbcf..df3997603 100644 --- a/test/libsolidity/semanticTests/state_var_initialization.sol +++ b/test/libsolidity/semanticTests/state_var_initialization.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // i() -> 2 // k() -> 0 diff --git a/test/libsolidity/semanticTests/state_variables_init_order.sol b/test/libsolidity/semanticTests/state_variables_init_order.sol index 41169d054..740bdb152 100644 --- a/test/libsolidity/semanticTests/state_variables_init_order.sol +++ b/test/libsolidity/semanticTests/state_variables_init_order.sol @@ -9,7 +9,7 @@ contract A { contract B is A { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 1 diff --git a/test/libsolidity/semanticTests/state_variables_init_order_2.sol b/test/libsolidity/semanticTests/state_variables_init_order_2.sol index f0ac9013f..8a339f2b8 100644 --- a/test/libsolidity/semanticTests/state_variables_init_order_2.sol +++ b/test/libsolidity/semanticTests/state_variables_init_order_2.sol @@ -13,7 +13,7 @@ contract B is A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // z() -> 1 diff --git a/test/libsolidity/semanticTests/statements/do_while_loop_continue.sol b/test/libsolidity/semanticTests/statements/do_while_loop_continue.sol index 6274640d1..5242a2a19 100644 --- a/test/libsolidity/semanticTests/statements/do_while_loop_continue.sol +++ b/test/libsolidity/semanticTests/statements/do_while_loop_continue.sol @@ -11,7 +11,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 42 diff --git a/test/libsolidity/semanticTests/storage/packed_storage_signed.sol b/test/libsolidity/semanticTests/storage/packed_storage_signed.sol index 861d955c3..b1080a7b0 100644 --- a/test/libsolidity/semanticTests/storage/packed_storage_signed.sol +++ b/test/libsolidity/semanticTests/storage/packed_storage_signed.sol @@ -21,7 +21,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> -2, 4, -112, 0 diff --git a/test/libsolidity/semanticTests/storage/packed_storage_structs_enum.sol b/test/libsolidity/semanticTests/storage/packed_storage_structs_enum.sol index 7c3fb564d..a24973fd1 100644 --- a/test/libsolidity/semanticTests/storage/packed_storage_structs_enum.sol +++ b/test/libsolidity/semanticTests/storage/packed_storage_structs_enum.sol @@ -30,7 +30,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 1 diff --git a/test/libsolidity/semanticTests/storage/packed_storage_structs_uint.sol b/test/libsolidity/semanticTests/storage/packed_storage_structs_uint.sol index 1da275113..509cad55e 100644 --- a/test/libsolidity/semanticTests/storage/packed_storage_structs_uint.sol +++ b/test/libsolidity/semanticTests/storage/packed_storage_structs_uint.sol @@ -27,7 +27,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 1 diff --git a/test/libsolidity/semanticTests/storage/simple_accessor.sol b/test/libsolidity/semanticTests/storage/simple_accessor.sol index 600ffd2af..1171753b6 100644 --- a/test/libsolidity/semanticTests/storage/simple_accessor.sol +++ b/test/libsolidity/semanticTests/storage/simple_accessor.sol @@ -5,7 +5,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // data() -> 8 diff --git a/test/libsolidity/semanticTests/storage/state_smoke_test.sol b/test/libsolidity/semanticTests/storage/state_smoke_test.sol index 4f5a4080d..6d1bae100 100644 --- a/test/libsolidity/semanticTests/storage/state_smoke_test.sol +++ b/test/libsolidity/semanticTests/storage/state_smoke_test.sol @@ -11,8 +11,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // get(uint8): 0x00 -> 0 // get(uint8): 0x01 -> 0 diff --git a/test/libsolidity/semanticTests/strings/empty_string.sol b/test/libsolidity/semanticTests/strings/empty_string.sol index 19a54497a..abf72be38 100644 --- a/test/libsolidity/semanticTests/strings/empty_string.sol +++ b/test/libsolidity/semanticTests/strings/empty_string.sol @@ -4,7 +4,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 0 diff --git a/test/libsolidity/semanticTests/strings/string_escapes.sol b/test/libsolidity/semanticTests/strings/string_escapes.sol index a53998a1d..89231e851 100644 --- a/test/libsolidity/semanticTests/strings/string_escapes.sol +++ b/test/libsolidity/semanticTests/strings/string_escapes.sol @@ -5,7 +5,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x090a0d27225c0000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/strings/unicode_escapes.sol b/test/libsolidity/semanticTests/strings/unicode_escapes.sol index c16e306a7..2c0e19121 100644 --- a/test/libsolidity/semanticTests/strings/unicode_escapes.sol +++ b/test/libsolidity/semanticTests/strings/unicode_escapes.sol @@ -16,8 +16,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // oneByteUTF8() -> 0x20, 7, "aaa$aaa" // twoBytesUTF8() -> 0x20, 8, "aaa\xc2\xa2aaa" diff --git a/test/libsolidity/semanticTests/strings/unicode_string.sol b/test/libsolidity/semanticTests/strings/unicode_string.sol index a8c98e4a8..f9d1cb1e3 100644 --- a/test/libsolidity/semanticTests/strings/unicode_string.sol +++ b/test/libsolidity/semanticTests/strings/unicode_string.sol @@ -8,8 +8,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 0x14, "\xf0\x9f\x98\x83, \xf0\x9f\x98\xad, and \xf0\x9f\x98\x88" // g() -> 0x20, 0x14, "\xf0\x9f\x98\x83, \xf0\x9f\x98\xad, and \xf0\x9f\x98\x88" diff --git a/test/libsolidity/semanticTests/structs/array_of_recursive_struct.sol b/test/libsolidity/semanticTests/structs/array_of_recursive_struct.sol index 0aaa6ea93..1bfc7ce1f 100644 --- a/test/libsolidity/semanticTests/structs/array_of_recursive_struct.sol +++ b/test/libsolidity/semanticTests/structs/array_of_recursive_struct.sol @@ -9,7 +9,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // func() -> diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct.sol index 37a4baab4..2fe78260a 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct.sol @@ -14,7 +14,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256)): 42, 23 -> 42, 23 diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_array_member_dynamic.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_array_member_dynamic.sol index 5f6c54b2d..22e4547cd 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_array_member_dynamic.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_array_member_dynamic.sol @@ -19,7 +19,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint32,uint256[],uint64)): 0x20, 42, 0x60, 23, 2, 1, 2 -> 42, 1, 2, 23 diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory.sol index fd9c570d0..e4f911161 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory.sol @@ -14,7 +14,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256,bytes2)): 42, 23, "ab" -> 42, 23, "b" diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_storage.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_storage.sol index 643324705..2dc65bb11 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_storage.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_storage.sol @@ -17,7 +17,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint32,(uint256,uint64,bytes2),uint256): 1, 42, 23, "ab", 1 -> 42, 23, "b" diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_structs.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_structs.sol index cfcb43458..6cac49d8c 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_structs.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_structs.sol @@ -24,7 +24,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256),(uint256),(uint256,uint256)): 1, 2, 3, 4, 5 -> 1, 2, 3, 4, 5 diff --git a/test/libsolidity/semanticTests/structs/calldata/dynamic_nested.sol b/test/libsolidity/semanticTests/structs/calldata/dynamic_nested.sol index a22a11bf5..11ef1917e 100644 --- a/test/libsolidity/semanticTests/structs/calldata/dynamic_nested.sol +++ b/test/libsolidity/semanticTests/structs/calldata/dynamic_nested.sol @@ -8,7 +8,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,(uint256)[])): 32, 17, 64, 2, 23, 42 -> 2, 17, 23, 42 diff --git a/test/libsolidity/semanticTests/structs/calldata/dynamically_encoded.sol b/test/libsolidity/semanticTests/structs/calldata/dynamically_encoded.sol index b31fe3554..1b71f2f94 100644 --- a/test/libsolidity/semanticTests/structs/calldata/dynamically_encoded.sol +++ b/test/libsolidity/semanticTests/structs/calldata/dynamically_encoded.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256[])): 32, 32, 2, 42, 23 -> 2, 42, 23 diff --git a/test/libsolidity/semanticTests/structs/global.sol b/test/libsolidity/semanticTests/structs/global.sol index 6f943dbf7..b0485aea0 100644 --- a/test/libsolidity/semanticTests/structs/global.sol +++ b/test/libsolidity/semanticTests/structs/global.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256)): 42, 23 -> 42, 23 diff --git a/test/libsolidity/semanticTests/structs/lone_struct_array_type.sol b/test/libsolidity/semanticTests/structs/lone_struct_array_type.sol index c17babcf9..15854aca5 100644 --- a/test/libsolidity/semanticTests/structs/lone_struct_array_type.sol +++ b/test/libsolidity/semanticTests/structs/lone_struct_array_type.sol @@ -11,7 +11,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3 diff --git a/test/libsolidity/semanticTests/structs/memory_struct_named_constructor.sol b/test/libsolidity/semanticTests/structs/memory_struct_named_constructor.sol index 32c36acaf..0d2d0c1de 100644 --- a/test/libsolidity/semanticTests/structs/memory_struct_named_constructor.sol +++ b/test/libsolidity/semanticTests/structs/memory_struct_named_constructor.sol @@ -13,7 +13,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // s() -> 8, true diff --git a/test/libsolidity/semanticTests/structs/memory_structs_as_function_args.sol b/test/libsolidity/semanticTests/structs/memory_structs_as_function_args.sol index 616104cf9..9459c3477 100644 --- a/test/libsolidity/semanticTests/structs/memory_structs_as_function_args.sol +++ b/test/libsolidity/semanticTests/structs/memory_structs_as_function_args.sol @@ -29,7 +29,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 1, 2, 3 diff --git a/test/libsolidity/semanticTests/structs/memory_structs_nested.sol b/test/libsolidity/semanticTests/structs/memory_structs_nested.sol index 972fe766d..786147c40 100644 --- a/test/libsolidity/semanticTests/structs/memory_structs_nested.sol +++ b/test/libsolidity/semanticTests/structs/memory_structs_nested.sol @@ -39,7 +39,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 1, 2, 3, 4 diff --git a/test/libsolidity/semanticTests/structs/nested_struct_allocation.sol b/test/libsolidity/semanticTests/structs/nested_struct_allocation.sol index 787836c93..d5f9e8dc7 100644 --- a/test/libsolidity/semanticTests/structs/nested_struct_allocation.sol +++ b/test/libsolidity/semanticTests/structs/nested_struct_allocation.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/structs/recursive_structs.sol b/test/libsolidity/semanticTests/structs/recursive_structs.sol index 8bf9bfc56..4336b54db 100644 --- a/test/libsolidity/semanticTests/structs/recursive_structs.sol +++ b/test/libsolidity/semanticTests/structs/recursive_structs.sol @@ -16,7 +16,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/structs/simple_struct_allocation.sol b/test/libsolidity/semanticTests/structs/simple_struct_allocation.sol index e52d2b2f4..f357474c6 100644 --- a/test/libsolidity/semanticTests/structs/simple_struct_allocation.sol +++ b/test/libsolidity/semanticTests/structs/simple_struct_allocation.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/structs/struct_assign_reference_to_struct.sol b/test/libsolidity/semanticTests/structs/struct_assign_reference_to_struct.sol index c6dcaabbf..695b29a36 100644 --- a/test/libsolidity/semanticTests/structs/struct_assign_reference_to_struct.sol +++ b/test/libsolidity/semanticTests/structs/struct_assign_reference_to_struct.sol @@ -33,7 +33,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // assign() -> 2, 2, 3, 3 diff --git a/test/libsolidity/semanticTests/structs/struct_delete_member.sol b/test/libsolidity/semanticTests/structs/struct_delete_member.sol index 4f83478c9..1db9edd4e 100644 --- a/test/libsolidity/semanticTests/structs/struct_delete_member.sol +++ b/test/libsolidity/semanticTests/structs/struct_delete_member.sol @@ -17,7 +17,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // deleteMember() -> 0 diff --git a/test/libsolidity/semanticTests/structs/struct_delete_storage.sol b/test/libsolidity/semanticTests/structs/struct_delete_storage.sol index 02602c3eb..d57aea3c7 100644 --- a/test/libsolidity/semanticTests/structs/struct_delete_storage.sol +++ b/test/libsolidity/semanticTests/structs/struct_delete_storage.sol @@ -18,7 +18,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> diff --git a/test/libsolidity/semanticTests/structs/struct_delete_storage_small.sol b/test/libsolidity/semanticTests/structs/struct_delete_storage_small.sol index 342a6c4d8..21140e45e 100644 --- a/test/libsolidity/semanticTests/structs/struct_delete_storage_small.sol +++ b/test/libsolidity/semanticTests/structs/struct_delete_storage_small.sol @@ -19,7 +19,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> 0 diff --git a/test/libsolidity/semanticTests/structs/struct_memory_to_storage.sol b/test/libsolidity/semanticTests/structs/struct_memory_to_storage.sol index 71acc1ab9..3d4eafa34 100644 --- a/test/libsolidity/semanticTests/structs/struct_memory_to_storage.sol +++ b/test/libsolidity/semanticTests/structs/struct_memory_to_storage.sol @@ -23,7 +23,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 42, 23, 34 diff --git a/test/libsolidity/semanticTests/structs/struct_named_constructor.sol b/test/libsolidity/semanticTests/structs/struct_named_constructor.sol index d22d46fe5..cb0b0525f 100644 --- a/test/libsolidity/semanticTests/structs/struct_named_constructor.sol +++ b/test/libsolidity/semanticTests/structs/struct_named_constructor.sol @@ -11,7 +11,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // s() -> 1, true diff --git a/test/libsolidity/semanticTests/structs/struct_storage_to_memory.sol b/test/libsolidity/semanticTests/structs/struct_storage_to_memory.sol index 51db51b93..e079f61e7 100644 --- a/test/libsolidity/semanticTests/structs/struct_storage_to_memory.sol +++ b/test/libsolidity/semanticTests/structs/struct_storage_to_memory.sol @@ -21,7 +21,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 42, 23, 34 diff --git a/test/libsolidity/semanticTests/tryCatch/create.sol b/test/libsolidity/semanticTests/tryCatch/create.sol index 7fd776f6d..6923b6cb6 100644 --- a/test/libsolidity/semanticTests/tryCatch/create.sol +++ b/test/libsolidity/semanticTests/tryCatch/create.sol @@ -26,8 +26,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f() -> 0, 0, 96, 13, "test message." // g() -> 0xf01f7809444bd9a93a854361c6fae3f23d9e23db, 0, 96, 7, "success" diff --git a/test/libsolidity/semanticTests/tryCatch/lowLevel.sol b/test/libsolidity/semanticTests/tryCatch/lowLevel.sol index c707cca59..06710050e 100644 --- a/test/libsolidity/semanticTests/tryCatch/lowLevel.sol +++ b/test/libsolidity/semanticTests/tryCatch/lowLevel.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // f(bool): true -> 1, 2, 96, 0 // f(bool): false -> 0, 0, 96, 100, 0x8c379a000000000000000000000000000000000000000000000000000000000, 0x2000000000000000000000000000000000000000000000000000000000, 0x76d657373616765000000000000000000000000000000000000000000, 0 diff --git a/test/libsolidity/semanticTests/tryCatch/try_catch_library_call.sol b/test/libsolidity/semanticTests/tryCatch/try_catch_library_call.sol index cf061a8c9..cccec9a3c 100644 --- a/test/libsolidity/semanticTests/tryCatch/try_catch_library_call.sol +++ b/test/libsolidity/semanticTests/tryCatch/try_catch_library_call.sol @@ -36,8 +36,8 @@ contract C { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // library: L // f(bool): true -> 8, 0x40, 0 diff --git a/test/libsolidity/semanticTests/types/assign_calldata_value_type.sol b/test/libsolidity/semanticTests/types/assign_calldata_value_type.sol index 67981106b..53f7fe974 100644 --- a/test/libsolidity/semanticTests/types/assign_calldata_value_type.sol +++ b/test/libsolidity/semanticTests/types/assign_calldata_value_type.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 23 -> 42, 23 diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_greater_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_greater_size.sol index 871778a46..83677d2ea 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_greater_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_greater_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToBytes(bytes2): "ab" -> "ab" diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_same_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_same_size.sol index 0ac977fc3..6663b4dfe 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_same_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_same_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToBytes(bytes4): "abcd" -> "abcd" diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_smaller_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_smaller_size.sol index 513494fcd..2c7029e69 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_smaller_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_smaller_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToBytes(bytes4): "abcd" -> "ab" diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_greater_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_greater_size.sol index fa91940ca..fb2872418 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_greater_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_greater_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToUint(bytes4): "abcd" -> 0x61626364 diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_min_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_min_size.sol index 0048bda8f..00a0f748c 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_min_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_min_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToUint(bytes1): "a" -> 0x61 diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_type.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_type.sol index 77ca06efd..c17a192e8 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_type.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_same_type.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToUint(bytes32): "abc2" -> left(0x61626332) diff --git a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_smaller_size.sol b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_smaller_size.sol index bfe0695a4..65db2cd9c 100644 --- a/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_smaller_size.sol +++ b/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_uint_smaller_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // bytesToUint(bytes4): "abcd" -> 0x6364 diff --git a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_greater_size.sol b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_greater_size.sol index 7c4d5cec0..07313e085 100644 --- a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_greater_size.sol +++ b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_greater_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // UintToBytes(uint16): 0x6162 -> "\x00\x00\x00\x00\x00\x00ab" diff --git a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_min_size.sol b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_min_size.sol index 69a1c22dc..454a92d4f 100644 --- a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_min_size.sol +++ b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_min_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // UintToBytes(uint8): 0x61 -> "a" diff --git a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_size.sol b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_size.sol index 1b0b79bff..3aa27fa2b 100644 --- a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_size.sol +++ b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_same_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // uintToBytes(uint256): left(0x616263) -> left(0x616263) diff --git a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_smaller_size.sol b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_smaller_size.sol index 388a9f985..8ede41746 100644 --- a/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_smaller_size.sol +++ b/test/libsolidity/semanticTests/types/convert_uint_to_fixed_bytes_smaller_size.sol @@ -4,7 +4,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // uintToBytes(uint32): 0x61626364 -> "cd" diff --git a/test/libsolidity/semanticTests/types/mapping_enum_key_library_v2.sol b/test/libsolidity/semanticTests/types/mapping_enum_key_library_v2.sol index c034e26ff..5d2218b35 100644 --- a/test/libsolidity/semanticTests/types/mapping_enum_key_library_v2.sol +++ b/test/libsolidity/semanticTests/types/mapping_enum_key_library_v2.sol @@ -19,8 +19,8 @@ contract test { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // library: L // get(uint8): 0 -> 0 diff --git a/test/libsolidity/semanticTests/types/mapping_enum_key_v2.sol b/test/libsolidity/semanticTests/types/mapping_enum_key_v2.sol index fd0ad3823..b8c28d249 100644 --- a/test/libsolidity/semanticTests/types/mapping_enum_key_v2.sol +++ b/test/libsolidity/semanticTests/types/mapping_enum_key_v2.sol @@ -10,8 +10,8 @@ contract test { } } // ==== -// compileViaYul: also // EVMVersion: >=byzantium +// compileViaYul: also // ---- // get(uint8): 0 -> 0 // get(uint8): 0x01 -> 0 diff --git a/test/libsolidity/semanticTests/types/nested_tuples.sol b/test/libsolidity/semanticTests/types/nested_tuples.sol index a12b96ad1..43cc88bf8 100644 --- a/test/libsolidity/semanticTests/types/nested_tuples.sol +++ b/test/libsolidity/semanticTests/types/nested_tuples.sol @@ -27,8 +27,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f0() -> 2, true // f1() -> 1 diff --git a/test/libsolidity/semanticTests/types/packing_signed_types.sol b/test/libsolidity/semanticTests/types/packing_signed_types.sol index 7ae54c13d..16b11061a 100644 --- a/test/libsolidity/semanticTests/types/packing_signed_types.sol +++ b/test/libsolidity/semanticTests/types/packing_signed_types.sol @@ -5,7 +5,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run() -> 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa diff --git a/test/libsolidity/semanticTests/types/packing_unpacking_types.sol b/test/libsolidity/semanticTests/types/packing_unpacking_types.sol index 7b1412dc8..77015a9dc 100644 --- a/test/libsolidity/semanticTests/types/packing_unpacking_types.sol +++ b/test/libsolidity/semanticTests/types/packing_unpacking_types.sol @@ -6,8 +6,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run(bool,uint32,uint64): true, 0x0f0f0f0f, 0xf0f0f0f0f0f0f0f0 // -> 0x0000000000000000000000000000000000000001f0f0f0f00f0f0f0f0f0f0f0f diff --git a/test/libsolidity/semanticTests/types/strings.sol b/test/libsolidity/semanticTests/types/strings.sol index 745c3c3f2..9f2df8ae6 100644 --- a/test/libsolidity/semanticTests/types/strings.sol +++ b/test/libsolidity/semanticTests/types/strings.sol @@ -12,8 +12,8 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // fixedBytesHex() -> "\xaa\xbb\x00\xff" // fixedBytes() -> "abc\x00\xff__" diff --git a/test/libsolidity/semanticTests/types/tuple_assign_multi_slot_grow.sol b/test/libsolidity/semanticTests/types/tuple_assign_multi_slot_grow.sol index 5cfb53ed9..0e0c66802 100644 --- a/test/libsolidity/semanticTests/types/tuple_assign_multi_slot_grow.sol +++ b/test/libsolidity/semanticTests/types/tuple_assign_multi_slot_grow.sol @@ -8,7 +8,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x30, 0x31, 0x32 diff --git a/test/libsolidity/semanticTests/types/type_conversion_cleanup.sol b/test/libsolidity/semanticTests/types/type_conversion_cleanup.sol index f129c6293..fda96b6cc 100644 --- a/test/libsolidity/semanticTests/types/type_conversion_cleanup.sol +++ b/test/libsolidity/semanticTests/types/type_conversion_cleanup.sol @@ -2,7 +2,7 @@ contract Test { function test() public returns (uint ret) { return uint(uint160(address(uint160(uint128(type(uint200).max))))); } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 0xffffffffffffffffffffffffffffffff diff --git a/test/libsolidity/semanticTests/underscore/as_function.sol b/test/libsolidity/semanticTests/underscore/as_function.sol index 908947ec0..e97cc1705 100644 --- a/test/libsolidity/semanticTests/underscore/as_function.sol +++ b/test/libsolidity/semanticTests/underscore/as_function.sol @@ -13,8 +13,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // _() -> 88 // g() -> 88 diff --git a/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidInConstructor.sol b/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidInConstructor.sol index bfdb36858..85c12f0ad 100644 --- a/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidInConstructor.sol +++ b/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidInConstructor.sol @@ -20,7 +20,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidStoredInConstructor.sol b/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidStoredInConstructor.sol index 0149b479e..0c5ac1e57 100644 --- a/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidStoredInConstructor.sol +++ b/test/libsolidity/semanticTests/uninitializedFunctionPointer/invalidStoredInConstructor.sol @@ -20,7 +20,7 @@ contract Test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/uninitializedFunctionPointer/store2.sol b/test/libsolidity/semanticTests/uninitializedFunctionPointer/store2.sol index 424bb39a1..d791bbcb1 100644 --- a/test/libsolidity/semanticTests/uninitializedFunctionPointer/store2.sol +++ b/test/libsolidity/semanticTests/uninitializedFunctionPointer/store2.sol @@ -36,7 +36,7 @@ contract InvalidTest { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // run() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/uninitializedFunctionPointer/storeInConstructor.sol b/test/libsolidity/semanticTests/uninitializedFunctionPointer/storeInConstructor.sol index 398f2230f..cd20189d4 100644 --- a/test/libsolidity/semanticTests/uninitializedFunctionPointer/storeInConstructor.sol +++ b/test/libsolidity/semanticTests/uninitializedFunctionPointer/storeInConstructor.sol @@ -15,8 +15,8 @@ contract InvalidTest { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x51 // f() -> FAILURE, hex"4e487b71", 0x51 diff --git a/test/libsolidity/semanticTests/variables/delete_local.sol b/test/libsolidity/semanticTests/variables/delete_local.sol index dd52f1b5b..4b28e1966 100644 --- a/test/libsolidity/semanticTests/variables/delete_local.sol +++ b/test/libsolidity/semanticTests/variables/delete_local.sol @@ -6,7 +6,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // delLocal() -> 0 diff --git a/test/libsolidity/semanticTests/variables/delete_locals.sol b/test/libsolidity/semanticTests/variables/delete_locals.sol index 180f3ef11..c90048589 100644 --- a/test/libsolidity/semanticTests/variables/delete_locals.sol +++ b/test/libsolidity/semanticTests/variables/delete_locals.sol @@ -9,7 +9,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // delLocal() -> 6, 7 diff --git a/test/libsolidity/semanticTests/variables/public_state_overridding.sol b/test/libsolidity/semanticTests/variables/public_state_overridding.sol index 6671010de..05bd32ac2 100644 --- a/test/libsolidity/semanticTests/variables/public_state_overridding.sol +++ b/test/libsolidity/semanticTests/variables/public_state_overridding.sol @@ -12,8 +12,8 @@ contract X is A function set() public { test = 2; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> 0 // set() -> diff --git a/test/libsolidity/semanticTests/various/assignment_to_const_var_involving_expression.sol b/test/libsolidity/semanticTests/various/assignment_to_const_var_involving_expression.sol index bc7db4493..4216c4d7e 100644 --- a/test/libsolidity/semanticTests/various/assignment_to_const_var_involving_expression.sol +++ b/test/libsolidity/semanticTests/various/assignment_to_const_var_involving_expression.sol @@ -7,7 +7,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x57a diff --git a/test/libsolidity/semanticTests/various/balance.sol b/test/libsolidity/semanticTests/various/balance.sol index 7a479700b..92c388961 100644 --- a/test/libsolidity/semanticTests/various/balance.sol +++ b/test/libsolidity/semanticTests/various/balance.sol @@ -7,8 +7,8 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor(), 23 wei -> // getBalance() -> 23 diff --git a/test/libsolidity/semanticTests/various/byte_optimization_bug.sol b/test/libsolidity/semanticTests/various/byte_optimization_bug.sol index 5fa1f5bc8..d21752021 100644 --- a/test/libsolidity/semanticTests/various/byte_optimization_bug.sol +++ b/test/libsolidity/semanticTests/various/byte_optimization_bug.sol @@ -13,8 +13,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 2 -> 0 // g(uint256): 2 -> 2 diff --git a/test/libsolidity/semanticTests/various/contract_binary_dependencies.sol b/test/libsolidity/semanticTests/various/contract_binary_dependencies.sol index 8f58c115a..5303cdd52 100644 --- a/test/libsolidity/semanticTests/various/contract_binary_dependencies.sol +++ b/test/libsolidity/semanticTests/various/contract_binary_dependencies.sol @@ -17,7 +17,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // constructor() -> diff --git a/test/libsolidity/semanticTests/various/crazy_elementary_typenames_on_stack.sol b/test/libsolidity/semanticTests/various/crazy_elementary_typenames_on_stack.sol index 1d03723f2..473358bad 100644 --- a/test/libsolidity/semanticTests/various/crazy_elementary_typenames_on_stack.sol +++ b/test/libsolidity/semanticTests/various/crazy_elementary_typenames_on_stack.sol @@ -10,7 +10,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> -7 diff --git a/test/libsolidity/semanticTests/various/cross_contract_types.sol b/test/libsolidity/semanticTests/various/cross_contract_types.sol index c100ab7b7..d2fd2aa28 100644 --- a/test/libsolidity/semanticTests/various/cross_contract_types.sol +++ b/test/libsolidity/semanticTests/various/cross_contract_types.sol @@ -14,7 +14,7 @@ contract Test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3 diff --git a/test/libsolidity/semanticTests/various/decayed_tuple.sol b/test/libsolidity/semanticTests/various/decayed_tuple.sol index df845eff4..486613036 100644 --- a/test/libsolidity/semanticTests/various/decayed_tuple.sol +++ b/test/libsolidity/semanticTests/various/decayed_tuple.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 diff --git a/test/libsolidity/semanticTests/various/empty_name_return_parameter.sol b/test/libsolidity/semanticTests/various/empty_name_return_parameter.sol index 9972f7bd2..6509db3f0 100644 --- a/test/libsolidity/semanticTests/various/empty_name_return_parameter.sol +++ b/test/libsolidity/semanticTests/various/empty_name_return_parameter.sol @@ -5,7 +5,7 @@ contract test { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 9 -> 9 diff --git a/test/libsolidity/semanticTests/various/gasleft_decrease.sol b/test/libsolidity/semanticTests/various/gasleft_decrease.sol index 9730aac11..71810956a 100644 --- a/test/libsolidity/semanticTests/various/gasleft_decrease.sol +++ b/test/libsolidity/semanticTests/various/gasleft_decrease.sol @@ -16,8 +16,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true // g() -> true diff --git a/test/libsolidity/semanticTests/various/gasleft_shadow_resolution.sol b/test/libsolidity/semanticTests/various/gasleft_shadow_resolution.sol index e32954d34..4cea82259 100644 --- a/test/libsolidity/semanticTests/various/gasleft_shadow_resolution.sol +++ b/test/libsolidity/semanticTests/various/gasleft_shadow_resolution.sol @@ -9,7 +9,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0 diff --git a/test/libsolidity/semanticTests/various/inline_member_init.sol b/test/libsolidity/semanticTests/various/inline_member_init.sol index 66fad2b14..6575b6161 100644 --- a/test/libsolidity/semanticTests/various/inline_member_init.sol +++ b/test/libsolidity/semanticTests/various/inline_member_init.sol @@ -15,7 +15,7 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // get() -> 5, 6, 8 diff --git a/test/libsolidity/semanticTests/various/inline_member_init_inheritence.sol b/test/libsolidity/semanticTests/various/inline_member_init_inheritence.sol index 1f345d6b9..c06233de4 100644 --- a/test/libsolidity/semanticTests/various/inline_member_init_inheritence.sol +++ b/test/libsolidity/semanticTests/various/inline_member_init_inheritence.sol @@ -19,8 +19,8 @@ contract Derived is Base { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getBMember() -> 5 // getDMember() -> 6 diff --git a/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol b/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol index ec42dfde2..73697c74a 100644 --- a/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol +++ b/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol @@ -6,7 +6,7 @@ contract c { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 diff --git a/test/libsolidity/semanticTests/various/iszero_bnot_correct.sol b/test/libsolidity/semanticTests/various/iszero_bnot_correct.sol index dc702c744..a1cd64725 100644 --- a/test/libsolidity/semanticTests/various/iszero_bnot_correct.sol +++ b/test/libsolidity/semanticTests/various/iszero_bnot_correct.sol @@ -16,7 +16,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/various/memory_overwrite.sol b/test/libsolidity/semanticTests/various/memory_overwrite.sol index e11fb40fb..028ee903b 100644 --- a/test/libsolidity/semanticTests/various/memory_overwrite.sol +++ b/test/libsolidity/semanticTests/various/memory_overwrite.sol @@ -7,7 +7,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x20, 5, "b23a5" diff --git a/test/libsolidity/semanticTests/various/multi_variable_declaration.sol b/test/libsolidity/semanticTests/various/multi_variable_declaration.sol index c9f492a17..3f8e40cda 100644 --- a/test/libsolidity/semanticTests/various/multi_variable_declaration.sol +++ b/test/libsolidity/semanticTests/various/multi_variable_declaration.sol @@ -43,7 +43,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/various/nested_calldata_struct.sol b/test/libsolidity/semanticTests/various/nested_calldata_struct.sol index 2f72d72cc..4971352b3 100644 --- a/test/libsolidity/semanticTests/various/nested_calldata_struct.sol +++ b/test/libsolidity/semanticTests/various/nested_calldata_struct.sol @@ -23,7 +23,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f((uint256,uint256,(uint256,uint256),uint256)): 1, 2, 3, 4, 5 -> 1, 2, 3, 4, 5 diff --git a/test/libsolidity/semanticTests/various/positive_integers_to_signed.sol b/test/libsolidity/semanticTests/various/positive_integers_to_signed.sol index 954d43fcf..56f072b2e 100644 --- a/test/libsolidity/semanticTests/various/positive_integers_to_signed.sol +++ b/test/libsolidity/semanticTests/various/positive_integers_to_signed.sol @@ -4,8 +4,8 @@ contract test { int16 public q = 250; } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 2 // y() -> 127 diff --git a/test/libsolidity/semanticTests/various/single_copy_with_multiple_inheritance.sol b/test/libsolidity/semanticTests/various/single_copy_with_multiple_inheritance.sol index 43ff8a376..68aac998e 100644 --- a/test/libsolidity/semanticTests/various/single_copy_with_multiple_inheritance.sol +++ b/test/libsolidity/semanticTests/various/single_copy_with_multiple_inheritance.sol @@ -28,8 +28,8 @@ contract B is Base { contract Derived is Base, B, A {} // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getViaB() -> 0 // setViaA(uint256): 23 -> diff --git a/test/libsolidity/semanticTests/various/state_variable_local_variable_mixture.sol b/test/libsolidity/semanticTests/various/state_variable_local_variable_mixture.sol index f18cebcde..4cea04c96 100644 --- a/test/libsolidity/semanticTests/various/state_variable_local_variable_mixture.sol +++ b/test/libsolidity/semanticTests/various/state_variable_local_variable_mixture.sol @@ -7,7 +7,7 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // a() -> 2 diff --git a/test/libsolidity/semanticTests/various/state_variable_under_contract_name.sol b/test/libsolidity/semanticTests/various/state_variable_under_contract_name.sol index 8fa2ef5bb..53306c88b 100644 --- a/test/libsolidity/semanticTests/various/state_variable_under_contract_name.sol +++ b/test/libsolidity/semanticTests/various/state_variable_under_contract_name.sol @@ -6,7 +6,7 @@ contract Scope { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // getStateVar() -> 42 diff --git a/test/libsolidity/semanticTests/various/string_tuples.sol b/test/libsolidity/semanticTests/various/string_tuples.sol index 36caa56b2..4af1b83f3 100644 --- a/test/libsolidity/semanticTests/various/string_tuples.sol +++ b/test/libsolidity/semanticTests/various/string_tuples.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x40, 0x8, 0x3, "abc" // g() -> 0x40, 0x80, 0x3, "abc", 0x3, "def" diff --git a/test/libsolidity/semanticTests/various/super.sol b/test/libsolidity/semanticTests/various/super.sol index 1b2efd00c..e730a7966 100644 --- a/test/libsolidity/semanticTests/various/super.sol +++ b/test/libsolidity/semanticTests/various/super.sol @@ -26,7 +26,7 @@ contract D is B, C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 15 diff --git a/test/libsolidity/semanticTests/various/super_alone.sol b/test/libsolidity/semanticTests/various/super_alone.sol index a8536d8f1..726b788ae 100644 --- a/test/libsolidity/semanticTests/various/super_alone.sol +++ b/test/libsolidity/semanticTests/various/super_alone.sol @@ -5,7 +5,7 @@ contract A { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> diff --git a/test/libsolidity/semanticTests/various/super_parentheses.sol b/test/libsolidity/semanticTests/various/super_parentheses.sol index 5c45fa396..0f54acdcb 100644 --- a/test/libsolidity/semanticTests/various/super_parentheses.sol +++ b/test/libsolidity/semanticTests/various/super_parentheses.sol @@ -26,7 +26,7 @@ contract D is B, C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 15 diff --git a/test/libsolidity/semanticTests/various/test_underscore_in_hex.sol b/test/libsolidity/semanticTests/various/test_underscore_in_hex.sol index c36ca1a86..05cb1d5d3 100644 --- a/test/libsolidity/semanticTests/various/test_underscore_in_hex.sol +++ b/test/libsolidity/semanticTests/various/test_underscore_in_hex.sol @@ -6,8 +6,8 @@ contract test { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 0x1234ab // f(bool): false -> 0x1234abcd1234 diff --git a/test/libsolidity/semanticTests/various/typed_multi_variable_declaration.sol b/test/libsolidity/semanticTests/various/typed_multi_variable_declaration.sol index 51ec70863..2836953dc 100644 --- a/test/libsolidity/semanticTests/various/typed_multi_variable_declaration.sol +++ b/test/libsolidity/semanticTests/various/typed_multi_variable_declaration.sol @@ -23,7 +23,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/assert.sol b/test/libsolidity/semanticTests/viaYul/assert.sol index 5b19d3a00..f7b2c3c3c 100644 --- a/test/libsolidity/semanticTests/viaYul/assert.sol +++ b/test/libsolidity/semanticTests/viaYul/assert.sol @@ -14,8 +14,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> true // f(bool): false -> FAILURE, hex"4e487b71", 0x01 diff --git a/test/libsolidity/semanticTests/viaYul/assert_and_require.sol b/test/libsolidity/semanticTests/viaYul/assert_and_require.sol index 8c435291b..b163097e8 100644 --- a/test/libsolidity/semanticTests/viaYul/assert_and_require.sol +++ b/test/libsolidity/semanticTests/viaYul/assert_and_require.sol @@ -11,8 +11,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> true // f(bool): false -> FAILURE, hex"4e487b71", 0x01 diff --git a/test/libsolidity/semanticTests/viaYul/assign_tuple_from_function_call.sol b/test/libsolidity/semanticTests/viaYul/assign_tuple_from_function_call.sol index 26c5a42ae..c371f8371 100644 --- a/test/libsolidity/semanticTests/viaYul/assign_tuple_from_function_call.sol +++ b/test/libsolidity/semanticTests/viaYul/assign_tuple_from_function_call.sol @@ -10,8 +10,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 3, 2, 1 // h() -> 3 diff --git a/test/libsolidity/semanticTests/viaYul/calldata_array_index_range_access.sol b/test/libsolidity/semanticTests/viaYul/calldata_array_index_range_access.sol index 14c9ef209..60ea3a8dd 100644 --- a/test/libsolidity/semanticTests/viaYul/calldata_array_index_range_access.sol +++ b/test/libsolidity/semanticTests/viaYul/calldata_array_index_range_access.sol @@ -26,8 +26,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[],uint256,uint256): 0x60, 2, 4, 5, 1, 2, 3, 4, 5 -> 2 // f(uint256[],uint256,uint256): 0x60, 2, 6, 5, 1, 2, 3, 4, 5 -> FAILURE diff --git a/test/libsolidity/semanticTests/viaYul/calldata_array_three_dimensional.sol b/test/libsolidity/semanticTests/viaYul/calldata_array_three_dimensional.sol index 337325967..37bb54058 100644 --- a/test/libsolidity/semanticTests/viaYul/calldata_array_three_dimensional.sol +++ b/test/libsolidity/semanticTests/viaYul/calldata_array_three_dimensional.sol @@ -9,8 +9,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256[][2][],uint256,uint256,uint256): 0x80, 0, 0, 0, 1, 0x20, 0x40, 0x80, 1, 42, 1, 23 -> 1, 2, 1, 42 // f(uint256[][2][],uint256,uint256,uint256): 0x80, 0, 1, 0, 1, 0x20, 0x40, 0x80, 1, 42, 1, 23 -> 1, 2, 1, 23 diff --git a/test/libsolidity/semanticTests/viaYul/cleanup/checked_arithmetic.sol b/test/libsolidity/semanticTests/viaYul/cleanup/checked_arithmetic.sol index dd812a856..a81ab4577 100644 --- a/test/libsolidity/semanticTests/viaYul/cleanup/checked_arithmetic.sol +++ b/test/libsolidity/semanticTests/viaYul/cleanup/checked_arithmetic.sol @@ -51,8 +51,8 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // add() -> 1, 1 // sub() -> 0, 0 diff --git a/test/libsolidity/semanticTests/viaYul/cleanup/comparison.sol b/test/libsolidity/semanticTests/viaYul/cleanup/comparison.sol index cadf063bd..1ac815ea3 100644 --- a/test/libsolidity/semanticTests/viaYul/cleanup/comparison.sol +++ b/test/libsolidity/semanticTests/viaYul/cleanup/comparison.sol @@ -31,8 +31,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // eq() -> true // neq() -> false diff --git a/test/libsolidity/semanticTests/viaYul/comparison_functions.sol b/test/libsolidity/semanticTests/viaYul/comparison_functions.sol index f0b07ba3b..d039f4282 100644 --- a/test/libsolidity/semanticTests/viaYul/comparison_functions.sol +++ b/test/libsolidity/semanticTests/viaYul/comparison_functions.sol @@ -25,8 +25,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // equal() -> true, false, false // unequal() -> false, true, true diff --git a/test/libsolidity/semanticTests/viaYul/conditional/conditional_multiple.sol b/test/libsolidity/semanticTests/viaYul/conditional/conditional_multiple.sol index 7fb396b43..5009b01e9 100644 --- a/test/libsolidity/semanticTests/viaYul/conditional/conditional_multiple.sol +++ b/test/libsolidity/semanticTests/viaYul/conditional/conditional_multiple.sol @@ -5,7 +5,7 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/viaYul/conditional/conditional_true_false_literal.sol b/test/libsolidity/semanticTests/viaYul/conditional/conditional_true_false_literal.sol index 2b1205a66..e80355f39 100644 --- a/test/libsolidity/semanticTests/viaYul/conditional/conditional_true_false_literal.sol +++ b/test/libsolidity/semanticTests/viaYul/conditional/conditional_true_false_literal.sol @@ -6,7 +6,7 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 diff --git a/test/libsolidity/semanticTests/viaYul/conditional/conditional_tuple.sol b/test/libsolidity/semanticTests/viaYul/conditional/conditional_tuple.sol index d330609c8..257b24360 100644 --- a/test/libsolidity/semanticTests/viaYul/conditional/conditional_tuple.sol +++ b/test/libsolidity/semanticTests/viaYul/conditional/conditional_tuple.sol @@ -5,8 +5,8 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> 1, 2 // f(bool): false -> 3, 4 diff --git a/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_assignment.sol b/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_assignment.sol index 754485265..7ab894a60 100644 --- a/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_assignment.sol @@ -8,7 +8,7 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 6, 1, 5, 5 diff --git a/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_variables.sol b/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_variables.sol index 256b5dbb7..260f4d688 100644 --- a/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_variables.sol +++ b/test/libsolidity/semanticTests/viaYul/conditional/conditional_with_variables.sol @@ -8,7 +8,7 @@ contract A { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3, 1, 3, 1 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_assignment.sol b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_assignment.sol index afa5c531b..150bdcc2e 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x78 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_function_call.sol b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_function_call.sol index 67a831de9..0e41b2a93 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_function_call.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_function_call.sol @@ -7,7 +7,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 0x1234567800000000000000000000000000000000000000000000000000000000 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_local_assignment.sol b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_local_assignment.sol index a857d86c0..63f6cb895 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_local_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/explicit_cast_local_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 0x12345678 -> 0x78 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_assignment.sol b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_assignment.sol index 60e553d0b..641d074b1 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_assignment.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x78 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_function_call.sol b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_function_call.sol index 1588adef5..f619355d1 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_function_call.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_function_call.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 0x78 diff --git a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_local_assignment.sol b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_local_assignment.sol index ebae02779..dd1d869c7 100644 --- a/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_local_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/conversion/implicit_cast_local_assignment.sol @@ -8,7 +8,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0x78 diff --git a/test/libsolidity/semanticTests/viaYul/define_tuple_from_function_call.sol b/test/libsolidity/semanticTests/viaYul/define_tuple_from_function_call.sol index 093e611e4..1030748db 100644 --- a/test/libsolidity/semanticTests/viaYul/define_tuple_from_function_call.sol +++ b/test/libsolidity/semanticTests/viaYul/define_tuple_from_function_call.sol @@ -12,8 +12,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 3, 2, 1 // h() -> 3 diff --git a/test/libsolidity/semanticTests/viaYul/delete.sol b/test/libsolidity/semanticTests/viaYul/delete.sol index 6b23245ea..90d3660bb 100644 --- a/test/libsolidity/semanticTests/viaYul/delete.sol +++ b/test/libsolidity/semanticTests/viaYul/delete.sol @@ -19,8 +19,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // call_deleted_internal_func() -> FAILURE, hex"4e487b71", 0x51 // call_internal_func() -> true diff --git a/test/libsolidity/semanticTests/viaYul/dirty_memory_dynamic_array.sol b/test/libsolidity/semanticTests/viaYul/dirty_memory_dynamic_array.sol index 0ec8f9a75..8b34fd801 100644 --- a/test/libsolidity/semanticTests/viaYul/dirty_memory_dynamic_array.sol +++ b/test/libsolidity/semanticTests/viaYul/dirty_memory_dynamic_array.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/dirty_memory_int32.sol b/test/libsolidity/semanticTests/viaYul/dirty_memory_int32.sol index 594a97abb..636572d50 100644 --- a/test/libsolidity/semanticTests/viaYul/dirty_memory_int32.sol +++ b/test/libsolidity/semanticTests/viaYul/dirty_memory_int32.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/dirty_memory_static_array.sol b/test/libsolidity/semanticTests/viaYul/dirty_memory_static_array.sol index 7a9aa542b..2e9acb27c 100644 --- a/test/libsolidity/semanticTests/viaYul/dirty_memory_static_array.sol +++ b/test/libsolidity/semanticTests/viaYul/dirty_memory_static_array.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/dirty_memory_struct.sol b/test/libsolidity/semanticTests/viaYul/dirty_memory_struct.sol index 1cbfd84d9..7c1428050 100644 --- a/test/libsolidity/semanticTests/viaYul/dirty_memory_struct.sol +++ b/test/libsolidity/semanticTests/viaYul/dirty_memory_struct.sol @@ -17,7 +17,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/dirty_memory_uint32.sol b/test/libsolidity/semanticTests/viaYul/dirty_memory_uint32.sol index b83899176..cfd2c05af 100644 --- a/test/libsolidity/semanticTests/viaYul/dirty_memory_uint32.sol +++ b/test/libsolidity/semanticTests/viaYul/dirty_memory_uint32.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/exp.sol b/test/libsolidity/semanticTests/viaYul/exp.sol index ea13f1406..23ac4ad97 100644 --- a/test/libsolidity/semanticTests/viaYul/exp.sol +++ b/test/libsolidity/semanticTests/viaYul/exp.sol @@ -4,8 +4,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 0, 0 -> 1 // f(uint256,uint256): 0, 1 -> 0x00 diff --git a/test/libsolidity/semanticTests/viaYul/exp_literals.sol b/test/libsolidity/semanticTests/viaYul/exp_literals.sol index f4e9b2720..55ed66eb3 100644 --- a/test/libsolidity/semanticTests/viaYul/exp_literals.sol +++ b/test/libsolidity/semanticTests/viaYul/exp_literals.sol @@ -29,8 +29,8 @@ contract C { } // ==== -// compileViaYul: true // compileToEwasm: also +// compileViaYul: true // ---- // exp_2(uint256): 255 -> 57896044618658097711785492504343953926634992332820282019728792003956564819968 // exp_2(uint256): 256 -> FAILURE, hex"4e487b71", 0x11 diff --git a/test/libsolidity/semanticTests/viaYul/exp_literals_success.sol b/test/libsolidity/semanticTests/viaYul/exp_literals_success.sol index 765645c70..bc4f56118 100644 --- a/test/libsolidity/semanticTests/viaYul/exp_literals_success.sol +++ b/test/libsolidity/semanticTests/viaYul/exp_literals_success.sol @@ -29,8 +29,8 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // exp_2(uint256): 255 -> 57896044618658097711785492504343953926634992332820282019728792003956564819968 // exp_minus_2(uint256): 255 -> -57896044618658097711785492504343953926634992332820282019728792003956564819968 diff --git a/test/libsolidity/semanticTests/viaYul/exp_various.sol b/test/libsolidity/semanticTests/viaYul/exp_various.sol index 0ea53790f..e9a5bc026 100644 --- a/test/libsolidity/semanticTests/viaYul/exp_various.sol +++ b/test/libsolidity/semanticTests/viaYul/exp_various.sol @@ -7,8 +7,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8,uint8): 0, 0 -> 1 // f(uint8,uint8): 0, 1 -> 0x00 diff --git a/test/libsolidity/semanticTests/viaYul/function_entry_checks.sol b/test/libsolidity/semanticTests/viaYul/function_entry_checks.sol index 44466d911..cf06479a7 100644 --- a/test/libsolidity/semanticTests/viaYul/function_entry_checks.sol +++ b/test/libsolidity/semanticTests/viaYul/function_entry_checks.sol @@ -17,8 +17,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0 // g(uint256,uint256): 1, -2 -> 0 diff --git a/test/libsolidity/semanticTests/viaYul/function_pointers.sol b/test/libsolidity/semanticTests/viaYul/function_pointers.sol index 0ea938d66..30129ce53 100644 --- a/test/libsolidity/semanticTests/viaYul/function_pointers.sol +++ b/test/libsolidity/semanticTests/viaYul/function_pointers.sol @@ -17,8 +17,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE, hex"4e487b71", 0x51 // g() -> FAILURE diff --git a/test/libsolidity/semanticTests/viaYul/if.sol b/test/libsolidity/semanticTests/viaYul/if.sol index 49c9453b8..66af17f72 100644 --- a/test/libsolidity/semanticTests/viaYul/if.sol +++ b/test/libsolidity/semanticTests/viaYul/if.sol @@ -60,8 +60,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): 0 -> 23 // f(bool): 1 -> 42 diff --git a/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol b/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol index 438108da3..9b8626db5 100644 --- a/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(address): 0x1234 -> 0x1234 diff --git a/test/libsolidity/semanticTests/viaYul/local_assignment.sol b/test/libsolidity/semanticTests/viaYul/local_assignment.sol index cdb84c3cb..ac3beb492 100644 --- a/test/libsolidity/semanticTests/viaYul/local_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/local_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256): 6 -> 6 diff --git a/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol b/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol index 4b1371f33..32f7d4bac 100644 --- a/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> true diff --git a/test/libsolidity/semanticTests/viaYul/local_tuple_assignment.sol b/test/libsolidity/semanticTests/viaYul/local_tuple_assignment.sol index d94e8710b..feeeb490e 100644 --- a/test/libsolidity/semanticTests/viaYul/local_tuple_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/local_tuple_assignment.sol @@ -22,8 +22,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // x() -> 17 // f(uint256,uint256): 23, 42 -> 23, 42 diff --git a/test/libsolidity/semanticTests/viaYul/local_variable_without_init.sol b/test/libsolidity/semanticTests/viaYul/local_variable_without_init.sol index 2001307e0..e43c94a84 100644 --- a/test/libsolidity/semanticTests/viaYul/local_variable_without_init.sol +++ b/test/libsolidity/semanticTests/viaYul/local_variable_without_init.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0 diff --git a/test/libsolidity/semanticTests/viaYul/loops/break.sol b/test/libsolidity/semanticTests/viaYul/loops/break.sol index 2f683c0cf..433adbf11 100644 --- a/test/libsolidity/semanticTests/viaYul/loops/break.sol +++ b/test/libsolidity/semanticTests/viaYul/loops/break.sol @@ -24,8 +24,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 // g() -> 2 diff --git a/test/libsolidity/semanticTests/viaYul/loops/continue.sol b/test/libsolidity/semanticTests/viaYul/loops/continue.sol index 14e5ca5f4..889a18e55 100644 --- a/test/libsolidity/semanticTests/viaYul/loops/continue.sol +++ b/test/libsolidity/semanticTests/viaYul/loops/continue.sol @@ -30,8 +30,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 11 // g() -> 11 diff --git a/test/libsolidity/semanticTests/viaYul/loops/return.sol b/test/libsolidity/semanticTests/viaYul/loops/return.sol index b8ced9fe6..3ad4abc86 100644 --- a/test/libsolidity/semanticTests/viaYul/loops/return.sol +++ b/test/libsolidity/semanticTests/viaYul/loops/return.sol @@ -27,8 +27,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1 // g() -> 1 diff --git a/test/libsolidity/semanticTests/viaYul/loops/simple.sol b/test/libsolidity/semanticTests/viaYul/loops/simple.sol index b42f79c44..a4dcf38d1 100644 --- a/test/libsolidity/semanticTests/viaYul/loops/simple.sol +++ b/test/libsolidity/semanticTests/viaYul/loops/simple.sol @@ -30,8 +30,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 1024 // g() -> 1024 diff --git a/test/libsolidity/semanticTests/viaYul/memory_struct_allow.sol b/test/libsolidity/semanticTests/viaYul/memory_struct_allow.sol index 808482001..02ec2fe95 100644 --- a/test/libsolidity/semanticTests/viaYul/memory_struct_allow.sol +++ b/test/libsolidity/semanticTests/viaYul/memory_struct_allow.sol @@ -16,7 +16,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 0, 0 diff --git a/test/libsolidity/semanticTests/viaYul/msg_sender.sol b/test/libsolidity/semanticTests/viaYul/msg_sender.sol index 5ce5b530b..d4177b4d6 100644 --- a/test/libsolidity/semanticTests/viaYul/msg_sender.sol +++ b/test/libsolidity/semanticTests/viaYul/msg_sender.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // test() -> true diff --git a/test/libsolidity/semanticTests/viaYul/require.sol b/test/libsolidity/semanticTests/viaYul/require.sol index 6376dba95..ca129a885 100644 --- a/test/libsolidity/semanticTests/viaYul/require.sol +++ b/test/libsolidity/semanticTests/viaYul/require.sol @@ -29,9 +29,9 @@ contract C { } } // ==== -// compileViaYul: also -// compileToEwasm: also // EVMVersion: >=byzantium +// compileToEwasm: also +// compileViaYul: also // ---- // f(bool): true -> true // f(bool): false -> FAILURE diff --git a/test/libsolidity/semanticTests/viaYul/return.sol b/test/libsolidity/semanticTests/viaYul/return.sol index 1b5a983c1..9988f6a29 100644 --- a/test/libsolidity/semanticTests/viaYul/return.sol +++ b/test/libsolidity/semanticTests/viaYul/return.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 7 diff --git a/test/libsolidity/semanticTests/viaYul/return_and_convert.sol b/test/libsolidity/semanticTests/viaYul/return_and_convert.sol index 082dc4048..57b92691a 100644 --- a/test/libsolidity/semanticTests/viaYul/return_and_convert.sol +++ b/test/libsolidity/semanticTests/viaYul/return_and_convert.sol @@ -6,7 +6,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 255 diff --git a/test/libsolidity/semanticTests/viaYul/return_storage_pointers.sol b/test/libsolidity/semanticTests/viaYul/return_storage_pointers.sol index bb7da7a73..f99f7d072 100644 --- a/test/libsolidity/semanticTests/viaYul/return_storage_pointers.sol +++ b/test/libsolidity/semanticTests/viaYul/return_storage_pointers.sol @@ -11,7 +11,7 @@ contract C { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 0, 0 diff --git a/test/libsolidity/semanticTests/viaYul/short_circuit.sol b/test/libsolidity/semanticTests/viaYul/short_circuit.sol index 7acb4cbfd..23172d02a 100644 --- a/test/libsolidity/semanticTests/viaYul/short_circuit.sol +++ b/test/libsolidity/semanticTests/viaYul/short_circuit.sol @@ -9,8 +9,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // or(uint256): 0 -> true, 0 // and(uint256): 0 -> true, 8 diff --git a/test/libsolidity/semanticTests/viaYul/simple_assignment.sol b/test/libsolidity/semanticTests/viaYul/simple_assignment.sol index 0d54426a9..21576ebd1 100644 --- a/test/libsolidity/semanticTests/viaYul/simple_assignment.sol +++ b/test/libsolidity/semanticTests/viaYul/simple_assignment.sol @@ -5,7 +5,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint256,uint256): 5, 6 -> 5, 6 diff --git a/test/libsolidity/semanticTests/viaYul/simple_inline_asm.sol b/test/libsolidity/semanticTests/viaYul/simple_inline_asm.sol index a2aec51df..1802fb956 100644 --- a/test/libsolidity/semanticTests/viaYul/simple_inline_asm.sol +++ b/test/libsolidity/semanticTests/viaYul/simple_inline_asm.sol @@ -12,7 +12,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 6 diff --git a/test/libsolidity/semanticTests/viaYul/smoke_test.sol b/test/libsolidity/semanticTests/viaYul/smoke_test.sol index 7acfd831a..c2dbce275 100644 --- a/test/libsolidity/semanticTests/viaYul/smoke_test.sol +++ b/test/libsolidity/semanticTests/viaYul/smoke_test.sol @@ -1,8 +1,8 @@ contract C { } // ==== -// compileViaYul: also -// compileToEwasm: also // allowNonExistingFunctions: true +// compileToEwasm: also +// compileViaYul: also // ---- // f() -> FAILURE diff --git a/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_bytes.sol b/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_bytes.sol index bf15d5f4d..b968f92ba 100644 --- a/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_bytes.sol +++ b/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_bytes.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_static_array.sol b/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_static_array.sol index a587ef2e6..49d26789e 100644 --- a/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_static_array.sol +++ b/test/libsolidity/semanticTests/viaYul/storage/dirty_storage_static_array.sol @@ -13,7 +13,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> true diff --git a/test/libsolidity/semanticTests/viaYul/storage/packed_storage.sol b/test/libsolidity/semanticTests/viaYul/storage/packed_storage.sol index 51ff343d8..6049fb7cf 100644 --- a/test/libsolidity/semanticTests/viaYul/storage/packed_storage.sol +++ b/test/libsolidity/semanticTests/viaYul/storage/packed_storage.sol @@ -11,7 +11,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f(uint8): 6 -> 9 diff --git a/test/libsolidity/semanticTests/viaYul/storage/simple_storage.sol b/test/libsolidity/semanticTests/viaYul/storage/simple_storage.sol index 6c5143534..a01b545d4 100644 --- a/test/libsolidity/semanticTests/viaYul/storage/simple_storage.sol +++ b/test/libsolidity/semanticTests/viaYul/storage/simple_storage.sol @@ -11,8 +11,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // setX(uint256): 6 -> 6 // setY(uint256): 2 -> 2 diff --git a/test/libsolidity/semanticTests/viaYul/string_format.sol b/test/libsolidity/semanticTests/viaYul/string_format.sol index 669de6e9a..76297e31d 100644 --- a/test/libsolidity/semanticTests/viaYul/string_format.sol +++ b/test/libsolidity/semanticTests/viaYul/string_format.sol @@ -5,8 +5,8 @@ contract C { function h() external pure returns (bytes4) { return 0xcafecafe; } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f1() -> 0x20, 6, left(0x616263616263) // f2() -> 32, 47, 44048183223289766195424279195050628400112610419087780792899004030957505095210, 18165586057823232067963737336409268114628061002662705707816940456850361417728 diff --git a/test/libsolidity/semanticTests/viaYul/string_literals.sol b/test/libsolidity/semanticTests/viaYul/string_literals.sol index 57682e20a..997ac3896 100644 --- a/test/libsolidity/semanticTests/viaYul/string_literals.sol +++ b/test/libsolidity/semanticTests/viaYul/string_literals.sol @@ -19,8 +19,8 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // short_dyn() -> 0x20, 3, "abc" // long_dyn() -> 0x20, 80, "12345678901234567890123456789012", "34567890123456789012345678901234", "5678901234567890" diff --git a/test/libsolidity/semanticTests/viaYul/tuple_evaluation_order.sol b/test/libsolidity/semanticTests/viaYul/tuple_evaluation_order.sol index c4a12481e..f8500b7db 100644 --- a/test/libsolidity/semanticTests/viaYul/tuple_evaluation_order.sol +++ b/test/libsolidity/semanticTests/viaYul/tuple_evaluation_order.sol @@ -9,7 +9,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3, 1 diff --git a/test/libsolidity/semanticTests/viaYul/various_inline_asm.sol b/test/libsolidity/semanticTests/viaYul/various_inline_asm.sol index f3bcf56fc..57c028547 100644 --- a/test/libsolidity/semanticTests/viaYul/various_inline_asm.sol +++ b/test/libsolidity/semanticTests/viaYul/various_inline_asm.sol @@ -18,7 +18,7 @@ contract C { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 70 diff --git a/test/libsolidity/semanticTests/viaYul/virtual_functions.sol b/test/libsolidity/semanticTests/viaYul/virtual_functions.sol index 45d4ccf46..b7cb10837 100644 --- a/test/libsolidity/semanticTests/viaYul/virtual_functions.sol +++ b/test/libsolidity/semanticTests/viaYul/virtual_functions.sol @@ -24,8 +24,8 @@ contract C is X { } } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 3 // f1() -> 3 diff --git a/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls.sol b/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls.sol index bc57e6feb..2f0ce489c 100644 --- a/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls.sol +++ b/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls.sol @@ -16,7 +16,7 @@ contract Derived is Base { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // f() -> 2 diff --git a/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls_through_dispatch.sol b/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls_through_dispatch.sol index e1b415c74..6c387e2e0 100644 --- a/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls_through_dispatch.sol +++ b/test/libsolidity/semanticTests/virtualFunctions/internal_virtual_function_calls_through_dispatch.sol @@ -21,7 +21,7 @@ contract Derived is Base { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // h() -> 2 diff --git a/test/libsolidity/semanticTests/virtualFunctions/virtual_function_calls.sol b/test/libsolidity/semanticTests/virtualFunctions/virtual_function_calls.sol index 41a0d608a..a351cf990 100644 --- a/test/libsolidity/semanticTests/virtualFunctions/virtual_function_calls.sol +++ b/test/libsolidity/semanticTests/virtualFunctions/virtual_function_calls.sol @@ -16,8 +16,8 @@ contract Derived is Base { } // ==== -// compileViaYul: also // compileToEwasm: also +// compileViaYul: also // ---- // g() -> 2 // f() -> 2 diff --git a/test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol b/test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol index 669a25d11..274c8c48f 100644 --- a/test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol +++ b/test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol @@ -7,6 +7,6 @@ contract C { } } // ==== -// SMTEngine: all // EVMVersion: >=byzantium +// SMTEngine: all // ----