Re: [v8-users] Adding functions to prototype template via SetAccessorProperty

2016-06-05 Thread Toon Verwaest
If you want the value to be an instance of a template, you should just Set the value to the template itself rather than the result of instantiating the template. (So drop GetFunction()) Regards, Toon On Mon, Jun 6, 2016, 02:13 Mark Logan wrote: > This is a very similar

Re: [v8-users] Function line and column numbers with accessor callbacks in CpuProfileNode.

2016-06-05 Thread Jane Chen
I just tried compiling the script after the profiling is enabled. Still getting 0 line and column numbers for functions with accessor callbacks. Any other ideas? Shall I work on a standalone reproducing test case? On Thursday, June 2, 2016 at 11:31:44 PM UTC-7, Jochen Eisinger wrote: > > I

[v8-users] Adding functions to prototype template via SetAccessorProperty

2016-06-05 Thread Mark Logan
This is a very similar (perhaps identical) question to: https://groups.google.com/forum/#!searchin/v8-users/SetAccessorProperty/v8-users/_u6dmOLAEnY/p3ErLIpoAAAJ, but unfortunately I couldn't learn enough from that thread. (Also: The v8 embedder's guide is out of date, and I read all the uses