Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Commit

Permalink
Reformat code with new rustfmt (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrowqa authored and pepyakin committed Sep 26, 2019
1 parent 31a75a2 commit bbd7e91
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/microwasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,12 +1174,8 @@ where
sig!((ty) -> (ty))
}

WasmOperator::GetGlobal { global_index } => {
sig!(() -> (self.module.global_type(*global_index).to_microwasm_type()))
}
WasmOperator::SetGlobal { global_index } => {
sig!((self.module.global_type(*global_index).to_microwasm_type()) -> ())
}
WasmOperator::GetGlobal { global_index } => sig!(() -> (self.module.global_type(*global_index).to_microwasm_type())),
WasmOperator::SetGlobal { global_index } => sig!((self.module.global_type(*global_index).to_microwasm_type()) -> ()),

WasmOperator::F32Load { .. } => sig!((I32) -> (F32)),
WasmOperator::F64Load { .. } => sig!((I32) -> (F64)),
Expand Down Expand Up @@ -1258,12 +1254,8 @@ where
| WasmOperator::F64Le
| WasmOperator::F64Ge => sig!((F64, F64) -> (I32)),

WasmOperator::I32Clz | WasmOperator::I32Ctz | WasmOperator::I32Popcnt => {
sig!((I32) -> (I32))
}
WasmOperator::I64Clz | WasmOperator::I64Ctz | WasmOperator::I64Popcnt => {
sig!((I64) -> (I64))
}
WasmOperator::I32Clz | WasmOperator::I32Ctz | WasmOperator::I32Popcnt => sig!((I32) -> (I32)),
WasmOperator::I64Clz | WasmOperator::I64Ctz | WasmOperator::I64Popcnt => sig!((I64) -> (I64)),

WasmOperator::I32Add
| WasmOperator::I32Sub
Expand Down

0 comments on commit bbd7e91

Please sign in to comment.