[Sol->Yul] Implementing conversion of struct to struct pointer.

Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
This commit is contained in:
Djordje Mijovic
2020-10-08 16:37:57 +02:00
co-authored by Daniel Kirchner
parent fa69378f4f
commit ad8d840ee7
9 changed files with 43 additions and 21 deletions
@@ -20,5 +20,7 @@ contract C {
assembly { a := sload(s.slot) b := sload(slot1) c := sload(slot2) d := sload(slot3) }
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0, 0, 0, 0