Should be safe, but it's hard to be sure: the API surface is huge, and 3.24
is really old.

At least, *if* there is an unexpectedly empty MaybeLocal, it'll crash right
inside ToLocalChecked, which should make debugging easy.

On Fri, Sep 25, 2015 at 6:04 AM, Jane Chen <[email protected]> wrote:

> I'm migrating my application embedding v8 from 3.24 to v8 head.  For code
> which returns a non-empty Local on 3.24, is it safe to replace it with
> MaybeLocal.ToLocalChecked?  That is, has there been any new conditions
> introduced which return nullptr since 3.24?
>
> Thanks in advance.
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to