Merge pull request #8863 from ethereum/nonReversedEncoder

Introduce non-reversed version of tupleEncoder.
This commit is contained in:
chriseth
2020-05-07 15:47:32 +02:00
committed by GitHub
13 changed files with 63 additions and 30 deletions
@@ -7,6 +7,8 @@ contract C {
return this.f(x);
}
}
// ====
// compileViaYul: also
// ----
// g(uint256[][2][]): 0x20, 0x01, 0x20, 0x40, 0x60, 0x00, 0x00 -> 42
// g(uint256[][2][]): 0x20, 0x01, 0x20, 0x00, 0x00 -> 42
@@ -16,6 +16,8 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f(uint256): 7 -> 8
// f2(uint256): 7 -> 8