/external/v8/src/ast/ |
D | modules.cc | 93 ToStringOrUndefined(isolate, import_name), module_request, cell_index, in Serialize() 108 result->cell_index = entry->cell_index(); in Deserialize() 128 DCHECK_EQ(it->second->cell_index, next->second->cell_index); in SerializeRegularExports() 137 handle(Smi::FromInt(it->second->cell_index), isolate); in SerializeRegularExports() 168 int cell_index = module_info->RegularExportCellIndex(i); in DeserializeRegularExports() local 179 entry->cell_index = cell_index; in DeserializeRegularExports() 219 int cell_index) { in GetCellIndexKind() argument 220 if (cell_index > 0) return kExport; in GetCellIndexKind() 221 if (cell_index < 0) return kImport; in GetCellIndexKind() 236 DCHECK_EQ(entry->cell_index, 0); in AssignCellIndices() [all …]
|
D | modules.h | 95 int cell_index; member 104 cell_index(0) {} in Entry() 115 static CellIndexKind GetCellIndexKind(int cell_index);
|
D | scopes.cc | 2182 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables() 2188 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables()
|
/external/v8/src/heap/ |
D | slot-set.h | 56 int bucket_index, cell_index, bit_index; in Insert() local 57 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Insert() 63 if (!(current_bucket[cell_index].Value() & (1u << bit_index))) { in Insert() 64 current_bucket[cell_index].SetBit(bit_index); in Insert() 71 int bucket_index, cell_index, bit_index; in Contains() local 72 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Contains() 77 return (current_bucket[cell_index].Value() & (1u << bit_index)) != 0; in Contains() 82 int bucket_index, cell_index, bit_index; in Remove() local 83 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Remove() 86 uint32_t cell = current_bucket[cell_index].Value(); in Remove() [all …]
|
/external/v8/src/objects/ |
D | module-info.h | 100 DECL_INT_ACCESSORS(cell_index) 108 int module_request, int cell_index,
|
D | scope-info.cc | 840 int module_request, int cell_index, in New() argument 848 result->set_cell_index(cell_index); in New()
|
/external/trappy/trappy/nbexport/ |
D | exporter.py | 47 def preprocess_cell(self, cell, resources, cell_index): argument
|
/external/v8/src/interpreter/ |
D | bytecode-array-builder.h | 109 BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth); in NON_EXPORTED_BASE() 113 BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth); in NON_EXPORTED_BASE()
|
D | bytecode-array-builder.cc | 958 BytecodeArrayBuilder& BytecodeArrayBuilder::StoreModuleVariable(int cell_index, in StoreModuleVariable() argument 960 OutputStaModuleVariable(cell_index, depth); in StoreModuleVariable() 964 BytecodeArrayBuilder& BytecodeArrayBuilder::LoadModuleVariable(int cell_index, in LoadModuleVariable() argument 966 OutputLdaModuleVariable(cell_index, depth); in LoadModuleVariable()
|
D | interpreter.cc | 992 Node* cell_index = __ BytecodeOperandImmIntPtr(0); in DoLdaModuleVariable() local 1000 __ Branch(__ IntPtrGreaterThan(cell_index, __ IntPtrConstant(0)), &if_export, in DoLdaModuleVariable() 1008 Node* export_index = __ IntPtrSub(cell_index, __ IntPtrConstant(1)); in DoLdaModuleVariable() 1019 Node* import_index = __ IntPtrSub(__ IntPtrConstant(-1), cell_index); in DoLdaModuleVariable() 1035 Node* cell_index = __ BytecodeOperandImmIntPtr(0); in DoStaModuleVariable() local 1043 __ Branch(__ IntPtrGreaterThan(cell_index, __ IntPtrConstant(0)), &if_export, in DoStaModuleVariable() 1051 Node* export_index = __ IntPtrSub(cell_index, __ IntPtrConstant(1)); in DoStaModuleVariable()
|
/external/v8/src/compiler/ |
D | js-typed-lowering.cc | 1653 int32_t cell_index = OpParameter<int32_t>(node); in ReduceJSLoadModule() local 1658 if (ModuleDescriptor::GetCellIndexKind(cell_index) == in ReduceJSLoadModule() 1663 index = cell_index - 1; in ReduceJSLoadModule() 1665 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ReduceJSLoadModule() 1670 index = -cell_index - 1; in ReduceJSLoadModule() 1690 int32_t cell_index = OpParameter<int32_t>(node); in ReduceJSStoreModule() local 1696 if (ModuleDescriptor::GetCellIndexKind(cell_index) == in ReduceJSStoreModule() 1701 index = cell_index - 1; in ReduceJSStoreModule() 1703 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ReduceJSStoreModule() 1708 index = -cell_index - 1; in ReduceJSStoreModule()
|
D | js-operator.cc | 951 const Operator* JSOperatorBuilder::LoadModule(int32_t cell_index) { in LoadModule() argument 957 cell_index); // parameter in LoadModule() 960 const Operator* JSOperatorBuilder::StoreModule(int32_t cell_index) { in StoreModule() argument 966 cell_index); // parameter in StoreModule()
|
D | js-operator.h | 680 const Operator* LoadModule(int32_t cell_index); in NON_EXPORTED_BASE() 681 const Operator* StoreModule(int32_t cell_index); in NON_EXPORTED_BASE()
|
D | bytecode-graph-builder.cc | 1131 int32_t cell_index = bytecode_iterator().GetImmediateOperand(0); in VisitLdaModuleVariable() local 1135 Node* value = NewNode(javascript()->LoadModule(cell_index), module); in VisitLdaModuleVariable() 1140 int32_t cell_index = bytecode_iterator().GetImmediateOperand(0); in VisitStaModuleVariable() local 1145 NewNode(javascript()->StoreModule(cell_index), module, value); in VisitStaModuleVariable()
|
/external/v8/src/ |
D | objects.cc | 19658 int ExportIndex(int cell_index) { in ExportIndex() argument 19659 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ExportIndex() 19661 return cell_index - 1; in ExportIndex() 19664 int ImportIndex(int cell_index) { in ImportIndex() argument 19665 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ImportIndex() 19667 return -cell_index - 1; in ImportIndex() 19681 void Module::CreateExport(Handle<Module> module, int cell_index, in CreateExport() argument 19688 module->regular_exports()->set(ExportIndex(cell_index), *cell); in CreateExport() 19699 Handle<Object> Module::LoadVariable(Handle<Module> module, int cell_index) { in LoadVariable() argument 19702 switch (ModuleDescriptor::GetCellIndexKind(cell_index)) { in LoadVariable() [all …]
|
D | objects-printer.cc | 1230 os << "\n - cell_index: " << cell_index(); in ModuleInfoEntryPrint()
|
D | objects.h | 7818 static Handle<Object> LoadVariable(Handle<Module> module, int cell_index); 7819 static void StoreVariable(Handle<Module> module, int cell_index, 7838 static void CreateExport(Handle<Module> module, int cell_index,
|
D | objects-inl.h | 7933 SMI_ACCESSORS(ModuleInfoEntry, cell_index, kCellIndexOffset) in ACCESSORS()
|