Re: [v8-users] instanceof.

2014-06-27 Thread 'Andreas Rossberg' via v8-users
On 26 June 2014 18:48, Jane Chen jxche...@gmail.com wrote: I have an object instantiated from a template, which has a class name set. When I do instanceof on it in JavaScript, it only shows it's an object, but not of my class. My class seems unknown. Does v8 provide a callback API for

Re: [v8-users] instanceof.

2014-06-27 Thread Jane Chen
Ben, Say if my class is called ValueIterator, and it is an instance of it, if I do: Object.prototype.toString.call(it); [object ValueIterator] it instanceof ValueIterator; (shell):1: ReferenceError: ValueIterator is not defined it instanceof ValueIterator; ^ ReferenceError:

[v8-users] How to SetAlignedPointerInInternalField on FunctionTemplate-GetFunction().

2014-06-27 Thread Jane Chen
I can't SetAlignedPointerInInternalField on FunctionTemplate-GetFunction(), even after I SetInternalFieldCount on FunctionTemplate-InstanceTemplate(). Is that just the way it is or am I missing something here? -- -- v8-users mailing list v8-users@googlegroups.com

Re: [v8-users] instanceof.

2014-06-27 Thread Ben Noordhuis
On Fri, Jun 27, 2014 at 9:29 PM, Jane Chen jxche...@gmail.com wrote: Ben, Say if my class is called ValueIterator, and it is an instance of it, if I do: Object.prototype.toString.call(it); [object ValueIterator] it instanceof ValueIterator; (shell):1: ReferenceError: ValueIterator is not

Re: [v8-users] How to SetAlignedPointerInInternalField on FunctionTemplate-GetFunction().

2014-06-27 Thread Ben Noordhuis
On Fri, Jun 27, 2014 at 10:40 PM, Jane Chen jxche...@gmail.com wrote: I can't SetAlignedPointerInInternalField on FunctionTemplate-GetFunction(), even after I SetInternalFieldCount on FunctionTemplate-InstanceTemplate(). Is that just the way it is or am I missing something here? The return

Re: [v8-users] First-time committers using git-svn

2014-06-27 Thread Isiah Meadows
Is the bleeding_edge branch there, or is only the stable there? I know for a fact the latter, but based on what I have read, the main development branch doesn't exist there. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this

Re: [v8-users] First-time committers using git-svn

2014-06-27 Thread Isiah Meadows
Never mind. Question answered (I may have misread something). -- -- 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