Lines Matching refs:Allocator
250 return pg->Allocator()->New<TaggedLiteral>(LiteralTag::ACCESSOR); in CreateLiteral()
267 return pg->Allocator()->New<TaggedLiteral>(tag, method->Scope()->InternalName()); in CreateLiteral()
270 return pg->Allocator()->New<NullLiteral>(); in CreateLiteral()
298 util::StringView name = util::Helpers::LiteralToPropName(pg->Allocator(), prop->Key()); in CompileStaticProperties()
323 propBuf.push_back(pg->Allocator()->New<StringLiteral>(name)); in CompileStaticProperties()
330 …Literal *methodAffiliate = pg->Allocator()->New<TaggedLiteral>(LiteralTag::METHODAFFILIATE, paramN… in CompileStaticProperties()
447 …checker::ObjectDescriptor *desc = checker->Allocator()->New<checker::ObjectDescriptor>(checker->Al… in CheckPattern()
456 … checker->Allocator()->New<checker::IndexInfo>(checker->GlobalAnyType(), indexInfoName, false); in CheckPattern()
566 … checker->Allocator(), prop->Key()->AsIdentifier()->Name(), binder::VariableFlags::PROPERTY, *it); in CheckPattern()
576 checker::Type *returnType = checker->Allocator()->New<checker::ObjectLiteralType>(desc); in CheckPattern()
632 …checker::ObjectDescriptor *desc = checker->Allocator()->New<checker::ObjectDescriptor>(checker->Al… in Check()
635 ArenaVector<checker::Type *> computedNumberPropTypes(checker->Allocator()->Adapter()); in Check()
636 ArenaVector<checker::Type *> computedStringPropTypes(checker->Allocator()->Adapter()); in Check()
665 auto *memberVar = binder::Scope::CreateVar(checker->Allocator(), propName, flags, it); in Check()
729 desc->numberIndexInfo = checker->Allocator()->New<checker::IndexInfo>( in Check()
734 desc->stringIndexInfo = checker->Allocator()->New<checker::IndexInfo>( in Check()
739 checker::Type *returnType = checker->Allocator()->New<checker::ObjectLiteralType>(desc); in Check()