mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 14:11:32 +00:00
Fixed Instance functions memory offsets
This commit is contained in:
@ -103,8 +103,8 @@ impl Instance {
|
|||||||
.compile(&*isa)
|
.compile(&*isa)
|
||||||
.map_err(|e| ErrorKind::CompileError(e.to_string()))?
|
.map_err(|e| ErrorKind::CompileError(e.to_string()))?
|
||||||
as usize;
|
as usize;
|
||||||
|
context_and_offsets.push((func_context, total_size));
|
||||||
total_size += code_size_offset;
|
total_size += code_size_offset;
|
||||||
context_and_offsets.push((func_context, code_size_offset));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We only want to allocate in memory if there is more than
|
// We only want to allocate in memory if there is more than
|
||||||
|
Reference in New Issue
Block a user