solidity/libsolidity/codegen/ir
chriseth abfa136afb
Merge pull request #10012 from ethereum/extractSelectorFunction
Extract function to compute function selector from signature.
2020-10-12 20:32:05 +02: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 Use invalid opcode on internal errors. 2020-09-24 16:02:35 +02:00
IRGenerator.h Add stack limit evader. 2020-09-17 22:13:27 +02:00
IRGeneratorForStatements.cpp Merge pull request #10012 from ethereum/extractSelectorFunction 2020-10-12 20:32:05 +02:00
IRGeneratorForStatements.h Report locations of unimplemented features. 2020-09-15 14:41:46 +02: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.