[v8-users] MaybeLocal to Local conversion.

2015-09-24 Thread Jane Chen
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-user

[v8-users] NewStringType::kNormal vs. kInternalized.

2015-09-24 Thread Jane Chen
I'm looking for documentation on the subject. When am I supposed to use one over the other? Thanks in advance. -- -- 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-user

[v8-users] Extracting correct stack traces on windows

2015-09-24 Thread Mark Logan
Is there any way to get a correctly decoded native (i.e. not js) stack trace, on Windows, from within C++ code that is called from javascript via the v8 api? I've noticed that stack traces captured by a crash reporter like BugSplat are bogus, and that the MSVS debugger is also incapable of deco

[v8-users] Handles

2015-09-24 Thread Deepak Subramanian
Hi, I am looking to know the relation between Handle and String* If I have a String*, how do I make it into a Handle and vice-versa. Thanks. Best regards, Deepak -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message becau

Re: [v8-users] Runtime functions in V8

2015-09-24 Thread Jakob Kummerow
On Thu, Sep 24, 2015 at 1:58 PM, dmonji wrote: > 1) In v8, ic.cc, i see functions like > *RUNTIME_FUNCTION(Runtime_KeyedLoadIC_Miss)*. > I don't understand how are they invoked. Is there some connection > with * __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss, arg_count, 1);* > from ic-.cc

[v8-users] Re: Property accesses in JavaScript

2015-09-24 Thread dmonji
After some debugging, here is the trace of function calls for property access in v8 : ic/ic.cc : Load objects.cc : GetProperty lookup.cc : GetDataValue lookup.cc : FetchValue This is the generic flow, based on the kind of properties you are trying to access (fo

[v8-users] Runtime functions in V8

2015-09-24 Thread dmonji
1) In v8, ic.cc, i see functions like *RUNTIME_FUNCTION(Runtime_KeyedLoadIC_Miss)*. I don't understand how are they invoked. Is there some connection with * __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss, arg_count, 1);* from ic-.cc? 2) what is the difference between *Runtime_KeyedLoa