• Home
  • Raw
  • Download

Lines Matching full:alloc

107     auto ident = NodeAllocator::Alloc<ir::Identifier>(allocator_, name, allocator_);  in CreateGlobalMethod()
111 auto *func = NodeAllocator::Alloc<ir::ScriptFunction>( in CreateGlobalMethod()
119 auto *funcExpr = NodeAllocator::Alloc<ir::FunctionExpression>(allocator_, func); in CreateGlobalMethod()
120 return NodeAllocator::Alloc<ir::MethodDefinition>(allocator_, ir::MethodDefinitionKind::METHOD, in CreateGlobalMethod()
137 auto *const callExpr = NodeAllocator::Alloc<ir::CallExpression>( in AddInitCallFromStaticBlock()
141 auto exprStmt = NodeAllocator::Alloc<ir::ExpressionStatement>(allocator_, callExpr); in AddInitCallFromStaticBlock()
148 auto *const callee = NodeAllocator::Alloc<ir::Identifier>(allocator_, name, allocator_); in RefIdent()
266 …auto *id = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::CCTOR, allocator… in CreateStaticBlock()
270 …auto *body = NodeAllocator::Alloc<ir::BlockStatement>(allocator_, allocator_, std::move(statements… in CreateStaticBlock()
271 auto *func = NodeAllocator::Alloc<ir::ScriptFunction>( in CreateStaticBlock()
279 auto *funcExpr = NodeAllocator::Alloc<ir::FunctionExpression>(allocator_, func); in CreateStaticBlock()
280 … auto *staticBlock = NodeAllocator::Alloc<ir::ClassStaticBlock>(allocator_, funcExpr, allocator_); in CreateStaticBlock()
300 …auto *ident = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::ETS_GLOBAL, a… in CreateGlobalClass()
303 …NodeAllocator::Alloc<ir::ClassDefinition>(allocator_, allocator_, ident, ir::ClassDefinitionModifi… in CreateGlobalClass()
305 auto *classDecl = NodeAllocator::Alloc<ir::ClassDeclaration>(allocator_, classDef, allocator_); in CreateGlobalClass()