Home | History | Annotate | Download | only in src

Lines Matching full:jsobject

48 //       - JSObject
248 // inobject properties when normalizing properties of a JSObject.
334 // JSObject for GC purposes. The first four entries here have typeof
756 // Boundary for objects represented as JSReceiver (i.e. JSObject or JSProxy).
757 // Note that there is no range for JSObject or JSProxy, since their subtypes
763 // Boundaries for testing the types represented as JSObject
930 V(JSObject) \
1119 // implementation of a JSObject's elements.
1136 // Convert to a JSObject if needed.
1330 // add the hash to the JSObject if it does not already exist.
1802 // JSObject and JSProxy.
1870 Isolate* isolate, Handle<JSObject> object, Handle<Object> key,
1970 // Computes the enumerable keys for a JSObject. Used for implementing
1985 // The JSObject describes real heap allocated JavaScript objects with
1987 // Note that the map of JSObject changes during execution to enable inline
1989 class JSObject: public JSReceiver {
1991 static MUST_USE_RESULT MaybeHandle<JSObject> New(
1998 static MaybeHandle<Context> GetFunctionRealm(Handle<JSObject> object);
2019 static void ResetElements(Handle<JSObject> object);
2020 static inline void SetMapAndElements(Handle<JSObject> object,
2062 Handle<JSObject> object);
2067 static Handle<Object> PrepareElementsForSort(Handle<JSObject> object,
2072 static Handle<Object> PrepareSlowElementsForSort(Handle<JSObject> object,
2092 Handle<JSObject> object, Handle<Name> name, Handle<Object> value,
2097 Handle<JSObject> object, uint32_t index, Handle<Object> value,
2105 Handle<JSObject> object, Handle<Name> name, Handle<Object> value,
2114 static void AddProperty(Handle<JSObject> object, Handle<Name> name,
2118 Handle<JSObject> receiver, uint32_t index, Handle<Object> value,
2121 Handle<JSObject> receiver, uint32_t index, Handle<Object> value,
2126 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map);
2130 static void MigrateInstance(Handle<JSObject> instance);
2134 static bool TryMigrateInstance(Handle<JSObject> instance);
2138 static void SetNormalizedProperty(Handle<JSObject> object, Handle<Name> name,
2141 static void SetDictionaryElement(Handle<JSObject> object, uint32_t index,
2144 static void SetDictionaryArgumentsElement(Handle<JSObject> object,
2149 static void OptimizeAsPrototype(Handle<JSObject> object,
2151 static void ReoptimizeIfPrototype(Handle<JSObject> object);
2178 Handle<JSObject> object,
2184 static MaybeHandle<Object> DefineAccessor(Handle<JSObject> object,
2196 Handle<JSObject> object,
2216 static Handle<Object> SetHiddenProperty(Handle<JSObject> object,
2225 static void DeleteHiddenProperty(Handle<JSObject> object,
2228 static bool HasHiddenProperties(Handle<JSObject> object);
2230 static void SetIdentityHash(Handle<JSObject> object, Handle<Smi> hash);
2232 static void ValidateElements(Handle<JSObject> object);
2235 static inline void EnsureCanContainHeapObjectElements(Handle<JSObject> obj);
2239 Handle<JSObject> object,
2244 Handle<JSObject> object,
2249 Handle<JSObject> object,
2259 // Computes the new capacity when expanding the elements of a JSObject.
2266 static void UpdateAllocationSite(Handle<JSObject> object,
2276 Handle<JSObject> object, Handle<Name> name);
2278 Handle<JSObject> object, uint32_t index);
2280 Handle<JSObject> object, Handle<Name> name);
2282 // Get the header size for a JSObject. Used to compute the index of
2306 static void CollectOwnElementKeys(Handle<JSObject> object,
2310 static Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object,
2315 static Handle<Map> GetElementsTransitionMap(Handle<JSObject> object,
2317 static void TransitionElementsKind(Handle<JSObject> object,
2323 static void MigrateToMap(Handle<JSObject> object, Handle<Map> new_map,
2330 static void NormalizeProperties(Handle<JSObject> object,
2338 Handle<JSObject> object);
2343 static void MigrateSlowToFast(Handle<JSObject> object,
2349 static Handle<Object> FastPropertyAt(Handle<JSObject> object,
2369 MUST_USE_RESULT static Maybe<bool> SetPrototype(Handle<JSObject> object,
2386 Handle<JSObject> object, ShouldThrow should_throw);
2388 static bool IsExtensible(Handle<JSObject> object);
2391 static void SetObserved(Handle<JSObject> object);
2396 MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy(
2397 Handle<JSObject> object,
2400 MUST_USE_RESULT static MaybeHandle<JSObject> DeepWalk(
2401 Handle<JSObject> object,
2404 DECLARE_CAST(JSObject)
2408 DECLARE_PRINTER(JSObject)
2409 DECLARE_VERIFIER(JSObject)
2419 FILE* file, Handle<JSObject> object,
2476 // not to arbitrary other JSObject maps.
2495 Handle<JSObject> object, const char* type, Handle<Name> name,
2508 static void MigrateFastToFast(Handle<JSObject> object, Handle<Map> new_map);
2509 static void MigrateFastToSlow(Handle<JSObject> object,
2521 static void AddSlowProperty(Handle<JSObject> object,
2540 Handle<JSObject> object);
2545 Handle<JSObject> object,
2550 static Handle<Smi> GetOrCreateIdentityHash(Handle<JSObject> object);
2553 Handle<JSObject> object, Handle<FixedArrayBase> elements);
2559 Handle<JSObject> object, ShouldThrow should_throw);
2562 Handle<JSObject> object, Handle<Object> value, bool from_javascript,
2565 DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject);
5434 // to the inobject properties in case of JSObject maps, or the constructor
5438 // Count of properties allocated in the object (JSObject only).
5455 // instance (only used for JSObject in fast mode).
5546 // property is set to a value that is not a JSObject, the prototype
5571 // An undetectable object is a special class of JSObject: 'typeof' operator
5633 Handle<JSObject> prototype, Isolate* isolate);
5653 // TODO(ishell): candidate with JSObject::MigrateToMap().
6223 DECL_ACCESSORS(extension, JSObject)
6352 static Handle<JSObject> GetWrapper(Handle<Script> script);
7151 class JSGeneratorObject: public JSObject {
7187 static const int kFunctionOffset = JSObject::kHeaderSize;
7203 class JSModule: public JSObject {
7218 static const int kContextOffset = JSObject::kHeaderSize;
7228 class JSBoundFunction : public JSObject {
7267 static const int kBoundTargetFunctionOffset = JSObject::kHeaderSize;
7286 class JSFunction: public JSObject {
7298 inline JSObject* global_proxy();
7445 static const int kPrototypeOrInitialMapOffset = JSObject::kHeaderSize;
7468 class JSGlobalProxy : public JSObject {
7486 static const int kNativeContextOffset = JSObject::kHeaderSize;
7496 class JSGlobalObject : public JSObject {
7502 DECL_ACCESSORS(global_proxy, JSObject)
7520 static const int kNativeContextOffset = JSObject::kHeaderSize;
7531 class JSValue: public JSObject {
7543 static const int kValueOffset = JSObject::kHeaderSize;
7554 class JSDate: public JSObject {
7632 static const int kValueOffset = JSObject::kHeaderSize;
7662 class JSMessageObject: public JSObject {
7692 static const int kTypeOffset = JSObject::kHeaderSize;
7722 class JSRegExp: public JSObject {
7784 static const int kDataOffset = JSObject::kHeaderSize;
9661 class JSCollection : public JSObject {
9666 static const int kTableOffset = JSObject::kHeaderSize;
9721 class OrderedHashTableIterator: public JSObject {
9736 static const int kTableOffset = JSObject::kHeaderSize;
9815 class JSIteratorResult final : public JSObject {
9835 static const int kValueOffset = JSObject::kHeaderSize;
9849 class JSWeakCollection: public JSObject {
9863 static const int kTableOffset = JSObject::kHeaderSize;
9918 class JSArrayBuffer: public JSObject {
9958 static const int kByteLengthOffset = JSObject::kHeaderSize;
9985 class JSArrayBufferView: public JSObject {
10002 static const int kBufferOffset = JSObject::kHeaderSize;
10101 class JSArray: public JSObject {
10158 static const int kLengthOffset = JSObject::kHeaderSize;
10503 // Returns the holder JSObject if the function can legally be called with this