pub unsafe fn heap_to_value(ptr: *const u8) -> Result<Value, BridgeError>
Convert a heap-allocated object to a Value.
ptr must point to a valid HeapObject allocated by the JIT nursery.
ptr