• Home
  • Raw
  • Download

Lines Matching full:alloc

94     auto *ident = NodeAllocator::Alloc<ir::Identifier>(allocator, name, allocator);  in CreateAndFillTopLevelMethod()
99 …auto *body = NodeAllocator::Alloc<ir::BlockStatement>(allocator, allocator, std::move(statements)); in CreateAndFillTopLevelMethod()
103 auto *func = NodeAllocator::Alloc<ir::ScriptFunction>( in CreateAndFillTopLevelMethod()
111 auto *funcExpr = NodeAllocator::Alloc<ir::FunctionExpression>(allocator, func); in CreateAndFillTopLevelMethod()
112 …auto methodDef = NodeAllocator::Alloc<ir::MethodDefinition>(allocator, ir::MethodDefinitionKind::M… in CreateAndFillTopLevelMethod()
137 auto *const callExpr = NodeAllocator::Alloc<ir::CallExpression>( in AddInitCall()
141 auto exprStmt = NodeAllocator::Alloc<ir::ExpressionStatement>(allocator_, callExpr); in AddInitCall()
148 auto *const callee = NodeAllocator::Alloc<ir::Identifier>(allocator_, name, allocator_); in RefIdent()
179 …auto *id = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::CCTOR, allocator… in CreateCCtor()
183 …auto *body = NodeAllocator::Alloc<ir::BlockStatement>(allocator_, allocator_, std::move(statements… in CreateCCtor()
184 auto *func = NodeAllocator::Alloc<ir::ScriptFunction>( in CreateCCtor()
192 auto *funcExpr = NodeAllocator::Alloc<ir::FunctionExpression>(allocator_, func); in CreateCCtor()
193 … auto *staticBlock = NodeAllocator::Alloc<ir::ClassStaticBlock>(allocator_, funcExpr, allocator_); in CreateCCtor()
223 …auto *ident = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::ETS_GLOBAL, a… in CreateGlobalClass()
226 …NodeAllocator::Alloc<ir::ClassDefinition>(allocator_, allocator_, ident, ir::ClassDefinitionModifi… in CreateGlobalClass()
228 auto *classDecl = NodeAllocator::Alloc<ir::ClassDeclaration>(allocator_, classDef, allocator_); in CreateGlobalClass()