mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 09:19:25 +00:00
Renamed defined_ to local_
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user