Print @src and @use-src locations in AsmPrinter

This commit is contained in:
Mathias Baumann
2021-08-03 15:29:52 +02:00
parent c89b46c55e
commit 2ee6c7be64
34 changed files with 1319 additions and 109 deletions
@@ -6,9 +6,11 @@ Optimized IR:
* !USE AT YOUR OWN RISK! *
*=====================================================*/
/// @use-src 0:"yul_optimizer_steps/input.sol", 1:"#utility.yul"
object "C_7" {
code {
{
/// @src 0:80:112
mstore(64, 128)
if callvalue()
{
@@ -26,6 +28,7 @@ object "C_7" {
object "C_7_deployed" {
code {
{
/// @src 0:80:112
mstore(64, 128)
if iszero(lt(calldatasize(), 4))
{