Lines Matching defs:object
68 #include "src/objects/maybe-object.h"
74 #include "src/objects/property-descriptor-object-inl.h"
96 // - Each InstanceType has a separate XXXVerify method which checks an object's
101 // integrity is independent of an outer object.
359 // If a GC was caused while constructing this object, the elements
367 void VerifyJSObjectElements(Isolate* isolate, JSObject object) {
369 if (object.IsJSTypedArray()) {
371 // the object or propertly initialize it on errors during construction.
372 /* CHECK(object->HasTypedArrayOrRabGsabTypedArrayElements()); */
375 CHECK(!object.elements().IsByteArray());
377 if (object.HasDoubleElements()) {
378 if (object.elements().length() > 0) {
379 CHECK(object.elements().IsFixedDoubleArray());
384 if (object.HasSloppyArgumentsElements()) {
385 CHECK(object.elements().IsSloppyArgumentsElements());
389 FixedArray elements = FixedArray::cast(object.elements());
390 if (object.HasSmiElements()) {
397 } else if (object.HasObjectElements()) {
418 // store is already set into the object and the allocation of the
467 // If a GC was caused while constructing this object, the elements
978 // Make sure that this object has no properties, elements.
984 // Do not check the dummy global object for the builtins.
1073 // Ensure the cached code entry point corresponds to the Code object
1085 // So, do a reverse Code object lookup via code_entry_point value to
1086 // ensure it corresponds to the same Code object associated with this
1726 MaybeObject object = array.Get(i);
1727 if ((object->GetHeapObjectIfWeak(&heap_object) && heap_object.IsMap()) ||
1728 object->IsCleared()) {
1731 CHECK(object->IsSmi());
1936 HeapObject object = HeapObject::cast(o);
1938 CHECK(object.IsInternalizedString());