Lines Matching refs:prototype
263 void resetPrototype(JSValue prototype);
268 static PassRefPtr<Structure> createStructure(JSValue prototype)
270 return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);
296 void reset(JSValue prototype);
377 // We cache our prototype chain so our clients can share it.
379 JSValue prototype = prototypeForLookup(exec);
380 m_cachedPrototypeChain = StructureChain::create(prototype.isNull() ? 0 : asObject(prototype)->structure());
390 JSValue prototype = prototypeForLookup(exec);
392 while(*cachedStructure && !prototype.isNull()) {
393 if (asObject(prototype
396 prototype = asObject(prototype)->prototype();
398 return prototype.isNull() && !*cachedStructure;