Renamed defined_ to local_

This commit is contained in:
Syrus
2020-04-21 23:26:17 -07:00
parent cdd51ad14a
commit 5e59eb895b
9 changed files with 80 additions and 80 deletions

View File

@ -8630,7 +8630,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
Operator::MemoryGrow { reserved } => {
let mem_index = MemoryIndex::from_u32(reserved);
let func_value = if let Some(local_mem_index) =
module.local.defined_memory_index(mem_index)
module.local.local_memory_index(mem_index)
{
match module
.local
@ -8665,7 +8665,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
Operator::MemorySize { reserved } => {
let mem_index = MemoryIndex::from_u32(reserved);
let func_value = if let Some(local_mem_index) =
module.local.defined_memory_index(mem_index)
module.local.local_memory_index(mem_index)
{
match module
.local