mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 17:29:26 +00:00
Add align, nofree and nonnull to vmctx pointer.
Adding dereferenceable is still TODO.
This commit is contained in:
@ -111,9 +111,6 @@ impl FuncTranslator {
|
||||
func.add_attribute(*attr_loc, *attr);
|
||||
}
|
||||
|
||||
// TODO: mark vmctx align 16
|
||||
// TODO: figure out how many bytes long vmctx is, and mark it dereferenceable. (no need to mark it nonnull once we do this.)
|
||||
// TODO: mark vmctx nofree
|
||||
func.add_attribute(AttributeLoc::Function, intrinsics.stack_probe);
|
||||
func.set_personality_function(intrinsics.personality);
|
||||
func.as_global_value().set_section(FUNCTION_SECTION);
|
||||
|
Reference in New Issue
Block a user