vm: make PUSH0 emit Integer

This commit is contained in:
Evgenii Stratonikov 2020-05-20 16:31:10 +03:00
parent 820b050b18
commit f4fa712440
7 changed files with 14 additions and 17 deletions

View file

@ -26,7 +26,7 @@ var binaryExprTestCases = []testCase{
return x
}
`,
[]byte{},
big.NewInt(0),
},
{
"simple div",
@ -97,7 +97,7 @@ var binaryExprTestCases = []testCase{
return 0
}
`,
[]byte{},
big.NewInt(0),
},
{
"compare equal strings with eql",
@ -139,7 +139,7 @@ var binaryExprTestCases = []testCase{
return 0
}
`,
[]byte{},
big.NewInt(0),
},
{
"compare equal ints with eql",
@ -167,7 +167,7 @@ var binaryExprTestCases = []testCase{
return 0
}
`,
[]byte{},
big.NewInt(0),
},
{
"compare not equal ints with eql",
@ -181,7 +181,7 @@ var binaryExprTestCases = []testCase{
return 0
}
`,
[]byte{},
big.NewInt(0),
},
{
"compare not equal ints with neq",