mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Merge branch 'master' into host-trampolines
This commit is contained in:
@@ -72,6 +72,7 @@ impl Compiler for LLVMCompiler {
|
||||
let mut readonly_section = CustomSection {
|
||||
protection: CustomSectionProtection::Read,
|
||||
bytes: SectionBody::default(),
|
||||
relocations: vec![],
|
||||
};
|
||||
|
||||
for (func_index, _) in &module.functions {
|
||||
|
||||
@@ -439,6 +439,7 @@ impl FuncTranslator {
|
||||
CustomSection {
|
||||
protection: CustomSectionProtection::Read,
|
||||
bytes: SectionBody::default(),
|
||||
relocations: vec![],
|
||||
},
|
||||
);
|
||||
for (section_idx, local_section_idx) in required_custom_sections {
|
||||
@@ -2335,7 +2336,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let vmctx_ptr_ptr = builder
|
||||
.build_struct_gep(
|
||||
vmfunction_import_ptr,
|
||||
intrinsics.vmfunction_import_body_element,
|
||||
intrinsics.vmfunction_import_vmctx_element,
|
||||
"",
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user