Adding origin location notation to yul ir.

This commit is contained in:
Djordje Mijovic
2021-06-21 18:48:20 +02:00
committed by chriseth
parent 921e21c7cb
commit 838f59fa5b
32 changed files with 1552 additions and 177 deletions
@@ -1,13 +1,14 @@
{"contracts":{"A":{"C":{"ir":"/*******************************************************
{"contracts":{"A":{"C":{"ir":"/*=====================================================*
* WARNING *
* Solidity to Yul compilation is still EXPERIMENTAL *
* It can result in LOSS OF FUNDS or worse *
* !USE AT YOUR OWN RISK! *
*******************************************************/
*=====================================================*/
object \"C_7\" {
code {
/// @src 0:79,121
mstore(64, 128)
if callvalue() { revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() }
@@ -24,6 +25,8 @@ object \"C_7\" {
function constructor_C_7() {
/// @src 0:79,121
}
function revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() {
@@ -33,6 +36,7 @@ object \"C_7\" {
}
object \"C_7_deployed\" {
code {
/// @src 0:79,121
mstore(64, 128)
if iszero(lt(calldatasize(), 4))
@@ -72,6 +76,7 @@ object \"C_7\" {
}
function fun_f_6() {
/// @src 0:92,119
}