Lines Matching refs:cell_index
113 int SourceTextModule::ExportIndex(int cell_index) {
114 DCHECK_EQ(SourceTextModuleDescriptor::GetCellIndexKind(cell_index),
116 return cell_index - 1;
119 int SourceTextModule::ImportIndex(int cell_index) {
120 DCHECK_EQ(SourceTextModuleDescriptor::GetCellIndexKind(cell_index),
122 return -cell_index - 1;
136 int cell_index, Handle<FixedArray> names) {
140 module->regular_exports().set(ExportIndex(cell_index), *cell);
151 Cell SourceTextModule::GetCell(int cell_index) {
154 switch (SourceTextModuleDescriptor::GetCellIndexKind(cell_index)) {
156 cell = regular_imports().get(ImportIndex(cell_index));
159 cell = regular_exports().get(ExportIndex(cell_index));
169 int cell_index) {
170 return handle(module->GetCell(cell_index).value(), isolate);
174 int cell_index, Handle<Object> value) {
176 DCHECK_EQ(SourceTextModuleDescriptor::GetCellIndexKind(cell_index),
178 module->GetCell(cell_index).set_value(*value);
373 int cell_index = module_info->RegularExportCellIndex(i);
376 CreateExport(isolate, module, cell_index, export_names);
516 module->regular_imports().set(ImportIndex(entry->cell_index()), *cell);