solidity/libsolidity/codegen/ir
chriseth 3a48be546d
Merge pull request #9602 from ethereum/structMemToStorageSol2Yul
[Sol->Yul] Implementing various copying of structs
2020-09-02 13:50:46 +02:00
..
Common.cpp Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
Common.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRGenerationContext.cpp Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRGenerationContext.h [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +02:00
IRGenerator.cpp [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +02:00
IRGenerator.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRGeneratorForStatements.cpp Merge pull request #9602 from ethereum/structMemToStorageSol2Yul 2020-09-02 13:50:46 +02:00
IRGeneratorForStatements.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRLValue.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
IRVariable.cpp [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +02:00
IRVariable.h [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +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.