Home
last modified time | relevance | path

Searched refs:globals_ (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/wasm/
Dencoder.cc349 globals_(zone), in WasmModuleBuilder()
423 for (auto global : globals_) { in Build()
424 writer->globals_.push_back(global); in Build()
431 globals_.push_back(std::make_pair(type, exported)); in AddGlobal()
432 return static_cast<uint32_t>(globals_.size() - 1); in AddGlobal()
441 globals_(zone) {} in WasmModuleWriter()
478 sizes.AddSection(globals_.size()); in WriteTo()
479 if (globals_.size() > 0) { in WriteTo()
480 sizes.Add(kDeclGlobalSize * globals_.size(), 0); in WriteTo()
511 if (globals_.size() > 0) { in WriteTo()
[all …]
Dencoder.h123 ZoneVector<std::pair<MachineType, bool>> globals_; variable
148 ZoneVector<std::pair<MachineType, bool>> globals_; variable
/external/v8/src/interpreter/
Dbytecode-generator.h131 ZoneVector<Handle<Object>>* globals() { return &globals_; } in globals()
141 ZoneVector<Handle<Object>> globals_; variable
Dbytecode-generator.cc352 globals_(0, zone), in BytecodeGenerator()
/external/v8/src/full-codegen/
Dfull-codegen.cc377 ZoneList<Handle<Object> >* saved_globals = globals_; in VisitDeclarations()
379 globals_ = &inner_globals; in VisitDeclarations()
383 if (!globals_->is_empty()) { in VisitDeclarations()
387 isolate()->factory()->NewFixedArray(globals_->length(), TENURED); in VisitDeclarations()
388 for (int i = 0; i < globals_->length(); ++i) in VisitDeclarations()
389 array->set(i, *globals_->at(i)); in VisitDeclarations()
393 globals_ = saved_globals; in VisitDeclarations()
Dfull-codegen.h45 globals_(NULL), in FullCodeGenerator()
948 ZoneList<Handle<Object> >* globals_; variable
/external/v8/src/compiler/
Dast-graph-builder.h85 ZoneVector<Handle<Object>> globals_; variable
144 ZoneVector<Handle<Object>>* globals() { return &globals_; } in globals()
Dast-graph-builder.cc443 globals_(0, local_zone), in AstGraphBuilder()
/external/v8/src/
Dgdb-jit.cc849 globals_(1, zone) { in ELFSymbolTable()
854 int total_symbols = locals_.length() + globals_.length() + 1; in WriteBody()
873 WriteSymbolsList(&globals_, symbols.at(locals_.length() + 1), strtab); in WriteBody()
881 globals_.Add(symbol, zone); in Add()
906 ZoneList<ELFSymbol> globals_; member in v8::internal::GDBJITInterface::ELFSymbolTable
/external/v8/src/crankshaft/
Dhydrogen.cc3556 globals_(10, info->zone()), in HOptimizedGraphBuilder()
12047 DCHECK(globals_.is_empty()); in VisitDeclarations()
12049 if (!globals_.is_empty()) { in VisitDeclarations()
12051 isolate()->factory()->NewFixedArray(globals_.length(), TENURED); in VisitDeclarations()
12052 for (int i = 0; i < globals_.length(); ++i) array->set(i, *globals_.at(i)); in VisitDeclarations()
12058 globals_.Rewind(0); in VisitDeclarations()
12072 globals_.Add(variable->name(), zone()); in VisitVariableDeclaration()
12073 globals_.Add(variable->binding_needs_init() in VisitVariableDeclaration()
12108 globals_.Add(variable->name(), zone()); in VisitFunctionDeclaration()
12113 globals_.Add(function, zone()); in VisitFunctionDeclaration()
Dhydrogen.h2880 ZoneList<Handle<Object> > globals_; variable
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc754 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
755 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
809 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
814 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc814 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
815 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
872 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
877 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc811 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
812 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
869 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
874 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc757 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
758 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
813 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
818 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc769 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
770 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
825 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
830 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc815 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
816 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
872 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
877 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc810 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
811 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
868 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
873 globals_->Add(function, zone()); in VisitFunctionDeclaration()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc776 globals_->Add(variable->name(), zone()); in VisitVariableDeclaration()
777 globals_->Add(variable->binding_needs_init() in VisitVariableDeclaration()
833 globals_->Add(variable->name(), zone()); in VisitFunctionDeclaration()
838 globals_->Add(function, zone()); in VisitFunctionDeclaration()