I can't quite tell the difference, even after looking through the v8  
source code in builtins.cc, etc., which creates Arguments objects.

The code confuses me, but they look like they could be the same. The  
internal arvg pointer's member at [0] is used to create the Holder  
(after some checking to ensure it is valid, etc.). The argv array,  
changed by (argv - 1), is then passed to the actual arguments. To  
access "This", argv uses (argv + 1).

It looks like they come from the same source, but like Holder has a  
lot of extra processing. Perhaps it has something to do with how  
Holder is guaranteed to be an Object, while This is a Value.

Alex

On Mar 8, 2009, at 9:12 AM, Stephan Beal wrote:

>
> The subject line says it all!
>
> Does "holder" mean "the object of which the callee is a member"? If
> so, how is that different from This(). If not, how is Holder() it
> different from This()?
>
> :-?
> >

Alex Iskander, TPSi





--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to