/external/v8/src/snapshot/ |
D | startup-serializer.cc | 55 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 58 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 59 if (root_has_been_serialized_.test(root_index)) { in SerializeObject() 60 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject() 75 root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 149 int root_index = static_cast<int>(current - start); in VisitPointers() local 150 if (RootShouldBeSkipped(root_index)) { in VisitPointers() 161 root_has_been_serialized_.set(root_index); in VisitPointers() 171 bool StartupSerializer::RootShouldBeSkipped(int root_index) { in RootShouldBeSkipped() argument 172 if (root_index == Heap::kStackLimitRootIndex || in RootShouldBeSkipped() [all …]
|
D | partial-serializer.cc | 56 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 57 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 58 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | serializer.cc | 200 void Serializer::PutRoot(int root_index, HeapObject* object, in PutRoot() argument 205 PrintF(" Encoding root %d:", root_index); in PutRoot() 211 root_index < kNumberOfRootArrayConstants && in PutRoot() 214 sink_.Put(kRootArrayConstants + root_index, "RootConstant"); in PutRoot() 216 sink_.Put(kRootArrayConstantsWithSkip + root_index, "RootConstant"); in PutRoot() 222 sink_.PutInt(root_index, "root_index"); in PutRoot() 548 int root_index = serializer_->root_index_map()->Lookup(current_contents); in VisitPointers() local 551 if (current != start && root_index != RootIndexMap::kInvalidRootIndex && in VisitPointers() 552 Heap::RootIsImmortalImmovable(root_index) && in VisitPointers()
|
D | startup-serializer.h | 69 bool RootShouldBeSkipped(int root_index);
|
D | code-serializer.cc | 52 int root_index = root_index_map_.Lookup(obj); in SerializeObject() local 53 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 54 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | deserializer.cc | 475 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); \ in ReadData() 476 new_object = isolate->heap()->root(root_index); \ in ReadData() 750 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); in ReadData() local 751 Object* object = isolate->heap()->root(root_index); in ReadData()
|
/external/v8/src/wasm/ |
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 | 1256 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); in CanLeak() local 1257 if (map == heap->root(root_index)) return false; in CanLeak()
|
/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/ |
D | code-assembler.cc | 250 Node* CodeAssembler::LoadRoot(Heap::RootListIndex root_index) { in LoadRoot() argument 251 if (isolate()->heap()->RootCanBeTreatedAsConstant(root_index)) { in LoadRoot() 252 Handle<Object> root = isolate()->heap()->root_handle(root_index); in LoadRoot() 263 IntPtrConstant(root_index * kPointerSize)); in LoadRoot() 290 Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) { in StoreRoot() argument 291 DCHECK(Heap::RootCanBeWrittenAfterInitialization(root_index)); in StoreRoot() 295 IntPtrConstant(root_index * kPointerSize), value); in StoreRoot()
|
D | code-assembler.h | 251 Node* LoadRoot(Heap::RootListIndex root_index); 263 Node* StoreRoot(Heap::RootListIndex root_index, Node* value);
|
D | code-generator.cc | 300 int root_index = map.Lookup(*object); in IsMaterializableFromRoot() local 301 if (root_index != RootIndexMap::kInvalidRootIndex) { in IsMaterializableFromRoot() 302 *index_return = static_cast<Heap::RootListIndex>(root_index); in IsMaterializableFromRoot()
|
D | simplified-lowering.cc | 1020 int root_index = root_index_map.Lookup(*value_object); in WriteBarrierKindFor() local 1021 if (root_index != RootIndexMap::kInvalidRootIndex && in WriteBarrierKindFor() 1022 jsgraph_->isolate()->heap()->RootIsImmortalImmovable(root_index)) { in WriteBarrierKindFor()
|
/external/v8/src/heap/ |
D | heap.h | 597 static bool RootIsImmortalImmovable(int root_index); 604 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); 1044 bool RootCanBeTreatedAsConstant(RootListIndex root_index);
|
D | heap.cc | 2922 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { in RootCanBeWrittenAfterInitialization() argument 2923 switch (root_index) { in RootCanBeWrittenAfterInitialization() 2954 bool Heap::RootCanBeTreatedAsConstant(RootListIndex root_index) { in RootCanBeTreatedAsConstant() argument 2955 return !RootCanBeWrittenAfterInitialization(root_index) && in RootCanBeTreatedAsConstant() 2956 !InNewSpace(root(root_index)); in RootCanBeTreatedAsConstant() 4604 bool Heap::RootIsImmortalImmovable(int root_index) { in RootIsImmortalImmovable() argument 4605 switch (root_index) { in RootIsImmortalImmovable()
|
/external/v8/include/ |
D | v8.h | 7939 int root_index; 7941 root_index = I::kTrueValueRootIndex; 7943 root_index = I::kFalseValueRootIndex; 7945 *value_ = *I::GetRoot(GetIsolate(), root_index);
|
/external/v8/src/s390/ |
D | builtins-s390.cc | 125 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 132 __ LoadRoot(r7, root_index); in Generate_MathMaxMin()
|
/external/v8/src/arm64/ |
D | builtins-arm64.cc | 134 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 140 __ LoadRoot(x5, root_index); in Generate_MathMaxMin()
|
/external/v8/src/x64/ |
D | builtins-x64.cc | 1644 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 1651 __ LoadRoot(rdx, root_index); in Generate_MathMaxMin()
|
/external/v8/src/ppc/ |
D | builtins-ppc.cc | 133 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 140 __ LoadRoot(r8, root_index); in Generate_MathMaxMin()
|
/external/v8/src/arm/ |
D | builtins-arm.cc | 133 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 140 __ LoadRoot(r5, root_index); in Generate_MathMaxMin()
|
/external/v8/src/mips64/ |
D | builtins-mips64.cc | 135 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 141 __ LoadRoot(t1, root_index); in Generate_MathMaxMin()
|
/external/v8/src/mips/ |
D | builtins-mips.cc | 136 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 142 __ LoadRoot(t2, root_index); in Generate_MathMaxMin()
|
/external/v8/src/x87/ |
D | builtins-x87.cc | 1576 Heap::RootListIndex const root_index = in Generate_MathMaxMin() local 1583 __ LoadRoot(edx, root_index); in Generate_MathMaxMin()
|