Test updates.

This commit is contained in:
chriseth
2019-10-29 14:32:16 +01:00
parent c30839888f
commit 91a92a01d5
5 changed files with 34 additions and 43 deletions
@@ -11,10 +11,7 @@ object \"C_6\" {
codecopy(0, dataoffset(\"C_6_deployed\"), datasize(\"C_6_deployed\"))
return(0, datasize(\"C_6_deployed\"))
function fun_f_5()
{
for { let return_flag := 1 } return_flag { }
{ break }
}
{ }
}
object \"C_6_deployed\" {
code {
@@ -48,10 +45,7 @@ object \"C_6\" {
mstore(64, newFreePtr)
}
function fun_f_5()
{
for { let return_flag := 1 } return_flag { }
{ break }
}
{ }
function shift_right_224_unsigned(value) -> newValue
{ newValue := shr(224, value) }
}
@@ -19,10 +19,7 @@ object \"C_6\" {
function fun_f_5() {
for { let return_flag := 1 } return_flag {} {
break
}
}
}
@@ -70,10 +67,7 @@ object \"C_6\" {
}
function fun_f_5() {
for { let return_flag := 1 } return_flag {} {
break
}
}
function shift_right_224_unsigned(value) -> newValue {
+2 -1
View File
@@ -31,7 +31,7 @@ object "object" {
Binary representation:
60056032565b505050505050505050505050505050601a6032565b5050505050505050505050505050508082555050609a565b60006000600060006000600060006000600060006000600060006000600060006001808155806002558060035580600455806005558060065580600755806008558060095580600a5580600b5580600c5580600d5550909192939495969798999a9b9c9d9e9f565b
60056032565b505050505050505050505050505050601a6032565b5050505050505050505050505050508082555050609b565b60006000600060006000600060006000600060006000600060006000600060006001808155806002558060035580600455806005558060065580600755806008558060095580600a5580600b5580600c5580600d55505b909192939495969798999a9b9c9d9e9f565b
Text representation:
/* "yul_stack_opt/input.sol":495:500 */
@@ -181,6 +181,7 @@ tag_2:
sstore
pop
/* "yul_stack_opt/input.sol":85:423 */
tag_5:
swap1
swap2
swap3