Home
last modified time | relevance | path

Searched refs:ObjectLiteral (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/ast/
Dast.cc342 bool ObjectLiteral::Property::IsCompileTimeValue() const { in IsCompileTimeValue()
348 void ObjectLiteral::Property::set_emit_store(bool emit_store) { in set_emit_store()
352 bool ObjectLiteral::Property::emit_store() const { return emit_store_; } in emit_store()
354 void ObjectLiteral::CalculateEmitStore(Zone* zone) { in CalculateEmitStore()
355 const auto GETTER = ObjectLiteral::Property::GETTER; in CalculateEmitStore()
356 const auto SETTER = ObjectLiteral::Property::SETTER; in CalculateEmitStore()
363 ObjectLiteral::Property* property = properties()->at(i); in CalculateEmitStore()
389 static_cast<ObjectLiteral::Property*>(entry->value)->kind(); in CalculateEmitStore()
403 void ObjectLiteral::InitFlagsForPendingNullPrototype(int i) { in InitFlagsForPendingNullPrototype()
413 int ObjectLiteral::InitDepthAndFlags() { in InitDepthAndFlags()
[all …]
Dprettyprinter.cc247 void CallPrinter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
1126 void AstPrinter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
1132 ZonePtrList<ObjectLiteral::Property>* properties) { in PrintObjectProperties()
1134 ObjectLiteral::Property* property = properties->at(i); in PrintObjectProperties()
1137 case ObjectLiteral::Property::CONSTANT: in PrintObjectProperties()
1140 case ObjectLiteral::Property::COMPUTED: in PrintObjectProperties()
1143 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in PrintObjectProperties()
1146 case ObjectLiteral::Property::PROTOTYPE: in PrintObjectProperties()
1149 case ObjectLiteral::Property::GETTER: in PrintObjectProperties()
1152 case ObjectLiteral::Property::SETTER: in PrintObjectProperties()
[all …]
Dast.h71 V(ObjectLiteral) \
1158 friend class ObjectLiteral; variable
1320 class ObjectLiteral final : public AggregateLiteral {
1404 ObjectLiteral(ZonePtrList<Property>* properties, in ObjectLiteral() function
1445 : public base::TemplateHashMap<Literal, ObjectLiteral::Accessors,
1450 : base::TemplateHashMap<Literal, ObjectLiteral::Accessors, in AccessorTable()
1458 it->second = new (zone_) ObjectLiteral::Accessors(); in lookup()
3019 ObjectLiteral* NewObjectLiteral( in NewObjectLiteral()
3020 ZonePtrList<ObjectLiteral::Property>* properties, in NewObjectLiteral()
3022 return new (zone_) ObjectLiteral(properties, boilerplate_properties, pos, in NewObjectLiteral()
[all …]
Dprettyprinter.h115 void PrintObjectProperties(ZonePtrList<ObjectLiteral::Property>* properties);
Dast-traversal-visitor.h331 void AstTraversalVisitor<Subclass>::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
/external/v8/src/parsing/
Dparser.h124 typedef ObjectLiteral::Property* ObjectLiteralProperty;
129 typedef ZonePtrList<ObjectLiteral::Property>* ObjectPropertyList;
393 ObjectLiteral* InitializeObjectLiteral(ObjectLiteral* object_literal) {
435 Statement* BuildAssertIsCoercible(Variable* var, ObjectLiteral* pattern);
619 ObjectLiteral::Property* property) {
873 V8_INLINE ZonePtrList<ObjectLiteral::Property>* NewObjectPropertyList(
875 return new (zone()) ZonePtrList<ObjectLiteral::Property>(size, zone());
Dpattern-rewriter.cc83 void VisitObjectLiteral(ObjectLiteral* node, Variable** temp_var);
367 void PatternRewriter::VisitObjectLiteral(ObjectLiteral* pattern, in VisitObjectLiteral()
436 void PatternRewriter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
Dpreparser.h148 static PreParserExpression ObjectLiteral( in ObjectLiteral() function
625 return PreParserExpression::ObjectLiteral(properties.variables_); in NewObjectLiteral()
Dparser.cc2796 ObjectLiteral* pattern) { in BuildAssertIsCoercible()
/external/v8/src/runtime/
Druntime-literals.cc326 bool use_fast_elements = (flags & ObjectLiteral::kFastElements) != 0; in Create()
327 bool has_null_prototype = (flags & ObjectLiteral::kHasNullPrototype) != 0; in Create()
531 STATIC_ASSERT(static_cast<int>(ObjectLiteral::kDisableMementos) == in CreateLiteral()
533 bool enable_mementos = (flags & ObjectLiteral::kDisableMementos) == 0; in CreateLiteral()
/external/v8/src/interpreter/
Dbytecode-generator.cc988 for (std::pair<ObjectLiteral*, size_t> literal : object_literals_) { in AllocateDeferredConstants()
989 ObjectLiteral* object_literal = literal.first; in AllocateDeferredConstants()
2129 void BytecodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
2149 expr->properties()->first()->kind() == ObjectLiteral::Property::SPREAD; in VisitObjectLiteral()
2185 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
2192 case ObjectLiteral::Property::SPREAD: in VisitObjectLiteral()
2194 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
2195 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
2198 case ObjectLiteral::Property::COMPUTED: { in VisitObjectLiteral()
2241 case ObjectLiteral::Property::PROTOTYPE: { in VisitObjectLiteral()
[all …]
Dbytecode-generator.h363 ZoneVector<std::pair<ObjectLiteral*, size_t>> object_literals_;
/external/v8/src/ic/
Dic.cc2496 if (flags & ObjectLiteral::kHasNullPrototype) { in FastCloneObjectMap()
2533 if (flags & ObjectLiteral::kHasNullPrototype) { in CloneObjectSlowPath()