solidity/libsolidity/codegen/ir
chriseth 49d7b78466
Merge pull request #12123 from ethereum/empty-switch-12068
CodeGen: Only output switch when it has cases
2021-10-12 17:42:49 +02:00
..
Common.cpp Handle DebugInfoSelection in the code printing Yul and EVM assembly 2021-10-11 20:34:48 +02:00
Common.h Rename source location function. 2021-09-06 18:33:36 +02:00
IRGenerationContext.cpp [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
IRGenerationContext.h Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
IRGenerator.cpp Merge pull request #12123 from ethereum/empty-switch-12068 2021-10-12 17:42:49 +02:00
IRGenerator.h Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
IRGeneratorForStatements.cpp Merge pull request #12016 from ethereum/external-fp-10358 2021-10-05 14:48:58 +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.