Rename sigidx -> sig_index

This commit is contained in:
Brandon Fish
2019-01-20 09:15:28 -06:00
parent 3d65656f85
commit b8baf5cab9

View File

@ -314,9 +314,9 @@ 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, sigidx: SignatureIndex) -> ir::Signature { pub fn generate_signature(&self, sig_index: SignatureIndex) -> ir::Signature {
// Get 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 // Add the vmctx parameter type to it
signature.params.push(ir::AbiParam::special( signature.params.push(ir::AbiParam::special(