solidity/libsolidity/codegen/ir
2021-09-06 18:18:33 +02:00
..
Common.cpp Fix: Use correct byte offset separation 2021-07-15 13:15:21 +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 Allow reading of immutables during construction time 2021-08-19 13:59:05 +02:00
IRGenerator.cpp Refactor: Add helper for context. 2021-09-06 18:18:33 +02:00
IRGenerator.h Refactor: Add helper for context. 2021-09-06 18:18:33 +02:00
IRGeneratorForStatements.cpp Add type().min/max for enums 2021-09-01 15:02:02 +02:00
IRGeneratorForStatements.h Fix yul codegen bug when using binary negatition. 2021-06-29 17:41:03 +02:00
IRLValue.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRVariable.cpp Replaced boost::adaptors::transformed 2021-04-08 17:38:14 +05:30
IRVariable.h [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +02:00
README.md docs: Fix badly indented lists 2021-07-15 10:13:30 +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.