From 76d7ea888b438e7f5a111c1dcb3422914b862207 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 11 Jul 2019 17:48:06 +0200 Subject: [PATCH] Document differences between legacy Solidity and Solidity via Yul. --- libsolidity/codegen/ir/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libsolidity/codegen/ir/README.md diff --git a/libsolidity/codegen/ir/README.md b/libsolidity/codegen/ir/README.md new file mode 100644 index 000000000..468ecd269 --- /dev/null +++ b/libsolidity/codegen/ir/README.md @@ -0,0 +1,10 @@ +# 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. \ No newline at end of file