summaryrefslogtreecommitdiffstats
path: root/source/compiler/dtsubtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtsubtable.c')
-rw-r--r--source/compiler/dtsubtable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/compiler/dtsubtable.c b/source/compiler/dtsubtable.c
index 27d09ca..f728085 100644
--- a/source/compiler/dtsubtable.c
+++ b/source/compiler/dtsubtable.c
@@ -112,6 +112,7 @@ DtInsertSubtable (
Subtable->Peer = NULL;
Subtable->Parent = ParentTable;
+ Subtable->Depth = ParentTable->Depth + 1;
/* Link the new entry into the child list */
OpenPOWER on IntegriCloud