Searched refs:root_index (Results 1 - 9 of 9) sorted by relevance

/external/v8/src/
H A Daddress-map.cc18 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); local
19 Object* root = isolate->heap()->root(root_index);
23 isolate->heap()->RootCanBeTreatedAsConstant(root_index)) {
H A Dobjects-debug.cc1259 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); local
1260 if (map == heap->root(root_index)) return false;
/external/v8/src/snapshot/
H A Dserialize.cc933 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); \
934 new_object = isolate->heap()->root(root_index); \
1201 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); local
1202 Object* object = isolate->heap()->root(root_index);
1674 int root_index = root_index_map_.Lookup(obj); local
1677 if (root_index != RootIndexMap::kInvalidRootIndex &&
1678 root_index < root_index_wave_front_) {
1679 PutRoot(root_index, obj, how_to_code, where_to_point, skip);
1712 void Serializer::PutRoot(int root_index, argument
1718 PrintF(" Encoding root %d:", root_index);
1770 int root_index = root_index_map_.Lookup(obj); local
2032 int root_index = serializer_->root_index_map()->Lookup(current_contents); local
2364 int root_index = root_index_map_.Lookup(obj); local
[all...]
/external/v8/src/compiler/
H A Dchange-lowering.cc450 int root_index = root_index_map.Lookup(*input); local
451 if (root_index != RootIndexMap::kInvalidRootIndex &&
452 isolate->heap()->RootIsImmortalImmovable(root_index)) {
H A Dcode-generator.cc271 int root_index = map.Lookup(*object); local
272 if (root_index != RootIndexMap::kInvalidRootIndex) {
273 *index_return = static_cast<Heap::RootListIndex>(root_index);
/external/v8/src/heap/
H A Dheap.cc2898 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { argument
2899 switch (root_index) {
2932 bool Heap::RootCanBeTreatedAsConstant(RootListIndex root_index) { argument
2933 return !RootCanBeWrittenAfterInitialization(root_index) &&
2934 !InNewSpace(root(root_index));
4409 bool Heap::RootIsImmortalImmovable(int root_index) { argument
4410 switch (root_index) {
H A Dheap.h760 static bool RootIsImmortalImmovable(int root_index);
767 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index);
1196 bool RootCanBeTreatedAsConstant(RootListIndex root_index);
/external/v8/include/
H A Dv8.h7558 int root_index; local
7560 root_index = I::kTrueValueRootIndex;
7562 root_index = I::kFalseValueRootIndex;
7564 *value_ = *I::GetRoot(GetIsolate(), root_index);
/external/v8/test/cctest/heap/
H A Dtest-heap.cc5897 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); local
5898 bool writable = Heap::RootCanBeWrittenAfterInitialization(root_index);
5899 bool immortal = Heap::RootIsImmortalImmovable(root_index);

Completed in 272 milliseconds