It appears that Isolate::GetCallingContext() was removed in V8 7.x (though I'm having trouble finding a changelog that lists breaking API changes for each release). This was presumably removed in order to clear the way for V8 to implement tail-call optimizations, whenever the TC39 stalemate on that subject is resolved?
In the meantime though, is there any alternative API that provides similar results? I have objects that are shared between multiple Contexts, and the native-backed functions on those objects need to know which Context they are being called from. I don't think GetCurrentContext() or GetEnteredContext() can serve this purpose, since they'll always return whatever single Context the native API was originally created in. I need a way to be in native code and get the Context of the JS stack frame that is calling us. In short, is it no longer possible to share objects between Contexts if those objects contain native APIs that need to be Context-aware? - Peter -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/56011069-15f5-4958-b459-d6ca0f5eb968%40googlegroups.com.