Fix implementation of leave.

This commit is contained in:
chriseth
2020-05-26 10:24:01 +02:00
parent 370350da07
commit bd64e537cb
6 changed files with 294 additions and 213 deletions
+1
View File
@@ -396,6 +396,7 @@ bytes BinaryTransform::operator()(BranchIf const& _branchIf)
bytes BinaryTransform::operator()(Return const&)
{
// Note that this does not work if the function returns a value.
return toBytes(Opcode::Return);
}