Remove use of debug macro (#117)

This commit is contained in:
Lachlan Sneff
2019-01-24 09:46:28 -08:00
committed by GitHub
parent 2973a32502
commit e5c86e00ff
2 changed files with 0 additions and 2 deletions

View File

@ -60,7 +60,6 @@ impl LocalBacking {
for (_, mem) in &module.memories {
// If we use emscripten, we set a fixed initial and maximum
debug!("Instance - init memory ({}, {:?})", mem.min, mem.max);
// let memory = if options.abi == InstanceABI::Emscripten {
// // We use MAX_PAGES, so at the end the result is:
// // (initial * LinearMemory::PAGE_SIZE) == LinearMemory::DEFAULT_HEAP_SIZE

View File

@ -47,7 +47,6 @@ impl LinearMemory {
pub(crate) fn new(mem: &Memory) -> Self {
assert!(mem.min <= Self::MAX_PAGES);
assert!(mem.max.is_none() || mem.max.unwrap() <= Self::MAX_PAGES);
debug!("Instantiate LinearMemory(mem: {:?})", mem);
let (mmap_size, initial_pages, offset_guard_size, requires_signal_catch) = if
/*mem.is_static_heap()*/