copy for instruction type, pub module

This commit is contained in:
NikVolf 2017-07-27 13:38:21 +03:00
parent de3b30dab5
commit 9111c75292
2 changed files with 3 additions and 2 deletions

View File

@ -3,13 +3,14 @@ extern crate env_logger;
#[macro_use] extern crate log;
#[macro_use] extern crate lazy_static;
pub mod rules;
mod optimizer;
mod gas;
mod symbols;
mod logger;
mod ext;
mod pack;
mod rules;
pub use optimizer::{optimize, Error as OptimizerError};
pub use gas::inject_gas_counter;

View File

@ -3,7 +3,7 @@ use parity_wasm::elements;
pub struct UnknownInstruction;
#[derive(Debug, Hash, PartialEq, Eq)]
#[derive(Debug, Hash, PartialEq, Eq, Copy, Clone)]
pub enum InstructionType {
Bit,
Add,