mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix build by adding return.
This commit is contained in:
parent
21e65076b3
commit
64cad825e3
@ -391,6 +391,11 @@ bytes BinaryTransform::operator()(BreakIf const&)
|
||||
return {};
|
||||
}
|
||||
|
||||
bytes BinaryTransform::operator()(Return const&)
|
||||
{
|
||||
return toBytes(Opcode::Return);
|
||||
}
|
||||
|
||||
bytes BinaryTransform::operator()(Block const& _block)
|
||||
{
|
||||
return
|
||||
|
@ -52,6 +52,7 @@ public:
|
||||
dev::bytes operator()(wasm::Loop const& _loop);
|
||||
dev::bytes operator()(wasm::Break const& _break);
|
||||
dev::bytes operator()(wasm::BreakIf const& _break);
|
||||
dev::bytes operator()(wasm::Return const& _return);
|
||||
dev::bytes operator()(wasm::Block const& _block);
|
||||
dev::bytes operator()(wasm::FunctionDefinition const& _function);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user