Skip to content

Commit

Permalink
Remove use of debug macro (wasmerio#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlansneff authored Jan 24, 2019
1 parent 2973a32 commit e5c86e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/runtime-core/src/backing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion lib/runtime-core/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()*/
Expand Down

0 comments on commit e5c86e0

Please sign in to comment.