mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 12:41:32 +00:00
Fix lint (just two lines)
This commit is contained in:
@ -14,7 +14,7 @@ pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator, PC: ProtectedCaller, F
|
|||||||
|
|
||||||
/// Creates a new function and returns the function-scope code generator for it.
|
/// Creates a new function and returns the function-scope code generator for it.
|
||||||
fn next_function(&mut self) -> Result<&mut FCG, CodegenError>;
|
fn next_function(&mut self) -> Result<&mut FCG, CodegenError>;
|
||||||
|
|
||||||
/// Finalizes code generation, returning runtime structures.
|
/// Finalizes code generation, returning runtime structures.
|
||||||
fn finalize(self, module_info: &ModuleInfo) -> Result<(PC, FR), CodegenError>;
|
fn finalize(self, module_info: &ModuleInfo) -> Result<(PC, FR), CodegenError>;
|
||||||
|
|
||||||
|
@ -1034,7 +1034,7 @@ impl X64FunctionCode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Emits a System V call sequence.
|
/// Emits a System V call sequence.
|
||||||
///
|
///
|
||||||
/// This function must not use RAX before `cb` is called.
|
/// This function must not use RAX before `cb` is called.
|
||||||
fn emit_call_sysv<I: Iterator<Item = Location>, F: FnOnce(&mut Assembler)>(
|
fn emit_call_sysv<I: Iterator<Item = Location>, F: FnOnce(&mut Assembler)>(
|
||||||
a: &mut Assembler,
|
a: &mut Assembler,
|
||||||
|
Reference in New Issue
Block a user