solidity/libsolidity/codegen/ir
2020-10-15 16:16:41 +02:00
..
Common.cpp
Common.h
IRGenerationContext.cpp
IRGenerationContext.h Add stack limit evader. 2020-09-17 22:13:27 +02:00
IRGenerator.cpp Disable StackLimitEvader again until we have stronger correctness guarantees. 2020-10-15 16:16:41 +02:00
IRGenerator.h Add stack limit evader. 2020-09-17 22:13:27 +02:00
IRGeneratorForStatements.cpp Use array length function. 2020-10-14 12:22:34 +02:00
IRGeneratorForStatements.h Report locations of unimplemented features. 2020-09-15 14:41:46 +02:00
IRLValue.h
IRVariable.cpp
IRVariable.h
README.md

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.