Skip to content

Commit

Permalink
fixup! refactor(ivy): Intruduce LFrame to store global instruction in…
Browse files Browse the repository at this point in the history
…formation

Co-Authored-By: Kara <kara@users.noreply.github.com>
  • Loading branch information
mhevery and kara committed Oct 24, 2019
1 parent 98b8779 commit 188c7b7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/render3/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export function enterDI(newView: LView, tNode: TNode) {
newLFrame.previousOrParentTNode = tNode !;
newLFrame.lView = newView;
if (ngDevMode) {
// reseting for safety in dev mode only.
// resetting for safety in dev mode only.
newLFrame.isParent = DEV_MODE_VALUE;
newLFrame.selectedIndex = DEV_MODE_VALUE;
newLFrame.contextLView = DEV_MODE_VALUE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@
{
"name": "addToViewTree"
},
{
"name": "allocLFrame"
},
{
"name": "allocStylingMapArray"
},
Expand Down Expand Up @@ -230,6 +233,9 @@
{
"name": "elementCreate"
},
{
"name": "enterDI"
},
{
"name": "enterView"
},
Expand Down Expand Up @@ -485,6 +491,9 @@
{
"name": "isStylingValueDefined"
},
{
"name": "leaveDI"
},
{
"name": "leaveView"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
{
"name": "addToViewTree"
},
{
"name": "allocLFrame"
},
{
"name": "appendChild"
},
Expand Down Expand Up @@ -191,6 +194,9 @@
{
"name": "domRendererFactory3"
},
{
"name": "enterDI"
},
{
"name": "enterView"
},
Expand Down Expand Up @@ -356,6 +362,9 @@
{
"name": "isRootView"
},
{
"name": "leaveDI"
},
{
"name": "leaveView"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/core/test/bundling/todo/bundle.golden_symbols.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@
{
"name": "addToViewTree"
},
{
"name": "allocLFrame"
},
{
"name": "allocStylingMapArray"
},
Expand Down Expand Up @@ -530,6 +533,9 @@
{
"name": "elementPropertyInternal"
},
{
"name": "enterDI"
},
{
"name": "enterView"
},
Expand Down Expand Up @@ -983,6 +989,9 @@
{
"name": "iterateListLike"
},
{
"name": "leaveDI"
},
{
"name": "leaveView"
},
Expand Down

0 comments on commit 188c7b7

Please sign in to comment.