commit 68d297bd5cb8c2d01d604918ac2ac34c53299564
parent 6fac5d9691602606c9f46d38c06a40eb0258716c
Author: William Casarin <jb55@jb55.com>
Date: Sat, 24 Jul 2021 08:26:15 -0700
remove some debug stuff
Diffstat:
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -5669,8 +5669,6 @@ static int calculate_locals_size(struct module *module)
locals_size += count_fn_locals(func) * sizeof(struct val);
}
- debug("locals size %d\n", locals_size);
-
return locals_size;
}
@@ -5718,8 +5716,6 @@ static int alloc_locals(struct module *module, struct cursor *mem,
}
}
- debug("alloc_locals sizes %d\n", sizes);
-
return 1;
}
diff --git a/src/wasm.h b/src/wasm.h
@@ -19,7 +19,7 @@ enum valtype {
val_i64 = 0x7E,
val_f32 = 0x7D,
val_f64 = 0x7C,
- val_ref_null = 0xD0, // not sure if this is right...
+ val_ref_null = 0xD0,
val_ref_func = 0x70,
val_ref_extern = 0x6F,
};