/external/v8/src/snapshot/ |
D | startup-serializer.cc | 56 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 59 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 60 if (root_has_been_serialized_.test(root_index)) { in SerializeObject() 61 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject() 84 root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 156 int root_index = static_cast<int>(current - start); in VisitPointers() local 157 if (RootShouldBeSkipped(root_index)) { in VisitPointers() 168 root_has_been_serialized_.set(root_index); in VisitPointers() 178 bool StartupSerializer::RootShouldBeSkipped(int root_index) { in RootShouldBeSkipped() argument 179 if (root_index == Heap::kStackLimitRootIndex || in RootShouldBeSkipped() [all …]
|
D | partial-serializer.cc | 63 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 64 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 65 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | serializer.cc | 207 void Serializer::PutRoot(int root_index, HeapObject* object, in PutRoot() argument 212 PrintF(" Encoding root %d:", root_index); in PutRoot() 223 root_index < kNumberOfRootArrayConstants && in PutRoot() 226 sink_.Put(kRootArrayConstants + root_index, "RootConstant"); in PutRoot() 228 sink_.Put(kRootArrayConstantsWithSkip + root_index, "RootConstant"); in PutRoot() 234 sink_.PutInt(root_index, "root_index"); in PutRoot() 571 int root_index = serializer_->root_index_map()->Lookup(current_contents); in VisitPointers() local 574 if (current != start && root_index != RootIndexMap::kInvalidRootIndex && in VisitPointers() 575 Heap::RootIsImmortalImmovable(root_index) && in VisitPointers()
|
D | startup-serializer.h | 69 bool RootShouldBeSkipped(int root_index);
|
D | code-serializer.cc | 66 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 67 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 68 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | deserializer.cc | 529 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); \ in ReadData() 530 new_object = isolate->heap()->root(root_index); \ in ReadData() 805 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); in ReadData() local 806 Object* object = isolate->heap()->root(root_index); in ReadData()
|
/external/v8/src/asmjs/ |
D | switch-logic.cc | 18 size_t root_index = (begin + end) / 2; in CreateBst() local 19 CaseNode* root = nodes->at(root_index); in CreateBst() 20 if (root_index != 0) { in CreateBst() 21 root->left = CreateBst(nodes, begin, root_index - 1); in CreateBst() 23 root->right = CreateBst(nodes, root_index + 1, end); in CreateBst()
|
/external/v8/src/ |
D | address-map.cc | 18 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); in RootIndexMap() local 19 Object* root = isolate->heap()->root(root_index); in RootIndexMap() 23 if (isolate->heap()->RootCanBeTreatedAsConstant(root_index)) { in RootIndexMap() 36 CHECK(!Heap::RootIsImmortalImmovable(root_index)); in RootIndexMap()
|
D | objects-debug.cc | 1493 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); in CanLeak() local 1494 if (map == heap->root(root_index)) return false; in CanLeak()
|
D | code-stub-assembler.cc | 957 Heap::RootListIndex root_index) { in LoadAndUntagToWord32Root() argument 960 int index = root_index * kPointerSize; in LoadAndUntagToWord32Root() 1393 Heap::RootListIndex root_index) { in StoreObjectFieldRoot() argument 1394 if (Heap::RootIsImmortalImmovable(root_index)) { in StoreObjectFieldRoot() 1395 return StoreObjectFieldNoWriteBarrier(object, offset, LoadRoot(root_index)); in StoreObjectFieldRoot() 1397 return StoreObjectField(object, offset, LoadRoot(root_index)); in StoreObjectFieldRoot() 6377 Heap::RootListIndex root_index) { in InitializeFieldsWithRoot() argument 6380 Node* root_value = LoadRoot(root_index); in InitializeFieldsWithRoot()
|
/external/v8/src/compiler/ |
D | code-assembler.cc | 418 Node* CodeAssembler::LoadRoot(Heap::RootListIndex root_index) { in LoadRoot() argument 419 if (isolate()->heap()->RootCanBeTreatedAsConstant(root_index)) { in LoadRoot() 420 Handle<Object> root = isolate()->heap()->root_handle(root_index); in LoadRoot() 431 IntPtrConstant(root_index * kPointerSize)); in LoadRoot() 465 Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) { in StoreRoot() argument 466 DCHECK(Heap::RootCanBeWrittenAfterInitialization(root_index)); in StoreRoot() 470 IntPtrConstant(root_index * kPointerSize), value); in StoreRoot()
|
D | code-assembler.h | 263 Node* LoadRoot(Heap::RootListIndex root_index); 276 Node* StoreRoot(Heap::RootListIndex root_index, Node* value);
|
D | code-generator.cc | 298 int root_index = map.Lookup(*object); in IsMaterializableFromRoot() local 299 if (root_index != RootIndexMap::kInvalidRootIndex) { in IsMaterializableFromRoot() 300 *index_return = static_cast<Heap::RootListIndex>(root_index); in IsMaterializableFromRoot()
|
D | instruction-selector.cc | 446 Heap::RootListIndex root_index; in OperandForDeopt() local 447 if (isolate->heap()->IsRootHandle(constant, &root_index) && in OperandForDeopt() 448 root_index == Heap::kOptimizedOutRootIndex) { in OperandForDeopt()
|
D | simplified-lowering.cc | 1117 Heap::RootListIndex root_index; in WriteBarrierKindFor() local 1120 &root_index)) { in WriteBarrierKindFor() 1121 if (heap->RootIsImmortalImmovable(root_index)) { in WriteBarrierKindFor()
|
/external/ImageMagick/MagickCore/ |
D | nt-base.c | 1091 static int NTLocateGhostscript(DWORD flags,int *root_index, in NTLocateGhostscript() argument 1113 *root_index=0; in NTLocateGhostscript() 1162 *root_index=j; in NTLocateGhostscript() 1203 root_index=0; in NTGhostscriptGetString() local 1247 (void) NTLocateGhostscript(flags,&root_index,&product_family, in NTGhostscriptGetString() 1261 (void) NTLocateGhostscript(flags,&root_index,&product_family, in NTGhostscriptGetString() 1274 if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name, in NTGhostscriptGetString() 1278 "registry: \"%s\\%s\\%s\"=\"%s\"",registry_roots[root_index].name, in NTGhostscriptGetString()
|
/external/v8/src/compiler/x64/ |
D | instruction-selector-x64.cc | 1754 Heap::RootListIndex root_index; in VisitWord64Compare() local 1757 heap->IsRootHandle(m.right().Value(), &root_index)) { in VisitWord64Compare() 1763 g.TempImmediate((root_index * kPointerSize) - kRootRegisterBias), in VisitWord64Compare() 1766 heap->IsRootHandle(m.left().Value(), &root_index)) { in VisitWord64Compare() 1771 g.TempImmediate((root_index * kPointerSize) - kRootRegisterBias), in VisitWord64Compare()
|
/external/v8/src/heap/ |
D | heap.h | 674 static bool RootIsImmortalImmovable(int root_index); 681 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); 1127 bool RootCanBeTreatedAsConstant(RootListIndex root_index);
|
D | heap.cc | 2915 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { in RootCanBeWrittenAfterInitialization() argument 2916 switch (root_index) { in RootCanBeWrittenAfterInitialization() 2951 bool Heap::RootCanBeTreatedAsConstant(RootListIndex root_index) { in RootCanBeTreatedAsConstant() argument 2952 return !RootCanBeWrittenAfterInitialization(root_index) && in RootCanBeTreatedAsConstant() 2953 !InNewSpace(root(root_index)); in RootCanBeTreatedAsConstant() 4753 bool Heap::RootIsImmortalImmovable(int root_index) { in RootIsImmortalImmovable() argument 4754 switch (root_index) { in RootIsImmortalImmovable()
|
/external/v8/include/ |
D | v8.h | 8925 int root_index; 8927 root_index = I::kTrueValueRootIndex; 8929 root_index = I::kFalseValueRootIndex; 8931 *value_ = *I::GetRoot(GetIsolate(), root_index);
|
/external/v8/src/builtins/arm64/ |
D | builtins-arm64.cc | 132 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 138 __ LoadRoot(x5, root_index); in Generate_MathMaxMin()
|
/external/v8/src/builtins/x64/ |
D | builtins-x64.cc | 1697 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 1704 __ LoadRoot(rdx, root_index); in Generate_MathMaxMin()
|
/external/v8/src/builtins/x87/ |
D | builtins-x87.cc | 1699 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 1706 __ LoadRoot(edx, root_index); in Generate_MathMaxMin()
|
/external/v8/src/builtins/ppc/ |
D | builtins-ppc.cc | 130 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 137 __ LoadRoot(r8, root_index); in Generate_MathMaxMin()
|
/external/v8/src/builtins/mips64/ |
D | builtins-mips64.cc | 133 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 139 __ LoadRoot(t1, root_index); in Generate_MathMaxMin()
|