Re: [v8-dev] about __proto__

2014-10-27 Thread 'Erik Arvidsson' via v8-dev
There are two forms. 1. __proto__ as an accessor on Object.prototype is added in v8natives.js 2. __proto__ in an object literal is handled by the compiler, making sure that we set the [[Prototype]] of the new born object. We generate code for this in FullCodeGenerator::VisitObjectLiteral On Mon O

[v8-dev] about __proto__

2014-10-26 Thread Shang Yu
Hi dear all, How v8 install __proto__ on a object ? or its accessing is processed by the runtime ? Does it has something with ObjectLiteralProperty::PROTOTYPE ? Many thanks !!! -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this messa