solidity/libsolidity/codegen/ir
chriseth 9f0a631948
Merge pull request #10208 from ethereum/offsetLengthCalldata
Support .offset and .length for dynamic calldata arrays
2020-11-18 12:09:11 +01: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 Add stack limit evader. 2020-09-17 22:13:27 +02:00
IRGenerator.cpp Fix dependency tracking for abstract contracts for Yul codegen 2020-10-20 16:58:24 +02:00
IRGenerator.h Fix dependency tracking for abstract contracts for Yul codegen 2020-10-20 16:58:24 +02:00
IRGeneratorForStatements.cpp Merge pull request #10208 from ethereum/offsetLengthCalldata 2020-11-18 12:09:11 +01:00
IRGeneratorForStatements.h IR codegen: Handle address() with library type argument and external library calls 2020-11-17 20:36:39 +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.