mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 00:00:49 +00:00
Fix Operator::MemorySize.
This commit is contained in:
parent
5f8b289751
commit
a124d87d0f
@ -4128,7 +4128,13 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
|
|||||||
a,
|
a,
|
||||||
&mut self.machine,
|
&mut self.machine,
|
||||||
|a| {
|
|a| {
|
||||||
a.emit_call_location(Location::GPR(GPR::RAX));
|
let label = a.get_label();
|
||||||
|
let after = a.get_label();
|
||||||
|
a.emit_jmp(Condition::None, after);
|
||||||
|
a.emit_label(label);
|
||||||
|
a.emit_homomorphic_host_redirection(GPR::RAX);
|
||||||
|
a.emit_label(after);
|
||||||
|
a.emit_call_label(label);
|
||||||
},
|
},
|
||||||
::std::iter::once(Location::Imm32(memory_index.index() as u32)),
|
::std::iter::once(Location::Imm32(memory_index.index() as u32)),
|
||||||
None,
|
None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user