mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix implementation of leave.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user