solidity/libsolidity/codegen/ir
2022-03-09 18:55:22 -05:00
..
Common.cpp Extract external function part into its own function. 2022-02-21 14:32:52 +01:00
Common.h Extract external function part into its own function. 2022-02-21 14:32:52 +01:00
IRGenerationContext.cpp
IRGenerationContext.h Allow annotating inline assembly as memory-safe. 2022-03-02 16:42:28 +01:00
IRGenerator.cpp Merge branch 'develop' of github.com:tfire/solidity into fix/remove-namespace-ast-annotations 2022-03-09 18:55:22 -05:00
IRGenerator.h Extract external function part into its own function. 2022-02-21 14:32:52 +01:00
IRGeneratorForStatements.cpp Merge pull request #12740 from ethereum/remove-locale-dependent-operations 2022-03-07 17:56:58 +01:00
IRGeneratorForStatements.h Corresponding code in the .cpp file has been commented instead of begin removed pending preliminary reviews 2022-02-01 16:07:55 +05:30
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.