Home
last modified time | relevance | path

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

12

/external/v8/src/ast/
Dast.cc268 ObjectLiteral::Property* property = properties()->at(i); in AssignFeedbackVectorSlots()
277 bool ObjectLiteral::Property::IsCompileTimeValue() { in IsCompileTimeValue()
284 void ObjectLiteral::Property::set_emit_store(bool emit_store) { in set_emit_store()
289 bool ObjectLiteral::Property::emit_store() { in emit_store()
294 void ObjectLiteral::AssignFeedbackVectorSlots(Isolate* isolate, in AssignFeedbackVectorSlots()
301 ObjectLiteral::Property* property = properties()->at(property_index); in AssignFeedbackVectorSlots()
308 case ObjectLiteral::Property::CONSTANT: in AssignFeedbackVectorSlots()
310 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in AssignFeedbackVectorSlots()
312 case ObjectLiteral::Property::COMPUTED: in AssignFeedbackVectorSlots()
328 case ObjectLiteral::Property::PROTOTYPE: in AssignFeedbackVectorSlots()
[all …]
Dprettyprinter.cc260 void CallPrinter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
776 void PrettyPrinter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
1443 ZoneList<ObjectLiteral::Property*>* properties) { in PrintProperties()
1445 ObjectLiteral::Property* property = properties->at(i); in PrintProperties()
1448 case ObjectLiteral::Property::CONSTANT: in PrintProperties()
1451 case ObjectLiteral::Property::COMPUTED: in PrintProperties()
1454 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in PrintProperties()
1457 case ObjectLiteral::Property::PROTOTYPE: in PrintProperties()
1460 case ObjectLiteral::Property::GETTER: in PrintProperties()
1463 case ObjectLiteral::Property::SETTER: in PrintProperties()
[all …]
Dast.h74 V(ObjectLiteral) \
1413 friend class ObjectLiteral; variable
1498 class ObjectLiteral final : public MaterializedLiteral {
1502 DECLARE_NODE_TYPE(ObjectLiteral) in DECLARE_NODE_TYPE() argument
1578 ObjectLiteral(Zone* zone, ZoneList<Property*>* properties, int literal_index, in ObjectLiteral() function
1604 class AccessorTable : public TemplateHashMap<Literal, ObjectLiteral::Accessors,
1608 : TemplateHashMap<Literal, ObjectLiteral::Accessors, in AccessorTable()
1615 if (it->second == NULL) it->second = new (zone_) ObjectLiteral::Accessors(); in lookup()
3266 ObjectLiteral* NewObjectLiteral( in NewObjectLiteral()
3267 ZoneList<ObjectLiteral::Property*>* properties, in NewObjectLiteral()
[all …]
Dast-expression-rewriter.cc256 void AstExpressionRewriter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
258 ZoneList<typename ObjectLiteral::Property*>* properties = node->properties(); in VisitObjectLiteral()
Dprettyprinter.h127 void PrintProperties(ZoneList<ObjectLiteral::Property*>* properties);
Dast-literal-reindexer.cc264 void AstLiteralReindexer::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
/external/v8/src/interpreter/
Dbytecode-generator.cc962 void BytecodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
974 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
987 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
989 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
992 case ObjectLiteral::Property::COMPUTED: { in VisitObjectLiteral()
1027 case ObjectLiteral::Property::PROTOTYPE: { in VisitObjectLiteral()
1037 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
1042 case ObjectLiteral::Property::SETTER: in VisitObjectLiteral()
1087 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1089 if (property->kind() == ObjectLiteral::Property::PROTOTYPE) { in VisitObjectLiteral()
[all …]
/external/v8/src/parsing/
Dparser.h345 typedef ObjectLiteral::Property* ObjectLiteralProperty;
347 typedef ZoneList<ObjectLiteral::Property*>* PropertyList;
379 static bool IsBoilerplateProperty(ObjectLiteral::Property* property) { in IsBoilerplateProperty()
380 return ObjectLiteral::IsBoilerplateProperty(property); in IsBoilerplateProperty()
387 static Expression* GetPropertyValue(ObjectLiteral::Property* property) { in GetPropertyValue()
530 ZoneList<ObjectLiteral::Property*>* NewPropertyList(int size, Zone* zone) { in NewPropertyList()
531 return new(zone) ZoneList<ObjectLiteral::Property*>(size, zone); in NewPropertyList()
841 void VisitObjectLiteral(ObjectLiteral* node, Variable** temp_var);
Dpattern-rewriter.cc388 void Parser::PatternRewriter::VisitObjectLiteral(ObjectLiteral* pattern, in VisitObjectLiteral()
405 void Parser::PatternRewriter::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral()
Dpreparser.h130 static PreParserExpression ObjectLiteral() { in ObjectLiteral() function
466 return PreParserExpression::ObjectLiteral(); in NewObjectLiteral()
/external/v8/src/runtime/
Druntime-literals.cc264 bool should_have_fast_elements = (flags & ObjectLiteral::kFastElements) != 0; in RUNTIME_FUNCTION()
265 bool has_function_literal = (flags & ObjectLiteral::kHasFunction) != 0; in RUNTIME_FUNCTION()
266 bool enable_mementos = (flags & ObjectLiteral::kDisableMementos) == 0; in RUNTIME_FUNCTION()
267 bool is_strong = (flags & ObjectLiteral::kIsStrong) != 0; in RUNTIME_FUNCTION()
/external/v8/src/crankshaft/
Dtyping.cc400 void AstTyper::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
401 ZoneList<ObjectLiteral::Property*>* properties = expr->properties(); in VisitObjectLiteral()
403 ObjectLiteral::Property* prop = properties->at(i); in VisitObjectLiteral()
406 if ((prop->kind() == ObjectLiteral::Property::MATERIALIZED_LITERAL && in VisitObjectLiteral()
408 prop->kind() == ObjectLiteral::Property::COMPUTED) { in VisitObjectLiteral()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc1428 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1429 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1430 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1437 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1465 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1476 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1478 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1481 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1515 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1523 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc1470 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1471 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1472 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1479 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1504 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1515 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1517 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1520 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1556 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1566 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc1476 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1477 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1478 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1485 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1509 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1520 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1522 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1525 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1563 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1573 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc1439 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1440 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1441 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1448 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1473 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1484 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1486 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1489 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1526 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1536 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc1481 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1482 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1483 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1490 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1515 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1526 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1528 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1531 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1568 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1579 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc1392 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1393 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1394 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1401 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1431 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1442 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1444 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1447 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1480 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1488 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc1400 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1401 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1402 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1409 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1439 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1450 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1452 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1455 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1488 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1496 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc1475 DCHECK(property->kind() == ObjectLiteral::Property::GETTER || in EmitAccessor()
1476 property->kind() == ObjectLiteral::Property::SETTER); in EmitAccessor()
1477 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3; in EmitAccessor()
1484 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1508 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1519 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
1521 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitObjectLiteral()
1524 case ObjectLiteral::Property::COMPUTED: in VisitObjectLiteral()
1562 case ObjectLiteral::Property::PROTOTYPE: in VisitObjectLiteral()
1572 case ObjectLiteral::Property::GETTER: in VisitObjectLiteral()
[all …]
/external/v8/src/compiler/
Dast-graph-builder.cc1591 ObjectLiteral::Property* property = expr->properties()->at(i); in VisitClassLiteralContents()
1616 case ObjectLiteral::Property::CONSTANT: in VisitClassLiteralContents()
1617 case ObjectLiteral::Property::MATERIALIZED_LITERAL: in VisitClassLiteralContents()
1618 case ObjectLiteral::Property::PROTOTYPE: in VisitClassLiteralContents()
1620 case ObjectLiteral::Property::COMPUTED: { in VisitClassLiteralContents()
1626 case ObjectLiteral::Property::GETTER: { in VisitClassLiteralContents()
1633 case ObjectLiteral::Property::SETTER: { in VisitClassLiteralContents()
1718 void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral()
1737 ObjectLiteral::Property* property = expr->properties()->at(property_index); in VisitObjectLiteral()
1743 case ObjectLiteral::Property::CONSTANT: in VisitObjectLiteral()
[all …]
Dast-loop-assignment-analyzer.cc142 void ALAA::VisitObjectLiteral(ObjectLiteral* e) { in VisitObjectLiteral()
/external/v8/test/cctest/interpreter/
Dtest-bytecode-generator.cc3195 ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; in TEST()
3680 int simple_flags = ObjectLiteral::kFastElements | in TEST()
3681 ObjectLiteral::kShallowProperties | in TEST()
3682 ObjectLiteral::kDisableMementos; in TEST()
3684 ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; in TEST()
4021 ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; in TEST()
4055 int has_function_flags = ObjectLiteral::kFastElements | in TEST()
4056 ObjectLiteral::kHasFunction | in TEST()
4057 ObjectLiteral::kDisableMementos; in TEST()
4621 ObjectLiteral::kFastElements | ObjectLiteral::kDisableMementos; in TEST()
[all …]
/external/v8/test/cctest/
Dtest-typing-reset.cc215 CHECK_EXPR(ObjectLiteral, expected_type) { in CheckAllSame()
Dtest-func-name-inference.cc215 TEST(ObjectLiteral) { in TEST() argument

12