Move InvalidDeposit/InvalidOpcode from Instructions.h to Exceptions.h

This commit is contained in:
Alex Beregszaszi committed 2019-11-26 12:21:06 +01:00
1 parent 200a92b40e
commit fc10fc3073
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -33,5 +33,8 @@ struct OptimizerException: virtual AssemblyException {};
struct StackTooDeepException: virtual OptimizerException {};
struct ItemNotAvailableException: virtual OptimizerException {};
DEV_SIMPLE_EXCEPTION(InvalidDeposit);
DEV_SIMPLE_EXCEPTION(InvalidOpcode);
}
}
-3
View File
@@ -31,9 +31,6 @@ namespace dev
namespace eth
{
DEV_SIMPLE_EXCEPTION(InvalidDeposit);
DEV_SIMPLE_EXCEPTION(InvalidOpcode);
/// Virtual machine bytecode instruction.
enum class Instruction: uint8_t
{