solidity/libsolidity/codegen/ir
2019-09-13 10:57:53 +02: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 Implements constructor code for state variables. 2019-08-05 11:23:01 +02:00
IRGenerator.h [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGeneratorForStatements.cpp Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02: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 Refactor IRLValue so that it does not require IRGenerationContext. 2019-08-08 17:27:35 +02: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.