Home
last modified time | relevance | path

Searched refs:cell_index (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/ast/
Dmodules.cc93 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 …]
Dmodules.h95 int cell_index; member
104 cell_index(0) {} in Entry()
115 static CellIndexKind GetCellIndexKind(int cell_index);
Dscopes.cc2182 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/
Dslot-set.h56 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/
Dmodule-info.h100 DECL_INT_ACCESSORS(cell_index)
108 int module_request, int cell_index,
Dscope-info.cc840 int module_request, int cell_index, in New() argument
848 result->set_cell_index(cell_index); in New()
/external/trappy/trappy/nbexport/
Dexporter.py47 def preprocess_cell(self, cell, resources, cell_index): argument
/external/v8/src/interpreter/
Dbytecode-array-builder.h109 BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth); in NON_EXPORTED_BASE()
113 BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth); in NON_EXPORTED_BASE()
Dbytecode-array-builder.cc958 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()
Dinterpreter.cc992 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/
Djs-typed-lowering.cc1653 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()
Djs-operator.cc951 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()
Djs-operator.h680 const Operator* LoadModule(int32_t cell_index); in NON_EXPORTED_BASE()
681 const Operator* StoreModule(int32_t cell_index); in NON_EXPORTED_BASE()
Dbytecode-graph-builder.cc1131 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/
Dobjects.cc19658 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 …]
Dobjects-printer.cc1230 os << "\n - cell_index: " << cell_index(); in ModuleInfoEntryPrint()
Dobjects.h7818 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,
Dobjects-inl.h7933 SMI_ACCESSORS(ModuleInfoEntry, cell_index, kCellIndexOffset) in ACCESSORS()