refactor(ivy): remove unused directives field from TView (#26364)

It was removed in #26316

PR Close #26364
This commit is contained in:
Pawel Kozlowski 2018-10-10 11:39:02 +02:00 committed by Miško Hevery
parent e0e2038718
commit 3f8ac238f1
2 changed files with 0 additions and 10 deletions

View File

@ -1142,7 +1142,6 @@ export function createTView(
childIndex: -1, // Children set in addToViewTree(), if any childIndex: -1, // Children set in addToViewTree(), if any
bindingStartIndex: bindingStartIndex, bindingStartIndex: bindingStartIndex,
expandoStartIndex: initialViewLength, expandoStartIndex: initialViewLength,
directives: null,
expandoInstructions: null, expandoInstructions: null,
firstTemplatePass: true, firstTemplatePass: true,
initHooks: null, initHooks: null,

View File

@ -343,15 +343,6 @@ export interface TView {
*/ */
currentMatches: CurrentMatchesList|null; currentMatches: CurrentMatchesList|null;
/**
* Directive and component defs that have already been matched to nodes on
* this view.
*
* Defs are stored at the same index in TView.directives[] as their instances
* are stored in LView.directives[]. This simplifies lookup in DI.
*/
directives: DirectiveDefList|null;
/** /**
* Set of instructions used to process host bindings efficiently. * Set of instructions used to process host bindings efficiently.
* *