summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslcompile.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-11-10 21:30:04 +0000
committerjkim <jkim@FreeBSD.org>2014-11-10 21:30:04 +0000
commitc289b811b42daf9e7ef5c37a35e951d01c23715a (patch)
treeb4bd3052883fca1145eaa389311d46371584f6d9 /source/compiler/aslcompile.c
parent4a5720e5f30ea6a8d31e75f94046c76ace845126 (diff)
downloadFreeBSD-src-c289b811b42daf9e7ef5c37a35e951d01c23715a.zip
FreeBSD-src-c289b811b42daf9e7ef5c37a35e951d01c23715a.tar.gz
Import ACPICA 20141107.
Diffstat (limited to 'source/compiler/aslcompile.c')
-rw-r--r--source/compiler/aslcompile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/compiler/aslcompile.c b/source/compiler/aslcompile.c
index 62d7d87..432ec8b 100644
--- a/source/compiler/aslcompile.c
+++ b/source/compiler/aslcompile.c
@@ -147,6 +147,13 @@ CmDoCompile (
Event = UtBeginEvent ("Flush source input");
CmFlushSourceCode ();
+ /* Prune the parse tree if requested (debug purposes only) */
+
+ if (Gbl_PruneParseTree)
+ {
+ AslPruneParseTree (Gbl_PruneDepth, Gbl_PruneType);
+ }
+
/* Optional parse tree dump, compiler debug output only */
LsDumpParseTree ();
OpenPOWER on IntegriCloud