Some more tests.

This commit is contained in:
Daniel Kirchner 2021-08-16 16:10:17 +02:00
parent 980192374e
commit 106e0101bf
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{
extcodecopy(div(div(call(call(gas(),0x10000000000000000000000000000000000000000000000000, 0x100000000000000000000000000000000000000000000000000, 0x1000000000000000000000000000000000000000000000000000, 0x10000000000000000000000000000000000000000000000000000, 0x100000000000000000000000000000000000000000000000000000, 0x1000000000000000000000000000000000000000000000000000000), 0x10000000000000000000000000000000000000000000000000000000, 0x100000000000000000000000000000000000000000000000000000000, 0x1000000000000000000000000000000000000000000000000000000000, 0x10000000000000000000000000000000000000000000000000000000000, 0x100000000000000000000000000000000000000000000000000000000000, 0x1000000000000000000000000000000000000000000000000000000000000),0x10000000000000000000000000000000000000000000000000000000000000),0x100000000000000000000000000000000000000000000000000000000000000), 0x1000000000000000000000000000000000000000000000000000000000000000, 0x1000000000000000000000000000000000000000000000000000000000000001, 0x100000000000000000000000000000000000000000000000000000000000001)
}
// ====
// stackOptimization: true
// ----
// /* "":36:41 */
// gas
// /* "":959:1025 */
// 0x1000000000000000000000000000000000000000000000000000000000000001
// /* "":891:957 */
// 0x1000000000000000000000000000000000000000000000000000000000000000
// /* "":823:888 */
// 0x0100000000000000000000000000000000000000000000000000000000000000
// /* "":757:821 */
// 0x10000000000000000000000000000000000000000000000000000000000000
// /* "":692:755 */
// 0x01000000000000000000000000000000000000000000000000000000000000
// /* "":628:690 */
// 0x100000000000000000000000000000000000000000000000000000000000
// /* "":565:626 */
// 0x010000000000000000000000000000000000000000000000000000000000
// /* "":503:563 */
// 0x1000000000000000000000000000000000000000000000000000000000
// /* "":442:501 */
// 0x0100000000000000000000000000000000000000000000000000000000
// /* "":382:440 */
// 0x10000000000000000000000000000000000000000000000000000000
// /* "":322:379 */
// 0x01000000000000000000000000000000000000000000000000000000
// /* "":264:320 */
// 0x100000000000000000000000000000000000000000000000000000
// /* "":207:262 */
// 0x010000000000000000000000000000000000000000000000000000
// /* "":151:205 */
// 0x1000000000000000000000000000000000000000000000000000
// /* "":96:149 */
// 0x0100000000000000000000000000000000000000000000000000
// /* "":1027:1092 */
// 0x0100000000000000000000000000000000000000000000000000000000000001
// swap16
// /* "":42:94 */
// 0x10000000000000000000000000000000000000000000000000
// swap1
// /* "":31:380 */
// call
// /* "":26:756 */
// call
// /* "":22:822 */
// div
// /* "":18:889 */
// div
// /* "":6:1093 */
// extcodecopy
// stop

View File

@ -0,0 +1,12 @@
{
if 0x2000000000000000000000000000000000000000000000000000000000 {}
}
// ====
// stackOptimization: true
// ----
// /* "":9:69 */
// jumpi(tag_1, 0x2000000000000000000000000000000000000000000000000000000000)
// tag_2:
// stop
// tag_1:
// jump(tag_2)