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
+7 -2
View File
@@ -1,14 +1,15 @@
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_15" {
code {
/// @src 0:59,147
mstore(64, 128)
if callvalue() { revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() }
@@ -25,6 +26,8 @@ object "C_15" {
function constructor_C_15() {
/// @src 0:59,147
}
function revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() {
@@ -49,6 +52,7 @@ object "C_15" {
}
object "C_15_deployed" {
code {
/// @src 0:59,147
mstore(64, 128)
if iszero(lt(calldatasize(), 4))
@@ -213,6 +217,7 @@ object "C_15" {
}
function fun_f_14(var__7_mpos, var_e_10) {
/// @src 0:93,145
}