Re: [Development] JS Engine: callAsConstructor vs. virtualCallAsConstructor

2018-08-04 Thread Lars Knoll
On 4 Aug 2018, at 11:39, Valery Kotov mailto:kotov.val...@gmail.com>> wrote: Hello Lars, Got it. Thank you for the explanation! Just a small question to see that I got it correctly. Then virtuallCall means the same but for JavaScript function invocation, does not it? And if I would like to ca

Re: [Development] JS Engine: callAsConstructor vs. virtualCallAsConstructor

2018-08-04 Thread Valery Kotov
Hello Lars, Got it. Thank you for the explanation! Just a small question to see that I got it correctly. Then virtuallCall means the same but for JavaScript function invocation, does not it? And if I would like to call a JS function from C++ I simply do functionObject->call (as before) and it wil

Re: [Development] JS Engine: callAsConstructor vs. virtualCallAsConstructor

2018-08-02 Thread Lars Knoll
Hi Valery, On 2 Aug 2018, at 15:44, Valery Kotov mailto:kotov.val...@gmail.com>> wrote: Hello all, I have a question about recent introduction of "virtual" functions in JavaScript engine. Now objects have both virtualCallAsConstructor function and callAsConstructor functions. Unfortunately,

[Development] JS Engine: callAsConstructor vs. virtualCallAsConstructor

2018-08-02 Thread Valery Kotov
Hello all, I have a question about recent introduction of "virtual" functions in JavaScript engine. Now objects have both virtualCallAsConstructor function and callAsConstructor functions. Unfortunately, distinction between those is a little bit unclear to me. Is virtualCallAsConstructor is actua