Home
last modified time | relevance | path

Searched refs:js_obj (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/profiler/
Dheap-snapshot-generator.cc1080 int entry, JSObject* js_obj) { in ExtractJSObjectReferences() argument
1081 HeapObject* obj = js_obj; in ExtractJSObjectReferences()
1082 ExtractPropertyReferences(js_obj, entry); in ExtractJSObjectReferences()
1083 ExtractElementReferences(js_obj, entry); in ExtractJSObjectReferences()
1084 ExtractInternalReferences(js_obj, entry); in ExtractJSObjectReferences()
1085 PrototypeIterator iter(heap_->isolate(), js_obj); in ExtractJSObjectReferences()
1092 SetNativeBindReference(js_obj, entry, "bound_this", js_fun->bound_this()); in ExtractJSObjectReferences()
1093 SetNativeBindReference(js_obj, entry, "bound_function", in ExtractJSObjectReferences()
1098 SetNativeBindReference(js_obj, entry, reference_name, bindings->get(i)); in ExtractJSObjectReferences()
1101 JSFunction* js_fun = JSFunction::cast(js_obj); in ExtractJSObjectReferences()
[all …]
Dheap-snapshot-generator.h372 void ExtractJSObjectReferences(int entry, JSObject* js_obj);
392 void ExtractPropertyReferences(JSObject* js_obj, int entry);
393 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key,
395 void ExtractElementReferences(JSObject* js_obj, int entry);
396 void ExtractInternalReferences(JSObject* js_obj, int entry);
/external/v8/src/runtime/
Druntime-object.cc151 Handle<JSObject> js_obj = Handle<JSObject>::cast(object); in RUNTIME_FUNCTION() local
160 key_is_array_index ? LookupIterator(isolate, js_obj, index, js_obj, c) in RUNTIME_FUNCTION()
161 : LookupIterator(js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
168 Map* map = js_obj->map(); in RUNTIME_FUNCTION()
178 ? LookupIterator(isolate, js_obj, index, js_obj, c) in RUNTIME_FUNCTION()
179 : LookupIterator(js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
/external/v8/src/
Djson-stringifier.cc522 Handle<JSObject> js_obj = Handle<JSObject>::cast(object); in SerializeJSObject() local
523 DCHECK(!js_obj->HasIndexedInterceptor()); in SerializeJSObject()
524 DCHECK(!js_obj->HasNamedInterceptor()); in SerializeJSObject()
525 Handle<Map> map(js_obj->map()); in SerializeJSObject()
537 if (details.type() == DATA && *map == js_obj->map()) { in SerializeJSObject()
539 property = JSObject::FastPropertyAt(js_obj, details.representation(), in SerializeJSObject()
543 isolate_, property, Object::GetPropertyOrElement(js_obj, key), in SerializeJSObject()
Dapi.cc8061 i::Handle<i::JSObject> js_obj = i::Handle<i::JSObject>::cast(obj); in GetStackTrace() local
8062 i::Isolate* isolate = js_obj->GetIsolate(); in GetStackTrace()
8064 return Utils::StackTraceToLocal(isolate->GetDetailedStackTrace(js_obj)); in GetStackTrace()
/external/v8/src/heap/
Dheap.cc3517 JSObject* js_obj = nullptr; in AllocateJSObjectFromMap() local
3519 if (!allocation.To(&js_obj)) return allocation; in AllocateJSObjectFromMap()
3522 InitializeJSObjectFromMap(js_obj, properties, map); in AllocateJSObjectFromMap()
3523 DCHECK(js_obj->HasFastElements() || js_obj->HasFixedTypedArrayElements() || in AllocateJSObjectFromMap()
3524 js_obj->HasFastStringWrapperElements() || in AllocateJSObjectFromMap()
3525 js_obj->HasFastArgumentsElements()); in AllocateJSObjectFromMap()
3526 return js_obj; in AllocateJSObjectFromMap()
/external/v8/test/cctest/
Dtest-heap-profiler.cc1786 v8::Local<v8::Object> js_obj = js_global->Get(env.local(), v8_str("a")) in TEST() local
1789 CHECK(js_obj == heap_profiler->FindObjectById(obj->GetId())); in TEST()
1792 v8::Local<v8::String> js_s_prop = js_obj->Get(env.local(), v8_str("s_prop")) in TEST()
1798 v8::Local<v8::String> js_n_prop = js_obj->Get(env.local(), v8_str("n_prop")) in TEST()