solidity/libsolidity/codegen/ir
2021-06-28 14:13:47 +02:00
..
Common.cpp Adding origin location notation to yul ir. 2021-06-21 18:48:20 +02:00
Common.h Adding origin location notation to yul ir. 2021-06-21 18:48:20 +02:00
IRGenerationContext.cpp [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
IRGenerationContext.h [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
IRGenerator.cpp [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
IRGenerator.h Adding origin location notation to yul ir. 2021-06-21 18:48:20 +02:00
IRGeneratorForStatements.cpp Do not use \b, \v and \f escapes in string literals in generated Yul code 2021-06-28 14:13:47 +02:00
IRGeneratorForStatements.h [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +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.