solidity/libsolidity/codegen/ir
2019-11-04 17:17:58 +01:00
..
IRGenerationContext.cpp [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGenerationContext.h [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGenerator.cpp Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
IRGenerator.h [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGeneratorForStatements.cpp Use `leave` in code generator. 2019-10-29 14:32:16 +01:00
IRGeneratorForStatements.h Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00
IRLValue.cpp Make use of C++17 std::optional<> instead of boost::optional<>. 2019-10-28 11:39:30 +01:00
IRLValue.h Refactor IRLValue so that it does not require IRGenerationContext. 2019-08-08 17:27:35 +02:00
README.md Document differences between legacy Solidity and Solidity via Yul. 2019-07-11 17:48:06 +02:00

The Solidity to Yul Code Generator

This directory contains the new experimental code generator that compiles Solidity to an intermediate representation in Yul with EVM dialect.

The main semantic differences to the legacy code generator are the following:

  • Arithmetic operations cause a failing assertion if the result is not in range.
  • Resizing a storage array to a length larger than 2**64 causes a failing assertion.