jit_exception_throw

Function jit_exception_throw 

Source
pub unsafe extern "C" fn jit_exception_throw(object: *mut c_void)
Expand description

Throw an exception object within the current thread. As far as libjit is concerned, the exception object is just a pointer. The precise meaning of the data at the pointer is determined by the front end.

Note: as an exception object works its way back up the stack, it may be temporarily stored in memory that is not normally visible to a garbage collector. The front-end is responsible for taking steps to “pin” the object so that it is uncollectable until explicitly copied back into a location that is visible to the collector once more.