mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Yul AST output on the CLI and in Standard JSON
This commit is contained in:
committed by
Kamil Śliwak
parent
bb16f61e1c
commit
28a1abf89a
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:34:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:34:1",
|
||||
"statements":
|
||||
@@ -53,6 +54,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "67:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "67:1:1",
|
||||
"type": "",
|
||||
@@ -60,6 +62,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
@@ -67,6 +70,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "73:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "73:1:1",
|
||||
"type": "",
|
||||
@@ -74,6 +78,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "76:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "76:1:1",
|
||||
"type": "",
|
||||
@@ -81,6 +86,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "79:1:1",
|
||||
"type": "",
|
||||
@@ -88,6 +94,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "82:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "82:1:1",
|
||||
"type": "",
|
||||
@@ -95,6 +102,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "85:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "85:1:1",
|
||||
"type": "",
|
||||
@@ -104,9 +112,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "call",
|
||||
"nativeSrc": "62:4:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "62:4:1"
|
||||
},
|
||||
"nativeSrc": "62:25:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "62:25:1"
|
||||
}
|
||||
@@ -114,12 +124,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "58:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "58:3:1"
|
||||
},
|
||||
"nativeSrc": "58:30:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "58:30:1"
|
||||
},
|
||||
"nativeSrc": "58:30:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "58:30:1"
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:34:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:34:1",
|
||||
"statements":
|
||||
@@ -40,6 +41,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "67:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "67:1:1",
|
||||
"type": "",
|
||||
@@ -47,6 +49,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
@@ -54,6 +57,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "73:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "73:1:1",
|
||||
"type": "",
|
||||
@@ -61,6 +65,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "76:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "76:1:1",
|
||||
"type": "",
|
||||
@@ -68,6 +73,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "79:1:1",
|
||||
"type": "",
|
||||
@@ -75,6 +81,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "82:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "82:1:1",
|
||||
"type": "",
|
||||
@@ -82,6 +89,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "85:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "85:1:1",
|
||||
"type": "",
|
||||
@@ -91,9 +99,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "call",
|
||||
"nativeSrc": "62:4:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "62:4:1"
|
||||
},
|
||||
"nativeSrc": "62:25:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "62:25:1"
|
||||
}
|
||||
@@ -101,12 +111,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "58:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "58:3:1"
|
||||
},
|
||||
"nativeSrc": "58:30:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "58:30:1"
|
||||
},
|
||||
"nativeSrc": "58:30:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "58:30:1"
|
||||
}
|
||||
|
||||
@@ -39,11 +39,13 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:6:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:6:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "63:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "63:2:1",
|
||||
"statements": []
|
||||
|
||||
@@ -26,11 +26,13 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:6:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:6:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "63:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "63:2:1",
|
||||
"statements": []
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:43:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:43:1",
|
||||
"statements":
|
||||
@@ -46,6 +47,7 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "76:22:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "76:22:1",
|
||||
"statements":
|
||||
@@ -60,6 +62,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "92:2:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "92:2:1",
|
||||
"type": "",
|
||||
@@ -69,9 +72,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "blockhash",
|
||||
"nativeSrc": "82:9:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "82:9:1"
|
||||
},
|
||||
"nativeSrc": "82:13:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "82:13:1"
|
||||
}
|
||||
@@ -79,18 +84,22 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "78:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "78:3:1"
|
||||
},
|
||||
"nativeSrc": "78:18:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "78:18:1"
|
||||
},
|
||||
"nativeSrc": "78:18:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "78:18:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "g",
|
||||
"nativeSrc": "63:35:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "63:35:1"
|
||||
},
|
||||
@@ -101,12 +110,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "g",
|
||||
"nativeSrc": "99:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "99:1:1"
|
||||
},
|
||||
"nativeSrc": "99:3:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "99:3:1"
|
||||
},
|
||||
"nativeSrc": "99:3:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "99:3:1"
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:43:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:43:1",
|
||||
"statements":
|
||||
@@ -33,6 +34,7 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "76:22:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "76:22:1",
|
||||
"statements":
|
||||
@@ -47,6 +49,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "92:2:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "92:2:1",
|
||||
"type": "",
|
||||
@@ -56,9 +59,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "blockhash",
|
||||
"nativeSrc": "82:9:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "82:9:1"
|
||||
},
|
||||
"nativeSrc": "82:13:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "82:13:1"
|
||||
}
|
||||
@@ -66,18 +71,22 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "78:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "78:3:1"
|
||||
},
|
||||
"nativeSrc": "78:18:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "78:18:1"
|
||||
},
|
||||
"nativeSrc": "78:18:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "78:18:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "g",
|
||||
"nativeSrc": "63:35:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "63:35:1"
|
||||
},
|
||||
@@ -88,12 +97,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "g",
|
||||
"nativeSrc": "99:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "99:1:1"
|
||||
},
|
||||
"nativeSrc": "99:3:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "99:3:1"
|
||||
},
|
||||
"nativeSrc": "99:3:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "99:3:1"
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:26:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:26:1",
|
||||
"statements":
|
||||
@@ -46,17 +47,20 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "71:9:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "71:9:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "73:5:1",
|
||||
"nodeType": "YulLeave",
|
||||
"src": "73:5:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "f",
|
||||
"nativeSrc": "58:22:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "58:22:1"
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:26:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:26:1",
|
||||
"statements":
|
||||
@@ -33,17 +34,20 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "71:9:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "71:9:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "73:5:1",
|
||||
"nodeType": "YulLeave",
|
||||
"src": "73:5:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "f",
|
||||
"nativeSrc": "58:22:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "58:22:1"
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:49:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:49:1",
|
||||
"statements":
|
||||
@@ -46,15 +47,18 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "90:18:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "90:18:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "92:5:1",
|
||||
"nodeType": "YulBreak",
|
||||
"src": "92:5:1"
|
||||
},
|
||||
{
|
||||
"nativeSrc": "98:8:1",
|
||||
"nodeType": "YulContinue",
|
||||
"src": "98:8:1"
|
||||
}
|
||||
@@ -63,14 +67,17 @@
|
||||
"condition":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
"value": "1"
|
||||
},
|
||||
"nativeSrc": "63:45:1",
|
||||
"nodeType": "YulForLoop",
|
||||
"post":
|
||||
{
|
||||
"nativeSrc": "72:17:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "72:17:1",
|
||||
"statements":
|
||||
@@ -85,6 +92,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -94,9 +102,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "sload",
|
||||
"nativeSrc": "78:5:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "78:5:1"
|
||||
},
|
||||
"nativeSrc": "78:8:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "78:8:1"
|
||||
}
|
||||
@@ -104,12 +114,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "74:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "74:3:1"
|
||||
},
|
||||
"nativeSrc": "74:13:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "74:13:1"
|
||||
},
|
||||
"nativeSrc": "74:13:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "74:13:1"
|
||||
}
|
||||
@@ -117,6 +130,7 @@
|
||||
},
|
||||
"pre":
|
||||
{
|
||||
"nativeSrc": "67:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "67:2:1",
|
||||
"statements": []
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:49:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:49:1",
|
||||
"statements":
|
||||
@@ -33,15 +34,18 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "90:18:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "90:18:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "92:5:1",
|
||||
"nodeType": "YulBreak",
|
||||
"src": "92:5:1"
|
||||
},
|
||||
{
|
||||
"nativeSrc": "98:8:1",
|
||||
"nodeType": "YulContinue",
|
||||
"src": "98:8:1"
|
||||
}
|
||||
@@ -50,14 +54,17 @@
|
||||
"condition":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
"value": "1"
|
||||
},
|
||||
"nativeSrc": "63:45:1",
|
||||
"nodeType": "YulForLoop",
|
||||
"post":
|
||||
{
|
||||
"nativeSrc": "72:17:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "72:17:1",
|
||||
"statements":
|
||||
@@ -72,6 +79,7 @@
|
||||
[
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -81,9 +89,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "sload",
|
||||
"nativeSrc": "78:5:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "78:5:1"
|
||||
},
|
||||
"nativeSrc": "78:8:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "78:8:1"
|
||||
}
|
||||
@@ -91,12 +101,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "pop",
|
||||
"nativeSrc": "74:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "74:3:1"
|
||||
},
|
||||
"nativeSrc": "74:13:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "74:13:1"
|
||||
},
|
||||
"nativeSrc": "74:13:1",
|
||||
"nodeType": "YulExpressionStatement",
|
||||
"src": "74:13:1"
|
||||
}
|
||||
@@ -104,6 +117,7 @@
|
||||
},
|
||||
"pre":
|
||||
{
|
||||
"nativeSrc": "67:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "67:2:1",
|
||||
"statements": []
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "72:76:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "72:76:1",
|
||||
"statements":
|
||||
@@ -46,6 +47,7 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "94:35:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "94:35:1",
|
||||
"statements":
|
||||
@@ -53,26 +55,31 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "118:3:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "118:3:1",
|
||||
"statements": []
|
||||
},
|
||||
"name": "f2",
|
||||
"nativeSrc": "104:17:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "104:17:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "f1",
|
||||
"nativeSrc": "80:49:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "80:49:1"
|
||||
},
|
||||
{
|
||||
"nativeSrc": "136:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "136:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "141:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "141:1:1",
|
||||
"type": "",
|
||||
@@ -82,6 +89,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "136:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "136:1:1"
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "72:76:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "72:76:1",
|
||||
"statements":
|
||||
@@ -33,6 +34,7 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "94:35:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "94:35:1",
|
||||
"statements":
|
||||
@@ -40,26 +42,31 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "118:3:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "118:3:1",
|
||||
"statements": []
|
||||
},
|
||||
"name": "f2",
|
||||
"nativeSrc": "104:17:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "104:17:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "f1",
|
||||
"nativeSrc": "80:49:1",
|
||||
"nodeType": "YulFunctionDefinition",
|
||||
"src": "80:49:1"
|
||||
},
|
||||
{
|
||||
"nativeSrc": "136:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "136:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "141:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "141:1:1",
|
||||
"type": "",
|
||||
@@ -69,6 +76,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "136:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "136:1:1"
|
||||
}
|
||||
|
||||
@@ -124,16 +124,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "95:45:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "95:45:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "97:17:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "97:17:1",
|
||||
"value":
|
||||
{
|
||||
"name": "s.offset",
|
||||
"nativeSrc": "106:8:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "106:8:1"
|
||||
},
|
||||
@@ -141,6 +144,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "101:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "101:1:1",
|
||||
"type": ""
|
||||
@@ -148,6 +152,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"nativeSrc": "115:23:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "115:23:1",
|
||||
"value":
|
||||
@@ -156,11 +161,13 @@
|
||||
[
|
||||
{
|
||||
"name": "s.slot",
|
||||
"nativeSrc": "128:6:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "128:6:1"
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "136:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "136:1:1",
|
||||
"type": "",
|
||||
@@ -170,9 +177,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "mul",
|
||||
"nativeSrc": "124:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "124:3:1"
|
||||
},
|
||||
"nativeSrc": "124:14:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "124:14:1"
|
||||
},
|
||||
@@ -180,6 +189,7 @@
|
||||
[
|
||||
{
|
||||
"name": "y",
|
||||
"nativeSrc": "119:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "119:1:1",
|
||||
"type": ""
|
||||
|
||||
@@ -89,16 +89,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "95:45:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "95:45:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "97:17:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "97:17:1",
|
||||
"value":
|
||||
{
|
||||
"name": "s.offset",
|
||||
"nativeSrc": "106:8:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "106:8:1"
|
||||
},
|
||||
@@ -106,6 +109,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "101:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "101:1:1",
|
||||
"type": ""
|
||||
@@ -113,6 +117,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"nativeSrc": "115:23:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "115:23:1",
|
||||
"value":
|
||||
@@ -121,11 +126,13 @@
|
||||
[
|
||||
{
|
||||
"name": "s.slot",
|
||||
"nativeSrc": "128:6:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "128:6:1"
|
||||
},
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "136:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "136:1:1",
|
||||
"type": "",
|
||||
@@ -135,9 +142,11 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "mul",
|
||||
"nativeSrc": "124:3:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "124:3:1"
|
||||
},
|
||||
"nativeSrc": "124:14:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "124:14:1"
|
||||
},
|
||||
@@ -145,6 +154,7 @@
|
||||
[
|
||||
{
|
||||
"name": "y",
|
||||
"nativeSrc": "119:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "119:1:1",
|
||||
"type": ""
|
||||
|
||||
@@ -39,17 +39,20 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:18:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:18:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "58:14:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "58:14:1",
|
||||
"value":
|
||||
{
|
||||
"hexValue": "616263",
|
||||
"kind": "string",
|
||||
"nativeSrc": "67:5:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "67:5:1",
|
||||
"type": "",
|
||||
@@ -59,6 +62,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "62:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "62:1:1",
|
||||
"type": ""
|
||||
|
||||
@@ -26,17 +26,20 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "56:18:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "56:18:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "58:14:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "58:14:1",
|
||||
"value":
|
||||
{
|
||||
"hexValue": "616263",
|
||||
"kind": "string",
|
||||
"nativeSrc": "67:5:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "67:5:1",
|
||||
"type": "",
|
||||
@@ -46,6 +49,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "62:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "62:1:1",
|
||||
"type": ""
|
||||
|
||||
@@ -39,16 +39,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:129:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:129:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "75:10:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "75:10:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -58,6 +61,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "79:1:1",
|
||||
"type": ""
|
||||
@@ -70,16 +74,19 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "139:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "139:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "141:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "141:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "146:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "146:1:1",
|
||||
"type": "",
|
||||
@@ -89,6 +96,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "141:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "141:1:1"
|
||||
}
|
||||
@@ -96,11 +104,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"nativeSrc": "132:17:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "132:17:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "137:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "137:1:1",
|
||||
"type": "",
|
||||
@@ -110,16 +120,19 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "170:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "170:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "172:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "172:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "177:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "177:1:1",
|
||||
"type": "",
|
||||
@@ -129,6 +142,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "172:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "172:1:1"
|
||||
}
|
||||
@@ -136,6 +150,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"nativeSrc": "162:18:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "162:18:1",
|
||||
"value": "default"
|
||||
@@ -147,12 +162,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "calldatasize",
|
||||
"nativeSrc": "105:12:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "105:12:1"
|
||||
},
|
||||
"nativeSrc": "105:14:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "105:14:1"
|
||||
},
|
||||
"nativeSrc": "98:82:1",
|
||||
"nodeType": "YulSwitch",
|
||||
"src": "98:82:1"
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:33:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:33:1",
|
||||
"statements":
|
||||
@@ -49,15 +50,18 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "79:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "79:2:1",
|
||||
"statements": []
|
||||
},
|
||||
"nativeSrc": "72:9:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "72:9:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "77:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "77:1:1",
|
||||
"type": "",
|
||||
@@ -67,10 +71,12 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "90:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "90:2:1",
|
||||
"statements": []
|
||||
},
|
||||
"nativeSrc": "82:10:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "82:10:1",
|
||||
"value": "default"
|
||||
@@ -79,11 +85,13 @@
|
||||
"expression":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
"value": "0"
|
||||
},
|
||||
"nativeSrc": "63:29:1",
|
||||
"nodeType": "YulSwitch",
|
||||
"src": "63:29:1"
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:33:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:33:1",
|
||||
"statements":
|
||||
@@ -36,15 +37,18 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "79:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "79:2:1",
|
||||
"statements": []
|
||||
},
|
||||
"nativeSrc": "72:9:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "72:9:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "77:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "77:1:1",
|
||||
"type": "",
|
||||
@@ -54,10 +58,12 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "90:2:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "90:2:1",
|
||||
"statements": []
|
||||
},
|
||||
"nativeSrc": "82:10:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "82:10:1",
|
||||
"value": "default"
|
||||
@@ -66,11 +72,13 @@
|
||||
"expression":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "70:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "70:1:1",
|
||||
"type": "",
|
||||
"value": "0"
|
||||
},
|
||||
"nativeSrc": "63:29:1",
|
||||
"nodeType": "YulSwitch",
|
||||
"src": "63:29:1"
|
||||
}
|
||||
|
||||
@@ -26,16 +26,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "61:129:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "61:129:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "75:10:1",
|
||||
"nodeType": "YulVariableDeclaration",
|
||||
"src": "75:10:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -45,6 +48,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulTypedName",
|
||||
"src": "79:1:1",
|
||||
"type": ""
|
||||
@@ -57,16 +61,19 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "139:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "139:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "141:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "141:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "146:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "146:1:1",
|
||||
"type": "",
|
||||
@@ -76,6 +83,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "141:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "141:1:1"
|
||||
}
|
||||
@@ -83,11 +91,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"nativeSrc": "132:17:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "132:17:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "137:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "137:1:1",
|
||||
"type": "",
|
||||
@@ -97,16 +107,19 @@
|
||||
{
|
||||
"body":
|
||||
{
|
||||
"nativeSrc": "170:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "170:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "172:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "172:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "177:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "177:1:1",
|
||||
"type": "",
|
||||
@@ -116,6 +129,7 @@
|
||||
[
|
||||
{
|
||||
"name": "v",
|
||||
"nativeSrc": "172:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "172:1:1"
|
||||
}
|
||||
@@ -123,6 +137,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"nativeSrc": "162:18:1",
|
||||
"nodeType": "YulCase",
|
||||
"src": "162:18:1",
|
||||
"value": "default"
|
||||
@@ -134,12 +149,15 @@
|
||||
"functionName":
|
||||
{
|
||||
"name": "calldatasize",
|
||||
"nativeSrc": "105:12:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "105:12:1"
|
||||
},
|
||||
"nativeSrc": "105:14:1",
|
||||
"nodeType": "YulFunctionCall",
|
||||
"src": "105:14:1"
|
||||
},
|
||||
"nativeSrc": "98:82:1",
|
||||
"nodeType": "YulSwitch",
|
||||
"src": "98:82:1"
|
||||
}
|
||||
|
||||
@@ -81,16 +81,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "77:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "77:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "79:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "79:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -100,6 +103,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "79:1:1"
|
||||
}
|
||||
|
||||
@@ -59,16 +59,19 @@
|
||||
{
|
||||
"AST":
|
||||
{
|
||||
"nativeSrc": "77:10:1",
|
||||
"nodeType": "YulBlock",
|
||||
"src": "77:10:1",
|
||||
"statements":
|
||||
[
|
||||
{
|
||||
"nativeSrc": "79:6:1",
|
||||
"nodeType": "YulAssignment",
|
||||
"src": "79:6:1",
|
||||
"value":
|
||||
{
|
||||
"kind": "number",
|
||||
"nativeSrc": "84:1:1",
|
||||
"nodeType": "YulLiteral",
|
||||
"src": "84:1:1",
|
||||
"type": "",
|
||||
@@ -78,6 +81,7 @@
|
||||
[
|
||||
{
|
||||
"name": "x",
|
||||
"nativeSrc": "79:1:1",
|
||||
"nodeType": "YulIdentifier",
|
||||
"src": "79:1:1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user