solidity/libsolidity/codegen/ir
nishant-sachdeva 9043621747 Changed occurences of isByteArray() to isByteArrayOrString(). The idea
is to, in a future commit, replace such occurences of
isByteArrayOrString() which are required to return True only for Bytes
type with a new isByteArray() function.
2022-02-02 14:19:58 +05:30
..
Common.cpp Handle DebugInfoSelection in the code printing Yul and EVM assembly 2021-10-11 20:34:48 +02:00
Common.h Rename source location function. 2021-09-06 18:33:36 +02:00
IRGenerationContext.cpp [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
IRGenerationContext.h Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
IRGenerator.cpp Changed occurences of isByteArray() to isByteArrayOrString(). The idea 2022-02-02 14:19:58 +05:30
IRGenerator.h Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
IRGeneratorForStatements.cpp Changed occurences of isByteArray() to isByteArrayOrString(). The idea 2022-02-02 14:19:58 +05:30
IRGeneratorForStatements.h Corresponding code in the .cpp file has been commented instead of begin removed pending preliminary reviews 2022-02-01 16:07:55 +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 Replaced boost::adaptors::transformed 2021-04-08 17:38:14 +05:30
IRVariable.h [Sol->Yul] Enabling storage pointers to local vars in inline assembly. 2020-08-26 10:25:42 +02:00
README.md docs: Fix badly indented lists 2021-07-15 10:13:30 +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.