solidity/libsolidity/codegen/ir
2019-08-19 14:56:04 +02:00
..
IRGenerationContext.cpp [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGenerationContext.h [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGenerator.cpp Implements constructor code for state variables. 2019-08-05 11:23:01 +02:00
IRGenerator.h [Sol->Yul] Implement getter functions 2019-07-10 13:42:39 +02:00
IRGeneratorForStatements.cpp Add unimplemented assertion to IR generation when accessing address member of external function types. 2019-08-19 14:56:04 +02:00
IRGeneratorForStatements.h Implements constructor code for state variables. 2019-08-05 11:23:01 +02:00
IRLValue.cpp Refactor IRLValue so that it does not require IRGenerationContext. 2019-08-08 17:27:35 +02:00
IRLValue.h Refactor IRLValue so that it does not require IRGenerationContext. 2019-08-08 17:27:35 +02:00
README.md Document differences between legacy Solidity and Solidity via Yul. 2019-07-11 17:48:06 +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.