Fix some ugliness

This commit is contained in:
Jef
2019-03-01 08:15:42 +01:00
parent 71662af0fa
commit 0cfc917c97
2 changed files with 5 additions and 26 deletions

View File

@@ -26,6 +26,8 @@ impl Block {
}
}
const DISASSEMBLE: bool = false;
pub fn translate_wasm<M: ModuleContext>(
session: &mut CodeGenSession<M>,
func_idx: u32,
@@ -36,7 +38,7 @@ where
{
let ty = session.module_context.func_type(func_idx);
if false {
if DISASSEMBLE {
let mut microwasm = vec![];
let microwasm_conv = MicrowasmConv::new(