> in a debug build, assert it's been passed a persistent handle We wanted to add this but haven't been able to come up with a good model for checking whether a handle is persistent or not. All we see at the point where the cast takes place is a single pointer value and there is currently no way to know whether that pointer comes from a handle scope or a persistent handle.
> declare it 'explicit' to make it less likely to be used by accident It already is. > add a comment explaining the situation Yes, I'll do that. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
