Function mozjs::jsapi::GetPromiseAllocationSite

source ·
pub unsafe extern "C" fn GetPromiseAllocationSite(
    promise: Handle<*mut JSObject>,
) -> *mut JSObject
Expand description

Returns a js::SavedFrame linked list of the stack that lead to the given Promise’s allocation.