refactor(ivy): separate container into 2 instructions (#25509)
PR Close #25509
This commit is contained in:

committed by
Jason Aden

parent
abcc430310
commit
6482f6f0fe
@ -52,6 +52,8 @@ export class Identifiers {
|
||||
|
||||
static nextContext: o.ExternalReference = {name: 'ɵnextContext', moduleName: CORE};
|
||||
|
||||
static templateCreate: o.ExternalReference = {name: 'ɵtemplate', moduleName: CORE};
|
||||
|
||||
static text: o.ExternalReference = {name: 'ɵtext', moduleName: CORE};
|
||||
|
||||
static textBinding: o.ExternalReference = {name: 'ɵtextBinding', moduleName: CORE};
|
||||
|
@ -727,9 +727,8 @@ export class TemplateDefinitionBuilder implements t.Visitor<void>, LocalResolver
|
||||
parameters.push(this.constantPool.getConstLiteral(o.literalArr(attributeNames), true));
|
||||
}
|
||||
|
||||
// e.g. C(1, C1Template)
|
||||
this.creationInstruction(
|
||||
template.sourceSpan, R3.containerCreate, trimTrailingNulls(parameters));
|
||||
// e.g. template(1, MyComp_Template_1)
|
||||
this.creationInstruction(template.sourceSpan, R3.templateCreate, trimTrailingNulls(parameters));
|
||||
|
||||
// e.g. p(1, 'forOf', ɵbind(ctx.items));
|
||||
const context = o.variable(CONTEXT_NAME);
|
||||
|
Reference in New Issue
Block a user