solidity/libsolidity/codegen/ir
Alex Beregszaszi 28e65bac46 Add unimplemented assert for modifiers in the IR
Also improved relevant tests for modifiers to be more strict and detect if the modifier body was skipped.
2020-11-27 18:34:17 +00:00
..
Common.cpp Bound functions. 2020-11-23 18:58:23 +01:00
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 Add unimplemented assert for modifiers in the IR 2020-11-27 18:34:17 +00: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 #10410 from ethereum/ir-fixedbytes-bitnot 2020-11-26 14:42:52 +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.