Lines Matching defs:zone
25 #include "src/zone/zone-list.h"
34 // Nodes are allocated in a separate zone, which allows faster
322 Zone* zone) {
324 statements_ = ZonePtrList<Statement>(statements.ToConstVector(), zone);
338 Block(Zone* zone, int capacity, bool ignore_completion_value,
341 statements_(capacity, zone),
694 CaseClause(Zone* zone, Expression* label,
713 SwitchStatement(Zone* zone, Expression* tag, int pos)
714 : BreakableStatement(pos, kSwitchStatement), tag_(tag), cases_(4, zone) {}
1357 void CalculateEmitStore(Zone* zone);
1371 ObjectLiteral(Zone* zone, const ScopedPtrList<Property>& properties,
1375 properties_(properties.ToConstVector(), zone),
1440 ArrayLiteral(Zone* zone, const ScopedPtrList<Expression>& values,
1443 values_(values.ToConstVector(), zone),
1682 CallBase(Zone* zone, NodeType type, Expression* expression,
1686 arguments_(arguments.ToConstVector(), zone) {
1750 Call(Zone* zone, Expression* expression,
1753 : CallBase(zone, kCall, expression, arguments, pos, has_spread) {
1760 Call(Zone* zone, Expression* expression,
1763 : CallBase(zone, kCall, expression, arguments, pos, false) {
1779 CallNew(Zone* zone, Expression* expression,
1781 : CallBase(zone, kCallNew, expression, arguments, pos, has_spread) {}
1808 CallRuntime(Zone* zone, const Runtime::Function* function,
1812 arguments_(arguments.ToConstVector(), zone) {}
1813 CallRuntime(Zone* zone, int context_index,
1818 arguments_(arguments.ToConstVector(), zone) {}
1894 NaryOperation(Zone* zone, Token::Value op, Expression* first,
1898 subsequent_(zone) {
2307 FunctionLiteral(Zone* zone, const AstConsString* name,
2325 body_(body.ToConstVector(), zone),
2812 AstNodeFactory(AstValueFactory* ast_value_factory, Zone* zone)
2813 : zone_(zone),
2815 empty_statement_(zone->New<class EmptyStatement>()),
2816 this_expression_(zone->New<class ThisExpression>(kNoSourcePosition)),
2817 failure_expression_(zone->New<class FailureExpression>()) {}
3343 Zone* zone() const { return zone_; }
3346 // This zone may be deallocated upon returning from parsing a function body