Home | History | Annotate | Download | only in runtime

Lines Matching refs:prototype

114             nextPrototypeValue = nextPrototype->prototype();
121 // Check if there are any setters or getters in the prototype chain
122 JSValue prototype;
123 for (JSObject* obj = this; !obj->structure()->hasGetterSetterProperties(); obj = asObject(prototype)) {
124 prototype = obj->prototype();
125 if (prototype.isNull()) {
136 for (JSObject* obj = this; ; obj = asObject(prototype)) {
158 prototype = obj->prototype();
159 if (prototype.isNull())
265 if ((hint == PreferString) || (hint != PreferNumber && prototype() == exec->lexicalGlobalObject()->datePrototype())) {
364 if (!object->prototype() || !object->prototype().isObject())
366 object = asObject(object->prototype());
383 if (!object->prototype() || !object->prototype().isObject())
385 object = asObject(object->prototype());
395 throwError(exec, TypeError, "instanceof called on an object with an invalid prototype property.");
400 while ((object = object->prototype().getObject())) {
432 if (prototype().isNull())
435 JSObject* prototype = asObject(this->prototype());
437 if (prototype->structure()->typeInfo().overridesGetPropertyNames()) {
438 prototype->getPropertyNames(exec, propertyNames, mode);
441 prototype->getOwnPropertyNames(exec, propertyNames, mode);
442 JSValue nextProto = prototype->prototype();
445 prototype = asObject(nextProto);
553 JSValue prototype = object->prototype();
554 if (!prototype.isObject())
556 object = asObject(prototype);