mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move InvalidDeposit/InvalidOpcode from Instructions.h to Exceptions.h
This commit is contained in:
parent
200a92b40e
commit
fc10fc3073
@ -33,5 +33,8 @@ struct OptimizerException: virtual AssemblyException {};
|
|||||||
struct StackTooDeepException: virtual OptimizerException {};
|
struct StackTooDeepException: virtual OptimizerException {};
|
||||||
struct ItemNotAvailableException: virtual OptimizerException {};
|
struct ItemNotAvailableException: virtual OptimizerException {};
|
||||||
|
|
||||||
|
DEV_SIMPLE_EXCEPTION(InvalidDeposit);
|
||||||
|
DEV_SIMPLE_EXCEPTION(InvalidOpcode);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,9 +31,6 @@ namespace dev
|
|||||||
namespace eth
|
namespace eth
|
||||||
{
|
{
|
||||||
|
|
||||||
DEV_SIMPLE_EXCEPTION(InvalidDeposit);
|
|
||||||
DEV_SIMPLE_EXCEPTION(InvalidOpcode);
|
|
||||||
|
|
||||||
/// Virtual machine bytecode instruction.
|
/// Virtual machine bytecode instruction.
|
||||||
enum class Instruction: uint8_t
|
enum class Instruction: uint8_t
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user