solidity/libsolidity/codegen/ir
hrkrshnn 7786e6d561 Fix IR bug when modifier parameter was function return variable
The bug was that function return variables were not part of the m_context.localVariable during
the modifier generation and a looking up them was throwing.
2021-02-11 14:44:55 +01:00
..
Common.cpp Replace "runtime" by "deployed" naming. 2021-02-10 00:56:16 +01:00
Common.h Replace "runtime" by "deployed" naming. 2021-02-10 00:56:16 +01:00
IRGenerationContext.cpp Implement function modifiers. 2020-12-17 17:00:51 +01:00
IRGenerationContext.h Implement function modifiers. 2020-12-17 17:00:51 +01:00
IRGenerator.cpp Fix IR bug when modifier parameter was function return variable 2021-02-11 14:44:55 +01:00
IRGenerator.h Implement function modifiers. 2020-12-17 17:00:51 +01:00
IRGeneratorForStatements.cpp Remove unnecessary checks. 2021-02-11 13:08:03 +01:00
IRGeneratorForStatements.h Merge pull request #10769 from ethereum/allocationCleanup 2021-01-26 11:58:11 +01:00
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.