[isoltest] Add support for call side-effects.

This commit is contained in:
Alexander Arlt
2021-05-22 00:12:07 -05:00
parent 29c8f282e4
commit e9ee571b35
10 changed files with 242 additions and 21 deletions
@@ -3,5 +3,4 @@ contract SmokeTest {
// ====
// compileViaYul: also
// ----
// constructor()
// smokeTest -> 0x1234
// isoltest_builtin_test -> 0x1234
@@ -0,0 +1,15 @@
contract SmokeTest {
}
// ====
// compileViaYul: also
// ----
// isoltest_side_effects_test -> 0
// isoltest_side_effects_test: 0x1234 -> 0x1234
// ~ 0000000000000000000000000000000000000000000000000000000000001234
// isoltest_side_effects_test: 0x1234, 0x2345 # comment # -> 0x1234, 0x2345
// ~ 0000000000000000000000000000000000000000000000000000000000001234
// ~ 0000000000000000000000000000000000000000000000000000000000002345
// isoltest_side_effects_test: 0x1234, 0x2345, 0x3456 -> 0x1234, 0x2345, 0x3456 # comment #
// ~ 0000000000000000000000000000000000000000000000000000000000001234
// ~ 0000000000000000000000000000000000000000000000000000000000002345
// ~ 0000000000000000000000000000000000000000000000000000000000003456