Home
last modified time | relevance | path

Searched refs:ArrayLiteral (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/src/ast/
Dast.cc688 ElementsKind ArrayLiteral::constant_elements_kind() const { in constant_elements_kind()
692 void ArrayLiteral::InitDepthAndFlags() { in InitDepthAndFlags()
723 void ArrayLiteral::BuildConstantElements(Isolate* isolate) { in BuildConstantElements()
786 bool ArrayLiteral::IsFastCloningSupported() const { in IsFastCloningSupported()
792 void ArrayLiteral::RewindSpreads() { in RewindSpreads()
797 void ArrayLiteral::AssignFeedbackSlots(FeedbackVectorSpec* spec, in AssignFeedbackSlots()
Dcompile-time-value.cc37 ArrayLiteral* array_literal = expression->AsArrayLiteral(); in GetValue()
Dast.h73 V(ArrayLiteral)
1283 friend class ArrayLiteral; variable
1545 class ArrayLiteral final : public MaterializedLiteral {
1612 ArrayLiteral(ZoneList<Expression*>* values, int first_spread_index, int pos) in ArrayLiteral() function
3365 ArrayLiteral* NewArrayLiteral(ZoneList<Expression*>* values, in NewArrayLiteral()
3367 return new (zone_) ArrayLiteral(values, -1, pos); in NewArrayLiteral()
3370 ArrayLiteral* NewArrayLiteral(ZoneList<Expression*>* values, in NewArrayLiteral()
3372 return new (zone_) ArrayLiteral(values, first_spread_index, pos); in NewArrayLiteral()
Dast-expression-rewriter.cc256 void AstExpressionRewriter::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral()
Dprettyprinter.cc232 void CallPrinter::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral()
1042 void AstPrinter::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral()
Dast-traversal-visitor.h344 void AstTraversalVisitor<Subclass>::VisitArrayLiteral(ArrayLiteral* expr) { in VisitArrayLiteral()
Dast-numbering.cc583 void AstNumberingVisitor::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral()
/external/v8/src/runtime/
Druntime-literals.cc315 bool enable_mementos = (flags & ArrayLiteral::kDisableMementos) == 0; in CreateArrayLiteralImpl()
319 JSObject::DeepCopyHints hints = (flags & ArrayLiteral::kShallowElements) == 0 in CreateArrayLiteralImpl()
356 ArrayLiteral::kShallowElements)); in RUNTIME_FUNCTION()
/external/v8/src/interpreter/
Dbytecode-generator.h220 ZoneVector<std::pair<ArrayLiteral*, size_t>> array_literals_;
Dbytecode-generator.cc696 for (std::pair<ArrayLiteral*, size_t> literal : array_literals_) { in AllocateDeferredConstants()
697 ArrayLiteral* array_literal = literal.first; in AllocateDeferredConstants()
1867 void BytecodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { in VisitArrayLiteral()
/external/v8/src/parsing/
Dpattern-rewriter.cc428 void Parser::PatternRewriter::VisitArrayLiteral(ArrayLiteral* node, in VisitArrayLiteral()
666 void Parser::PatternRewriter::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral()
Dparser.h423 void VisitArrayLiteral(ArrayLiteral* node, Variable** temp_var);
638 V8_INLINE Expression* RewriteSpreads(ArrayLiteral* lit);
Dpreparser.h187 static PreParserExpression ArrayLiteral(ZoneList<VariableProxy*>* variables) { in ArrayLiteral() function
576 return PreParserExpression::ArrayLiteral(values.variables_); in NewArrayLiteral()
Dparser.cc3908 ArrayLiteral* lit = expr->AsArrayLiteral(); in RewriteExpression()
4022 Expression* Parser::RewriteSpreads(ArrayLiteral* lit) { in RewriteSpreads()
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.cc150 void ALAA::VisitArrayLiteral(ArrayLiteral* e) { VisitExpressions(e->values()); } in VisitArrayLiteral()
Djs-generic-lowering.cc434 if ((p.flags() & ArrayLiteral::kShallowElements) != 0 && in LowerJSCreateLiteralArray()
Dbytecode-graph-builder.cc1266 literal_flags |= ArrayLiteral::kDisableMementos; in VisitCreateArrayLiteral()
/external/v8/src/builtins/
Dbuiltins-constructor.cc622 SmiConstant(Smi::FromInt(ArrayLiteral::kShallowElements | in CreateFastCloneShallowArrayBuiltin()
625 : ArrayLiteral::kDisableMementos))); in CreateFastCloneShallowArrayBuiltin()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc755 void VisitArrayLiteral(ArrayLiteral* expr) { UNREACHABLE(); } in VisitArrayLiteral()
813 void PopulateFunctionTable(VariableProxy* table, ArrayLiteral* funcs) { in PopulateFunctionTable()
1043 ArrayLiteral* funcs = expr->value()->AsArrayLiteral(); in VisitAssignment()
/external/v8/src/full-codegen/
Dfull-codegen.h608 bool MustCreateArrayLiteralWithRuntime(ArrayLiteral* expr) const;
Dfull-codegen.cc187 ArrayLiteral* expr) const { in MustCreateArrayLiteralWithRuntime()
/external/v8/src/crankshaft/
Dtyping.cc423 void AstTyper::VisitArrayLiteral(ArrayLiteral* expr) { in VisitArrayLiteral()
/external/clang/lib/Sema/
DSemaChecking.cpp8036 ObjCArrayLiteral *ArrayLiteral);
8064 if (auto ArrayLiteral = dyn_cast<ObjCArrayLiteral>(Element)) in checkObjCCollectionLiteralElement() local
8065 checkObjCArrayLiteral(S, TargetElementType, ArrayLiteral); in checkObjCCollectionLiteralElement()
8073 ObjCArrayLiteral *ArrayLiteral) { in checkObjCArrayLiteral() argument
8091 for (unsigned I = 0, N = ArrayLiteral->getNumElements(); I != N; ++I) { in checkObjCArrayLiteral()
8093 ArrayLiteral->getElement(I), in checkObjCArrayLiteral()
8194 if (auto *ArrayLiteral = dyn_cast<ObjCArrayLiteral>(E)) in CheckImplicitConversion() local
8195 checkObjCArrayLiteral(S, QualType(Target, 0), ArrayLiteral); in CheckImplicitConversion()
DSemaExprObjC.cpp386 bool ArrayLiteral = false) { in CheckObjCCollectionLiteralElement() argument
470 if (ArrayLiteral) in CheckObjCCollectionLiteralElement()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc1269 void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { in VisitArrayLiteral()

12