Implement Yul IR generation for abi.encode*

This commit is contained in:
chriseth
2020-05-07 19:39:15 +02:00
parent d0b82fe854
commit a0e291bd06
21 changed files with 117 additions and 1 deletions
@@ -28,6 +28,8 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f0() -> 0x20, 0x0
// f1() -> 0x20, 0x40, 0x1, 0x2
@@ -5,5 +5,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0x20, 0x40, 0x1, -2