mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-20 12:16:30 +00:00
Update println! -> debug!, remove unnecessary comments
This commit is contained in:
@ -174,7 +174,7 @@ pub mod converter {
|
|||||||
|
|
||||||
/// Converts a Cranelift table to a Wasmer table.
|
/// Converts a Cranelift table to a Wasmer table.
|
||||||
pub fn convert_memory(memory: Memory) -> WasmerMemory {
|
pub fn convert_memory(memory: Memory) -> WasmerMemory {
|
||||||
println!("codegen memory: {:?}", memory);
|
debug!("codegen memory: {:?}", memory);
|
||||||
WasmerMemory {
|
WasmerMemory {
|
||||||
shared: memory.shared,
|
shared: memory.shared,
|
||||||
min: memory.minimum,
|
min: memory.minimum,
|
||||||
@ -315,7 +315,6 @@ impl<'environment> FuncEnvironment<'environment> {
|
|||||||
|
|
||||||
/// Creates a signature with VMContext as the last param
|
/// Creates a signature with VMContext as the last param
|
||||||
pub fn generate_signature(&self, sig_index: SignatureIndex) -> ir::Signature {
|
pub fn generate_signature(&self, sig_index: SignatureIndex) -> ir::Signature {
|
||||||
// Get signature
|
|
||||||
let mut signature = self.module.signatures[sig_index.index()].clone();
|
let mut signature = self.module.signatures[sig_index.index()].clone();
|
||||||
|
|
||||||
// Add the vmctx parameter type to it
|
// Add the vmctx parameter type to it
|
||||||
@ -324,7 +323,6 @@ impl<'environment> FuncEnvironment<'environment> {
|
|||||||
ir::ArgumentPurpose::VMContext,
|
ir::ArgumentPurpose::VMContext,
|
||||||
));
|
));
|
||||||
|
|
||||||
// Return signature
|
|
||||||
signature
|
signature
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user