Update println! -> debug!, remove unnecessary comments

This commit is contained in:
Brandon Fish
2019-01-20 09:19:41 -06:00
parent b8baf5cab9
commit 808aacde2d

View File

@ -174,7 +174,7 @@ pub mod converter {
/// Converts a Cranelift table to a Wasmer table.
pub fn convert_memory(memory: Memory) -> WasmerMemory {
println!("codegen memory: {:?}", memory);
debug!("codegen memory: {:?}", memory);
WasmerMemory {
shared: memory.shared,
min: memory.minimum,
@ -315,7 +315,6 @@ impl<'environment> FuncEnvironment<'environment> {
/// Creates a signature with VMContext as the last param
pub fn generate_signature(&self, sig_index: SignatureIndex) -> ir::Signature {
// Get signature
let mut signature = self.module.signatures[sig_index.index()].clone();
// Add the vmctx parameter type to it
@ -324,7 +323,6 @@ impl<'environment> FuncEnvironment<'environment> {
ir::ArgumentPurpose::VMContext,
));
// Return signature
signature
}
}