Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-alloc.cc46 heap->AllocateByteArray(100).ToObjectChecked(); in AllocateAfterFailures()
47 heap->AllocateFixedArray(100, NOT_TENURED).ToObjectChecked(); in AllocateAfterFailures()
51 heap->AllocateFixedArray(100).ToObjectChecked(); in AllocateAfterFailures()
52 heap->AllocateHeapNumber(0.42).ToObjectChecked(); in AllocateAfterFailures()
54 *CcTest::i_isolate()->object_function()).ToObjectChecked(); in AllocateAfterFailures()
55 heap->CopyJSObject(JSObject::cast(object)).ToObjectChecked(); in AllocateAfterFailures()
59 heap->AllocateByteArray(100, TENURED).ToObjectChecked(); in AllocateAfterFailures()
63 heap->AllocateFixedArray(10000, TENURED).ToObjectChecked(); in AllocateAfterFailures()
72 kLargeObjectSpaceFillerLength, TENURED).ToObjectChecked(); in AllocateAfterFailures()
75 kLargeObjectSpaceFillerLength, TENURED).ToObjectChecked(); in AllocateAfterFailures()
[all …]
Dtest-mark-compact.cc88 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked(); in TEST()
114 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked(); in TEST()
148 heap->AllocateFixedArray(arraysize).ToObjectChecked(); in TEST()
155 heap->AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize).ToObjectChecked(); in TEST()
259 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
261 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
263 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
278 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
280 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
282 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked()); in TEST()
Dtest-spaces.cc357 Page::kMaxRegularHeapObjectSize).ToObjectChecked(); in TEST()
384 s->AllocateRaw(Page::kMaxRegularHeapObjectSize).ToObjectChecked(); in TEST()
402 Object* obj = lo->AllocateRaw(lo_size, NOT_EXECUTABLE).ToObjectChecked(); in TEST()
Dcctest.h491 v8::internal::FreeListNode::cast(allocation.ToObjectChecked()); in SimulateFullSpace()
Dtest-heap.cc1013 Object* array = heap->AllocateFixedArray(allocation_len).ToObjectChecked(); in TEST()
1023 Object* array = heap->AllocateFixedArray(fixed_array_len).ToObjectChecked(); in TEST()
1026 Object* object = heap->AllocateJSObjectFromMap(*my_map).ToObjectChecked(); in TEST()
1042 Object* clone_obj = heap->CopyJSObject(jsobject).ToObjectChecked(); in TEST()
1628 CcTest::test_heap()->AllocateFixedArray(8192, TENURED).ToObjectChecked(); in TEST()
3586 v8::internal::FreeListNode::cast(allocation.ToObjectChecked()); in AllocateAllButNBytes()
/external/v8/src/heap/
Dspaces.h1625 Object* ToObjectChecked() { in ToObjectChecked() function
Dmark-compact.cc1997 Object* target = allocation.ToObjectChecked(); in DiscoverAndEvacuateBlackObjectsOnPage()