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_11\" {
code {
/// @src 0:78,243
mstore(64, 128)
if callvalue() { revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() }
@@ -24,6 +25,8 @@ object \"C_11\" {
function constructor_C_11() {
/// @src 0:78,243
}
function revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() {
@@ -33,6 +36,7 @@ object \"C_11\" {
}
object \"C_11_deployed\" {
code {
/// @src 0:78,243
mstore(64, 128)
if iszero(lt(calldatasize(), 4))
@@ -146,9 +150,12 @@ object \"C_11\" {
}
function fun_f_10() -> var__5_mpos {
/// @src 0:91,241
/// @src 0:127,140
let zero_t_string_memory_ptr_1_mpos := zero_value_for_split_t_string_memory_ptr()
var__5_mpos := zero_t_string_memory_ptr_1_mpos
/// @src 0:144,238
var__5_mpos := convert_t_stringliteral_d6604f85ac07e2b33103a620b3d3d75b0473c7214912beded67b9b624d41c571_to_t_string_memory_ptr()
leave