Home
last modified time | relevance | path

Searched refs:VMExnRef (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dexnref.rs22 pub struct VMExnRef(VMGcRef); struct
24 impl fmt::Pointer for VMExnRef { implementation
30 impl From<VMExnRef> for VMGcRef {
32 fn from(x: VMExnRef) -> Self { in from()
52 pub fn into_exnref(self, gc_heap: &(impl GcHeap + ?Sized)) -> Result<VMExnRef, VMGcRef> { in into_exnref() argument
68 pub fn into_exnref_unchecked(self) -> VMExnRef { in into_exnref_unchecked() argument
70 VMExnRef(self) in into_exnref_unchecked()
75 pub fn as_exnref(&self, gc_heap: &(impl GcHeap + ?Sized)) -> Option<&VMExnRef> { in as_exnref() argument
88 pub fn as_exnref_unchecked(&self) -> &VMExnRef { in as_exnref_unchecked() argument
92 assert!(matches!(ret, VMExnRef(VMGcRef { .. }))); in as_exnref_unchecked()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Ddisabled.rs11 pub enum VMExnRef {} enum
23 pub fn into_exnref_unchecked(self) -> VMExnRef { in into_exnref_unchecked() argument
34 impl From<VMExnRef> for VMGcRef {
35 fn from(e: VMExnRef) -> VMGcRef { in from()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs357 ) -> Result<Result<VMExnRef, u64>> { in alloc_uninit_exn() argument
364 pub fn dealloc_uninit_exn(&mut self, exnref: VMExnRef) { in dealloc_uninit_exn() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dexnref.rs7 use crate::vm::{self, VMExnRef, VMGcHeader};
560 fn exnref<'a>(&self, store: &'a AutoAssertNoGc<'_>) -> Result<&'a VMExnRef> { in exnref() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dstore.rs133 use super::vm::VMExnRef;
500 pending_exception: Option<VMExnRef>,
2665 pub(crate) fn set_pending_exception(&mut self, exnref: VMExnRef) { in set_pending_exception() argument
2671 pub(crate) fn take_pending_exception(&mut self) -> Option<VMExnRef> { in take_pending_exception() argument