solidity/libsolidity/codegen/ir
hrkrshnn 0135cae222 Fix IR bug: constructor parameter that needs multiple stack slots
When an argument had multiple stack slots, like `function() external`, there wasn't enough variables
assigned for the constructor. This lead to some mismatch between return values and arguments between
some functions.
2021-02-12 17:42:02 +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: constructor parameter that needs multiple stack slots 2021-02-12 17:42:02 +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.