mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 08:10:49 +00:00
Rename sigidx -> sig_index
This commit is contained in:
parent
3d65656f85
commit
b8baf5cab9
@ -314,9 +314,9 @@ impl<'environment> FuncEnvironment<'environment> {
|
||||
}
|
||||
|
||||
/// Creates a signature with VMContext as the last param
|
||||
pub fn generate_signature(&self, sigidx: SignatureIndex) -> ir::Signature {
|
||||
pub fn generate_signature(&self, sig_index: SignatureIndex) -> ir::Signature {
|
||||
// Get signature
|
||||
let mut signature = self.module.signatures[sigidx.index()].clone();
|
||||
let mut signature = self.module.signatures[sig_index.index()].clone();
|
||||
|
||||
// Add the vmctx parameter type to it
|
||||
signature.params.push(ir::AbiParam::special(
|
||||
|
Loading…
x
Reference in New Issue
Block a user